:root {
  --ink: #171d23;
  --ink-soft: #2a333b;
  --citron: #d8f36a;
  --citron-deep: #bed94f;
  --warm: #8b7658;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #d9d8d1;
  --muted: #646b70;
  --danger: #91423e;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(23, 29, 35, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--citron); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--citron); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 16px; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 16px; color: var(--warm); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: var(--citron); }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.045em; }
h1 { font-size: clamp(3.15rem, 8vw, 7.2rem); }
h2 { font-size: clamp(2.15rem, 4.4vw, 4.35rem); }
h3 { font-size: 1.3rem; letter-spacing: -.025em; }
p { margin: 0; }
.lede { max-width: 730px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--ink-soft); }
.button.alt { background: transparent; color: var(--ink); }
.button.citron { border-color: var(--citron); background: var(--citron); color: var(--ink); }
.button.citron:hover { background: var(--citron-deep); }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(217,216,209,.9); background: rgba(247,245,239,.94); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.25rem; letter-spacing: .05em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--ink); color: var(--citron); font-weight: 900; font-size: 1.35rem; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .77rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav .nav-cta { padding: 10px 15px; background: var(--citron); color: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; font-weight: 800; }

.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(var(--ink-soft) 1px, transparent 1px), linear-gradient(90deg, var(--ink-soft) 1px, transparent 1px); background-size: 40px 40px; }
.hero::after { content: ""; position: absolute; right: -140px; top: -170px; width: 520px; height: 520px; border: 92px solid var(--citron); transform: rotate(18deg); opacity: .94; }
.hero-inner { position: relative; z-index: 2; min-height: 690px; display: grid; align-content: center; padding-block: 110px; }
.hero h1 { max-width: 880px; }
.hero h1 span { color: var(--citron); }
.hero .lede { margin-top: 28px; color: #c8ccd0; }
.hero-note { position: absolute; right: 18px; bottom: 18px; writing-mode: vertical-rl; color: var(--ink); font-size: .65rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.signal-strip { border-bottom: 1px solid var(--line); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid div { min-height: 116px; padding: 28px; border-right: 1px solid var(--line); }
.signal-grid div:first-child { border-left: 1px solid var(--line); }
.signal-grid strong { display: block; margin-bottom: 6px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.signal-grid span { color: var(--muted); font-size: .93rem; }

.section { padding-block: 112px; }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: end; margin-bottom: 55px; }
.section-head .lede { justify-self: end; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle { min-height: 310px; padding: 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.number { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 72px; background: var(--citron); font-size: .72rem; font-weight: 900; }
.principle p { margin-top: 16px; color: var(--muted); }

.product-feature { background: var(--white); }
.product-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.product-copy h2 span { color: var(--warm); }
.product-copy .lede { margin-top: 24px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill { padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.system-visual { position: relative; min-height: 520px; padding: 34px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.system-visual::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(var(--ink-soft) 1px, transparent 1px), linear-gradient(90deg, var(--ink-soft) 1px, transparent 1px); background-size: 28px 28px; }
.workflow { position: relative; z-index: 2; display: grid; gap: 18px; height: 100%; align-content: center; }
.workflow-card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 18px; background: var(--paper); }
.workflow-card b { font-size: .83rem; text-transform: uppercase; letter-spacing: .07em; }
.workflow-card span { color: var(--muted); font-size: .8rem; }
.workflow-card em { color: var(--warm); font-size: .68rem; font-style: normal; font-weight: 800; }
.workflow-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--citron); color: var(--ink); font-weight: 900; }

.future { background: var(--citron); }
.future-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.future h2 { max-width: 820px; }
.future p { color: #3c4328; }
.future .button { justify-self: start; }

.page-hero { padding: 92px 0 78px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 960px; font-size: clamp(3rem, 7vw, 6.3rem); }
.page-hero .lede { margin-top: 25px; }
.page-hero.dark { background: var(--ink); color: var(--white); }
.page-hero.dark .lede { color: #c8ccd0; }
.breadcrumbs { margin-bottom: 28px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs a { text-decoration: none; }

.content-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 72px; align-items: start; }
.side-nav { position: sticky; top: 110px; display: grid; gap: 4px; }
.side-nav strong { margin-bottom: 12px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.side-nav a { padding: 8px 0; color: var(--muted); text-decoration: none; font-size: .82rem; }
.side-nav a:hover { color: var(--ink); }
.prose { min-width: 0; }
.prose section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.prose section:last-child { border-bottom: 0; }
.prose h2 { margin-bottom: 20px; font-size: clamp(1.65rem, 3vw, 2.55rem); }
.prose h3 { margin: 28px 0 12px; }
.prose p, .prose li { color: #4f575d; }
.prose p + p { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 9px; }
.notice-box { padding: 24px; margin: 24px 0; border-left: 5px solid var(--citron); background: var(--white); }
.notice-box strong { display: block; margin-bottom: 8px; }
.notice-box.warning { border-color: var(--warm); }
.data-table { width: 100%; border-collapse: collapse; margin-top: 24px; background: var(--white); }
.data-table th, .data-table td { padding: 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--ink); color: var(--white); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

.product-hero { background: var(--ink); color: var(--white); }
.product-hero-grid { display: grid; grid-template-columns: 1fr .86fr; gap: 60px; align-items: center; padding-block: 92px; }
.product-hero h1 { font-size: clamp(3rem, 6.7vw, 6.25rem); }
.product-hero h1 span { display: block; color: var(--citron); }
.product-hero .lede { margin-top: 24px; color: #c8ccd0; }
.sheet-demo { padding: 12px; background: var(--paper); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.sheet-demo img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome-card { padding: 28px; background: var(--white); border: 1px solid var(--line); }
.outcome-card b { display: block; margin-bottom: 12px; }
.outcome-card p { color: var(--muted); font-size: .93rem; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery figure { margin: 0; padding: 10px; background: var(--white); box-shadow: var(--shadow); }
.gallery figcaption { padding: 13px 8px 5px; color: var(--muted); font-size: .75rem; font-weight: 700; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.support-card { padding: 30px; border: 1px solid var(--line); background: var(--white); }
.support-card h2 { font-size: 1.55rem; margin-bottom: 14px; }
.support-card p { color: var(--muted); }
.support-card a { display: inline-block; margin-top: 18px; font-weight: 800; }
.steps { counter-reset: steps; display: grid; gap: 18px; }
.step { position: relative; padding: 28px 28px 28px 82px; border: 1px solid var(--line); background: var(--white); }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 24px; top: 24px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--citron); font-weight: 900; }
.step h2 { font-size: 1.4rem; margin-bottom: 8px; }
.step p { color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { padding-top: 13px; color: var(--muted); }

.site-footer { padding: 60px 0 28px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, .75fr); gap: 48px; }
.footer-brand p { max-width: 350px; margin-top: 18px; color: #abb1b5; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col strong { margin-bottom: 6px; color: var(--citron); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { color: #c8ccd0; text-decoration: none; font-size: .82rem; }
.footer-legal { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; margin-top: 52px; border-top: 1px solid #394149; color: #8f969b; font-size: .72rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 20px 24px 28px; background: var(--paper); border-bottom: 1px solid var(--line); align-items: stretch; flex-direction: column; gap: 16px; }
  .site-nav.open { display: flex; }
  .hero::after { right: -260px; opacity: .7; }
  .hero-inner { min-height: 610px; }
  .section-head, .product-grid, .future-inner, .product-hero-grid, .content-layout { grid-template-columns: 1fr; }
  .section-head { gap: 22px; }
  .section-head .lede { justify-self: start; }
  .principles, .outcome-grid { grid-template-columns: 1fr; }
  .principle { min-height: 230px; }
  .number { margin-bottom: 40px; }
  .side-nav { position: static; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .hero-inner, .section, .product-hero-grid { padding-block: 72px; }
  .hero-inner { min-height: 570px; }
  .hero::after { width: 360px; height: 360px; border-width: 60px; right: -225px; top: -80px; }
  .signal-grid, .support-grid { grid-template-columns: 1fr; }
  .signal-grid div, .signal-grid div:first-child { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .system-visual { min-height: 450px; padding: 20px; }
  .workflow-card { grid-template-columns: 42px 1fr; }
  .workflow-card em { grid-column: 2; }
  .page-hero { padding-block: 62px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
  .data-table { display: block; overflow-x: auto; }
}

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