/* NikkiFlower Trouble Calculator — scoped to .nf-tc / body.nf-tc-page */
html:has(body.nf-tc-page),
body.nf-tc-page { overflow-x: hidden; }
.nf-tc-page .content {
  background: #FFF8F0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.nf-tc-page .tnc_pages { overflow-x: hidden; padding: 8px 0 40px; }
.nf-tc-page .tnc_pages .nf-tc h1,
.nf-tc-page .tnc_pages .nf-tc h2,
.nf-tc-page .tnc_pages .nf-tc h3 {
  padding-bottom: 0;
  color: inherit;
}
:where(.nf-tc-page .tnc_pages) .nf-tc p {
  padding-bottom: 0;
  font-size: 1rem;
  color: inherit;
  line-height: inherit;
  margin: 0;
}
.nf-tc {
  max-width: none;
  margin: 0;
  padding: 0 0 32px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.nf-tc .page { min-height: 0; }
.nf-tc .wrap { width: auto; max-width: none; margin: 0; }
.nf-tc .site-header,
.nf-tc .site-footer,
.nf-tc .crumbs { display: none !important; }
.nf-tc .btn {
  background-image: none;
  text-shadow: none;
  line-height: 1.15;
  vertical-align: middle;
}
.nf-tc .dept {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 2px;
  letter-spacing: .01em;
}


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

.nf-tc {
  --ivory: #FFF8F0;
  --paper: #FFFDF9;
  --white: #FFFFFF;
  --ink: #411323;          /* deep burgundy: all primary text */
  --ink-soft: #6E4B55;     /* secondary text, 7:1 on ivory */
  --coral: #FF5C6C;        /* punchy accent: fills, markers, shapes */
  --coral-ink: #C40D11;    /* NikkiFlower red: coral that is safe for small text */
  --butter: #FFE49A;       /* highlights and stickers */
  --teal: #0EB9CB;         /* NikkiFlower teal: wordmark only */
  --leaf: #2E6B5E;
  --line: rgba(65, 19, 35, .14);
  --line-strong: rgba(65, 19, 35, .42);
  --shadow: 0 1px 2px rgba(65, 19, 35, .06), 0 22px 44px -24px rgba(65, 19, 35, .32);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Noto Serif", serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* ==========================================================================
   2. BASE
   ========================================================================== */

.nf-tc, .nf-tc *, .nf-tc *::before, .nf-tc *::after { box-sizing: border-box; }

.nf-tc { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

.nf-tc {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.nf-tc .page { overflow-x: hidden; overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; }

.nf-tc main { flex: 1; }

.nf-tc img, .nf-tc svg { display: block; max-width: 100%; }

.nf-tc h1, .nf-tc h2, .nf-tc h3, .nf-tc p { margin: 0; }

.nf-tc button, .nf-tc input, .nf-tc select { font: inherit; color: inherit; }

.nf-tc button { cursor: pointer; }

.nf-tc a { color: inherit; }

.nf-tc [hidden] { display: none !important; }


.nf-tc :focus { outline: none; }

.nf-tc :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.nf-tc [tabindex="-1"]:focus-visible { outline: 2px dashed var(--line-strong); outline-offset: 6px; }


.nf-tc .visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.nf-tc .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }


.nf-tc .skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--ivory); padding: 12px 16px; border-radius: var(--pill);
  font-weight: 700; text-decoration: none;
}

.nf-tc .skip-link:focus-visible { top: 12px; }


.nf-tc .wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }


.nf-tc .card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

/* Tilted stickers: one per view, never more */

.nf-tc .sticker {
  display: inline-block;
  background: var(--butter);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: .82rem;
  line-height: 1.15;
  letter-spacing: -.005em;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(var(--tilt, -5deg));
  white-space: nowrap;
  pointer-events: none;
}

/* ==========================================================================
   3. BUTTONS AND CONTROLS
   ========================================================================== */

.nf-tc .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 24px;
  border-radius: var(--pill);
  border: 2px solid var(--ink);
  font-weight: 800; font-size: 1rem; line-height: 1.15; letter-spacing: -.005em;
  text-align: center; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.nf-tc .btn svg { width: 20px; height: 20px; flex: none; }

.nf-tc .btn-primary { background: var(--coral); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }

.nf-tc .btn-primary:hover { background: #ff6e7c; }

.nf-tc .btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

.nf-tc .btn-dark { background: var(--ink); color: var(--ivory); }

.nf-tc .btn-dark:hover { background: #561a2f; }

.nf-tc .btn-outline { background: var(--white); color: var(--ink); }

.nf-tc .btn-outline:hover { background: var(--paper); }

.nf-tc .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }

.nf-tc .btn-ghost:hover { border-color: var(--ink); }

.nf-tc .btn[disabled] { opacity: .55; cursor: progress; box-shadow: none; transform: none; }

.nf-tc .btn.is-nudged { animation: nudge .9s var(--ease-out) 2; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } 60% { transform: translateY(1px); } }


.nf-tc .link-btn {
  min-height: 44px; padding: 10px 4px;
  background: none; border: 0;
  font-weight: 700; font-size: .92rem; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
  text-decoration-color: var(--coral);
}

.nf-tc .link-btn:hover { text-decoration-color: var(--ink); }

/* ==========================================================================
   4. HEADER
   ========================================================================== */

.nf-tc .site-header { padding: 14px 0 6px; }

.nf-tc .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.nf-tc .brand { display: inline-flex; flex-direction: column; text-decoration: none; min-height: 44px; justify-content: center; }

.nf-tc .wordmark { font-weight: 800; font-size: 1.45rem; letter-spacing: -.035em; line-height: 1; }

.nf-tc .wm-nikki { color: var(--coral-ink); }

.nf-tc .wm-flower { color: var(--teal); }

.nf-tc .dept { font-size: .72rem; font-weight: 700; color: var(--ink-soft); margin-top: 4px; letter-spacing: .01em; }

.nf-tc .badge {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-size: .75rem; font-weight: 800; color: var(--ink);
  padding: 6px 11px; border-radius: var(--pill);
  border: 1.5px dashed var(--line-strong);
  background: var(--paper);
}

.nf-tc .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

/* ==========================================================================
   5. HERO
   ========================================================================== */

.nf-tc .page-title {
  font-weight: 800;
  font-size: clamp(1.35rem, 1.15rem + 1vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -.025em;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
  padding: 8px 0 10px;
  text-decoration: underline;
  text-decoration-color: var(--coral-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.nf-tc .intro { display: grid; gap: 18px; padding: 10px 0 40px; }

.nf-tc .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  grid-template-areas: "eyebrow eyebrow" "title title" "lede art";
  gap: 10px 14px;
  align-items: end;
}

.nf-tc .eyebrow { grid-area: eyebrow; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--coral-ink); }

.nf-tc .eyebrow svg { width: 18px; height: 18px; }

.nf-tc .hero-title {
  grid-area: title;
  font-weight: 800;
  font-size: clamp(2.2rem, 1.45rem + 3.6vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.nf-tc .marker {
  background-image: linear-gradient(transparent 56%, var(--coral) 56%, var(--coral) 92%, transparent 92%);
  padding: 0 .06em;
  margin: 0 -.03em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.nf-tc .hero-lede { grid-area: lede; font-size: 1rem; color: var(--ink-soft); max-width: 34ch; align-self: center; }

.nf-tc .hero-art { grid-area: art; position: relative; margin: 0; }

.nf-tc .hero-art .sticker { display: none; position: absolute; }

.nf-tc .kit-svg { width: 100%; height: auto; overflow: visible; }

.nf-tc .kit-svg text { font-family: var(--sans); }

/* ==========================================================================
   6. CALCULATOR CARD
   ========================================================================== */

.nf-tc .calc { position: relative; padding: 20px 18px 22px; scroll-margin-top: 12px; }

.nf-tc .calc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }

.nf-tc .stepper { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex: 1; max-width: 300px; }

.nf-tc .stepper li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--ink-soft); }

.nf-tc .stepper .bar { height: 6px; border-radius: var(--pill); background: var(--line); transition: background-color .25s ease; }

.nf-tc .stepper li.is-done .bar { background: var(--ink); }

.nf-tc .stepper li.is-current .bar { background: var(--coral); }

.nf-tc .stepper li.is-current { color: var(--ink); }

.nf-tc .step-count { font-size: .78rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }


.nf-tc .step-title { font-weight: 800; font-size: 1.65rem; line-height: 1.08; letter-spacing: -.03em; }

.nf-tc .step-hint { color: var(--ink-soft); margin-top: 6px; font-size: .95rem; }

/* Person cards (real radio inputs) */

.nf-tc .choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }

.nf-tc .choice { position: relative; display: block; }
/* A card left alone on the last row stretches across it */

.nf-tc .choice:last-child:nth-child(3n+1) { grid-column: 1 / -1; }

.nf-tc .choice:last-child:nth-child(3n+1) .choice-inner { flex-direction: row; gap: 12px; min-height: 64px; }

.nf-tc .choice:last-child:nth-child(3n+1) .choice-icon { width: 34px; height: 34px; }

.nf-tc .choice input, .nf-tc .seg-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

.nf-tc .choice-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 96px; padding: 12px 6px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.nf-tc .choice-inner:hover { border-color: var(--line-strong); }

.nf-tc .choice-icon { width: 40px; height: 40px; transition: transform .2s var(--ease-out); }

.nf-tc .choice-name { font-weight: 800; font-size: .95rem; letter-spacing: -.01em; }

.nf-tc .choice-check {
  position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--ivory); display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .2s var(--ease-out);
}

.nf-tc .choice-check svg { width: 12px; height: 12px; }

.nf-tc .choice input:checked + .choice-inner { background: var(--butter); border: 2px solid var(--ink); }

.nf-tc .choice input:checked + .choice-inner .choice-check { opacity: 1; transform: scale(1); }

.nf-tc .choice input:checked + .choice-inner .choice-icon { transform: scale(1.08) rotate(-4deg); }

.nf-tc .choice input:focus-visible + .choice-inner { outline: 3px solid var(--ink); outline-offset: 3px; }


.nf-tc .field-label { display: block; font-weight: 800; font-size: .95rem; margin: 18px 0 8px; }

.nf-tc .select {
  -webkit-appearance: none; appearance: none;
  width: 100%; min-height: 56px; padding: 14px 48px 14px 16px;
  font-size: 1rem; font-weight: 700;
  color: var(--ink);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23411323' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 16px;
  border: 2px solid var(--line-strong);
  border-radius: 16px;
  cursor: pointer;
}

.nf-tc .select:hover { border-color: var(--ink); }

.nf-tc .select:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-color: var(--ink); }

.nf-tc .select[aria-invalid="true"] { border-color: var(--coral-ink); }


.nf-tc .for-chip {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 10px;
  font-size: .88rem; color: var(--ink-soft);
}

.nf-tc .for-chip strong { color: var(--ink); }

.nf-tc .for-chip .link-btn { font-size: .88rem; padding: 10px 6px; }

/* Witty response under the dropdown */

.nf-tc .quip {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 14px; padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--ivory);
  border: 1.5px dashed var(--line-strong);
  min-height: 74px;
}

.nf-tc .quip svg { width: 30px; height: 32px; flex: none; margin-top: 2px; }

.nf-tc .quip-label { display: block; font-size: .75rem; font-weight: 800; color: var(--coral-ink); }

.nf-tc .quip-text { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.38; }

.nf-tc .quip.is-empty .quip-text { font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--ink-soft); }

.nf-tc .quip.is-fresh { animation: quipIn .35s var(--ease-out); }
@keyframes quipIn { from { transform: translateY(4px); opacity: .3; } to { transform: none; opacity: 1; } }

/* Segmented controls (real radio inputs) */

.nf-tc .seg-group { margin-top: 18px; }

.nf-tc .seg-group:first-of-type { margin-top: 16px; }

.nf-tc .seg-legend { font-weight: 800; font-size: .95rem; margin-bottom: 8px; }

.nf-tc .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; background: var(--ivory); border: 1.5px solid var(--line); border-radius: 18px; }

.nf-tc .seg-option { position: relative; display: block; }

.nf-tc .seg-option span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 6px 8px; border-radius: 14px;
  font-weight: 700; font-size: .88rem; line-height: 1.2;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.nf-tc .seg-option span:hover { background: rgba(65, 19, 35, .06); }

.nf-tc .seg-option input:checked + span { background: var(--ink); color: var(--ivory); }

.nf-tc .seg-option input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }


.nf-tc .field-error { margin-top: 10px; font-size: .9rem; font-weight: 700; color: var(--coral-ink); display: flex; gap: 6px; align-items: center; }

.nf-tc .field-error:empty { display: none; }

.nf-tc .field-error::before { content: "!"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--coral-ink); color: #fff; font-size: .75rem; flex: none; }


.nf-tc .step-nav { margin-top: 22px; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }

.nf-tc .step-nav .btn { width: 100%; }

.nf-tc .step-nav .back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding-inline: 6px; }

.nf-tc .step-nav .back svg { width: 16px; height: 16px; }

.nf-tc .cta-wrap { position: relative; }

.nf-tc .cta-wrap .sticker { position: absolute; top: -16px; right: -6px; --tilt: 7deg; font-size: .74rem; padding: 4px 9px; z-index: 1; }

.nf-tc .helper { margin-top: 10px; text-align: center; font-size: .85rem; color: var(--ink-soft); }

/* Mock analysis */

.nf-tc .analysis { text-align: center; padding: 8px 4px 6px; }

.nf-tc .siren-live { width: 92px; height: 96px; margin: 0 auto 10px; }

.nf-tc .siren-live .rays { animation: blink .6s steps(2, jump-none) infinite; transform-origin: 40px 44px; }

.nf-tc .siren-live .dome { animation: glow .6s ease-in-out infinite alternate; }
@keyframes blink { from { opacity: 1; } to { opacity: .15; } }
@keyframes glow { from { fill: var(--coral); } to { fill: #ff8a95; } }

.nf-tc .sim-tag { display: inline-block; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: var(--pill); background: var(--butter); }

.nf-tc .analysis-title { font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; margin-top: 10px; }

.nf-tc .analysis-msg { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 1.12rem; min-height: 1.6em; }

.nf-tc .progress { position: relative; height: 16px; border-radius: var(--pill); border: 2px solid var(--ink); background: var(--ivory); overflow: hidden; margin: 18px 0 16px; }

.nf-tc .progress-fill {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background: repeating-linear-gradient(-45deg, var(--coral) 0 10px, #ff8590 10px 20px);
  background-size: 28px 28px;
  animation: stripes .7s linear infinite;
}
@keyframes stripes { to { background-position: 28px 0; } }

.nf-tc .checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; }

.nf-tc .checklist li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 700; color: var(--ink-soft); }

.nf-tc .checklist .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; }

.nf-tc .checklist .tick svg { width: 11px; height: 11px; opacity: 0; }

.nf-tc .checklist li.is-active { color: var(--ink); }

.nf-tc .checklist li.is-active .tick { border-color: var(--coral); }

.nf-tc .checklist li.is-done { color: var(--ink); }

.nf-tc .checklist li.is-done .tick { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.nf-tc .checklist li.is-done .tick svg { opacity: 1; }

.nf-tc .analysis-note { margin-top: 16px; font-size: .8rem; color: var(--ink-soft); }

/* ==========================================================================
   7. RESULT
   ========================================================================== */

.nf-tc .result { padding: 12px 0 44px; }

.nf-tc .result-grid { display: grid; gap: 18px; }

.nf-tc .report { position: relative; padding: 22px 20px 24px; }

.nf-tc .report-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.nf-tc .stamp {
  display: inline-block; font-size: .78rem; font-weight: 800; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink);
  border: 2px solid currentColor; border-radius: 8px; padding: 8px 10px 7px;
}

.nf-tc .report-top .sticker { position: absolute; top: -15px; right: 14px; --tilt: 5deg; }

.nf-tc .score-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 18px; }

.nf-tc .score {
  font-weight: 800; line-height: .8; letter-spacing: -.055em;
  font-size: clamp(5.6rem, 27vw, 9.5rem);
  font-variant-numeric: tabular-nums;
  text-shadow: .04em .04em 0 var(--coral);
}

.nf-tc .score-max { font-size: .2em; letter-spacing: 0; color: var(--ink-soft); text-shadow: none; margin-left: .18em; }

.nf-tc .melt { width: clamp(78px, 22vw, 116px); flex: none; margin-bottom: -6px; }

.nf-tc .melt .drips { transform-origin: 60px 62px; transform: scaleY(var(--melt, .4)); transition: transform 1.2s var(--ease-out); }

.nf-tc .melt .puddle { transform-origin: 60px 140px; transform: scaleX(var(--melt, .4)); transition: transform 1.2s var(--ease-out); }


.nf-tc .meter { margin-top: 22px; }

.nf-tc .meter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .78rem; font-weight: 800; }

.nf-tc .meter-head span:last-child { color: var(--ink-soft); font-weight: 700; }

.nf-tc .meter-track { position: relative; display: flex; height: 14px; margin-top: 10px; }

.nf-tc .meter-seg { flex: 1; height: 100%; }

.nf-tc .meter-seg:first-child { border-radius: var(--pill) 0 0 var(--pill); }

.nf-tc .meter-seg:last-child { border-radius: 0 var(--pill) var(--pill) 0; }

.nf-tc .meter-seg + .meter-seg { margin-left: 3px; }

.nf-tc .meter-pin {
  position: absolute; top: 50%; left: var(--pos, 0%);
  width: 28px; height: 28px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white); border: 5px solid var(--ink);
  box-shadow: 0 2px 0 rgba(65, 19, 35, .25);
  transition: left 1.1s var(--ease-out);
}

.nf-tc .meter-labels { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 3px; }

.nf-tc .meter-labels li { flex: 1; text-align: center; font-size: .7rem; font-weight: 700; color: var(--ink-soft); line-height: 1.2; }

.nf-tc .meter-labels li.is-current { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 4px; }


.nf-tc .tier { margin-top: 22px; }

.nf-tc .tier-name { font-weight: 800; font-size: clamp(2rem, 1.5rem + 2.4vw, 2.8rem); line-height: 1; letter-spacing: -.04em; }

.nf-tc .tier-level { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-weight: 800; color: var(--coral-ink); }

.nf-tc .pips { display: inline-flex; gap: 4px; }

.nf-tc .pips i { width: 12px; height: 12px; border-radius: 3px; border: 2px solid var(--ink); background: transparent; transform: rotate(45deg); }

.nf-tc .pips i.on { background: var(--coral); }


.nf-tc .case { margin: 22px 0 0; padding: 0; border-top: 1.5px dashed var(--line-strong); }

.nf-tc .case div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1.5px dashed var(--line-strong); }

.nf-tc .case dt { font-size: .8rem; font-weight: 700; color: var(--ink-soft); padding-top: 2px; }

.nf-tc .case dd { margin: 0; font-weight: 800; line-height: 1.3; }


.nf-tc .verdict { margin: 22px 0 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--coral); }

.nf-tc .verdict-label { font-size: .78rem; font-weight: 800; color: var(--coral-ink); }

.nf-tc .joke { font-family: var(--serif); font-style: italic; font-size: 1.32rem; line-height: 1.34; margin-top: 4px; }


.nf-tc .pack { margin-top: 24px; }

.nf-tc .sub-title { font-weight: 800; font-size: 1.12rem; letter-spacing: -.015em; }

.nf-tc .pack p { margin-top: 4px; font-size: 1.02rem; }

.nf-tc .chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.nf-tc .chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--pill); background: var(--ivory); border: 1.5px solid var(--line); font-weight: 700; font-size: .88rem; min-height: 40px; }

.nf-tc .chip svg { width: 28px; height: 28px; background: var(--white); border-radius: 50%; padding: 3px; border: 1px solid var(--line); }

.nf-tc a.chip { text-decoration: none; min-height: 44px; }

.nf-tc a.chip:hover { border-color: var(--ink); }


.nf-tc .action { margin-top: 18px; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: var(--butter); }

.nf-tc .action svg { width: 36px; height: 38px; flex: none; }

.nf-tc .action p { margin-top: 4px; font-size: 1rem; }

/* Share panel */

.nf-tc .share { padding: 22px 20px 20px; }

.nf-tc .share-title { font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; }

.nf-tc .share-sub { margin-top: 4px; color: var(--ink-soft); font-size: .92rem; }

.nf-tc .story-frame {
  margin: 16px auto 0; width: min(62%, 250px);
  aspect-ratio: 9 / 16;
  border-radius: 18px; overflow: hidden;
  background: var(--ivory);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--coral);
}

.nf-tc .story-frame img { width: 100%; height: 100%; object-fit: cover; }

.nf-tc .story-frame.is-loading { background: repeating-linear-gradient(-45deg, var(--ivory) 0 12px, var(--paper) 12px 24px); }

.nf-tc .story-error { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ivory); border: 1.5px solid var(--coral-ink); font-size: .92rem; font-weight: 700; }

.nf-tc .caption-box { margin-top: 18px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ivory); border: 1.5px dashed var(--line-strong); }

.nf-tc .caption-label { font-size: .75rem; font-weight: 800; color: var(--ink-soft); }

.nf-tc .caption-text { margin-top: 4px; font-size: .92rem; line-height: 1.45; -webkit-user-select: all; user-select: all; overflow-wrap: anywhere; }

.nf-tc .share-actions { display: grid; gap: 10px; margin-top: 16px; }

.nf-tc .share-actions .btn { width: 100%; padding-inline: 14px; }

.nf-tc .share-status { margin-top: 12px; font-size: .92rem; font-weight: 700; display: flex; gap: 8px; align-items: flex-start; }

.nf-tc .share-status:empty { display: none; }

.nf-tc .share-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--ink-soft); }

.nf-tc .share-status[data-tone="success"]::before { background: var(--leaf); }

.nf-tc .share-status[data-tone="error"]::before { background: var(--coral-ink); }

.nf-tc .share-more { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 14px; margin-top: 6px; }

/* Gift recommendation */

.nf-tc .gift { margin-top: 18px; padding: 22px 20px 24px; display: grid; gap: 16px; position: relative; overflow: hidden; }

.nf-tc .gift-art { width: 150px; justify-self: center; }

.nf-tc .gift-title { font-weight: 800; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.03em; }

.nf-tc .gift-text { margin-top: 8px; color: var(--ink-soft); }

.nf-tc .gift .btn { margin-top: 18px; }

.nf-tc .gift-note { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.02rem; }

.nf-tc .gift-fine { margin-top: 6px; font-size: .8rem; color: var(--ink-soft); }

/* Save-image fallback dialog */

.nf-tc .save-dialog {
  width: min(100% - 32px, 420px); max-height: calc(100% - 32px); padding: 18px;
  border: 2px solid var(--ink); border-radius: var(--r-lg); background: var(--white); color: var(--ink);
  box-shadow: 8px 8px 0 var(--coral);
}

.nf-tc .save-dialog[open] { display: flex; flex-direction: column; gap: 12px; }

.nf-tc .save-dialog:not([open]) { display: none; }

.nf-tc .save-dialog::backdrop { background: rgba(65, 19, 35, .55); }

.nf-tc .save-dialog.is-polyfill { position: fixed; inset: 16px; margin: auto; z-index: 60; height: fit-content; }

.nf-tc .save-dialog h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }

.nf-tc .save-dialog p { font-size: .95rem; color: var(--ink-soft); }

.nf-tc .save-dialog img { width: min(100%, 260px); margin: 0 auto; border-radius: 12px; border: 1px solid var(--line); -webkit-touch-callout: default; }

/* ==========================================================================
   7b. SEO CONTENT AND FAQ
   ========================================================================== */

.nf-tc .guide-wrap { display: grid; gap: 18px; padding: 8px 0 44px; }

.nf-tc .guide, .nf-tc .faq { padding: 24px 20px; }

.nf-tc .guide { max-width: 100%; }

.nf-tc .guide-title { font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1.12; letter-spacing: -.03em; max-width: 26ch; }

.nf-tc .guide h3 { font-weight: 800; font-size: 1.15rem; letter-spacing: -.015em; margin-top: 24px; }

.nf-tc .guide p { margin-top: 10px; font-size: 1rem; line-height: 1.65; max-width: 68ch; }

.nf-tc .guide a { padding: 14px 0; font-weight: 700; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.nf-tc .faq-list { margin-top: 14px; border-top: 1.5px dashed var(--line-strong); }

.nf-tc .faq-item { border-bottom: 1.5px dashed var(--line-strong); }

.nf-tc .faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 56px; padding: 12px 0; cursor: pointer; list-style: none;
}

.nf-tc .faq-item summary::-webkit-details-marker { display: none; }

.nf-tc .faq-item summary h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }

.nf-tc .faq-item summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; line-height: 1;
  background: var(--butter); border: 2px solid var(--ink);
}

.nf-tc .faq-item[open] summary::after { content: "-"; background: var(--coral); }

.nf-tc .faq-item summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.nf-tc .faq-item p { padding: 0 0 16px; color: var(--ink-soft); line-height: 1.6; max-width: 68ch; }

@media (min-width: 600px) {

  
.nf-tc .guide, .nf-tc .faq { padding: 30px 32px; }
}


@media (min-width: 960px) {

  
.nf-tc .guide-wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: start; padding-bottom: 64px; }
  
.nf-tc .guide, .nf-tc .faq { padding: 36px 40px; }
}


/* Internal link lists */

.nf-tc .link-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }

.nf-tc .link-list a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 0;
  font-weight: 700; color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px;
}

.nf-tc .link-list a:hover { text-decoration-color: var(--ink); }

.nf-tc .gift-more-title { font-size: .95rem; font-weight: 800; margin-top: 18px; }

.nf-tc .gift .link-list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: 18px; }

.nf-tc .gift-fine a, .nf-tc .faq-item p a, .nf-tc .faq-more a { color: var(--ink); font-weight: 700; text-decoration-color: var(--coral); text-underline-offset: 3px; padding: 15px 0; }

.nf-tc .faq-more { margin-top: 16px; font-size: .92rem; color: var(--ink-soft); }

.nf-tc .explore { padding: 24px 20px; }

.nf-tc .explore-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin-top: 10px; }

.nf-tc .explore h3 { font-size: 1rem; font-weight: 800; margin-top: 12px; }

.nf-tc .explore .link-list a { font-size: .95rem; }

.nf-tc .crumbs { padding-top: 2px; }

.nf-tc .crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: .82rem; color: var(--ink-soft); }

.nf-tc .crumbs li { display: inline-flex; align-items: center; }

.nf-tc .crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-strong); }

.nf-tc .crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--ink-soft); font-weight: 700; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

.nf-tc .crumbs a:hover { color: var(--ink); }

.nf-tc .crumbs span { font-weight: 700; color: var(--ink); }

.nf-tc .footer-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 18px; }

.nf-tc .footer-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }

@media (min-width: 600px) {
 
.nf-tc .explore { padding: 30px 32px; } }


@media (min-width: 960px) {

  
.nf-tc .explore { grid-column: 1 / -1; padding: 36px 40px; }
  
.nf-tc .explore-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.nf-tc .site-footer { border-top: 1.5px dashed var(--line-strong); padding: 22px 0 30px; font-size: .85rem; color: var(--ink-soft); }

.nf-tc .footer-inner { display: grid; gap: 6px; }

.nf-tc .site-footer a { font-weight: 700; color: var(--ink); text-decoration-color: var(--coral); text-underline-offset: 3px; }

.nf-tc .site-footer .lead { font-weight: 800; color: var(--ink); }

/* ==========================================================================
   9. RESPONSIVE
   ========================================================================== */

@media (max-width: 389px) {

  
.nf-tc .share-actions .btn { font-size: .95rem; padding-inline: 10px; gap: 8px; }
  
.nf-tc .share-actions .btn svg { width: 18px; height: 18px; }
}


@media (min-width: 420px) {

  
.nf-tc .hero { grid-template-columns: minmax(0, 1fr) 132px; }
  
.nf-tc .calc { padding: 24px 22px 24px; }
}


@media (min-width: 600px) {

  
.nf-tc .hero { grid-template-columns: minmax(0, 1fr) 200px; gap: 12px 24px; }
  
.nf-tc .hero-art .sticker { display: block; top: 6px; right: -8px; --tilt: 8deg; font-size: .74rem; }
  
.nf-tc .hero-lede { font-size: 1.1rem; }
  
.nf-tc .calc { padding: 28px; }
  
.nf-tc .choice-inner { min-height: 108px; }
  
.nf-tc .choice:last-child:nth-child(3n+1) .choice-inner { min-height: 72px; }
  
.nf-tc .choice-icon { width: 46px; height: 46px; }
  
.nf-tc .step-nav { flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  
.nf-tc .step-nav .btn { width: auto; min-width: 220px; }
  
.nf-tc .step-nav .cta-wrap { flex: 0 1 auto; }
  
.nf-tc .report, .nf-tc .share { padding: 28px; }
  
.nf-tc .case div { grid-template-columns: 140px minmax(0, 1fr); }
  
.nf-tc .gift { grid-template-columns: 170px minmax(0, 1fr); align-items: center; padding: 28px; gap: 28px; }
  
.nf-tc .gift-art { width: 100%; }
  
.nf-tc .gift .btn { width: auto; }
}


@media (min-width: 760px) {

  
.nf-tc .share { display: grid; grid-template-columns: 230px minmax(0, 1fr); column-gap: 26px; align-items: start; }
  
.nf-tc .share > * { grid-column: 2; }
  
.nf-tc .share .story-frame { grid-column: 1; grid-row: 1 / span 8; width: 100%; margin-top: 4px; }
}


@media (min-width: 960px) {

  
.nf-tc .site-header { padding: 22px 0 10px; }
  
.nf-tc .wordmark { font-size: 1.7rem; }
  
.nf-tc .intro { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 34px 0 64px; }
  
.nf-tc .hero { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "lede" "art"; gap: 18px; }
  
.nf-tc .hero-lede { font-size: 1.2rem; max-width: 30ch; }
  
.nf-tc .hero-art { width: min(100%, 440px); margin-top: 8px; }
  
.nf-tc .hero-art .sticker { top: 18px; right: 4px; font-size: .9rem; padding: 7px 13px; }
  
.nf-tc .calc { padding: 34px; }
  
.nf-tc .result { padding: 26px 0 64px; }
  
.nf-tc .result-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 24px; align-items: start; }
  
.nf-tc .report { padding: 34px; }
  
.nf-tc .share { display: block; }
  
.nf-tc .share .story-frame { width: min(64%, 250px); margin-top: 16px; }
  
.nf-tc .gift { margin-top: 24px; grid-template-columns: 220px minmax(0, 1fr); padding: 34px 40px; }
}


/* Motion preferences */

@media (prefers-reduced-motion: reduce) {

  
.nf-tc, .nf-tc *, .nf-tc *::before, .nf-tc *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* Sit inside site chrome, not as a standalone full-viewport page */
.nf-tc .page { min-height: 0; }
.nf-tc .hero {
  grid-template-areas: "eyebrow eyebrow" "dept dept" "title title" "lede art";
}
.nf-tc .dept { grid-area: dept; }
@media (min-width: 960px) {
  .nf-tc .hero {
    grid-template-areas: "eyebrow" "dept" "title" "lede" "art";
  }
}

.nf-tc .wrap { width: auto; max-width: none; margin: 0; }

@media (max-width: 991px) {
  .nf-tc-page .tnc_pages .container { width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; }
}

@media (max-width: 767px) {
  .nf-tc-page .scroll_top,
  .nf-tc-page .scroll_top1 { display: none !important; }
  .nf-tc-page .tnc_pages .container { width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; }
  .nf-tc { padding-bottom: 24px; }
  .nf-tc .wrap { width: 100%; }
  .nf-tc .score { font-size: clamp(4.2rem, 22vw, 6.5rem); }
  .nf-tc .seg-option span { font-size: .78rem; padding: 6px 4px; }
  .nf-tc .meter-labels li { font-size: .62rem; }
  .nf-tc .cta-wrap .sticker { right: 0; }
  .nf-tc .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "dept" "title" "lede" "art";
    gap: 12px;
  }
  .nf-tc .hero-art { width: min(78%, 260px); margin-top: 4px; }
}
