/* Big Bun Creators: /agency-fee-calculator only, on top of styles.css. Nothing here loads on the homepage.
   Same blocks and rules as the rest of the site: mustard / off-white / ink colour blocks, 2px ink borders, the
   form's bordered cell sheet, tables that become labelled stacked blocks on phones. Its own pieces: a text hero,
   two offer sheets side by side on wide screens, a results table (alone | offer A | offer B) with the "you keep"
   and "come out even" rows marked, a ruled list on ink, a numbered example on mustard, a ruled question list on
   paper and a mustard call to action. Motion is the site's own (main.js, styles.css). */

/* ---------- Hero ---------- */
.fc-hero { padding-block: clamp(36px, 6vw, 96px) clamp(48px, 6vw, 96px); }
.fc-hero__title {
  margin-top: clamp(14px, 2vw, 24px);
  max-width: 15ch;
  font-size: clamp(2.6rem, 9.6vw, 6.4rem);
  line-height: .9;
  letter-spacing: -.045em;
  font-variation-settings: "opsz" 96;
}
.fc-hero__title span { display: block; animation: rise 640ms var(--ease-out) both; }
.fc-hero__title span + span { max-width: 24ch; margin-top: .18em; font-size: .52em; line-height: .98; letter-spacing: -.035em; color: var(--ink-2); animation-delay: 90ms; }
.fc-hero__lead { margin-top: clamp(20px, 3vw, 32px); max-width: 40rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); }
.fc-hero__updated { margin-top: 18px; font-size: .75rem; color: var(--ink-2); }

/* ---------- The form ---------- */
.fc-form { display: grid; gap: 28px; }
.fc-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.fc-group__title {
  margin-bottom: 10px; padding: 4px 10px;
  background: var(--ink); color: var(--mustard);
  font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.fc-offers { display: grid; gap: 28px; }
.fc-sheet--3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) and (max-width: 959px) {
  .fc-sheet--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .fc-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-sheet--3 { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1.1fr); }
}
.fc-form input[type="number"] { font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.fc-form input[type="number"]::-webkit-inner-spin-button,
.fc-form input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Results ---------- */
.fc-results-wrap { margin-top: clamp(32px, 5vw, 56px); }
.fc-results { border: var(--line); background: var(--white); }
.fc-results__cap {
  caption-side: top; padding: 14px 20px; border: var(--line); border-bottom: 0; background: var(--mustard);
  text-align: left; font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.02em;
}
.fc-results thead th { padding: 12px 20px; background: var(--ink); color: var(--paper); text-align: left; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fc-results th[scope="row"], .fc-results td { padding: 14px 20px; text-align: left; vertical-align: top; }
.fc-results tbody th { background: var(--paper); font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.015em; line-height: 1.15; }
.fc-results td { font-variant-numeric: tabular-nums; font-size: 1.08rem; color: var(--ink-2); }
.fc-results tbody > tr > * { border-top: var(--line); }
.fc-results tr > * + * { border-left: var(--line); }
.fc-results__keep td { background: #FFF1C2; font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.55rem); color: var(--ink); letter-spacing: -.02em; }
.fc-results__even td { font-weight: 700; color: var(--teal); }
.fc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fc-note { margin-top: 14px; max-width: 46rem; font-size: .95rem; color: var(--ink-2); }
@media (min-width: 760px) {
  .fc-results th[scope="row"] { width: 28%; }
}
@media (max-width: 759px) {
  .fc-results thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fc-results__cap { display: block; padding: 12px 16px; border: 0; border-bottom: var(--line); }
  .fc-results, .fc-results tbody { display: block; }
  .fc-results tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fc-results tr + tr { border-top: var(--line); }
  .fc-results tbody > tr > * { border-top: 0; }
  .fc-results th[scope="row"], .fc-results td { padding: 10px 12px; }
  .fc-results th[scope="row"] { grid-column: 1 / -1; background: var(--ink); color: var(--paper); font-size: 1rem; }
  .fc-results tr > * + * { border-left: 0; }
  .fc-results td + td { border-left: var(--line); }
  .fc-results td { font-size: 1rem; overflow-wrap: anywhere; }
  .fc-results__keep td { font-size: 1.15rem; }
  .fc-results td::before {
    content: attr(data-label);
    display: block; margin-bottom: 2px;
    font-family: var(--body); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-2);
  }
}

/* ---------- How to read it: a ruled list on ink ---------- */
.fc-points { border-top: 2px solid var(--mustard); }
.fc-points li { padding: 22px 0; border-bottom: 2px solid rgba(255, 251, 239, .2); }
.fc-points li:last-child { border-bottom: 0; padding-bottom: 0; }
.fc-points h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -.035em; line-height: 1; color: var(--mustard); }
.fc-points p { margin-top: 10px; max-width: 40rem; color: rgba(255, 251, 239, .82); font-size: 1.08rem; }
@media (min-width: 900px) {
  .fc-points li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: baseline; padding: 30px 0; }
  .fc-points p { margin-top: 0; }
}

/* ---------- Worked example: numbered steps on mustard ---------- */
.fc-example { max-width: 56rem; }
.fc-example__tag {
  display: inline-block; margin-bottom: 12px; padding: 4px 10px;
  background: var(--ink); color: var(--mustard);
  font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.fc-steps { border-top: var(--line); }
.fc-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: var(--line); }
.fc-steps__n { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: .8; letter-spacing: -.05em; }
.fc-steps p { font-size: 1.1rem; color: var(--ink-2); }
.fc-steps b { color: var(--ink); }
.fc-example__foot { margin-top: 14px; max-width: 46rem; font-size: .95rem; color: var(--ink-2); }

/* ---------- Before you compare: ruled questions on paper ---------- */
.fc-ask { border-top: var(--line); }
.fc-ask li { padding: 22px 0; border-bottom: var(--line); }
.fc-ask h3 { font-size: clamp(1.45rem, 2.8vw, 2.2rem); letter-spacing: -.035em; line-height: 1.02; }
.fc-ask p { margin-top: 10px; max-width: 40rem; color: var(--ink-2); font-size: 1.08rem; }
@media (min-width: 900px) {
  .fc-ask li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: baseline; padding: 28px 0; }
  .fc-ask p { margin-top: 0; }
}
.fc-more { margin-top: 28px; max-width: 46rem; font-size: 1.1rem; font-weight: 500; }
.fc-more a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* ---------- Call to action ---------- */
.fc-cta__grid { display: grid; gap: 24px; align-items: end; }
.fc-cta h2 { font-size: clamp(2.6rem, 8vw, 6rem); letter-spacing: -.045em; line-height: .9; }
.fc-cta p { max-width: 32rem; font-size: 1.12rem; color: var(--ink-2); }
.fc-cta__actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (max-width: 599px) { .fc-cta__actions .btn { width: calc(100% - var(--shadow-off)); } }
@media (min-width: 900px) {
  .fc-cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}
