/* Entry page for ad D3 (dental, virtual-card insurance payments). Loaded after assets/page.css:
   same tokens, type and components. Only what this page needs on top. */

/* Shorter page than the main one: tighter section rhythm on phones. */
section{padding:30px 0}
.hero{padding:8px 0 40px}
.hero-grid{gap:28px}

/* The header line must stay on one line at 390px. */
.bar .indep{font-size:13px;white-space:nowrap}

/* The headline is a full sentence, so it gets a wider measure than the main page's question. */
.hero h1{font-size:clamp(28px,7.3vw,52px);max-width:19ch}
.lede{font-size:18px;margin:14px 0 10px;max-width:42ch}
.lede2{font-size:16px;color:var(--ink-2);margin:0 0 20px;max-width:46ch}

/* One trust line under the upload; the full data answer lives in the FAQ. */
.trust{font-size:14.5px;line-height:1.5;color:var(--ink-2);margin:14px 0 0;max-width:520px}
.trust p{margin:0 0 .35em}
.trust a{display:inline-block;padding:9px 0}

/* Sheet head: the two-line title keeps its own line breaks. */
.sheet-head span:first-child{min-width:0}

/* What points to a virtual card: three signs, each a short labelled line. */
.signs{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.signs li{margin:0;padding-left:14px;border-left:3px solid var(--ink)}
/* Left-aligned with the rest of the page, at a reading measure. */
.vc{display:grid;gap:16px}
.vc p{margin:0;max-width:64ch}
.vc .signs{max-width:64ch}

/* The one-tap question. Used here and, when a statement can't show virtual cards, in the result. */
.ask{background:var(--sheet);border:2px solid var(--ink);border-radius:10px;padding:16px;max-width:520px}
.ask-q{font-weight:700;font-size:18px;line-height:1.3;margin:0 0 12px}
.ask-lead{font-size:15px;color:var(--ink-2);margin:0 0 8px}
.taps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.vtap{min-height:48px;padding:8px 6px;border:1.5px solid var(--green);border-radius:10px;background:var(--sheet);color:var(--green-dark);font:700 16px/1.2 var(--sans);cursor:pointer}
.vtap:hover{background:#E5F1EA}
.vtap[aria-pressed="true"]{background:var(--green);color:#fff}
.ask-a{font-size:15.5px;margin:12px 0 0}
.ask-a:empty{display:none}
.ask-amt{margin:12px 0 0}
.ask-amt label{display:block;font-size:15px;font-weight:600;margin:0 0 6px}
.ask-amt input{width:100%;min-height:48px;padding:8px 12px;border:1.5px solid var(--ink-2);border-radius:10px;font:500 17px var(--sans);background:var(--sheet);color:var(--ink)}
.ask-go{margin-top:12px}
/* The same question by the upload, open once a file is chosen (DECISIONS 23). */
.mix-vcc .ask-amt input{border-color:#6F8378;border-radius:8px;font-weight:400;background:#fff}
.ask-rerun{margin-top:12px}
.result .ask{border:0;border-top:2px solid var(--ink);border-radius:0;padding:12px 0 0;margin-top:12px}

/* Example: the statement comes first on phones (the marked line is the point), beside the result on desktop. */
.ex-grid{display:grid;gap:20px}
.unknown{margin:16px 20px}

/* Offer: prices first, the refund and the gate close the sheet. */
.offer-terms.after{border-bottom:0;border-top:2px solid var(--ink)}
.offer .oline:last-of-type{border-bottom:0}
.offer-cta{padding-top:4px}

.close{padding-bottom:48px}
footer .foot-links a{padding-right:12px}

/* Result tiles stay two-up on phones. */
.report .kpis{grid-template-columns:1fr 1fr}
.report .kpi{border-top:0;border-right:1px solid var(--rule)}
.report .kpi:nth-child(2n){border-right:0}
.report .kpi:nth-child(n+3){border-top:1px solid var(--rule)}
.report .kpi b{font-size:22px}
.report .kpi b.word{font-size:17px;padding-top:5px}
.verdict{font-size:18px}

/* Detail that is one tap away: keeps the page short without hiding the terms. */
.more{grid-column:1/-1;margin-top:6px}
.more summary{cursor:pointer;display:inline-flex;align-items:center;min-height:44px;font-weight:700;font-size:15.5px;color:var(--green-dark);text-decoration:underline;text-underline-offset:2px}
.method .more{margin-top:0}
.method .more p{margin:0 0 .6em}
.paid-by{max-width:60ch}

@media (min-width:1024px){
  .report .kpis{grid-template-columns:1fr 1fr}
  .report .kpi,.report .kpi:nth-child(2n),.report .kpi:nth-child(n+3){border-top:0;border-right:1px solid var(--rule)}
  .report .kpi:last-child{border-right:0}
  .verdict{font-size:20px}
  section{padding:72px 0}
  .hero{padding:24px 0 64px}
  .hero-grid{gap:56px}
  .hero-grid .sheet{margin-top:56px}
  .lede{font-size:20px}
  .lede2{font-size:17px}
  .ex-grid{grid-template-columns:.8fr 1.2fr;gap:32px;align-items:start}
  .bar .indep{font-size:14px}
}


/* Under the upload: the deal, who runs it, what happens to the file, what Meta is told. */
.trust{background:#E4E9E5;border-radius:8px;padding:12px 14px}
.trust p:last-child{margin:0}
.trust .deal{color:var(--ink);font-weight:600}
.trust .tap{margin:-6px 0}
.trust a{min-height:44px;padding:12px 0}
.alt-hint{margin:-2px 0 0;font-size:14px}
.fineprint{font-size:14px;color:var(--ink-2)}
footer a{text-underline-offset:2px}
/* The dashed upload border needs 3:1 against white. */
.drop{border-color:#6F8378}
/* Phones narrower than 360px: the header line may wrap instead of pushing the page sideways. */
@media (max-width:359px){.bar .indep{white-space:normal}}
/* No animated scrolling for people who ask for less motion. */
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Headlines break into even lines, so no single word is left alone. */
h1,h2{text-wrap:balance}

/* Links under a statement sheet get a full tap height. */
.sheet-foot a{padding:12px 0}
