@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/titillium-web-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/titillium-web-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/titillium-web-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/titillium-web-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "B612 Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/b612-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "B612 Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/b612-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #f2efe6;
  --paper-2: #e7e2d4;
  --card: #ffffff;
  --ink: #17211c;
  --soft: #4f5c55;
  --line: #d6d0bf;
  --green: #123b2d;
  --green-2: #1e5440;
  --on-green: #f2efe6;
  --on-green-soft: #a9c2b5;
  --amber: #e0a526;
  --amber-dark: #835500;
  --amber-tint: #f8ebc9;
  --ok: #2e6a3e;
  --mono: "B612 Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sans: "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; overflow-wrap: anywhere; hyphens: auto; }
h1, h2, h3 { line-height: 1.12; margin: 0; overflow-wrap: anywhere; hyphens: auto; }
p { margin: 0; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; z-index: 10; font-weight: 700; }
.skip:focus { left: 8px; }
.kicker { font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-dark); }

/* Perforated tear-off edge: green band ending in punched holes (the app's header motif) */
.perf { height: 12px; background: radial-gradient(circle at 9px 6px, var(--paper) 3.6px, transparent 4px) 0 0 / 18px 12px repeat-x, linear-gradient(var(--green) 6px, transparent 6px); }
.perf-top { background: radial-gradient(circle at 9px 6px, var(--paper) 3.6px, transparent 4px) 0 0 / 18px 12px repeat-x, linear-gradient(transparent 6px, var(--green) 6px); }

/* Header */
.top { background: var(--green); color: var(--on-green); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 4px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-green); text-decoration: none; font-weight: 700; font-size: 1.125rem; }
.brand:hover { color: var(--amber); }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 10px 12px; min-height: 44px; color: var(--on-green); text-decoration: none; font-weight: 600; border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(0, 0, 0, 0.22); color: var(--amber); }

/* Hero */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-weight: 900; font-size: clamp(2.1rem, 5.6vw, 4.4rem); letter-spacing: -0.01em; margin: 12px 0 20px; color: var(--green); }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--amber-dark); }
.lead { font-size: 1.1875rem; color: var(--soft); max-width: 36em; }
.lead strong { color: var(--ink); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 26px; }
.facts li { font-family: var(--mono); font-size: 0.8125rem; padding: 4px 10px; border: 1.5px solid var(--green); border-radius: 3px; color: var(--green); background: var(--card); }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { font-weight: 700; }

.play { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 14px; min-height: 56px; background: var(--green); color: var(--on-green); text-decoration: none; border-radius: 6px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); padding-left: 26px; }
.play:hover { background: var(--green-2); color: var(--on-green); }
.play-hole { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); flex: none; }
.play-text { display: flex; flex-direction: column; line-height: 1.1; }
.play-small { font-size: 0.8125rem; color: var(--on-green-soft); }
.play-big { font-size: 1.25rem; font-weight: 700; }
.play-soon { background: var(--paper-2); color: var(--soft); cursor: default; }
.play-soon .play-small { color: var(--soft); }
.play-soon .play-hole { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }

/* The example parts tag */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 520px; }
.tag { position: relative; z-index: 2; width: min(100%, 360px); background: var(--amber); color: var(--ink); padding: 64px 26px 26px; clip-path: polygon(22% 0, 78% 0, 100% 15%, 100% 100%, 0 100%, 0 15%); border-radius: 0 0 10px 10px; margin-right: 110px; }
.tag-hole { position: absolute; top: 22px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.25); }
.tag-vehicle { font-family: var(--mono); font-size: 0.75rem; color: #3b2a00; }
.tag-part { font-size: 1.6rem; font-weight: 900; color: var(--green); margin-top: 4px; }
.tag-pos { font-size: 0.9375rem; color: #3b2a00; }
.tag-label { margin-top: 16px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #3b2a00; }
.tag-number { font-family: var(--mono); font-weight: 700; font-size: clamp(1.3rem, 3.2vw, 1.75rem); color: var(--ink); }
.tag-specs { margin: 14px 0 0; display: grid; gap: 0; border-top: 1.5px solid rgba(18, 59, 45, 0.45); }
.tag-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1.5px solid rgba(18, 59, 45, 0.45); }
.tag-specs dt { font-size: 0.9375rem; }
.tag-specs dd { margin: 0; font-family: var(--mono); font-weight: 700; }
.tag-alt { margin-top: 14px; font-size: 0.9375rem; }
.tag-alt .ok { display: inline-block; background: var(--green); color: var(--on-green); padding: 0 8px; border-radius: 3px; font-weight: 700; font-size: 0.8125rem; }
.tag-fitted { margin-top: 8px; font-size: 0.875rem; font-weight: 600; color: var(--green); }
.shot { margin: 0; }
.shot img { border-radius: 14px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 14px 30px rgba(18, 59, 45, 0.18); }
.shot-hero { position: absolute; right: 0; top: 60px; width: 230px; z-index: 1; }

/* Sections */
.section-head { margin-bottom: 30px; max-width: 760px; }
.section-head h2, .private h2, .notice h2, .final h2 { font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--green); margin-top: 8px; }
.section-lead { margin-top: 12px; color: var(--soft); }

/* Spec sheet rows */
.sheet { padding: 64px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sheet-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--green); }
.sheet-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) minmax(0, 240px); gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sheet-code { font-family: var(--mono); font-weight: 700; font-size: 0.875rem; color: var(--on-green); background: var(--green); padding: 3px 8px; border-radius: 3px; justify-self: start; }
.sheet-copy h3 { font-size: 1.375rem; font-weight: 700; color: var(--ink); }
.sheet-copy p { margin-top: 6px; color: var(--soft); max-width: 40em; }
.sheet-value { font-family: var(--mono); font-size: 0.875rem; color: var(--amber-dark); text-align: right; }

/* Screen rail */
.screens { padding: 64px 0 56px; }
.rail { list-style: none; margin: 0; padding: 8px max(20px, calc((100vw - 1160px) / 2 + 20px)) 24px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - 1160px) / 2 + 20px)); scrollbar-color: var(--green) var(--paper-2); }
.rail-item { flex: 0 0 auto; width: min(64vw, 280px); scroll-snap-align: start; }
.rail-label { font-family: var(--mono); font-weight: 700; font-size: 0.8125rem; color: var(--green); margin-bottom: 10px; padding-left: 14px; position: relative; }
.rail-label::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--amber); }
.rail figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--soft); }

/* Steps */
.steps { padding: 56px 0; background: var(--paper-2); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step-list li { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 0 0 8px 8px; padding: 18px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); font-weight: 900; color: var(--ink); }
.step-list h3 { font-size: 1.1875rem; margin-top: 12px; }
.step-list p { margin-top: 6px; color: var(--soft); font-size: 0.9875rem; }

/* Disclaimer band */
.notice { background: var(--amber); padding: 40px 0; }
.notice-inner { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; align-items: baseline; }
.notice h2 { margin: 0; color: var(--ink); }
.notice p { font-size: 1.125rem; color: #2a1d00; max-width: 46em; }

/* Privacy */
.private { padding: 64px 0; }
.private-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.private h2 { margin-bottom: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 18px; height: 18px; border-radius: 3px; background: var(--green); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 22px; width: 8px; height: 5px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }

/* Final CTA */
.final { background: var(--green); color: var(--on-green); padding: 44px 0; }
.final-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.final h2 { color: var(--on-green); margin: 0 0 6px; }
.final a { color: var(--amber); }
.final .play-soon { background: var(--green-2); color: var(--on-green); }
.final .play-soon .play-small { color: var(--on-green-soft); }
.final .play-soon .play-hole { background: var(--green); box-shadow: none; }

/* Footer */
.foot { background: var(--green); color: var(--on-green); }
.final + .foot .perf-top { display: none; }
.foot-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-name { font-weight: 700; }
.foot-small, .foot-note { font-size: 0.875rem; color: var(--on-green-soft); }
.foot-note { grid-column: 1 / -1; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; align-items: center; }
.foot-links a { color: var(--on-green); display: inline-block; padding: 8px 0; min-height: 44px; }
.foot-links a:hover { color: var(--amber); }

/* Text pages */
.page { padding: 44px 0 64px; }
.page h1 { font-weight: 900; font-size: clamp(2rem, 5vw, 3rem); color: var(--green); margin: 8px 0 14px; }
.page h2 { font-size: 1.4rem; font-weight: 700; color: var(--green); margin: 34px 0 10px; }
.prose p, .prose li { color: #2c3832; }
.prose p + p { margin-top: 10px; }
.prose ul { padding-left: 22px; margin: 8px 0; }
.prose li { margin: 4px 0; }
.meta { margin-top: 32px; font-size: 0.9375rem; color: var(--soft); border-top: 1px solid var(--line); padding-top: 14px; }
.plain-steps { padding-left: 22px; }
.plain-steps li { margin: 8px 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 4px; margin: 10px 0; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; min-height: 48px; list-style-position: inside; }
.faq details p { padding: 0 16px 16px; color: var(--soft); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-visual { min-height: 0; justify-content: flex-start; }
  .tag { margin-right: 0; }
  .shot-hero { display: none; }
  .sheet-row { grid-template-columns: 70px minmax(0, 1fr); }
  .sheet-value { grid-column: 2; text-align: left; }
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notice-inner, .private-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .hero { padding: 32px 0 44px; }
  .top-inner { justify-content: center; }
  .nav a { padding: 10px 10px; }
  .sheet-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sheet-value { grid-column: 1; }
  .step-list { grid-template-columns: minmax(0, 1fr); }
  .tag { padding: 60px 20px 22px; }
  .foot-inner { grid-template-columns: minmax(0, 1fr); }
  .rail { padding-left: 16px; padding-right: 16px; scroll-padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
