/* FormoMama redesign: warm cream, green and coral. Loaded after public.css on every page; everything is scoped to body.rd. */
.rd {
  --cream: #fbf7f0; --cream-2: #f6efe3; --sand: #efe6d6; --peach: #fbe9df; --peach-2: #f6d9cb; --rose-line: #ecdcca;
  --gold: #a86f12; --gold-soft: #f7ecd2;
  --green: #1d6b52; --green-dark: #144d3b; --green-soft: #e6f1ec; --coral: #ef6d5d; --coral-deep: #d9503f; --coral-soft: #fdece8;
  --ink: #1f2623; --ink-soft: #4a524e; --ink-faint: #79817c; --line: #e8dccb;
  --shadow-soft: 0 18px 50px rgba(120, 84, 40, .12); --shadow-card: 0 10px 30px rgba(120, 84, 40, .10);
  background: var(--cream); color: var(--ink);
  font-family: var(--font-text);
}
.rd a { color: inherit; }
.rd .wrap { max-width: 1760px; padding-left: clamp(24px, 4vw, 72px); padding-right: clamp(24px, 4vw, 72px); }
.rd .eyebrow { color: var(--green); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.rd .h-section { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
.rd .lede { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.6; }
.rd .section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.rd .section-head.left { margin-left: 0; text-align: left; }
.rd section { padding: 84px 0; }

/* ── buttons ── */
.rd .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 500; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.rd .btn-primary { background: var(--green); color: #fff; border: 1px solid var(--green); box-shadow: 0 8px 22px rgba(29, 107, 82, .28); }
.rd .btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(29, 107, 82, .34); }
.rd .btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border: 1px solid var(--rose-line); }
.rd .btn-ghost:hover { background: #fff; transform: translateY(-2px); }
.rd .btn-ghost i { color: var(--green); }
.rd .btn-secondary { background: #fff; color: var(--green-dark); border: 1px solid var(--line); }
.rd .btn-secondary:hover { background: var(--green-soft); }
.rd .btn-block { width: 100%; padding: 15px 22px; font-size: 1.02rem; }

/* ── announcement + header ── */
.rd .announce { background: var(--cream-2); color: var(--ink-soft); border-bottom: 1px solid var(--line); font-size: .86rem; }
.rd .announce a { color: var(--green-dark); font-weight: 500; }
.rd .rd-header { position: sticky; top: 0; z-index: 90; background: rgba(251, 247, 240, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.rd .rd-header .header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.rd .rd-header .lockup { display: inline-flex; align-items: center; }
.rd .rd-header .lockup img { height: 46px; width: auto; }
.rd .rd-header .main-nav { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.rd .rd-header .nav-link, .rd .rd-header .nav-dropdown-toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; background: none; border-radius: 12px; font: inherit; font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.rd .rd-header .nav-link:hover, .rd .rd-header .nav-dropdown-toggle:hover, .rd .rd-header .nav-dropdown-item.open .nav-dropdown-toggle { background: rgba(29, 107, 82, .08); color: var(--green-dark); }
.rd .rd-header .nav-chevron { font-size: .95rem; transition: transform .2s; } .rd .rd-header .nav-dropdown-item.open .nav-chevron { transform: rotate(180deg); }
.rd .rd-header .nav-pro .soon { font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-deep); border: 1px solid #f6cfc8; }
.rd .nav-dropdown-item { position: relative; }
.rd .nav-dropdown-menu { position: absolute; left: 0; top: calc(100% + 10px); z-index: 120; width: 330px; padding: 10px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.rd .nav-dropdown-menu[hidden] { display: none; }
.rd .dropdown-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .15s; }
.rd .dropdown-item:hover, .rd .dropdown-item:focus-visible { background: var(--green-soft); outline: none; }
.rd .dropdown-item .dd-text { display: grid; gap: 2px; }
.rd .dropdown-item b { font-weight: 500; font-size: .95rem; }
.rd .dropdown-item small { color: var(--ink-faint); font-size: .8rem; }
.rd .dropdown-item > i { color: var(--ink-faint); }
.rd .lang-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--rose-line); background: rgba(255,255,255,.7); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; transition: background .2s; }
.rd .lang-pill:hover { background: #fff; }
.rd .lang-pill::before { font-family: "tabler-icons"; content: "\eb54"; font-size: 1.05rem; color: var(--ink-soft); }
.rd .lang-pill::after { font-family: "tabler-icons"; content: "\ea5f"; font-size: .95rem; color: var(--ink-faint); }

/* ── hero ── */
.rd .hero-rd { position: relative; padding: 0; overflow: hidden; background: var(--cream); }
.rd .hero-rd { min-height: clamp(540px, 46vw, 860px); display: flex; align-items: center; }
.rd .hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: auto; aspect-ratio: 1448 / 1086; pointer-events: none; }
.rd .hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rd .hero-rd-grid { position: relative; z-index: 2; width: 100%; padding-top: 56px; padding-bottom: 56px; }
.rd .hero-rd-text { max-width: 640px; }
.rd .hero-rd-text { position: relative; }
.rd .hero-title { margin: 0; font-weight: 500; font-size: clamp(2.7rem, 5.6vw, 5.2rem); line-height: 1.04; letter-spacing: -.03em; color: var(--ink); }
.rd .hero-title span { display: block; text-wrap: balance; }
@media (min-width: 981px) { .rd .hero-rd-text { max-width: min(640px, calc(100vw - clamp(720px, 61.3vw, 1147px) - clamp(24px, 4vw, 72px) + 60px)); } }
.rd .hero-title .accent { color: var(--coral); }
.rd .hero-sub { margin: 22px 0 0; max-width: 560px; font-size: 1.12rem; line-height: 1.6; color: var(--ink-soft); }
.rd .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rd .btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.rd .hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 28px 0 0; padding: 0; color: var(--ink-soft); font-size: .9rem; }
.rd .hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.rd .hero-trust i { color: var(--green); font-size: 1.1rem; }


/* ── trust strip ── */
.rd .trust-strip { padding: 8px 0 40px; background: var(--cream); }
.rd .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.rd .trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 8px 26px; border-left: 1px solid var(--rose-line); }
.rd .trust-item:first-child { border-left: 0; padding-left: 0; }
.rd .trust-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; background: var(--green-soft); color: var(--green); }
.rd .trust-ico.coral { background: var(--coral-soft); color: var(--coral-deep); }
.rd .trust-item b { display: block; font-weight: 500; font-size: .98rem; }
.rd .trust-item small { display: block; margin-top: 4px; color: var(--ink-faint); font-size: .85rem; line-height: 1.45; }

/* ── how it works ── */
.rd .how-rd { background: linear-gradient(180deg, var(--cream) 0, var(--cream-2) 100%); }
.rd .how-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.rd .how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rd .how-step { position: relative; border-radius: 22px; background: transparent; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; overflow: hidden; }
.rd .how-step button { all: unset; box-sizing: border-box; display: flex; gap: 16px; width: 100%; padding: 20px 22px; cursor: pointer; }
.rd .how-step button:focus-visible { outline: 3px solid rgba(29,107,82,.3); outline-offset: -3px; border-radius: 22px; }
.rd .how-num { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; background: #fff; border: 1px solid var(--line); color: var(--ink-faint); transition: all .3s; }
.rd .how-copy b { display: block; font-weight: 500; font-size: 1.08rem; color: var(--ink-soft); transition: color .3s; }
.rd .how-copy small { display: block; margin-top: 6px; color: var(--ink-faint); font-size: .94rem; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s; }
.rd .how-step.is-on { background: #fff; border-color: var(--rose-line); box-shadow: var(--shadow-card); }
.rd .how-step.is-on .how-num { background: var(--green); border-color: var(--green); color: #fff; }
.rd .how-step.is-on .how-copy b { color: var(--ink); }
.rd .how-step.is-on .how-copy small { max-height: 90px; opacity: 1; }
.rd .how-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--green), var(--coral)); }
.rd .how-step.is-on .how-bar { animation: howbar var(--dur, 5500ms) linear forwards; }
.rd .how-grid.is-paused .how-step.is-on .how-bar { animation-play-state: paused; }
.rd .how-window { cursor: pointer; }
@keyframes howbar { to { width: 100%; } }
.rd .how-window { border-radius: 26px; background: #fff; border: 1px solid var(--rose-line); box-shadow: var(--shadow-soft); overflow: hidden; }
.rd .hw-bar { display: flex; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--cream); }
.rd .hw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3d6c3; }
.rd .hw-stage { position: relative; min-height: 340px; padding: 26px; }
.rd .hw-phase { position: absolute; inset: 26px; display: grid; align-content: center; gap: 14px; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .5s, transform .5s; }
.rd .how-grid[data-phase="1"] .hw-phase[data-p="1"], .rd .how-grid[data-phase="2"] .hw-phase[data-p="2"], .rd .how-grid[data-phase="3"] .hw-phase[data-p="3"] { opacity: 1; transform: none; }
.rd .hw-q { margin: 0; font-weight: 500; color: var(--ink-soft); font-size: .95rem; }
.rd .hw-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rd .hw-pills span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); font-size: .9rem; color: var(--ink-soft); }
.rd .how-grid[data-phase="1"] .hw-pills .pick { animation: hwpick 5.5s ease forwards; }
@keyframes hwpick { 0%, 22% { background: var(--cream); color: var(--ink-soft); border-color: var(--line); } 34%, 100% { background: var(--green); color: #fff; border-color: var(--green); } }
.rd .hw-row { display: flex; gap: 12px; }
.rd .hw-field { display: grid; gap: 4px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--cream); min-width: 96px; }
.rd .hw-field.wide { flex: 1; }
.rd .hw-field small { color: var(--ink-faint); font-size: .72rem; } .rd .hw-field b { font-weight: 500; }
.rd .hw-btn { justify-self: start; display: inline-flex; gap: 8px; align-items: center; padding: 12px 22px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 500; }
.rd .how-grid[data-phase="1"] .hw-btn { animation: hwtap 5.5s ease forwards; }
@keyframes hwtap { 0%, 62% { transform: none; box-shadow: none; } 70% { transform: scale(.94); } 78%, 100% { transform: none; box-shadow: 0 0 0 8px rgba(29,107,82,.15); } }
.rd .hw-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--cream); opacity: 0; transform: translateX(-18px); }
.rd .hw-card > i:first-child { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--coral-soft); color: var(--coral-deep); }
.rd .hw-card div { flex: 1; } .rd .hw-card b { display: block; font-weight: 500; } .rd .hw-card small { color: var(--ink-faint); font-size: .8rem; }
.rd .hw-card .ok { color: var(--green); font-size: 1.4rem; }
.rd .how-grid[data-phase="2"] .hw-card { animation: hwslide .6s ease forwards; }
.rd .how-grid[data-phase="2"] .hw-card.c2 { animation-delay: .35s; } .rd .how-grid[data-phase="2"] .hw-card.c3 { animation-delay: .7s; }
@keyframes hwslide { to { opacity: 1; transform: none; } }
.rd .hw-progress { height: 8px; border-radius: 6px; background: var(--sand); overflow: hidden; } .rd .hw-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), #2fa57d); }
.rd .how-grid[data-phase="3"] .hw-progress i { animation: hwfill 2.4s .3s ease forwards; }
@keyframes hwfill { to { width: 66%; } }
.rd .hw-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.rd .hw-list li { display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.rd .hw-list i { font-size: 1.4rem; color: var(--line); }
.rd .how-grid[data-phase="3"] .hw-list .d1 i { animation: hwtick .3s .6s forwards; } .rd .how-grid[data-phase="3"] .hw-list .d2 i { animation: hwtick .3s 1.3s forwards; }
.rd .how-grid[data-phase="3"] .hw-list .d1 span { animation: hwstrike .3s .6s forwards; } .rd .how-grid[data-phase="3"] .hw-list .d2 span { animation: hwstrike .3s 1.3s forwards; }
@keyframes hwtick { to { color: var(--green); } } @keyframes hwstrike { to { color: var(--ink-faint); text-decoration: line-through; } }

/* ── life stages ── */
@keyframes capin { to { opacity: 1; transform: none; } }

/* ── why FormoMama ── */
.rd .why-rd { background: var(--cream-2); }
.rd .why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.rd .why-copy .lede { margin: 18px 0 26px; }
.rd .why-panel { padding: 26px; border-radius: 28px; display: grid; gap: 12px; background: linear-gradient(160deg, #26805f, #144d3b); box-shadow: 0 30px 60px rgba(20, 77, 59, .3); position: relative; overflow: hidden; }
.rd .why-panel::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(239,109,93,.5), rgba(239,109,93,0) 70%); }
.rd .wf-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; background: #fff; opacity: 0; transform: translateY(14px); animation: wfrow 9s ease infinite; }
.rd .wf-row:nth-child(2) { animation-delay: .9s; } .rd .wf-row:nth-child(3) { animation-delay: 1.8s; } .rd .wf-row:nth-child(4) { animation-delay: 2.7s; }
@keyframes wfrow { 0% { opacity: 0; transform: translateY(14px); } 6%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-6px); } }
.rd .wf-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 1.15rem; }
.rd .wf-row div { flex: 1; min-width: 0; } .rd .wf-row b { display: block; font-weight: 500; font-size: .92rem; } .rd .wf-row small { color: var(--ink-faint); font-size: .76rem; }
.rd .wf-row em { font-style: normal; font-size: .72rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); white-space: nowrap; }
.rd .why-points { list-style: none; margin: 0; padding: 0; display: grid; }
.rd .why-points li { display: flex; gap: 14px; padding: 22px 0; border-top: 1px solid var(--sand); }
.rd .why-points li:first-child { border-top: 2px solid var(--green); }
.rd .why-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--coral-deep); font-size: 1.2rem; border: 1px solid var(--rose-line); }
.rd .why-points b { display: block; font-weight: 500; } .rd .why-points small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }

/* ── FAQ ── */
.rd .faq-rd { background: var(--cream); }
.rd .faq-rd-head .lede { margin-top: 14px; }
.rd .faq-accordion { display: grid; gap: 12px; }
.rd .faq-accordion details { background: #fff; border: 1px solid var(--rose-line); border-radius: 20px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.rd .faq-accordion details[open] { box-shadow: var(--shadow-card); border-color: #e8cdb6; }
.rd .faq-accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 1.02rem; }
.rd .faq-accordion summary::-webkit-details-marker { display: none; }
.rd .faq-accordion summary::after { font-family: "tabler-icons"; content: "\eb0b"; color: var(--green); font-size: 1.1rem; transition: transform .25s; }
.rd .faq-accordion details[open] summary::after { transform: rotate(45deg); }
.rd .faq-accordion details p { margin: 0 0 20px; color: var(--ink-soft); line-height: 1.65; }

/* ── footer ── */
.rd .site-footer { background: #12281f; }

@media (max-width: 980px) {
  .rd section { padding: 64px 0; }
  .rd .hero-rd { overflow: hidden; }
  .rd .hero-rd { display: block; min-height: 0; }
  .rd .hero-bg { position: relative; width: 100%; height: auto; aspect-ratio: auto; margin-top: 8px; }
  .rd .hero-bg img { height: auto; object-fit: cover; }
  .rd .hero-rd-grid { padding-top: 40px; padding-bottom: 0; }
  .rd .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .rd .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .rd .how-grid, .rd .why-grid { grid-template-columns: 1fr; }
  .rd .rd-header .main-nav { gap: 0; } .rd .rd-header .nav-link, .rd .rd-header .nav-dropdown-toggle { padding: 9px 10px; }
}
@media (max-width: 640px) {
  .rd .rd-header .header-row { height: 66px; gap: 8px; }
  .rd .lang-pill { padding: 8px 12px; font-size: .84rem; } .rd .lang-pill::before { display: none; }
  .rd .trust-grid { grid-template-columns: 1fr; } .rd .trust-item { border-left: 0; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rd .wf-row, .rd .hw-card, .rd .hw-phase { transition-duration: .01s; animation-duration: .01s; }
  .rd .wf-row { opacity: 1; transform: none; animation: none; }
}
@media print { .rd .rd-header, .rd .announce { display: none; } }

/* ═════════ Form page ═════════ */
.rd main, .rd #form-section, .rd #results-section, .rd .check-section { background: transparent; }
.rd .page-head { padding-top: 48px; padding-bottom: 8px; }
.rd .page-head .h-section { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.rd .tagline-chip { background: var(--peach); color: var(--coral-deep); }
.rd .tagline-chip i { color: var(--coral); }
.rd .check-points { margin-top: 18px; }
.rd .check-points li { color: var(--ink-soft); }
.rd .check-points i { color: var(--green); }
.rd .check-section { padding-top: 28px; padding-bottom: 90px; }
.rd .panel { background: #fff; border: 1px solid var(--rose-line); border-radius: 30px; box-shadow: var(--shadow-card); padding: 40px 44px; }
.rd .form-section-label { color: var(--green); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.rd .form-grid .field legend, .rd .form-grid .field > label { font-weight: 500; color: var(--ink); }
.rd .hint { color: var(--ink-faint); }
.rd .pill span { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.rd .pill span:hover { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); }
.rd .pill input:checked + span, .rd .benefit-pills .pill input:checked + span { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(29, 107, 82, .25); }
.rd .form-grid input[type="number"], .rd .form-grid select, .rd .form-grid input[type="date"] { background-color: var(--cream); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.rd .form-grid input:focus, .rd .form-grid select:focus { outline: 3px solid rgba(29, 107, 82, .22); border-color: var(--green); }
.rd .stage-pills { gap: 10px; }
.rd .form-actions { border-top-color: var(--rose-line); }
.rd .form-actions .btn-primary { padding: 15px 30px; }

/* ═════════ Results ═════════ */
.rd .results-wrap { padding-top: 44px; padding-bottom: 80px; }
.rd .results-top-header { gap: 36px; align-items: start; border-bottom: 1px solid var(--rose-line); padding-bottom: 34px; margin-bottom: 8px; }
.rd #results-title { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 500; letter-spacing: -.02em; }
.rd .results-actions { gap: 10px; margin-top: 18px; }
.rd .results-actions .btn { background: #fff; border: 1px solid var(--line); color: var(--green-dark); }
.rd .results-actions .btn:hover { background: var(--green-soft); }
.rd .data-updated { color: var(--ink-faint); }
.rd .results-situation-panel { display: grid; gap: 16px; }
.rd .situation-card, .rd .checklist-card, .rd .pro-promo-card { background: #fff; border: 1px solid var(--rose-line); border-radius: 24px; box-shadow: var(--shadow-card); padding: 22px 24px; }
.rd .situation-card-head { display: flex; align-items: center; gap: 10px; color: var(--green); }
.rd .situation-card-head h4 { margin: 0; font-size: .76rem; font-weight: 600; letter-spacing: .16em; }
.rd .profile-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.rd .profile-chips li { padding: 6px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .82rem; color: var(--ink-soft); }
.rd .checklist-card h4 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 500; }
.rd .ck-progress { height: 8px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.rd .ck-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), #2fa57d); border-radius: 6px; transition: width .4s ease; }
.rd .ck-count { margin: 10px 0 12px; font-size: .86rem; color: var(--ink-soft); }
.rd .ck-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rd .ck-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; }
.rd .ck-list label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .94rem; line-height: 1.35; }
.rd .ck-list input { width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.rd .ck-list li.done span { color: var(--ink-faint); text-decoration: line-through; }
.rd .ck-remove { border: 0; background: none; color: var(--ink-faint); cursor: pointer; padding: 4px; border-radius: 50%; line-height: 0; }
.rd .ck-remove:hover { background: var(--coral-soft); color: var(--coral-deep); }
.rd .ck-empty { margin: 14px 0 0; color: var(--ink-faint); font-size: .9rem; line-height: 1.5; }
.rd #results-title:focus { outline: none; }
.rd .results-header-left .pro-promo-card { margin-top: 26px; max-width: 520px; }
.rd .pro-promo-card { background: linear-gradient(160deg, var(--peach), #fff 70%); }
.rd .pro-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rd .pro-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-deep); border: 1px solid #f6cfc8; font-size: .66rem; font-weight: 600; letter-spacing: .1em; }
.rd .pro-tag { font-size: .76rem; font-weight: 600; letter-spacing: .1em; color: var(--green); }
.rd .pro-card-title { margin: 0 0 6px; font-size: 1.2rem; font-weight: 500; }
.rd .pro-card-desc { margin: 0 0 12px; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }
.rd .pro-card-features { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-soft); }
.rd .pro-card-features i { color: var(--green); margin-right: 6px; }
.rd .btn-pro-card { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; background: var(--green); color: #fff; text-decoration: none; font-weight: 500; font-size: .92rem; }
.rd .btn-pro-card:hover { background: var(--green-dark); }
.rd .btn-pro-card { border-radius: 999px; }

.rd .result-group { margin-top: 40px; }
.rd .result-group-header { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rose-line); margin-bottom: 22px; }
.rd .result-group-header h2 { margin: 0; font-size: 1.35rem; font-weight: 500; flex: 1; }
.rd .rgh-badge { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-deep); }
.rd .result-group-national .rgh-badge { background: var(--green-soft); color: var(--green); }
.rd .rgh-count { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; color: var(--ink-soft); }
.rd .result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.rd .result-card { --accent: var(--green); --accent-deep: var(--green-dark); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rose-line); border-top: 4px solid var(--accent); border-radius: 22px; box-shadow: var(--shadow-card); padding: 22px 24px 18px; transition: transform .25s, box-shadow .25s; }
.rd .result-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.rd .result-card[data-color="pink"] { --accent: var(--coral); --accent-deep: var(--coral-deep); }
.rd .result-card[data-color="purple"] { --accent: #c4912f; --accent-deep: var(--gold); }
.rd .result-card.muted { opacity: .92; border-top-color: #d6c8b4; }
.rd .rc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.rd .rc-icon { position: static; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent-deep); font-size: 1.15rem; }
.rd .rc-kind { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.rd .result-card h3 { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.rd .rc-value { margin: 10px 0 12px; font-size: 1.55rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; color: var(--accent-deep); }
.rd .rc-desc { color: var(--ink-soft); font-size: .93rem; line-height: 1.55; margin-bottom: 16px; }
.rd .rc-line { margin: 0 0 8px; }
.rd .rc-source { margin-top: 10px; font-size: .78rem; color: var(--ink-faint); }
.rd .rc-source a { color: var(--green-dark); }
.rd .rc-flag { align-self: flex-start; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.rd .rc-actions { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--sand); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rd .rc-check { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--green); background: #fff; color: var(--green-dark); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.rd .rc-check:hover { background: var(--green-soft); }
.rd .rc-check.on { background: var(--green); color: #fff; }
.rd .rc-official { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; font-weight: 500; color: var(--green-dark); text-decoration: none; }
.rd .rc-official:hover { text-decoration: underline; }
.rd .card-fb { margin-top: 10px; }

/* ═════════ About and privacy ═════════ */
.rd .about-card, .rd .privacy-card, .rd .panel.white { background: #fff; border: 1px solid var(--rose-line); border-radius: 24px; box-shadow: var(--shadow-card); }
.rd .about-card > i { color: var(--green); }
.rd .tight-top, .rd section.privacy { background: transparent; }

@media (max-width: 980px) {
  .rd .panel { padding: 28px 22px; }
  .rd .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rd .result-grid { grid-template-columns: 1fr; }
  .rd .rc-actions { flex-wrap: wrap; }
}
@media print { .rd .rc-actions, .rd .pro-promo-card { display: none; } .rd .checklist-card { break-inside: avoid; } }

/* ── FAQ band: three questions in view, scroll for the rest ── */
.rd .faq-rd { background: var(--cream); padding: 40px 0 90px; }
.rd .faq-band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, .6fr); gap: 32px; align-items: center; padding: 38px 44px; border-radius: 34px; background: linear-gradient(120deg, #e8efe8, #eef2ea 55%, #f3ece0); border: 1px solid #dfe7dc; overflow: hidden; }
.rd .faq-rd-head .h-section { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.rd .faq-rd-head .lede { margin-top: 12px; font-size: 1rem; }
.rd .faq-window { position: relative; }
.rd .faq-accordion { max-height: 316px; overflow-y: auto; display: block; padding: 6px 4px 6px 0; background: #fff; border-radius: 24px; border: 1px solid var(--rose-line); box-shadow: var(--shadow-card); scrollbar-width: thin; scrollbar-color: #c9d8cf transparent; scroll-snap-type: y proximity; overscroll-behavior: contain; }
.rd .faq-accordion:focus-visible { outline: 3px solid rgba(29,107,82,.3); outline-offset: 3px; }
.rd .faq-accordion::-webkit-scrollbar { width: 8px; } .rd .faq-accordion::-webkit-scrollbar-thumb { background: #c9d8cf; border-radius: 8px; }
.rd .faq-accordion details { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0 20px; scroll-snap-align: start; }
.rd .faq-accordion details + details { border-top: 1px solid var(--sand); }
.rd .faq-accordion details[open] { box-shadow: none; background: #fbf8f2; }
.rd .faq-accordion summary { min-height: 100px; padding: 0; gap: 16px; justify-content: flex-start; font-size: 1.02rem; }
.rd .faq-accordion summary::after { margin-left: auto; content: "\ea61"; color: var(--ink-faint); }
.rd .faq-accordion details[open] summary::after { transform: rotate(90deg); }
.rd .faq-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; background: var(--green-soft); color: var(--green); }
.rd .faq-accordion details:nth-child(3n+2) .faq-ic { background: var(--coral-soft); color: var(--coral-deep); }
.rd .faq-accordion details:nth-child(3n) .faq-ic { background: var(--gold-soft); color: var(--gold); }
.rd .faq-accordion details p { margin: 0 0 20px 62px; padding-right: 8px; }
.rd .faq-more { position: absolute; left: 0; right: 8px; bottom: 1px; height: 54px; display: grid; place-items: end center; padding-bottom: 6px; border-radius: 0 0 24px 24px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 85%); color: var(--green); pointer-events: none; transition: opacity .3s; }
.rd .faq-more i { animation: faqbob 1.6s ease-in-out infinite; }
@keyframes faqbob { 50% { transform: translateY(4px); } }
.rd .faq-window.at-end .faq-more { opacity: 0; }
.rd .faq-accordion summary { display: flex; align-items: center; min-height: 104px; }
.rd .faq-accordion { max-height: 318px; }
.rd .faq-accordion details[open] summary { min-height: 84px; }
.rd .faq-band { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) auto; padding: 0 0 0 44px; gap: 36px; background: linear-gradient(120deg, #e9f0e9, #e5eae4 60%); align-items: stretch; }
.rd .faq-rd-head { align-self: center; padding: 38px 0; }
.rd .faq-window { align-self: center; margin: 38px 0; }

/* ── life-stage story slider ── */
.rd .slider { border-radius: 30px; background: #fffdf9; border: 1px solid var(--rose-line); box-shadow: var(--shadow-card); overflow: hidden; }
.rd .sl-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 22px 34px 0; }
.rd .sl-step { appearance: none; border: 0; background: transparent; cursor: pointer; padding: 6px 2px 10px; text-align: left; font: inherit; color: var(--ink-faint); min-width: 0; }
.rd .sl-step .bar { display: block; height: 4px; border-radius: 4px; background: #e8dfd0; overflow: hidden; margin-bottom: 10px; }
.rd .sl-step .fill { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--coral)); }
.rd .sl-step.is-past .fill { width: 100%; background: var(--green); }
.rd .sl-step.is-on .fill { width: 100%; animation: slfill var(--sl-dur, 5500ms) linear; }
.rd .sl-step.paused .fill { animation-play-state: paused; }
@keyframes slfill { from { width: 0; } to { width: 100%; } }
.rd .sl-step .name { font-size: .86rem; font-weight: 500; letter-spacing: .005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.rd .sl-step .name b { font-weight: 600; opacity: .55; margin-right: 6px; font-size: .78rem; }
.rd .sl-step.is-on { color: var(--green-dark); }
.rd .sl-step:focus-visible, .rd .sl-arrow:focus-visible, .rd .sl-cta:focus-visible { outline: 3px solid rgba(29, 107, 82, .35); outline-offset: 3px; border-radius: 10px; }
.rd .sl-stage { position: relative; display: grid; cursor: pointer; }
.rd .sl-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 54% 46%; min-height: 440px; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.rd .sl-slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease; z-index: 1; }
.rd .sl-photo { overflow: hidden; background: var(--sand); }
.rd .sl-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 6.5s ease; }
.rd .sl-slide.is-on .sl-photo img { transform: scale(1); }
.rd .sl-copy { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(28px, 5vw, 76px); background: linear-gradient(125deg, #fffdf9, #faf3e8); }
.rd .sl-copy > * { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.rd .sl-slide.is-on .sl-copy > * { opacity: 1; transform: none; }
.rd .sl-slide.is-on .sl-copy > :nth-child(2) { transition-delay: .1s; } .rd .sl-slide.is-on .sl-copy > :nth-child(3) { transition-delay: .2s; } .rd .sl-slide.is-on .sl-copy > :nth-child(4) { transition-delay: .3s; }
.rd .sl-kicker { margin: 0 0 16px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.rd .sl-kicker .dot { margin: 0 4px; color: var(--coral); }
.rd .sl-headline { margin: 0 0 18px; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; color: var(--green-dark); max-width: 460px; }
.rd .sl-desc { margin: 0; max-width: 430px; font-size: 1.06rem; line-height: 1.7; color: var(--ink-soft); }
.rd .sl-cta { align-self: flex-start; margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; font-weight: 500; box-shadow: 0 8px 20px rgba(29, 107, 82, .25); transition: background .2s, transform .2s; }
.rd .sl-cta:hover { background: var(--green-dark); transform: translateY(-2px); }
.rd .sl-controls { position: absolute; right: 28px; bottom: 24px; z-index: 3; display: flex; gap: 10px; }
.rd .sl-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--green-dark); cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; transition: background .2s; }
.rd .sl-arrow:hover { background: var(--green-soft); }
@media (max-width: 760px) {
  .rd .sl-steps { padding: 18px 16px 0; gap: 6px; } .rd .sl-step .name { font-size: .68rem; } .rd .sl-step .name b { display: none; }
  .rd .sl-slide { grid-template-columns: 1fr; grid-template-rows: 240px auto; min-height: 0; }
  .rd .sl-copy { padding: 26px 24px 78px; }
  .rd .sl-headline { font-size: 2rem; } .rd .sl-desc { font-size: .98rem; }
  .rd .sl-controls { right: 20px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .rd .sl-slide, .rd .sl-photo img, .rd .sl-copy > * { transition-duration: .01s; } .rd .sl-step.is-on .fill { animation: none; } }

/* ── Formo AI band ── */
.rd .fa-rd { background: var(--cream); padding: 40px 0 70px; }
.rd .fa-band { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 44px 48px; border-radius: 34px; background: linear-gradient(135deg, #fffdf8, #f8efe3); border: 1px solid var(--rose-line); box-shadow: var(--shadow-card); }
.rd .fa-lockup { display: flex; align-items: center; gap: 18px; margin: 10px 0 24px 10px; }
.rd .fa-orb { position: relative; flex: none; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 10px 28px rgba(29, 107, 82, .28); transition: transform .25s; }
.rd .fa-orb:hover { transform: scale(1.06); }
.rd .fa-orb::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: faping 2.4s ease-out infinite; }
@keyframes faping { from { opacity: .55; transform: scale(.88); } to { opacity: 0; transform: scale(1.3); } }
.rd .fa-orb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.rd .fa-orb:focus-visible { outline: 3px solid rgba(29, 107, 82, .4); outline-offset: 4px; }
.rd .fa-name b { display: block; font-size: 2rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; color: var(--green-dark); }
.rd .fa-name > span { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--ink-faint); font-size: .86rem; }
.rd .fa-name img { height: 26px; width: auto; }
.rd .fa-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: var(--peach); color: var(--coral-deep); font-size: .84rem; font-weight: 500; }
.rd .fa-chip i { color: var(--coral); }
.rd .fa-copy .lede { margin: 14px 0 22px; max-width: 520px; }
.rd .fa-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.rd .fa-points li { display: flex; gap: 14px; align-items: flex-start; }
.rd .fa-points li > i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: var(--green-soft); color: var(--green); }
.rd .fa-points li:nth-child(2) > i { background: var(--coral-soft); color: var(--coral-deep); }
.rd .fa-points b { display: block; font-weight: 500; } .rd .fa-points small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.rd .fa-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rd .fa-stage { position: relative; display: grid; place-items: center; padding: 34px 26px; border-radius: 28px; background: linear-gradient(160deg, #26805f, #144d3b); overflow: hidden; min-height: 440px; }
.rd .fa-stage::before { content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 109, 93, .5), rgba(239, 109, 93, 0) 70%); }
.rd .fa-chat { position: relative; width: min(420px, 100%); border-radius: 22px; background: #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, .25); overflow: hidden; }
.rd .fa-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--sand); }
.rd .fa-chat-head img { width: 38px; height: 38px; border-radius: 50%; }
.rd .fa-chat-head b { display: block; font-weight: 500; font-size: .95rem; } .rd .fa-chat-head small { color: var(--ink-faint); font-size: .74rem; }
.rd .fa-chat-head em { margin-left: auto; font-style: normal; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-deep); }
.rd .fa-chat-body { display: grid; gap: 10px; align-content: start; padding: 18px 16px; min-height: 290px; }
.rd .fa-msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.5; opacity: 0; transform: translateY(10px); animation-duration: 12s; animation-iteration-count: infinite; animation-fill-mode: both; }
.rd .fa-msg.me { justify-self: end; background: var(--green); color: #fff; border-bottom-right-radius: 5px; animation-name: famsg1; }
.rd .fa-msg.bot { justify-self: start; background: var(--cream-2); color: var(--ink); border-bottom-left-radius: 5px; }
.rd .fa-msg.typing { display: inline-flex; gap: 4px; align-items: center; height: 30px; padding-top: 0; padding-bottom: 0; animation-name: fatype; }
.rd .fa-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); animation: fablink 1s infinite; } .rd .fa-msg.typing i:nth-child(2) { animation-delay: .15s; } .rd .fa-msg.typing i:nth-child(3) { animation-delay: .3s; }
.rd .fa-msg.answer { animation-name: faans; margin-top: -40px; }
.rd .fa-msg.answer p { margin: 0 0 8px; }
.rd .fa-src { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .74rem; color: var(--green-dark); }
.rd .fa-src i { color: var(--green); }
@keyframes fablink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes famsg1 { 0%, 4% { opacity: 0; transform: translateY(10px); } 9%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes fatype { 0%, 14% { opacity: 0; transform: translateY(10px); } 18%, 36% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; } }
@keyframes faans { 0%, 38% { opacity: 0; transform: translateY(10px); } 46%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.rd .fa-chat-input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-faint); font-size: .86rem; }
.rd .fa-chat-input i { color: var(--green); font-size: 1.1rem; }
.rd .ai-fab { background: var(--green); }
@media (max-width: 980px) { .rd .fa-band { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; } .rd .fa-stage { min-height: 0; padding: 24px 14px; } }
@media (prefers-reduced-motion: reduce) { .rd .fa-msg { animation: none; opacity: 1; transform: none; } .rd .fa-msg.typing { display: none; } .rd .fa-msg.answer { margin-top: 0; } .rd .fa-orb::after { animation: none; } }

/* Formo AI on the landing page opens as a window in the middle of the screen, about half its size */
.rd .ai-scrim { position: fixed; inset: 0; z-index: 94; background: rgba(20, 30, 25, .42); animation: aiscrim .25s ease both; }
.rd .ai-scrim[hidden] { display: none; }
.rd .ai-panel { right: auto; bottom: auto; left: 50%; top: 50%; width: clamp(440px, 50vw, 780px); height: clamp(480px, 62vh, 700px); transform: translate(-50%, -50%); border-radius: 26px; border: 1px solid var(--rose-line); box-shadow: 0 30px 90px rgba(17, 26, 22, .35); animation: aipop .3s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes aipop { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes aiscrim { from { opacity: 0; } }
@media (max-width: 640px) { .rd .ai-panel { left: 0; top: 0; width: auto; height: 100dvh; transform: none; border-radius: 0; animation: none; } }
@media (prefers-reduced-motion: reduce) { .rd .ai-panel, .rd .ai-scrim { animation: none; } }
/* ── "My list" tab in the corner, with the card that flies into it ── */
:root { --lt-edge: max(clamp(24px, 4vw, 72px), calc((100vw - 1760px) / 2 + clamp(24px, 4vw, 72px))); }
.list-tab { position: fixed; z-index: 92; right: calc(var(--lt-edge) + 158px); top: 17px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 10px 9px 14px; border-radius: 999px; border: 1px solid var(--rose-line, #ecdcca); background: #fff; color: var(--green-dark); font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; box-shadow: 0 10px 28px rgba(80, 50, 20, .16); transition: box-shadow .2s, transform .2s, border-color .2s, background .2s; }
.list-tab[hidden] { display: none; }
.list-tab:hover { border-color: var(--green); box-shadow: 0 12px 30px rgba(29, 107, 82, .22); }
.list-tab:focus-visible { outline: 3px solid rgba(29, 107, 82, .35); outline-offset: 3px; }
.list-tab > i { font-size: 1.25rem; color: var(--green); }
.list-tab .lt-count { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: .8rem; font-weight: 600; background: var(--sand, #efe6d6); color: var(--ink-soft); transition: background .2s, color .2s; }
.list-tab.has-items .lt-count { background: var(--coral); color: #fff; }
.list-tab.pop { animation: ltpop .6s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes ltpop { 0% { transform: scale(1); } 35% { transform: scale(1.14); } 100% { transform: scale(1); } }
.list-tab.inviting { border-color: var(--coral); box-shadow: 0 0 0 5px rgba(239, 109, 93, .16), 0 10px 28px rgba(80, 50, 20, .16); animation: ltinvite 1.2s ease-in-out infinite; }
.list-tab.inviting.ready { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.08); animation: none; }
.list-tab.inviting.ready > i { color: #fff; }
@keyframes ltinvite { 50% { box-shadow: 0 0 0 9px rgba(239, 109, 93, .1), 0 10px 28px rgba(80, 50, 20, .16); } }
.list-pop { position: fixed; z-index: 93; right: var(--lt-edge); top: 76px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 12px 11px 16px; border-radius: 16px; background: var(--green-dark); color: #fff; font-size: .9rem; box-shadow: 0 16px 36px rgba(20, 40, 30, .3); opacity: 0; transform: translateY(-10px) scale(.96); transform-origin: top right; pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.2, .9, .3, 1.2); }
.list-pop.show { opacity: 1; transform: none; pointer-events: auto; }
.list-pop i { color: #7fd1b0; font-size: 1.2rem; }
.list-pop .lp-view { margin-left: 4px; padding: 6px 13px; border-radius: 999px; border: 0; background: #fff; color: var(--green-dark); font: inherit; font-size: .82rem; font-weight: 500; cursor: pointer; }
.list-pop .lp-view:hover { background: var(--green-soft); }
.fm-token { position: fixed; z-index: 3001; display: inline-flex; align-items: center; gap: 8px; max-width: 240px; padding: 8px 14px 8px 10px; border-radius: 14px; background: #fff; border: 1.5px solid var(--green); box-shadow: 0 10px 24px rgba(29, 107, 82, .3); font-size: .82rem; font-weight: 500; color: var(--green-dark); pointer-events: none; transform: translate(-50%, -50%); }
.fm-token i { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-deep); }
.fm-token span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.fm-dragging, body.fm-dragging * { cursor: grabbing !important; user-select: none !important; }
.rd .result-card.is-draggable { cursor: grab; }
.rd #checklist-panel { scroll-margin-top: 100px; }
.rd .checklist-card.bump { animation: ckbump .6s ease; }
@keyframes ckbump { 30% { transform: scale(1.03); box-shadow: 0 0 0 6px rgba(29, 107, 82, .15), var(--shadow-card); } }
@media (max-width: 760px) { .list-tab { top: auto; right: auto; left: 14px; bottom: 56px; } .list-pop { top: auto; right: auto; left: 14px; bottom: 112px; transform-origin: bottom left; } }
@media (prefers-reduced-motion: reduce) { .fm-token { display: none; } .list-tab.pop, .list-tab.inviting, .rd .checklist-card.bump { animation: none; } .list-pop { transition: none; } }
@media print { .list-tab, .list-pop, .fm-token { display: none; } }

/* ── wavy separation between the results header and the cards, and between the groups of cards ── */
body.rd { overflow-x: clip; }
.rd .results-top-header { border-bottom: 0; padding-bottom: 8px; margin-bottom: 0; }
.rd .wave-divider { height: 92px; margin: 18px calc(50% - 50vw) 8px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 90%22 preserveAspectRatio=%22none%22%3E%3Cdefs%3E%3ClinearGradient id=%22a%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23eadfca%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fbf7f0%22/%3E%3C/linearGradient%3E%3ClinearGradient id=%22b%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23f8e3d6%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fbf7f0%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d=%22M0 30C220 6 430 6 690 30S1160 62 1440 24V90H0Z%22 fill=%22url(%23a)%22/%3E%3Cpath d=%22M0 52C260 82 500 26 800 48S1240 72 1440 46V90H0Z%22 fill=%22url(%23b)%22 opacity=%22.85%22/%3E%3Cpath d=%22M0 52C260 82 500 26 800 48S1240 72 1440 46%22 fill=%22none%22 stroke=%22%23fff%22 stroke-opacity=%22.7%22 stroke-width=%222%22/%3E%3C/svg%3E") center top / 100% 100% no-repeat; pointer-events: none; }
.rd .results-cards-stream .result-group-local { margin-top: 0; padding-top: 0; border-top: 0; }
.rd .results-cards-stream .result-group-national { position: relative; margin-top: 78px; }
.rd .results-cards-stream .result-group-national::before { content: ""; position: absolute; left: 0; right: 0; top: -70px; height: 64px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 90%22 preserveAspectRatio=%22none%22%3E%3Cdefs%3E%3ClinearGradient id=%22a%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23eadfca%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fbf7f0%22/%3E%3C/linearGradient%3E%3ClinearGradient id=%22b%22 x1=%220%22 y1=%220%22 x2=%220%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23f8e3d6%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fbf7f0%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d=%22M0 30C220 6 430 6 690 30S1160 62 1440 24V90H0Z%22 fill=%22url(%23a)%22/%3E%3Cpath d=%22M0 52C260 82 500 26 800 48S1240 72 1440 46V90H0Z%22 fill=%22url(%23b)%22 opacity=%22.85%22/%3E%3Cpath d=%22M0 52C260 82 500 26 800 48S1240 72 1440 46%22 fill=%22none%22 stroke=%22%23fff%22 stroke-opacity=%22.7%22 stroke-width=%222%22/%3E%3C/svg%3E") center top / 100% 100% no-repeat; pointer-events: none; opacity: .9; }
.rd .results-cards-stream .result-group-national:first-child { margin-top: 0; } .rd .results-cards-stream .result-group-national:first-child::before { display: none; }
.rd .result-group-header { border-bottom: 0; padding-bottom: 6px; margin-bottom: 18px; }
@media (max-width: 640px) { .rd .wave-divider { height: 56px; margin-top: 10px; } .rd .results-cards-stream .result-group-national::before { height: 44px; top: -50px; } .rd .results-cards-stream .result-group-national { margin-top: 56px; } }
@media print { .rd .wave-divider, .rd .results-cards-stream .result-group-national::before { display: none; } }
.rd .ck-download { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--green); background: #fff; color: var(--green-dark); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; transition: background .2s; }
.rd .ck-download:hover { background: var(--green-soft); }
.rd .ck-download[hidden] { display: none; }
@media print { .rd .ck-download { display: none; } }

/* ── FAQ band: the supplied illustration is the band's background; the questions sit on its open left side ── */
.rd .faq-band { display: grid; grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; padding: 44px 49% 44px 48px; background: #e7f1e9 url("../img/faq-band.webp") right center / auto 100% no-repeat; border: 1px solid #dfe7dc; border-radius: 34px; overflow: hidden; }
.rd .faq-rd-head { align-self: center; padding: 0; }
.rd .faq-window { align-self: center; margin: 0; }
@media (max-width: 1499px) {
  .rd .faq-band { grid-template-columns: 1fr; padding: 34px 34px 260px; gap: 22px; background-size: auto 240px; background-position: right bottom; }
  .rd .faq-window { max-width: 640px; }
}
@media (max-width: 640px) { .rd .faq-band { padding: 26px 18px 210px; background-size: auto 190px; } }
.rd .faq-band .faq-rd-head .h-section { font-size: clamp(1.7rem, 2.1vw, 2.2rem); }

/* ── language menu ── */
.lang-menu { position: relative; }
.lang-menu .lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 130; min-width: 200px; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: grid; gap: 2px; }
.lang-menu .lang-list[hidden] { display: none; }
.lang-menu .lang-list button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 14px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; font-size: .94rem; text-align: left; cursor: pointer; }
.lang-menu .lang-list button:hover, .lang-menu .lang-list button:focus-visible { background: var(--green-soft); outline: none; }
.lang-menu .lang-list button.is-on { font-weight: 600; color: var(--green-dark); }
.lang-menu .lang-list button.is-on::after { font-family: "tabler-icons"; content: "\ea5e"; color: var(--green); }
.lang-menu.open .lang-pill::after { transform: rotate(180deg); }
.rd .lang-pill .lang-current { white-space: nowrap; }

/* ── Source & Trust page ── */
.rd .src-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 8px; }
.rd .src-stat { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--rose-line); box-shadow: var(--shadow-card); }
.rd .src-stat b { font-size: 1.7rem; font-weight: 500; color: var(--green-dark); letter-spacing: -.02em; }
.rd .src-stat span { color: var(--ink-soft); font-size: .92rem; }
.rd .src-meta { margin: 10px 0 0; color: var(--ink-faint); font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.rd .src-wrap { padding-bottom: 80px; }
.rd .src-section { padding: 40px 0 8px; scroll-margin-top: 100px; }
.rd .src-section-head { margin-bottom: 22px; max-width: 760px; }
.rd .src-section-head .h-section { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.rd .src-section-head .lede { margin: 8px 0 0; font-size: 1rem; }
.rd .src-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.rd .src-card { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 18px; border-radius: 22px; background: #fff; border: 1px solid var(--rose-line); box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.rd .src-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.rd .src-top { display: flex; gap: 14px; align-items: flex-start; }
.rd .src-ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.3rem; background: var(--green-soft); color: var(--green); }
.rd .src-county .src-ico { background: var(--coral-soft); color: var(--coral-deep); }
.rd .src-head { min-width: 0; }
.rd .src-head h3 { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.rd .src-host { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .74rem; color: var(--ink-faint); overflow-wrap: anywhere; }
.rd .src-uses { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.rd .src-uses b { font-weight: 600; color: var(--green-dark); }
.rd .src-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--sand); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rd .src-date { font-size: .8rem; color: var(--ink-faint); }
.rd .src-open { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--green); color: var(--green-dark); text-decoration: none; font-size: .86rem; font-weight: 500; transition: background .2s, color .2s; }
.rd .src-open:hover { background: var(--green); color: #fff; }
.rd .src-open:focus-visible { outline: 3px solid rgba(29, 107, 82, .35); outline-offset: 3px; }
.rd .src-county-list { display: grid; gap: 30px; }
.rd .src-county-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--rose-line); }
.rd .src-county-head h3 { margin: 0; font-size: 1.15rem; font-weight: 500; }
.rd .src-count { padding: 3px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .76rem; color: var(--ink-soft); }
.rd .src-none { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--cream-2); color: var(--ink-soft); font-size: .92rem; }
.rd .src-county.is-none .src-county-head { border-bottom: 0; margin-bottom: 8px; padding-bottom: 0; }
.rd .src-foot-note { margin: 44px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--peach); color: var(--coral-deep); font-size: .94rem; display: flex; gap: 10px; align-items: center; }
@media (max-width: 1000px) { .rd .src-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rd .src-grid { grid-template-columns: 1fr; } .rd .src-stat b { font-size: 1.4rem; } }
@media print { .rd .src-open { color: var(--ink); border: 0; padding: 0; } .rd .src-card { box-shadow: none; break-inside: avoid; } }
.rd .src-county { padding: 0; background: none; }
.rd .src-county-list { gap: 34px; }

.rd .rc-src { margin-left: auto; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px 14px; flex-wrap: wrap; }
.rd .rc-verified { font-size: .78rem; color: var(--ink-faint); white-space: nowrap; }
.rd .result-card .rc-desc .rc-source { margin-top: 10px; }

/* Formo AI on the results page: the logo itself, pulsing, bottom right */
.rd .ai-fab-logo { width: 72px; height: 72px; padding: 0; background: #fff; box-shadow: 0 12px 30px rgba(29, 107, 82, .32); }
.rd .ai-fab-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.rd .ai-fab-logo::before, .rd .ai-fab-logo::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: faping 2.4s ease-out infinite; pointer-events: none; }
.rd .ai-fab-logo::after { animation-delay: 1.2s; }
.rd .ai-fab-logo .fab-tip { right: 86px; }
.rd .ai-fab-logo .fab-dot { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .rd .ai-fab-logo::before, .rd .ai-fab-logo::after { animation: none; } }
/* …sitting on the right edge, halfway down the screen */
.rd .ai-fab-logo { right: 16px; bottom: auto; top: calc(50% - 36px); }
@media (max-width: 640px) { .rd .ai-fab-logo { right: 10px; bottom: auto; width: 60px; height: 60px; top: calc(50% - 30px); } }

/* ── phones and small laptops: logo, language and a menu button; the links open as a panel under the header ── */
.rd .nav-burger { display: none; }
@media (max-width: 1279px) {
  .rd .rd-header .lockup { flex: none; } .rd .rd-header .lockup img { height: 38px; width: auto; max-width: none; }
  .rd .rd-header .header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .rd .nav-burger { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.35rem; cursor: pointer; }
  .rd .rd-header .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 16px 18px; background: #fffdf9; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(17, 26, 22, .12); max-height: calc(100dvh - 130px); overflow-y: auto; }
  .rd .rd-header.nav-open { z-index: 96; }
  .rd .rd-header.nav-open .main-nav { display: flex; }
  .rd .rd-header .main-nav .nav-link, .rd .rd-header .main-nav .nav-dropdown-toggle { width: 100%; justify-content: flex-start; padding: 14px 10px; font-size: 1.02rem; border-radius: 12px; }
  .rd .rd-header .main-nav .nav-pro .soon { display: inline-block; }
  .rd .rd-header .main-nav .nav-chevron { display: none; }
  .rd .rd-header .main-nav .nav-dropdown-toggle { font-weight: 600; color: var(--green-dark); pointer-events: none; }
  .rd .rd-header .main-nav .nav-dropdown-menu, .rd .rd-header .main-nav .nav-dropdown-menu[hidden] { display: block; position: static; width: auto; padding: 0 0 8px 6px; border: 0; box-shadow: none; background: none; border-radius: 0; }
  .rd .rd-header .main-nav .dropdown-item { padding: 11px 10px; border-radius: 10px; }
  .rd .rd-header .main-nav .dropdown-item small, .rd .rd-header .main-nav .dropdown-item .ti-chevron-right { display: none; }
  .rd .rd-header .main-nav .nav-dropdown-item + .nav-link { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; }
  .rd .lang-pill { padding: 8px 12px; font-size: .84rem; white-space: nowrap; } .rd .lang-pill::before { display: none; }
  .rd .announce { font-size: .8rem; }
}

/* ── Feedback: a quiet pill bottom-left; the ask is a small card above it, never a blocking window ── */
.rd .fb-scrim { position: fixed; inset: 0; z-index: 99; background: rgba(20, 30, 25, .38); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.rd .fb-scrim.show { opacity: 1; pointer-events: auto; }
.rd .fb-scrim[hidden] { display: none; }
.rd .fb-tab { left: 16px; right: auto; top: auto; bottom: 16px; transform: none; writing-mode: horizontal-tb; z-index: 80; padding: 10px 16px 10px 14px; background: #fff; color: var(--green-dark); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(17, 26, 22, .13); font-size: .9rem; white-space: nowrap; }
.rd .fb-tab:hover { background: var(--green-soft); color: var(--green-dark); transform: translateY(-2px); }
.rd .fb-tab i { color: var(--coral); transform: none; }
.rd .fb-tab[aria-expanded="true"] { display: none; }
.rd .fb-panel, .rd .fb-panel.as-dialog { position: fixed; left: 50%; right: auto; top: 50%; bottom: auto; z-index: 100; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 24px 24px 20px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(17, 26, 22, .3); opacity: 0; transform: translate(-50%, -46%) scale(.97); pointer-events: none; transition: opacity .25s ease, transform .3s cubic-bezier(.2, .9, .3, 1.1); }
.rd .fb-panel.open, .rd .fb-panel.as-dialog.open { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.rd .fb-panel[hidden] { display: none; }
.rd .fb-panel .feedback { margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.rd .fb-panel .feedback h3 { font-size: 1.3rem; margin: 0 34px 4px 0; }
.rd .fb-panel .fb-sub { margin: 0 0 12px; font-size: .9rem; }
.rd .fb-panel .fb-badge-tag { margin-bottom: 6px; }
.rd .fb-panel .fb-panel-close { top: 12px; right: 12px; width: 30px; height: 30px; font-size: 1rem; }
.rd .fb-panel .fb-later { margin: 10px 0 0; padding: 4px 0; }
@media (max-width: 640px) {
  .rd .fb-tab { left: auto; right: 12px; bottom: 12px; padding: 9px 14px 9px 12px; font-size: .85rem; }
  .rd .fb-panel, .rd .fb-panel.as-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 22px 18px 18px; border-radius: 20px; }
}
@media print { .rd .fb-tab, .rd .fb-panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .rd .fb-panel, .rd .fb-panel.as-dialog { transition: none; } }
/* The results side column keeps its width, and the right-edge section dots sit below the Formo AI button */
.rd .results-situation-panel { max-width: none; }
.rd .results-section-nav { right: 18px; top: calc(50% + 64px); transform: none; }

/* ═════════════ Type and rhythm ═════════════
   Display: Lora SemiBold (a warm, sturdy serif, used for headlines and the big numbers; no italics anywhere, so every language reads the same way).
   Text: Inter (clear and neutral; covers Vietnamese and Indonesian).
   Chinese: Noto Serif TC for headlines, Noto Sans TC for text.
   Spacing follows one 8-point scale; sections breathe the same way on every page. */
.rd {
  --font-display: "Lora", "Noto Serif TC", "Iowan Old Style", Georgia, serif;
  --font-text: "Inter", "Noto Sans TC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --section-y: clamp(64px, 8vw, 112px);
  --head-gap: clamp(32px, 4vw, 56px);
  font-family: var(--font-text);
  font-size: 1rem; line-height: 1.65; letter-spacing: 0;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.rd p { text-wrap: pretty; }
.rd :is(h1, h2, h3), .rd .h-section, .rd .hero-title, .rd .sl-headline, .rd #results-title, .rd .result-group-header h2 { text-wrap: balance; }

/* headlines */
.rd :is(.h-section, .hero-title, .sl-headline, #results-title, .result-group-header h2, .page-head h1, .prose h2) {
  font-family: var(--font-display); font-weight: 600; font-variation-settings: normal;
  letter-spacing: -.01em; line-height: 1.2;
}
.rd .hero-title { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.1; letter-spacing: -.01em; font-weight: 600; }
.rd .hero-title .accent { font-style: normal; font-weight: 600; letter-spacing: -.01em; }
.rd .h-section { font-size: clamp(1.85rem, 3vw, 2.5rem); }
.rd .sl-headline { font-size: clamp(1.85rem, 3vw, 2.5rem); letter-spacing: -.01em; line-height: 1.15; }
.rd #results-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.15; }
.rd :is(.result-group-header h2, .prose h2) { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.005em; }
.rd .prose h2 { margin-top: 2.4rem; margin-bottom: .6rem; }

/* the figures people came for read like a printed price tag */
.rd .rc-value { font-family: var(--font-display); font-weight: 600; font-variant-numeric: lining-nums; font-size: 1.65rem; letter-spacing: -.01em; line-height: 1.2; }

/* small labels stay in the text font, quietly tracked */
.rd .eyebrow { font-family: var(--font-text); font-size: .75rem; font-weight: 600; letter-spacing: .14em; margin: 0 0 var(--sp-4); }
.rd .lede { font-size: clamp(1.0625rem, 1.3vw, 1.125rem); line-height: 1.65; max-width: 60ch; }
.rd .hero-sub { font-size: clamp(1.0625rem, 1.3vw, 1.125rem); line-height: 1.65; }
.rd .section-head .lede { margin-left: auto; margin-right: auto; }
.rd .section-head.left .lede { margin-left: 0; }

/* vertical rhythm: the same breathing room between every section and its heading */
.rd section { padding: var(--section-y) 0; }
.rd .section-head { max-width: 44rem; margin-bottom: var(--head-gap); }
.rd .section-head .h-section { margin-bottom: var(--sp-4); }
.rd .hero-rd-grid { row-gap: var(--sp-6); }

/* buttons: a little less glow, a little more craft */
.rd .btn { font-family: var(--font-text); font-weight: 600; letter-spacing: 0; }
.rd .btn-primary { box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px rgba(29, 107, 82, .2); }
.rd .btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 22px rgba(29, 107, 82, .26); }

/* Vietnamese: stacked diacritics get room (no tight tracking, taller lines), in the same display serif */
html[lang="vi"] .rd :is(.h-section, .hero-title, .sl-headline, #results-title, .result-group-header h2, .page-head h1, .prose h2) {
  font-family: var(--font-display) !important; letter-spacing: 0 !important; line-height: 1.22;
}
html[lang="vi"] .rd .hero-title { line-height: 1.16; }
html[lang="vi"] body.rd, html[lang="vi"] .rd { font-family: var(--font-text) !important; line-height: 1.7; }
/* Chinese: the serif headline reads best a little heavier and looser */
html[lang="zh-Hant-TW"] .rd :is(.h-section, .hero-title, .sl-headline, #results-title, .result-group-header h2, .page-head h1, .prose h2) { font-weight: 600; letter-spacing: 0; line-height: 1.22; }

/* phones: left-aligned headings, the same 20px gutters, tighter section rhythm */
@media (max-width: 640px) {
  .rd { --section-y: 56px; --head-gap: 28px; }
  .rd .hero-sub, .rd .lede { font-size: 1.0625rem; }
  .rd .wrap { padding-left: 20px; padding-right: 20px; }
  .rd .section-head { text-align: left; margin-left: 0; margin-right: 0; }
  .rd .section-head .lede { margin-left: 0; }
  .rd .h-section { font-size: clamp(1.7rem, 7.2vw, 2.1rem); }
  .rd .hero-title { font-size: clamp(2.2rem, 9.6vw, 2.75rem); }
  .rd .rc-value { font-size: 1.55rem; }
}
/* Vietnamese headlines are wider: keep them clear of the hero photo */
@media (min-width: 981px) { html[lang="vi"] .rd .hero-title { font-size: clamp(2.3rem, 4.2vw, 4.1rem); } }

/* The Formo AI button can be dragged: show it, keep the page from scrolling under a finger, flip the label when it is near the left edge */
.rd .ai-fab { touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.rd .ai-fab.dragging { cursor: grabbing; transition: none; box-shadow: 0 18px 40px rgba(29, 107, 82, .35); }
.rd .ai-fab.dragging .fab-tip { opacity: 0; }
.rd .ai-fab-logo.tip-right .fab-tip, .rd .ai-fab.tip-right .fab-tip { right: auto; left: 86px; }
.rd .ai-fab img { -webkit-user-drag: none; pointer-events: none; }

/* ── One button that follows the visitor: "Check my benefits" in the header, and one closing ask at the end of the landing page ── */
.rd .nav-cta { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px; background: var(--green); color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 4px 12px rgba(29, 107, 82, .18); transition: background .2s, transform .2s; }
.rd .nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }
.rd .rd-header .header-actions { gap: 12px; }
.rd .nav-cta-m { display: none !important; }
@media (max-width: 1279px) {
  .rd .nav-cta { display: none; }
  .rd .rd-header .nav-cta-m { display: inline-flex !important; color: var(--green-dark); font-weight: 600; }
}
@media (max-width: 1279px) {
  .rd .rd-header .main-nav .nav-cta-m { width: 100%; justify-content: center; margin-top: 10px; padding: 14px 18px; border-radius: 999px; background: var(--green); color: #fff; font-size: 1rem; }
  .rd .rd-header .main-nav .nav-dropdown-item + .nav-link.nav-cta-m { border-top: 0; border-radius: 999px; }
}
.rd .cta-close { padding-top: 0; }
.rd .cta-close-card { display: grid; justify-items: center; gap: 0; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 80px); border-radius: 32px; background: linear-gradient(135deg, #144d3b, #1d6b52); color: #fff; box-shadow: var(--shadow-soft); }
.rd .cta-close-card .h-section { color: #fff; margin: 0 0 var(--sp-4, 16px); max-width: 24ch; }
.rd .cta-close-card .lede { color: rgba(255, 255, 255, .86); margin: 0 0 var(--sp-6, 32px); max-width: 46ch; }
.rd .cta-close-card .btn-primary { background: #fff; color: var(--green-dark); border-color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
.rd .cta-close-card .btn-primary:hover { background: var(--cream); color: var(--green-dark); }
@media (max-width: 640px) { .rd .cta-close-card { border-radius: 24px; text-align: left; justify-items: start; } .rd .cta-close-card .btn-primary { width: 100%; } }

/* No italics: the notes the benefit engine writes as <em> (for example "could not confirm this is still current") are upright, in the gold used for "check this" flags */
.rd em, .rd i.em, .rd cite { font-style: normal; }
.rd .rc-desc em, .rd .result-card em { font-style: normal; font-weight: 500; color: var(--gold); }

/* Page heads (About, Privacy, Sources, Benefit check): the content that follows sits close, not a full section away */
.rd .page-head { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 0; }
.rd .page-head + section, .rd .page-head + .wrap, .rd .page-head + main > section:first-child { padding-top: clamp(28px, 4vw, 52px); }
/* "Check my benefits" in the header is pointless on the benefit-check page, and the My list tab sits where it would be */
.rd[data-title="titleCheck"] .nav-cta, .rd[data-title="titleCheck"] .nav-cta-m { display: none !important; }

.rd .prose > h2:first-child { margin-top: 0; }

/* 404: same left edge and rhythm as every other page */
.rd .not-found { padding: clamp(64px, 10vw, 140px) 0; }
.rd .not-found .wrap { width: 100%; max-width: 1760px; margin: 0 auto; }
.rd .not-found .nf-lede { max-width: 52ch; }

/* A string that is only invisible characters (a zero-width space used to leave a line empty) hides its element instead of leaving a blank line */
.i18n-blank { display: none !important; }
