/* Acrestag site CSS. Tokens: ../../DESIGN-acrestag.md. System fonts only, no third-party requests. */
:root {
  --forest-950:#0E2A1E; --forest-900:#143626; --forest-700:#1E5A3B; --forest-600:#2A6E49;
  --forest-100:#DCE7D3; --forest-50:#EBF1E3;
  --paper:#F7F3E8; --ivory:#FDFBF5; --sand:#E4DCC4; --sand-strong:#CFC4A3;
  --ink:#16231C; --muted:#46534A; --white:#FFFFFF;
  --amber:#E0A42B; --amber-deep:#7A4E00; --amber-soft:#FBF1D9;
  --on-dark:#E9F0E2; --on-dark-soft:#C5D6BE;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --sans:system-ui,-apple-system,"Segoe UI",sans-serif;
  --r-sm:6px; --r-md:10px; --r-lg:14px; --r-xl:22px;
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; font-family:var(--sans); font-size:1.0625rem; background:var(--paper); color:var(--ink); line-height:1.6; }
img, svg { max-width:100%; }

/* type */
h1, h2, h3 { font-family:var(--serif); color:var(--forest-700); line-height:1.15; margin-top:0; font-weight:600; letter-spacing:-0.01em; }
h1 { font-size:clamp(2rem, 1.4rem + 2.6vw, 3.25rem); margin-bottom:16px; }
h2 { font-size:clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top:36px; margin-bottom:12px; }
h3 { font-size:1.15rem; margin-bottom:6px; line-height:1.25; }
a { color:var(--forest-700); text-underline-offset:3px; }
a:hover { color:var(--forest-950); }
:focus-visible { outline:3px solid var(--amber); outline-offset:3px; border-radius:var(--r-sm); }
code { font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:0.92em; }
footer code, .plain-email { font-family:inherit; font-size:inherit; }

/* layout */
.wrap { max-width:900px; margin:0 auto; padding:0 20px; }
body.home .wrap { max-width:1080px; }
main.wrap { padding-top:36px; padding-bottom:56px; }

/* header */
header { background:var(--paper); border-bottom:1px solid var(--sand); }
nav { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; padding:12px 0; }
.brand { display:inline-flex; align-items:center; gap:10px; font-family:var(--serif); font-weight:700; font-size:1.45rem; color:var(--forest-700); text-decoration:none; letter-spacing:-0.01em; }
.brand img { width:36px; height:36px; border-radius:9px; display:block; }
.nav-links { display:flex; flex-wrap:wrap; gap:4px 6px; font-size:0.97rem; }
.nav-links a { color:var(--ink); text-decoration:none; font-weight:600; padding:10px 10px; min-height:44px; display:inline-flex; align-items:center; border-radius:var(--r-sm); }
.nav-links a:hover { color:var(--forest-700); background:var(--forest-50); }

/* cards on legal and support pages (layout only) */
.card, .price { background:var(--ivory); border:1px solid var(--sand); border-radius:var(--r-lg); padding:18px 22px; margin-bottom:14px; }
.card h2 { margin-top:0; font-size:1.35rem; }
.note { background:linear-gradient(90deg, var(--amber) 0 6px, var(--amber-soft) 0) padding-box; border-radius:var(--r-md); padding:14px 18px 14px 24px; }
.note h2 { margin-top:0; font-size:1.2rem; }
.keypoints { background:linear-gradient(90deg, var(--amber) 0 6px, var(--amber-soft) 0) padding-box; border:2px solid var(--forest-700); border-radius:var(--r-lg); padding:18px 22px 18px 28px; margin-bottom:22px; }
.keypoints h2 { margin-top:0; }
.grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:14px; }

/* footer */
footer { border-top:1px solid var(--sand); background:var(--ivory); padding:24px 0 28px; font-size:0.95rem; color:var(--muted); }
footer p { margin:0 0 6px; line-height:1.9; }
footer a { color:var(--forest-700); }
.nw { white-space:nowrap; }

/* buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:13px 26px; border-radius:var(--r-md); font-weight:700; font-size:1.08rem; text-decoration:none; background:var(--amber); color:var(--ink); border:1px solid var(--amber); transition:background-color .15s, border-color .15s; }
.btn:hover { background:#EDB544; border-color:#EDB544; color:var(--ink); }
.btn svg { width:20px; height:20px; flex:none; }

/* home: hero. Weight order: h1 (largest) > button > lead > help line > meta */
.hero-band { background:var(--forest-900) url("/assets/topo.svg") right center / cover no-repeat; color:var(--on-dark); }
.hero { display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; padding-top:64px; padding-bottom:72px; }
.hero h1 { color:var(--white); font-size:clamp(2.3rem, 1.4rem + 2.6vw, 3.3rem); line-height:1.04; letter-spacing:-0.025em; font-weight:700; margin-bottom:20px; }
.hero .lead { font-size:1.05rem; color:var(--on-dark-soft); max-width:30em; margin:0 0 28px; }
.cta-block { display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.cta-help { margin:0; font-size:0.95rem; color:var(--on-dark-soft); }
.meta { list-style:none; margin:30px 0 0; padding:18px 0 0; border-top:1px solid rgba(197,214,190,.28); display:flex; flex-wrap:wrap; gap:8px 26px; font-size:0.95rem; color:var(--on-dark); }
.meta li { display:flex; align-items:center; gap:8px; }
.meta svg { width:18px; height:18px; flex:none; color:var(--amber); }
.figure { margin:0; position:relative; }
.figure svg { width:100%; height:auto; display:block; border-radius:var(--r-lg); box-shadow:0 0 0 1px var(--forest-600), 0 0 0 7px rgba(224,164,43,.16), 0 26px 44px -26px rgba(0,0,0,.7); }
.figure figcaption { margin:16px 2px 0; font-size:0.85rem; letter-spacing:0.02em; color:var(--on-dark-soft); text-align:right; }

/* home: sections. Headings: big serif with a short amber rule, no tracked eyebrow */
.section { padding-top:88px; padding-bottom:8px; }
body.home .section h2 { font-size:clamp(2rem, 1.3rem + 2.8vw, 3.1rem); line-height:1.04; letter-spacing:-0.025em; font-weight:700; margin:0 0 36px; max-width:15em; }
body.home .section h2::before { content:""; display:block; width:48px; height:5px; border-radius:3px; background:var(--amber); margin-bottom:18px; }
.how { background:var(--paper) url("/assets/topo-light.svg") center / cover no-repeat; padding-bottom:36px; }

/* how it works: horizontal strip along one dashed traverse line */
.strip { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, 1fr); gap:0 40px; position:relative; }
.strip::before { content:""; position:absolute; left:11px; right:calc((100% - 80px) / 3 - 11px); top:11px; border-top:3px dashed var(--forest-700); opacity:.55; }
.strip li { position:relative; padding-top:42px; }
.strip li::before { content:""; position:absolute; left:0; top:0; width:24px; height:24px; border-radius:50%; background:var(--amber); box-shadow:0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.strip .num { display:block; font-family:var(--serif); font-weight:700; font-size:4.2rem; line-height:1; color:var(--forest-700); margin-bottom:6px; letter-spacing:-0.03em; }
.strip h3 { font-size:1.4rem; margin-bottom:6px; color:var(--forest-950); }
.strip p { margin:0; color:var(--muted); max-width:22em; }

/* features: three richer blocks, one dark and tall, two light and stacked */
.bento { display:grid; grid-template-columns:1.2fr 1fr; gap:20px; }
.block { border-radius:var(--r-xl); padding:26px 28px 30px; display:flex; flex-direction:column; }
.block .art { border-radius:var(--r-lg); overflow:hidden; margin-bottom:22px; }
.block .art svg { display:block; width:100%; height:auto; }
.block h3 { font-size:1.65rem; letter-spacing:-0.015em; margin-bottom:12px; }
.block ul { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.block li { line-height:1.5; }
.block strong { font-weight:700; }
.block-dark { grid-column:1 / -1; display:grid; grid-template-columns:1.1fr 1fr; gap:0 44px; align-items:center; padding:30px 32px; background:var(--forest-900) url("/assets/topo.svg") center bottom / cover no-repeat; color:var(--on-dark); }
.block-dark .art { grid-row:1 / span 2; margin:0; }
.block-dark h3 { align-self:end; }
.block-dark ul { align-self:start; }
.block-dark .art { background:rgba(14,42,30,.55); box-shadow:inset 0 0 0 1px rgba(197,214,190,.2); }
.block-dark h3 { color:var(--white); font-size:2rem; }
.block-dark li { color:var(--on-dark-soft); font-size:1.05rem; }
.block-dark strong { color:var(--white); }
.block-light { background:var(--ivory) url("/assets/topo-light.svg") right bottom / 160% auto no-repeat; border:1px solid var(--sand); }
.block-light .art { background:#F3EEDD; box-shadow:inset 0 0 0 1px var(--sand); }
.block-light h3 { color:var(--forest-950); }
.block-light li { color:var(--muted); }
.block-light strong { color:var(--ink); }

/* pricing: compact, secondary */
.pricing { margin-top:88px; padding:56px 0 52px; background:var(--ivory); border-top:1px solid var(--sand); border-bottom:1px solid var(--sand); }
body.home .pricing h2 { font-size:clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom:10px; max-width:none; }
body.home .pricing h2::before { width:36px; height:4px; margin-bottom:14px; }
.pricing-head { display:grid; grid-template-columns:1fr 1fr; gap:8px 48px; align-items:end; margin-bottom:26px; }
.pricing .intro { margin:0 0 10px; color:var(--muted); font-size:1rem; }
.plans { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, 1fr); border:1px solid var(--sand); border-radius:var(--r-lg); background:var(--paper); }
.plan { padding:18px 22px 20px; border-left:1px solid var(--sand); }
.plan:first-child { border-left:0; }
.plan h3 { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; font-size:1rem; font-family:var(--sans); font-weight:700; color:var(--ink); margin-bottom:2px; letter-spacing:0; }
.plan .amt { margin:0; font-family:var(--serif); font-size:1.75rem; font-weight:700; color:var(--forest-700); line-height:1.25; }
.plan .amt small { font-family:var(--sans); font-size:0.9rem; font-weight:500; color:var(--muted); }
.plan p { margin:2px 0 0; color:var(--muted); font-size:0.95rem; }
.plan.best { background:var(--amber-soft); box-shadow:inset 0 3px 0 var(--amber); }
.best-badge { font-family:var(--sans); font-size:0.78rem; font-weight:700; background:var(--amber); color:var(--ink); padding:2px 8px; border-radius:var(--r-sm); line-height:1.4; }
.plan-line { margin:18px 0 0; max-width:48em; color:var(--ink); font-size:0.98rem; }
.accuracy { margin:22px 0 0; font-size:0.95rem; }

/* closing CTA */
.closing { background:var(--forest-900) url("/assets/topo.svg") left center / cover no-repeat; color:var(--on-dark); }
.closing .wrap { padding-top:56px; padding-bottom:60px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px 32px; }
.closing h2 { color:var(--white); margin:0 0 6px; font-size:clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); letter-spacing:-0.02em; }
.closing p { margin:0; color:var(--on-dark-soft); max-width:30em; }

@media (max-width:900px) {
  .hero { grid-template-columns:1fr; gap:36px; padding-top:44px; padding-bottom:52px; }
  .hero h1 { max-width:none; }
  .bento { grid-template-columns:1fr; }
  .block-dark { display:flex; padding:20px 20px 24px; }
  .block-dark h3, .block-dark ul { align-self:stretch; }
  .block-dark .art { margin-bottom:22px; }
  .pricing-head { grid-template-columns:1fr; }
}
@media (max-width:620px) {
  body { font-size:1rem; }
  .section { padding-top:60px; }
  .cta-block .btn { width:100%; }
  .nav-links { margin-left:-10px; }
  .closing .btn { width:100%; }
  .strip { grid-template-columns:1fr; gap:30px; }
  .strip::before { display:none; }
  .strip li:not(:last-child)::after { content:""; position:absolute; left:11px; top:32px; bottom:-26px; border-left:3px dashed var(--forest-700); opacity:.55; }
  .strip li { padding:0 0 0 52px; }
  .strip li::before { top:4px; }
  .strip .num { font-size:3rem; }
  .block { padding:20px 20px 24px; }
  .plans { grid-template-columns:1fr; }
  .plan { border-left:0; border-top:1px solid var(--sand); }
  .plan:first-child { border-top:0; }
}
@media (prefers-reduced-motion:reduce) { .btn { transition:none; } }
@media (min-width:901px) { .hero h1 .ln { display:block; } }

/* 24px minimum target for stand-alone footer links */
footer p a { display:inline-block; padding:4px 0; }
