:root {
  --paper: #f7f5ef;
  --surface: #fffdf8;
  --rail: #f0eee6;
  --ink: #262a25;
  --muted: #777a70;
  --line: #dfdfd5;
  --accent: #ac4a2e;
  --accent-text: #fff9ef;
  --sage: #616f57;
  --sidebar: #20261f;
  --side-text: #edf0e6;
  --side-muted: #a1aa98;
  --side-selected: #35422f;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-shell { overflow: hidden; }
.site-header {
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-family: Georgia, serif; font-size: 24px; font-weight: 600; }
.brand-mark { width: 29px; height: 29px; fill: var(--accent); }
.desktop-nav { display: flex; gap: 32px; font-size: 12px; color: var(--muted); }
.desktop-nav a, .header-cta { transition: opacity .2s ease; }
.desktop-nav a:hover, .header-cta:hover { opacity: .65; }
.header-cta { justify-self: end; font-size: 12px; display: flex; gap: 10px; align-items: center; }

.section-grid {
  min-height: 740px;
  display: grid;
  grid-template-columns: minmax(420px, .84fr) minmax(620px, 1.16fr);
  border-bottom: 1px solid var(--line);
}
.hero-copy { padding: 102px 4vw 74px 7vw; align-self: center; }
.eyebrow, .mini-eyebrow {
  margin: 0;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .18em;
  color: var(--sage);
  text-transform: uppercase;
}
.hero h1, .section-heading h2, .local-copy h2, .download-section h2 {
  margin: 28px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 5.3vw, 84px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.045em;
}
.hero h1 em, .section-heading h2 em, .local-copy h2 em, .download-section h2 em { color: var(--accent); font-weight: 400; }
.hero-lede { max-width: 510px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; gap: 26px; align-items: center; margin-top: 38px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 7px; font-size: 12px; transition: opacity .2s ease, transform .2s ease; }
.button:hover { opacity: .82; transform: translateY(-1px); }
.button.primary { padding: 0 18px; background: var(--accent); color: var(--accent-text); }
.button.text-button { color: var(--muted); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 66px; padding-top: 20px; border-top: 1px solid var(--line); font-family: Consolas, monospace; font-size: 9px; letter-spacing: .14em; color: var(--muted); }

.hero-art { position: relative; min-height: 740px; background: #ebe9df; display: grid; place-items: center; overflow: hidden; border-left: 1px solid var(--line); }
.contour { position: absolute; width: 560px; height: 560px; border: 1px solid rgba(97,111,87,.22); border-radius: 47% 53% 62% 38% / 52% 37% 63% 48%; transform: rotate(-10deg); }
.contour-2 { width: 470px; height: 500px; transform: rotate(17deg); }
.contour-3 { width: 380px; height: 430px; transform: rotate(-27deg); }
.app-window { width: min(90%, 790px); aspect-ratio: 1.43; display: grid; grid-template-columns: 27% 73%; background: var(--paper); box-shadow: 0 32px 80px rgba(32,38,31,.16); border: 1px solid rgba(38,42,37,.08); position: relative; z-index: 2; }
.app-sidebar { background: var(--sidebar); color: var(--side-text); padding: 22px 18px; display: flex; flex-direction: column; justify-content: space-between; }
.app-brand { font-family: Georgia, serif; font-size: 20px; display: flex; gap: 8px; align-items: center; }
.mini-mark { color: #e2a575; font-family: Georgia, serif; font-style: italic; font-size: 27px; }
.app-sidebar p, .engine-card small { color: var(--side-muted); font-family: Consolas, monospace; font-size: 6px; letter-spacing: .13em; margin: 8px 0 18px; }
.capture { width: 100%; border: 1px solid #5d6757; background: #2b3428; color: var(--side-text); border-radius: 5px; padding: 9px 10px; display: flex; justify-content: space-between; font-size: 8px; margin: 3px 0 24px; }
.app-sidebar .side-label { margin-bottom: 8px; }
.side-link { display: grid; grid-template-columns: 17px 1fr auto; gap: 8px; align-items: center; padding: 9px; color: var(--side-muted); border-radius: 5px; font-size: 8px; }
.side-link b { font-weight: 400; color: var(--side-text); }
.side-link small { font-size: 7px; }
.side-link.active { background: var(--side-selected); }
.engine-card { border: 1px solid #41493b; border-radius: 6px; padding: 10px; display: grid; gap: 5px; }
.engine-card small { margin: 0; }
.engine-card strong { font-size: 8px; font-weight: 500; }
.engine-card span { color: var(--side-muted); font-size: 7px; }
.app-main { min-width: 0; }
.app-topbar { min-height: 54px; border-bottom: 1px solid var(--line); padding: 0 22px; display: flex; justify-content: space-between; align-items: center; font-size: 7px; color: var(--muted); }
.app-topbar b { color: var(--ink); font-weight: 500; }
.app-content { padding: 34px 36px; }
.mini-eyebrow { font-size: 6px; }
.app-content h2 { margin: 16px 0 12px; font: 400 29px/.95 Georgia, serif; letter-spacing: -.035em; }
.app-content h2 em { color: var(--accent); font-weight: 400; }
.app-content > p:not(.mini-eyebrow) { color: var(--muted); font-size: 8px; line-height: 1.7; }
.thread-label { margin-top: 23px; padding: 12px 0 7px; border-top: 1px solid var(--line); color: var(--muted); font: 6px Consolas, monospace; letter-spacing: .15em; }
.thread-row { display: grid; grid-template-columns: 22px 1fr 14px; gap: 9px; align-items: center; border-bottom: 1px solid var(--line); padding: 11px 0; font-size: 7px; }
.thread-row > span { color: var(--accent); }
.thread-row div { display: grid; gap: 3px; }
.thread-row strong { font-size: 8px; font-weight: 500; }
.thread-row small { color: var(--muted); font-size: 6px; }
.prompt-box { margin-top: 18px; border: 1px solid var(--sage); border-radius: 7px; padding: 10px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 7px; background: var(--surface); }
.prompt-box button { width: 24px; height: 22px; border: 0; border-radius: 4px; background: var(--accent); color: white; }

.statement { padding: 115px 8vw 125px; max-width: var(--max); margin: auto; }
.statement-copy { margin: 26px 0 0; max-width: 1050px; font: 400 clamp(42px, 5vw, 72px)/1.08 Georgia, serif; letter-spacing: -.035em; }
.statement-copy em { color: var(--accent); font-weight: 400; }

.feature-section { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 730px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { padding: 95px 6vw 80px 7vw; }
.section-heading h2 { font-size: clamp(48px, 4.5vw, 70px); }
.section-heading > p:last-child { max-width: 450px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.feature-list { border-left: 1px solid var(--line); }
.feature-card { min-height: 240px; padding: 44px 5vw 42px 40px; display: grid; grid-template-columns: 54px 1fr 30px; gap: 18px; border-bottom: 1px solid var(--line); transition: background .25s ease; }
.feature-card:last-child { border-bottom: 0; }
.feature-card:hover { background: var(--surface); }
.feature-num { color: var(--accent); font-family: Consolas, monospace; font-size: 11px; }
.feature-card h3 { margin: 15px 0 13px; font: 400 31px Georgia, serif; }
.feature-card p:last-child { max-width: 620px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.feature-arrow { justify-self: end; font-size: 20px; color: var(--muted); }

.local-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 730px; }
.local-visual { background: var(--sidebar); display: grid; place-items: center; padding: 70px; position: relative; overflow: hidden; }
.local-visual::before, .local-visual::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(161,170,152,.13); border-radius: 46% 54% 50% 50%; transform: rotate(19deg); }
.local-visual::after { width: 330px; height: 360px; transform: rotate(-21deg); }
.drive-shape { width: min(380px, 80%); aspect-ratio: 1.35; border: 1px solid #596254; border-radius: 18px; position: relative; z-index: 2; display: flex; align-items: flex-end; padding: 34px; color: var(--side-text); }
.drive-dot { position: absolute; top: 24px; right: 26px; width: 9px; height: 9px; border-radius: 50%; background: #e2a575; box-shadow: 0 0 0 6px rgba(226,165,117,.08); }
.drive-line { position: absolute; left: 32px; top: 28px; width: 92px; height: 1px; background: #596254; }
.drive-line.two { top: 38px; width: 56px; }
.drive-copy { display: grid; gap: 9px; }
.drive-copy small { color: var(--side-muted); font: 8px Consolas, monospace; letter-spacing: .15em; }
.drive-copy strong { font: 400 37px Georgia, serif; }
.drive-copy span { color: var(--side-muted); font-size: 11px; }
.local-copy { padding: 96px 7vw; }
.local-copy h2 { font-size: clamp(48px, 4.8vw, 72px); }
.local-copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); line-height: 1.8; }
.fact-row { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.fact-row:first-of-type { margin-top: 42px; }
.fact-row > span { color: var(--accent); font: 10px Consolas, monospace; padding-top: 3px; }
.fact-row p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.fact-row strong { color: var(--ink); font-weight: 600; }

.compat-section { padding: 100px 7vw 120px; border-top: 1px solid var(--line); }
.compact { padding: 0; max-width: 760px; }
.compact h2 { font-size: clamp(48px, 4.6vw, 70px); }
.spec-table { margin-top: 70px; border-top: 1px solid var(--ink); }
.spec-row { display: grid; grid-template-columns: .7fr 1fr 1.5fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: 13px; }
.spec-row span:last-child { color: var(--muted); }
.spec-head { font: 9px Consolas, monospace; letter-spacing: .15em; color: var(--muted); }
.spec-head span:last-child { color: var(--muted); }

.download-section { background: var(--sidebar); color: var(--side-text); min-height: 510px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 80px 7vw; }
.download-section h2 { font-size: clamp(52px, 5vw, 78px); margin-bottom: 0; }
.download-section h2 em { color: #e2a575; }
.eyebrow.light { color: var(--side-muted); }
.download-copy { max-width: 540px; }
.download-copy > p:first-child { color: var(--side-muted); line-height: 1.8; font-size: 14px; margin-bottom: 30px; }
.button.inverse { border: 1px solid #596254; color: var(--side-text); padding: 0 17px; }
.dev-note { margin-top: 34px; padding-top: 18px; border-top: 1px solid #3b4438; color: #8f9988; font-size: 10px; line-height: 1.65; }

footer { min-height: 120px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; padding: 0 5vw; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.footer-brand { font-size: 20px; color: var(--ink); }
footer p { text-align: center; }
footer > span { justify-self: end; font: 9px Consolas, monospace; letter-spacing: .12em; }

@media (max-width: 1100px) {
  .section-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 80px 8vw 70px; }
  .hero-art { border-left: 0; border-top: 1px solid var(--line); min-height: 650px; }
  .feature-section, .local-section { grid-template-columns: 1fr; }
  .feature-list { border-left: 0; border-top: 1px solid var(--line); }
  .local-visual { min-height: 600px; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; height: 72px; padding: 0 20px; }
  .desktop-nav { display: none; }
  .brand { font-size: 21px; }
  .brand-mark { width: 26px; }
  .header-cta { font-size: 11px; }
  .hero-copy { padding: 68px 24px 54px; }
  .hero h1, .section-heading h2, .local-copy h2, .download-section h2 { font-size: 48px; }
  .hero-lede { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-meta { margin-top: 45px; }
  .hero-art { min-height: 470px; padding: 28px 0; }
  .app-window { width: 94%; grid-template-columns: 28% 72%; }
  .app-sidebar { padding: 14px 10px; }
  .app-brand { font-size: 14px; }
  .mini-mark { font-size: 20px; }
  .capture { padding: 6px; }
  .side-link { grid-template-columns: 12px 1fr; padding: 6px 4px; }
  .side-link small { display: none; }
  .engine-card { padding: 7px; }
  .app-topbar { padding: 0 10px; min-height: 42px; }
  .app-topbar span:last-child { display: none; }
  .app-content { padding: 20px; }
  .app-content h2 { font-size: 23px; }
  .statement { padding: 80px 24px; }
  .statement-copy { font-size: 39px; }
  .section-heading, .local-copy, .compat-section { padding: 72px 24px; }
  .feature-card { padding: 32px 24px; grid-template-columns: 34px 1fr; }
  .feature-arrow { display: none; }
  .local-visual { min-height: 430px; padding: 30px; }
  .drive-shape { width: 92%; padding: 25px; }
  .drive-copy strong { font-size: 28px; }
  .spec-row { grid-template-columns: 1fr 1.3fr; font-size: 11px; }
  .spec-row > *:last-child { grid-column: 1 / -1; }
  .spec-head > *:last-child { display: none; }
  .download-section { grid-template-columns: 1fr; padding: 72px 24px; gap: 34px; }
  footer { grid-template-columns: 1fr; padding: 35px 24px; text-align: left; }
  footer p { text-align: left; }
  footer > span { justify-self: start; }
}
