/* Sum Ahead: shared forest, gold and ivory palette from the approved app theme. */
:root {
  color-scheme: light dark;
  --canvas: #F3EFE4; --surface: #FFFDF6; --field: #F4F3E9;
  --ink: #17372A; --muted: #5C6C60; --line: #CED7C9; --control-line: #74836D;
  --green: #0B3025; --on-primary: #FFF3D7; --soft: #E5ECDD;
  --gold: #775519; --goldsoft: #F4EAD1;
  --forest: #0B3025; --brand-gold: #D9B15F; --ivory: #FFF3D7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #081710; --surface: #142B20; --field: #0C2117;
    --ink: #F6F0DF; --muted: #B4C3B2; --line: #3E5545; --control-line: #819478;
    --green: #D9B15F; --on-primary: #0B3025; --soft: #203C2B;
    --gold: #D9B15F; --goldsoft: #37331E;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size: 17px; line-height: 1.7; }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -80px; padding: 12px 18px; border-radius: 18px; background: var(--surface); z-index: 4; }
.skip:focus { top: 12px; }
.wrap { max-width: 1160px; margin: auto; padding-inline: 28px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { min-height: 104px; display: flex; gap: 24px 32px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; flex: 0 0 auto; gap: 12px; color: var(--ink); text-decoration: none; }
.brand .brand-emblem { display: block; flex: 0 0 auto; width: 64px; height: 64px; object-fit: contain; }
.brand-wordmark { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.2; }
.brand-wordmark small { display: block; margin-top: 6px; color: var(--gold); font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 48px; font-size: .9rem; font-weight: 700; text-decoration: none; padding-block: 10px; }
.site-nav a[aria-current=page] { color: var(--gold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .42em; }
main { padding-block: 54px 80px; }
.eyebrow { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
h1 { color: var(--ink); font-size: clamp(2.4rem,5vw,4.4rem); line-height: 1.08; letter-spacing: -.045em; margin: 0 0 26px; font-weight: 800; }
h2 { color: var(--ink); font-size: clamp(1.5rem,3vw,2rem); line-height: 1.25; letter-spacing: -.025em; }
h3 { color: var(--ink); font-size: 1.25rem; line-height: 1.35; margin: 0 0 10px; }
p,li { color: var(--muted); }
p { margin: 0 0 20px; }
ul { padding-left: 24px; }
li + li { margin-top: 10px; }
.lede { font-size: 1.16rem; line-height: 1.7; max-width: 60ch; }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding: 20px 0 56px; }
.hero h1 span { color: var(--green); }
.hero-art { background: var(--forest); border-radius: 22px; padding: 30px; text-align: center; border: 1px solid var(--brand-gold); box-shadow: 0 16px 36px rgba(5,20,13,.12); }
.hero-art img { display: block; width: min(100%,290px); height: auto; margin: 0 auto; border-radius: 20px; }
.hero-art p { color: var(--ivory); margin: 24px 0 0; font-size: 1rem; line-height: 1.6; font-weight: 700; }
.launch-line { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .92rem; font-weight: 700; color: var(--ink); margin: 26px 0; }
.launch-line span + span:before { content: "·"; margin-right: 18px; color: var(--gold); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; background: var(--surface); border: 1px solid var(--control-line); border-radius: 18px; color: var(--green); text-align: center; text-decoration: none; font-weight: 750; line-height: 1.45; }
.button.primary { background: var(--green); color: var(--on-primary); border-color: var(--green); }
.button:hover { filter: brightness(.96); }
.band { background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.band span { color: var(--ink); font-size: .95rem; font-weight: 750; }
.section { padding-top: 56px; }
.section-heading { max-width: 680px; margin-bottom: 28px; }
.section-heading h2 { margin: 0 0 14px; }
.tool-list { display: grid; gap: 16px; }
.tool { display: grid; grid-template-columns: 42px 1fr 1.6fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; align-items: start; }
.tool-number { display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 12px; background: var(--goldsoft); color: var(--gold); font-size: .86rem; font-weight: 800; }
.tool h3 { margin: 3px 0 0; }
.tool p { color: var(--ink); margin: 0; font-size: .96rem; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-block { background: var(--soft); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 20px; padding: 26px; }
.detail-block:nth-child(2) { background: var(--goldsoft); border-top-color: var(--gold); }
.detail-block h2 { margin-top: 0; }
.detail-block p { color: var(--ink); }
.detail-block p:last-child { margin-bottom: 0; }
.fineprint { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 20px; padding: 28px; margin-top: 48px; }
.fineprint h2 { font-size: 1.2rem; margin: 0 0 12px; }
.fineprint p { color: var(--ink); font-size: .95rem; margin: 0; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 32px; align-items: start; }
.toc { position: sticky; top: 24px; background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.toc h2 { color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.toc a { display: flex; align-items: center; min-height: 48px; font-size: .88rem; padding-block: 9px; line-height: 1.5; text-decoration: none; }
.legal { max-width: 850px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 22px; padding: clamp(24px,4vw,42px); }
.legal h1 { font-size: clamp(2.2rem,4vw,3.1rem); margin-bottom: 20px; }
.legal h2 { font-size: 1.4rem; border-top: 1px solid var(--line); padding-top: 28px; margin: 35px 0 14px; scroll-margin-top: 24px; }
.legal p,.legal li { color: var(--ink); }
.legal p:last-child { margin-bottom: 0; }
.legal strong { color: var(--ink); }
.contact-banner { background: var(--goldsoft); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 26px; overflow-wrap: anywhere; }
.site-footer { background: var(--field); border-top: 1px solid var(--line); padding-block: 32px; }
.footer-inner { display: flex; gap: 24px; justify-content: space-between; align-items: start; }
.footer-copy p { font-size: .9rem; margin: 0 0 6px; }
.footer-nav { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: .9rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 48px; padding-block: 10px; }
.review-home { max-width: 740px; }
@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; gap: 10px 24px; padding-block: 16px; }
}
@media (max-width: 850px) {
  .hero { gap: 28px; grid-template-columns: 1fr .65fr; }
  .hero-art { padding: 22px; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: none; }
  .tool { grid-template-columns: 38px 1fr; }
  .tool p { grid-column: 2; }
  .site-nav { gap: 4px 18px; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  main { padding-top: 32px; }
  .brand .brand-emblem { width: 56px; height: 56px; }
  .brand-wordmark { font-size: 1.4rem; }
  .site-nav { gap: 2px 18px; }
  .site-nav a { font-size: .86rem; }
  .hero { display: block; padding-top: 0; }
  .hero h1 { font-size: clamp(2.6rem,11vw,3.1rem); }
  .hero-art { margin-top: 30px; display: flex; gap: 20px; align-items: center; text-align: left; padding: 20px; }
  .hero-art img { width: 114px; max-width: 42%; margin: 0; border-radius: 18px; }
  .hero-art p { margin: 0; font-size: .93rem; }
  .launch-line { display: block; }
  .launch-line span { display: block; }
  .launch-line span + span:before { content: none; }
  .band { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px; }
  .band span { font-size: .9rem; }
  .details { grid-template-columns: 1fr; gap: 20px; }
  .detail-block { padding: 22px; }
  .footer-inner { display: block; }
  .footer-nav { margin-top: 20px; }
  .legal { padding: 25px 22px; border-radius: 20px; }
  .legal h1 { font-size: 2.15rem; overflow-wrap: anywhere; }
  .tool { gap: 10px 16px; padding: 22px; }
  .fineprint { padding: 22px; }
  .actions .button { flex: 1 1 150px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
