.tfcp {
  --tfcp-yellow: #F2E63A;
  --tfcp-bone: #F8F6F0;
  --tfcp-ink: #181714;
  --tfcp-muted: #6f6c65;
  --tfcp-line: rgba(24, 23, 20, .18);
  color: var(--tfcp-ink);
  background: var(--tfcp-bone);
  font-family: inherit;
}

.tfcp *,
.tfcp *::before,
.tfcp *::after { box-sizing: border-box; }
.tfcp [hidden] { display: none !important; }

.tfcp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  min-height: min(720px, calc(100vh - 120px));
  border-bottom: 1px solid var(--tfcp-line);
}

.tfcp-hero__copy,
.tfcp-hero__note { padding: clamp(56px, 7vw, 112px); }
.tfcp-hero__copy { align-content: center; display: grid; }
.tfcp-hero__note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--tfcp-yellow);
}
.tfcp-hero__copy h1,
.tfcp-state h2,
.tfcp-panel legend strong {
  margin: 12px 0 22px;
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
  font-weight: 400;
  letter-spacing: -.025em;
}
.tfcp-hero__copy h1 { max-width: 780px; font-size: clamp(54px, 7vw, 104px); line-height: .92; }
.tfcp-hero__copy > p:not(.tfdl-eyebrow) { max-width: 660px; margin: 0 0 32px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.tfcp-hero__note > p:not(.tfdl-eyebrow) { max-width: 440px; font-size: 19px; line-height: 1.55; }
.tfcp-hero__note ol { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid rgba(24, 23, 20, .35); }
.tfcp-hero__note li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(24, 23, 20, .35); }
.tfcp-hero__note li span,
.tfcp .tfdl-eyebrow,
.tfcp .tf-public-eyebrow { font-size: 11px; line-height: 1.2; letter-spacing: .15em; text-transform: uppercase; }

.tfcp-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: fit-content;
  padding: 14px 22px;
  border: 1px solid var(--tfcp-ink);
  border-radius: 0;
  background: var(--tfcp-yellow);
  color: var(--tfcp-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.tfcp-button:hover,
.tfcp-button:focus-visible { background: var(--tfcp-ink); color: #fff; }
.tfcp-button--dark { background: var(--tfcp-ink); color: #fff; }
.tfcp-button--dark:hover,
.tfcp-button--dark:focus-visible { background: var(--tfcp-yellow); color: var(--tfcp-ink); }
.tfcp-button--secondary { background: transparent; }
.tfcp-button:disabled { cursor: wait; opacity: .6; }

.tfcp-application,
.tfcp-state { width: min(100%, 1080px); margin: 0 auto; padding: clamp(28px, 5vw, 64px); }
.tfcp-onboarding-intro {
  display: grid;
  gap: 7px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--tfcp-line);
}
.tfcp-onboarding-intro p { margin: 0; color: var(--tfcp-muted); font-size: 12px; line-height: 1.45; }
.tfcp-onboarding-intro p:first-child { color: var(--tfcp-ink); font-size: 14px; line-height: 1.5; }
.tfcp-onboarding-intro a { color: inherit; text-underline-offset: 4px; }

.tfcp-errors { margin: 18px 0 0; padding: 16px 18px; border-left: 4px solid #9b3a33; background: #f5e6e2; color: #6e211c; }
.tfcp-errors p { margin: 0; }
.tfcp-errors p + p { margin-top: 6px; }

.tfcp-form { display: grid; grid-template-columns: 1fr; margin-top: 18px; }
.tfcp-progress {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  margin-bottom: 10px;
  color: var(--tfcp-muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tfcp-progress span { margin-right: auto; }
.tfcp-progress strong { color: var(--tfcp-ink); font-size: 14px; }
.tfcp-progress em { font-style: normal; }

.tfcp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--tfcp-line);
  border-bottom: 1px solid var(--tfcp-line);
}
.tfcp-steps button {
  position: relative;
  min-width: 0;
  padding: 15px 10px 17px;
  border: 0;
  border-right: 1px solid var(--tfcp-line);
  border-radius: 0;
  background: transparent;
  color: var(--tfcp-muted);
  text-align: left;
  cursor: pointer;
}
.tfcp-steps button:last-child { border-right: 0; }
.tfcp-steps button::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: transparent; }
.tfcp-steps button[aria-current="step"] { color: var(--tfcp-ink); background: rgba(242, 230, 58, .13); }
.tfcp-steps button[aria-current="step"]::after { background: var(--tfcp-yellow); }
.tfcp-steps span { display: block; margin-bottom: 5px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.tfcp-steps strong { display: block; overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }

.tfcp-panel { min-width: 0; margin: 0; padding: clamp(24px, 3vw, 34px) 0 24px; border: 0; }
.tfcp-panel legend { display: grid; grid-template-columns: 42px minmax(0, 1fr); width: 100%; margin: 0 0 30px; padding: 0; }
.tfcp-panel legend > span {
  grid-row: 1 / 3;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--tfcp-ink);
  color: #fff;
  font-size: 10px;
}
.tfcp-panel legend strong { min-width: 0; margin: 0 0 5px; font-size: clamp(28px, 3vw, 34px); line-height: 1.05; overflow-wrap: anywhere; }
.tfcp-panel legend small { min-width: 0; color: var(--tfcp-muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.tfcp-panel h3 { margin: 30px 0 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

.tfcp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.tfcp-fields > label,
.tfcp-response-form > label,
.tfcp-channel-fields > label { display: grid; gap: 8px; min-width: 0; }
.tfcp-fields > label > span,
.tfcp-response-form > label > span,
.tfcp-channel-fields > label > span { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tfcp-fields .is-wide { grid-column: 1 / -1; }
.tfcp input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.tfcp select,
.tfcp textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid var(--tfcp-line);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--tfcp-ink);
  font: inherit;
  font-size: 15px;
}
.tfcp textarea { min-height: 130px; resize: vertical; }
.tfcp input:focus,
.tfcp select:focus,
.tfcp textarea:focus { border-color: var(--tfcp-ink); box-shadow: inset 0 -3px 0 var(--tfcp-yellow); }
.tfcp [aria-invalid="true"] { border-color: #9b3a33 !important; box-shadow: inset 0 -3px 0 #9b3a33 !important; }

.tfcp-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tfcp-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  min-height: 68px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--tfcp-line);
  background: #fff;
  cursor: pointer;
}
.tfcp-choice:has(input:checked) { border-color: var(--tfcp-ink); background: rgba(242, 230, 58, .16); }
.tfcp-choice input,
.tfcp-consents input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--tfcp-ink); }
.tfcp-choice strong { display: block; font-size: 13px; line-height: 1.35; }
.tfcp-choice small { display: block; margin-top: 4px; color: var(--tfcp-muted); font-size: 12px; line-height: 1.35; }

.tfcp-channel-list { display: grid; gap: 8px; }
.tfcp-channel-list article { border: 1px solid var(--tfcp-line); background: #fff; }
.tfcp-channel-list article.is-selected { border-color: var(--tfcp-ink); box-shadow: inset 4px 0 0 var(--tfcp-yellow); }
.tfcp-choice--channel { min-height: 52px; border: 0; background: transparent; }
.tfcp-channel-fields { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(150px, .75fr); gap: 14px; padding: 0 14px 16px 45px; }
.tfcp-channel-fields input { min-height: 48px !important; }

.tfcp-review { display: grid; gap: 8px; }
.tfcp-review article { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 62px; padding: 14px 16px; border: 1px solid var(--tfcp-line); background: #fff; }
.tfcp-review article > span { color: var(--tfcp-muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.tfcp-review article > strong { font-size: 13px; line-height: 1.4; }
.tfcp-review article > button { padding: 3px 0; border: 0; border-bottom: 1px solid; background: transparent; color: inherit; font: inherit; font-size: 11px; cursor: pointer; }

.tfcp-file { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding: 18px; border: 1px dashed var(--tfcp-ink); background: rgba(242, 230, 58, .1); cursor: pointer; }
.tfcp-file > span { display: grid; gap: 4px; }
.tfcp-file strong { font-size: 14px; }
.tfcp-file small { color: var(--tfcp-muted); font-size: 12px; }
.tfcp-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tfcp-file em { font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tfcp-consents { display: grid; gap: 11px; margin-top: 24px; }
.tfcp-consents label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--tfcp-muted); font-size: 12px; line-height: 1.45; }
.tfcp-submission-note { margin: 22px 0 0; color: var(--tfcp-muted); font-size: 12px; line-height: 1.5; }

.tfcp-form__actions { position: sticky; z-index: 3; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; margin: 0 -1px; padding: 16px 0 4px; border-top: 1px solid var(--tfcp-line); background: var(--tfcp-bone); }
.tfcp-form__actions [data-back] { margin-right: auto; }
.tfcp-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.tfcp-state h2 { font-size: clamp(40px, 6vw, 68px); }
.tfcp-state p { max-width: 640px; font-size: 17px; line-height: 1.6; }
.tfcp-state dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 28px 0; border-top: 1px solid var(--tfcp-line); border-bottom: 1px solid var(--tfcp-line); }
.tfcp-state dl div { padding: 18px 0; }
.tfcp-state dt { color: var(--tfcp-muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.tfcp-state dd { margin: 8px 0 0; }
.tfcp-response-form { display: grid; gap: 20px; margin-top: 28px; }

.tf-public-drawer[data-tf-public-drawer="creator-application"] .tf-public-drawer__body { padding: 0 !important; overflow-x: hidden; }
.tf-public-drawer[data-tf-public-drawer="creator-application"] .tfcp { min-height: 100%; }
.tf-public-drawer[data-tf-public-drawer="creator-application"] .tfcp-application,
.tf-public-drawer[data-tf-public-drawer="creator-application"] .tfcp-state { width: 100%; max-width: 620px; margin: 0 auto; padding: 24px 28px 28px; }
.tf-public-drawer[data-tf-public-drawer="creator-application"] .tfcp-fields,
.tf-public-drawer[data-tf-public-drawer="creator-application"] .tfcp-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tf-public-drawer[data-tf-public-drawer="creator-application"] .tfcp-form__actions { padding-bottom: 14px; }

@media(max-width:980px) {
  .tfcp-hero { grid-template-columns: 1fr; }
  .tfcp-hero__note { min-height: 340px; }
}

@media(max-width:680px) {
  .tfcp-hero__copy,
  .tfcp-hero__note { padding: 46px 22px; }
  .tfcp-hero__copy h1 { font-size: clamp(48px, 15vw, 72px); }
  .tfcp-application,
  .tfcp-state,
  .tf-public-drawer[data-tf-public-drawer="creator-application"] .tfcp-application,
  .tf-public-drawer[data-tf-public-drawer="creator-application"] .tfcp-state { padding: 22px 18px 28px; }
  .tfcp-steps button { padding: 12px 6px 14px; text-align: center; }
  .tfcp-steps button span { font-size: 8px; }
  .tfcp-steps button strong { font-size: 10px; }
  .tfcp-fields,
  .tfcp-choice-grid,
  .tf-public-drawer[data-tf-public-drawer="creator-application"] .tfcp-fields,
  .tf-public-drawer[data-tf-public-drawer="creator-application"] .tfcp-choice-grid,
  .tfcp-channel-fields { grid-template-columns: 1fr; }
  .tfcp-channel-fields { padding-left: 45px; }
  .tfcp-review article { grid-template-columns: 1fr auto; }
  .tfcp-review article > span { grid-column: 1 / -1; }
  .tfcp-file { align-items: flex-start; flex-direction: column; }
  .tfcp-form__actions .tfcp-button { min-width: 0; padding-inline: 17px; }
}

@media(prefers-reduced-motion:reduce) {
  .tfcp *,
  .tfcp *::before,
  .tfcp *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
