/* Garage Stock Ledger — "stock book" landing. Concrete ledger paper, ink, oxblood, label-plate yellow. */

@font-face { font-family: "Encode Sans SC"; src: url("/assets/fonts/encode-sans-semi-condensed-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Encode Sans SC"; src: url("/assets/fonts/encode-sans-semi-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Encode Sans SC"; src: url("/assets/fonts/encode-sans-semi-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Sometype Mono"; src: url("/assets/fonts/sometype-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Sometype Mono"; src: url("/assets/fonts/sometype-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #e9eae6;
  --ruling: #d9dbd6;
  --card: #ffffff;
  --ink: #16191c;
  --soft: #4c5359;
  --line: #c9ccc6;
  --brand: #7a2232;
  --brand-dark: #5e1826;
  --label: #ffd23f;
  --teal: #0e6b67;
  --sans: "Encode Sans SC", "Arial Narrow", Arial, sans-serif;
  --mono: "Sometype Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--ruling) 31px 32px);
  overflow-x: hidden;
}
h1, h2, h3, p, li, dd, dt, summary, a, td, th { overflow-wrap: anywhere; hyphens: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--label); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Label plate and rules ---------- */
.plate {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  margin: 0 0 18px; padding: 7px 14px 7px 10px;
  background: var(--ink); color: #fff; border-radius: 5px;
  font-family: var(--mono); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.plate.small { font-size: 0.75rem; padding: 5px 11px 5px 8px; margin-bottom: 12px; }
.hole { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: var(--label); }
.rule, .double-rule { border-top: 4px solid var(--ink); position: relative; height: 7px; }
.rule::after, .double-rule::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1.5px solid var(--ink); }
.label { font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin: 0 0 8px; }
.label.light { color: var(--label); }

/* ---------- Header ---------- */
.top { background: var(--paper); position: relative; z-index: 2; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; min-height: 44px; }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 700; border-radius: 5px; }
.nav a:hover { background: var(--card); color: var(--brand); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: start; }
h1 { font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 22px; }
h1 span { display: block; }
.accent { color: var(--brand); }
.lead { font-size: 1.2rem; color: var(--soft); max-width: 40em; margin: 0 0 26px; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.text-link { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.text-link.light { color: var(--label); }
.totals { border-collapse: collapse; width: 100%; max-width: 460px; font-family: var(--mono); background: var(--card); border: 1.5px solid var(--ink); }
.totals caption { text-align: left; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); padding-bottom: 8px; }
.totals th, .totals td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.95rem; }
.totals th { font-weight: 500; color: var(--soft); width: 50%; border-right: 1px dashed var(--line); }
.totals td { font-weight: 700; text-align: right; }
.totals tr:last-child th, .totals tr:last-child td { border-bottom: 3px double var(--ink); }
.hero-shot { position: relative; padding-top: 6px; }
.hero-shot .double-rule { margin-bottom: 14px; }

/* Screens: ink frame, square corners */
.shot { margin: 0; }
.shot.framed img { border: 4px solid var(--ink); background: var(--card); width: 100%; }

/* Google Play label */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 14px; border-radius: 6px; background: var(--ink); color: #fff; text-decoration: none; }
.play:hover { background: var(--brand); color: #fff; }
.play-hole { width: 12px; height: 12px; border-radius: 50%; background: var(--label); flex: 0 0 12px; }
.play-text { display: flex; flex-direction: column; line-height: 1.1; }
.play-small { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: #cfd2cd; }
.play-big { font-weight: 800; font-size: 1.2rem; }
.play-soon { background: transparent; color: var(--ink); border: 2px dashed var(--ink); cursor: default; }
.play-soon .play-small { color: var(--soft); }

/* ---------- Stock book columns ---------- */
.book { padding: 64px 0; background: var(--card); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.section-head { max-width: 760px; margin-bottom: 36px; }
h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; margin: 0 0 16px; }
h3 { font-weight: 800; font-size: 1.35rem; line-height: 1.2; margin: 0 0 8px; }
.columns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1.5px solid var(--ink); }
.column { padding: 0 20px 8px; border-right: 1.5px dashed var(--line); display: flex; flex-direction: column; }
.column:last-child { border-right: 1.5px solid var(--ink); }
.column p { color: var(--soft); margin: 0 0 20px; flex: 1 1 auto; }
.column .shot { margin-top: auto; }

/* ---------- Feature splits ---------- */
.feature { padding: 72px 0; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 64px; align-items: center; }
.feature-flip .feature-grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.feature-flip .feature-copy { order: 2; }
.feature-copy p { color: var(--soft); font-size: 1.1rem; max-width: 38em; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* ---------- Extras ---------- */
.extras { padding: 64px 0; background: var(--card); border-top: 1.5px solid var(--ink); }
.extra-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 24px 0 0; border-top: 3px solid var(--ink); }
.extra-list > div { padding: 20px 22px 24px 0; border-bottom: 1px solid var(--line); }
.extra-list dt { font-weight: 800; font-size: 1.15rem; margin-bottom: 6px; }
.extra-list dd { margin: 0; color: var(--soft); }

/* ---------- Privacy ---------- */
.private { background: var(--brand); color: #fff; padding: 64px 0; background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(255,255,255,0.07) 31px 32px); }
.private-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.private h2 { color: #fff; }
.private-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--label); }
.private-list li { padding: 12px 0 12px 26px; border-bottom: 1px solid rgba(255,255,255,0.25); position: relative; }
.private-list li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--label); }

/* ---------- FAQ ---------- */
.faq { padding: 64px 0; }
.faq-inner { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); gap: 40px; }
.faq-list details { background: var(--card); border: 1.5px solid var(--ink); border-radius: 5px; margin-bottom: 10px; }
.faq-list summary { cursor: pointer; padding: 14px 18px; font-weight: 700; min-height: 48px; list-style-position: inside; }
.faq-list details p { margin: 0; padding: 0 18px 16px; color: var(--soft); }

/* ---------- Download ---------- */
.download { padding: 56px 0 72px; }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; border-top: 4px solid var(--ink); padding-top: 28px; }
.download h2 { margin-bottom: 8px; }
.download p { margin: 0; color: var(--soft); }

/* ---------- Pages ---------- */
.page { padding: 48px 0 72px; }
.page h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal h2, .page h2 { font-size: 1.35rem; margin: 32px 0 8px; }
.steps { list-style: none; padding: 0; margin: 28px 0; border-top: 3px solid var(--ink); }
.steps li { padding: 4px 0 14px; border-bottom: 1px solid var(--line); }
.steps h2 { margin-top: 16px; }
.small { font-size: 0.9rem; color: var(--soft); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #fff; padding: 32px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-name { margin: 0; font-weight: 800; font-size: 1.15rem; }
.foot-small { margin: 0; color: #c0c4c0; font-size: 0.92rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot-links a { color: var(--label); display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .columns { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; gap: 40px 0; }
  .column, .column:last-child { border-right: 0; border-left: 1.5px solid var(--ink); }
  .extra-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-grid, .feature-grid, .feature-flip .feature-grid, .private-inner, .faq-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature-flip .feature-copy { order: 0; }
  .hero-shot, .feature .shot { max-width: 360px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero { padding: 32px 0 48px; }
  .columns { grid-template-columns: minmax(0, 1fr); }
  .column { padding: 0 0 0 16px; }
  .extra-list { grid-template-columns: minmax(0, 1fr); }
  .nav a { padding: 0 9px; }
  .brand { font-size: 1.1rem; }
  .lead { font-size: 1.08rem; }
}

/* Plates inside text blocks keep their own colours and size. */
.column .plate, .feature-copy .plate { color: #fff; flex: 0 0 auto; margin-bottom: 12px; font-size: 0.75rem; }
