:root {
  color-scheme: light;
  --site-bg: #f7faf8;
  --site-surface: #ffffff;
  --site-soft: #eaf4ef;
  --site-ink: #102019;
  --site-muted: #56675f;
  --site-navy: #0b2545;
  --site-mint: #35b697;
  --site-mint-dark: #157a63;
  --site-border: #dce8e1;
  --site-shadow: 0 24px 70px rgba(11, 37, 69, .11);
  --site-header: rgba(247, 250, 248, .92);
}

[data-theme="dark"] {
  color-scheme: dark;
  --site-bg: #0f1512;
  --site-surface: #18211c;
  --site-soft: #1f2a24;
  --site-ink: #eef4f0;
  --site-muted: #a2b1aa;
  --site-navy: #eef4f0;
  --site-mint: #4bbf8f;
  --site-mint-dark: #79d6ae;
  --site-border: #2a3931;
  --site-shadow: 0 26px 75px rgba(0, 0, 0, .28);
  --site-header: rgba(15, 21, 18, .9);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-ink);
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
button, input, select { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  transform: translateY(-150%); padding: 9px 14px; border-radius: 8px;
  background: var(--site-navy); color: var(--site-bg); text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--site-header);
  backdrop-filter: blur(18px);
}
.site-header.scrolled { border-color: var(--site-border); }
.nav-shell {
  width: min(1180px, calc(100% - 40px)); min-height: 76px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--site-navy); text-decoration: none; font-size: 1.38rem; font-weight: 700;
  letter-spacing: -.035em;
}
.brand-mark { width: 27px; display: grid; gap: 4px; }
.brand-mark i { display: block; height: 5px; border-radius: 10px; background: var(--site-navy); }
.brand-mark i:nth-child(2) { width: 77%; }
.brand-mark i:nth-child(3) { width: 55%; background: var(--site-mint); }
.brand-dot { color: var(--site-mint-dark); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a {
  color: var(--site-muted); text-decoration: none; font-size: .92rem; font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--site-ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-button, .menu-button {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  border: 1px solid var(--site-border); border-radius: 50%;
  background: var(--site-surface); color: var(--site-ink); cursor: pointer;
}
.menu-button { display: none; }
.button {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 19px; border: 1px solid var(--site-border); border-radius: 10px;
  background: var(--site-surface); color: var(--site-ink); font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.button.primary { background: var(--site-navy); border-color: var(--site-navy); color: var(--site-bg); }
[data-theme="dark"] .button.primary { background: var(--site-mint); border-color: var(--site-mint); color: #0f1512; }
.button.mint { background: var(--site-mint); border-color: var(--site-mint); color: #08251d; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .theme-button:focus-visible, .menu-button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--site-mint) 48%, transparent); outline-offset: 3px;
}

.hero {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto;
  min-height: 710px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center; gap: 72px; padding: 84px 0 98px;
}
.hero-copy h1, .page-hero h1, .section-heading h2, .story-statement {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color: var(--site-navy); font-weight: 500; letter-spacing: -.045em; line-height: .98;
}
.hero-copy h1 { max-width: 720px; margin: 0 0 28px; font-size: clamp(3.5rem, 7.2vw, 6.45rem); }
.hero-copy > p { max-width: 600px; margin: 0 0 32px; color: var(--site-muted); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; gap: 18px; margin-top: 28px; color: var(--site-muted); font-size: .82rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--site-mint); }

.product-preview { position: relative; min-height: 520px; }
.preview-sheet {
  position: absolute; inset: 12px 0 24px 38px; overflow: hidden;
  border: 1px solid var(--site-border); border-radius: 3px 24px 24px 3px;
  background: var(--site-surface); box-shadow: var(--site-shadow);
}
.preview-rail { position: absolute; inset: 0 auto 0 0; width: 9px; background: var(--site-mint); }
.preview-head { display: flex; justify-content: space-between; align-items: center; padding: 28px 30px 23px 37px; border-bottom: 1px solid var(--site-border); }
.preview-head strong { color: var(--site-navy); font-size: .92rem; }
.preview-period { color: var(--site-muted); font-size: .76rem; }
.preview-balance { padding: 30px 34px 26px 37px; }
.preview-balance span { display: block; color: var(--site-muted); font-size: .75rem; margin-bottom: 5px; }
.preview-balance strong { display: block; color: var(--site-navy); font-size: 2.5rem; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.preview-balance small { color: var(--site-mint-dark); font-weight: 700; }
.preview-ledger { margin: 0 34px 0 37px; border-top: 1px solid var(--site-border); }
.ledger-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--site-border); }
.ledger-row div { display: grid; gap: 2px; }
.ledger-row span { color: var(--site-ink); font-size: .89rem; font-weight: 650; }
.ledger-row small { color: var(--site-muted); font-size: .73rem; }
.ledger-row strong { color: var(--site-navy); font-size: .92rem; font-variant-numeric: tabular-nums; }
.preview-progress { margin: 26px 34px 0 37px; }
.preview-progress div:first-child { display: flex; justify-content: space-between; color: var(--site-muted); font-size: .74rem; margin-bottom: 8px; }
.preview-track { height: 8px; border-radius: 10px; background: var(--site-soft); overflow: hidden; }
.preview-track i { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--site-mint); }
.preview-tab {
  position: absolute; right: -8px; top: 96px; writing-mode: vertical-rl;
  padding: 16px 9px; border-radius: 0 8px 8px 0; background: var(--site-mint-dark); color: var(--site-bg);
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
}
.preview-caption { position: absolute; left: 0; bottom: 0; color: var(--site-muted); font-size: .73rem; }

.section { padding: 96px 0; border-top: 1px solid var(--site-border); }
.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: end; margin-bottom: 62px; }
.section-heading h2 { margin: 0; max-width: 760px; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.section-heading p { margin: 0; max-width: 530px; color: var(--site-muted); font-size: 1.03rem; }
.pillar-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--site-border); }
.pillar { padding: 34px 34px 36px 0; border-bottom: 1px solid var(--site-border); }
.pillar + .pillar { padding-left: 34px; border-left: 1px solid var(--site-border); }
.pillar h3 { margin: 0 0 12px; color: var(--site-navy); font-size: 1.3rem; }
.pillar p { margin: 0; color: var(--site-muted); font-size: .94rem; }
.pillar-line { width: 36px; height: 5px; margin-bottom: 28px; border-radius: 5px; background: var(--site-mint); }
.pillar:nth-child(2) .pillar-line { background: var(--site-navy); }
.pillar:nth-child(3) .pillar-line { background: var(--site-mint-dark); }

.feature-ledger { border-top: 1px solid var(--site-border); }
.feature-row { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr auto; gap: 36px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--site-border); }
.feature-row h3 { margin: 0; color: var(--site-navy); font-size: 1.13rem; }
.feature-row p { margin: 0; color: var(--site-muted); max-width: 650px; }
.feature-row span { color: var(--site-mint-dark); font-size: .82rem; font-weight: 700; }
.feature-continuation { min-height: 44px; display: inline-flex; align-items: center; }
.feature-group + .feature-group { margin-top: 88px; }
.feature-group-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: end; margin-bottom: 34px; }
.feature-group-head h2 { margin: 0; color: var(--site-navy); font: 500 clamp(2.2rem, 4vw, 3.6rem)/1 "Iowan Old Style", Georgia, serif; letter-spacing: -.04em; }
.feature-group-head p { max-width: 540px; margin: 0; color: var(--site-muted); }

.trust-band { background: var(--site-navy); color: var(--site-bg); }
[data-theme="dark"] .trust-band { background: #e8f1ec; color: #102019; }
.trust-band .section-shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.trust-band h2 { margin: 0 0 25px; font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(2.7rem, 5vw, 4.7rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.trust-band p { max-width: 590px; margin: 0 0 30px; color: color-mix(in srgb, currentColor 72%, transparent); }
.trust-list { display: grid; gap: 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.trust-list div { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.trust-list strong { font-size: .94rem; }
.trust-list span { max-width: 250px; text-align: right; opacity: .7; font-size: .82rem; }

.story-statement { max-width: 930px; margin: 0 0 42px; font-size: clamp(2.5rem, 5vw, 5rem); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.story-grid p { color: var(--site-muted); margin: 0; }
.text-link { color: var(--site-mint-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.faq-list { max-width: 860px; border-top: 1px solid var(--site-border); }
.faq-list details { border-bottom: 1px solid var(--site-border); }
.faq-list summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; color: var(--site-navy); font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 21px; color: var(--site-mint-dark); font-size: 1.4rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 710px; margin: -7px 0 25px; color: var(--site-muted); }

.final-cta { padding: 96px 0; text-align: center; }
.final-cta h2 { margin: 0 auto 22px; max-width: 820px; color: var(--site-navy); font: 500 clamp(2.6rem, 5vw, 4.8rem)/1 "Iowan Old Style", Georgia, serif; letter-spacing: -.04em; }
.final-cta p { margin: 0 auto 31px; max-width: 550px; color: var(--site-muted); }

.page-hero { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0 92px; }
.page-hero h1 { max-width: 930px; margin: 0 0 28px; font-size: clamp(3.5rem, 7vw, 6.6rem); }
.page-hero p { max-width: 680px; margin: 0; color: var(--site-muted); font-size: 1.15rem; }
.page-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.page-aside { color: var(--site-muted); font-size: .86rem; }
.page-copy { max-width: 760px; }
.page-copy h2 { margin: 0 0 18px; color: var(--site-navy); font: 500 2.25rem/1.08 "Iowan Old Style", Georgia, serif; letter-spacing: -.03em; }
.page-copy h3 { margin: 42px 0 10px; color: var(--site-navy); }
.page-copy p { color: var(--site-muted); }
.page-copy section + section { margin-top: 76px; padding-top: 76px; border-top: 1px solid var(--site-border); }
.value-list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--site-border); }
.value-list li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--site-border); }
.value-list strong { color: var(--site-navy); }
.value-list span { color: var(--site-muted); }

.site-footer { padding: 52px 0 34px; border-top: 1px solid var(--site-border); }
.footer-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.footer-main { display: grid; grid-template-columns: 1fr auto auto; gap: 80px; padding-bottom: 45px; }
.footer-main p { max-width: 330px; color: var(--site-muted); font-size: .88rem; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { color: var(--site-navy); font-size: .82rem; margin-bottom: 4px; }
.footer-links a { min-height: 40px; display: flex; align-items: center; color: var(--site-muted); text-decoration: none; font-size: .86rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid var(--site-border); color: var(--site-muted); font-size: .76rem; }

@media (max-width: 900px) {
  .nav-shell { min-height: 68px; }
  .menu-button { display: inline-grid; }
  .nav-links {
    display: none; position: absolute; left: 20px; right: 20px; top: 68px;
    padding: 18px; border: 1px solid var(--site-border); border-radius: 14px;
    background: var(--site-surface); box-shadow: var(--site-shadow);
  }
  .nav-links.open { display: grid; gap: 13px; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .nav-actions .button:not(.primary) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 55px; padding-top: 68px; }
  .product-preview { max-width: 650px; width: 100%; }
  .section-heading, .trust-band .section-shell, .page-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature-group-head { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 640px) {
  .nav-shell, .hero, .section-shell, .page-hero, .footer-shell { width: min(100% - 30px, 1180px); }
  .brand { font-size: 1.2rem; }
  .nav-actions { gap: 6px; }
  .nav-actions .button.primary { min-height: 40px; padding: 0 12px; font-size: .82rem; }
  .hero { padding: 55px 0 64px; }
  .hero-copy h1 { font-size: clamp(3.1rem, 15vw, 4.4rem); }
  .hero-note { display: grid; gap: 8px; }
  .product-preview { min-height: 470px; }
  .preview-sheet { left: 10px; }
  .preview-head, .preview-balance { padding-left: 28px; padding-right: 22px; }
  .preview-ledger, .preview-progress { margin-left: 28px; margin-right: 22px; }
  .preview-tab { right: -3px; }
  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 40px; }
  .pillar-list { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 27px 0; border-left: 0; }
  .feature-row { grid-template-columns: 1fr; gap: 8px; }
  .feature-row span { margin-top: 4px; }
  .feature-group + .feature-group { margin-top: 64px; }
  .trust-band .section-shell { gap: 50px; }
  .story-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-hero { padding: 72px 0 65px; }
  .value-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
