@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/alegreya-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/alegreya-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/alegreya-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans SC"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/alegreya-sans-sc-latin-700-normal.woff2") format("woff2"); }

:root {
  --pine: #17352f;
  --pine-2: #1f5c4e;
  --grid: rgba(244, 241, 230, 0.07);
  --paper: #f1f4ef;
  --card: #ffffff;
  --sunk: #e4eae3;
  --line: #cfd9d1;
  --ink: #17352f;
  --soft: #4f625c;
  --cream: #f4f1e6;
  --cream-soft: #b9ccc3;
  --gold: #e0a526;
  --mint: #d6eadf;
  --alert: #c2410c;
  --wrap: 1120px;
}

*, *::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: "Alegreya Sans", "Segoe UI", Roboto, sans-serif; font-size: 1.1875rem; line-height: 1.5; overflow-wrap: anywhere; hyphens: auto; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; margin: 0; overflow-wrap: anywhere; hyphens: auto; }
p { margin: 0; }
a { color: var(--pine-2); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header: pine band closed by the crop strip, as in the app */
.top { background: var(--pine); color: var(--cream); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 800; font-size: 1.25rem; min-height: 44px; }
.nav { display: flex; gap: 4px 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.strip { display: grid; grid-template-columns: repeat(12, 1fr); height: 8px; }
.strip i:nth-child(1), .strip i:nth-child(5), .strip i:nth-child(9) { background: #b8860b; }
.strip i:nth-child(2), .strip i:nth-child(7), .strip i:nth-child(11) { background: #2e7d4f; }
.strip i:nth-child(3) { background: #6a4c9c; }
.strip i:nth-child(4) { background: #77716a; }
.strip i:nth-child(6) { background: #b3363f; }
.strip i:nth-child(8) { background: #d06b00; }
.strip i:nth-child(10) { background: #93306a; }
.strip i:nth-child(12) { background: #5b7f1e; }

/* Hero: pine survey sheet with a fine grid, the real matrix hangs on the right */
.hero { background-color: var(--pine); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; color: var(--cream); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: start; padding-top: 64px; }
.hero-text { padding-bottom: 64px; }
.kicker { font-family: "Alegreya Sans SC", "Alegreya Sans", sans-serif; font-weight: 700; letter-spacing: 0.06em; font-size: 1.05rem; color: var(--cream-soft); margin-bottom: 14px; }
.page .kicker { color: var(--pine-2); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); letter-spacing: -0.01em; }
.hero .lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--cream); opacity: 0.92; margin-top: 22px; max-width: 36em; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; }
.facts li { border: 1.5px solid rgba(244, 241, 230, 0.4); padding: 4px 12px; border-radius: 4px; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.text-link { font-weight: 800; color: var(--gold); min-height: 44px; display: inline-flex; align-items: center; }
.text-link.light { color: var(--gold); }
.shot { margin: 0; }
.shot img { border-radius: 10px; border: 5px solid var(--cream); background: var(--cream); }
.hero-shot { align-self: end; justify-self: center; width: 100%; max-width: 380px; }
.hero-shot img { border-bottom: 0; border-radius: 12px 12px 0 0; }

/* Google Play label: a small 2 x 2 board instead of a store badge */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px 8px 12px; border-radius: 6px; background: var(--cream); color: var(--pine); text-decoration: none; }
.play-soon { background: transparent; color: var(--cream); border: 1.5px dashed rgba(244, 241, 230, 0.6); cursor: default; }
.closing .play-soon { color: var(--ink); border-color: var(--soft); }
.play-mark { display: grid; grid-template-columns: repeat(2, 12px); gap: 3px; }
.play-mark i { width: 12px; height: 12px; border-radius: 2px; background: var(--gold); }
.play-mark i:nth-child(2), .play-mark i:nth-child(3) { background: #5fb083; }
.play-text { display: flex; flex-direction: column; line-height: 1.1; }
.play-small { font-size: 0.85rem; }
.play-big { font-weight: 800; font-size: 1.2rem; }

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 24px; }

/* Four steps as squares of a board */
.board { padding: 72px 0 40px; }
.board-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.board-cell { border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 20px 20px 24px; background: var(--card); min-height: 240px; }
.board-cell:nth-child(2) { background: var(--mint); }
.board-cell:nth-child(3) { background: #f5e7be; }
.board-n { display: inline-block; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--pine-2); margin-bottom: 14px; }
.board-cell h3 { font-size: 1.45rem; margin-bottom: 8px; }
.board-cell p { color: var(--soft); }

/* Feature stories: screen and text alternate, one story per row */
.stories { padding: 32px 0 24px; }
.story { padding: 40px 0; }
.story + .story { border-top: 1px solid var(--line); }
.story-inner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
.story-flip .story-inner { grid-template-columns: 360px minmax(0, 1fr); }
.story-flip .story-text { order: 2; }
.story .shot img { border-color: var(--ink); border-width: 3px; }
.story-label { display: flex; align-items: center; gap: 10px; font-family: "Alegreya Sans SC", "Alegreya Sans", sans-serif; font-weight: 700; letter-spacing: 0.05em; color: var(--pine-2); margin-bottom: 10px; }
.sq { width: 12px; height: 12px; background: var(--pine-2); flex: none; }
.story h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.story-text > p { color: var(--soft); max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; border-radius: 2px; background: var(--gold); }

/* Exports and the honest list */
.split { padding: 56px 0; background: var(--card); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.split-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; }
.exports { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.exports dt { font-weight: 800; font-size: 1.2rem; }
.exports dd { margin: 4px 0 0; color: var(--soft); }
.honest { background: var(--paper); border: 2px dashed var(--soft); border-radius: 8px; padding: 24px; }
.honest .section-title { font-size: 1.6rem; margin-bottom: 14px; }
.honest ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }

.privacy-band { background: var(--pine); color: var(--cream); padding: 64px 0; }
.priv-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.priv-list li { border-left: 4px solid var(--gold); padding-left: 14px; }

.faq { padding: 64px 0; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; font-size: 1.2rem; padding: 14px 0; min-height: 44px; list-style-position: outside; }
details p { padding: 0 0 16px; color: var(--soft); }

.closing { padding: 0 0 72px; }
.closing-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; border: 2px solid var(--ink); border-radius: 10px; padding: 28px; background: var(--card); }
.closing-inner > div { flex: 1 1 260px; }
.closing h2 { font-size: 1.8rem; }
.closing p { color: var(--soft); }
.closing img { border-radius: 18px; }

/* Inner pages */
.page { padding: 56px 0 80px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page .lead { font-size: 1.25rem; margin-top: 16px; color: var(--soft); }
.legal h2 { font-size: 1.4rem; margin: 32px 0 8px; }
.legal p { margin-bottom: 10px; }
.small { font-size: 0.95rem; color: var(--soft); }
.steps { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.step-n { width: 48px; height: 48px; display: grid; place-items: center; background: var(--pine); color: var(--cream); font-weight: 800; font-size: 1.4rem; border-radius: 4px; }
.steps h2 { font-size: 1.3rem; margin-bottom: 4px; }
.steps p { color: var(--soft); }
.sub { font-size: 1.6rem; margin: 40px 0 8px; }
.contact-box { margin-top: 40px; background: var(--pine); color: var(--cream); border-radius: 10px; padding: 28px; }
.contact-box h2 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-box .mail { font-size: 1.35rem; font-weight: 800; margin: 12px 0; }
.contact-box a { color: var(--gold); }
.contact-box .small { color: var(--cream-soft); }

.foot { background: var(--pine); color: var(--cream); padding: 36px 0; }
.foot-inner { display: flex; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; align-items: center; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-name { font-weight: 800; font-size: 1.15rem; }
.foot-small { color: var(--cream-soft); font-size: 0.95rem; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.foot-links a { color: var(--cream); min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 44px; }
  .hero-text { padding-bottom: 28px; }
  .hero-shot { max-width: 340px; }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-inner, .story-flip .story-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .story-flip .story-text { order: 0; }
  .story .shot { max-width: 340px; width: 100%; justify-self: center; }
  .split-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .priv-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 1.125rem; }
  .wrap { padding: 0 16px; }
  .board-grid { grid-template-columns: minmax(0, 1fr); }
  .board-cell { min-height: 0; }
  .exports { grid-template-columns: minmax(0, 1fr); }
  .closing-inner { padding: 20px; }
  .nav { gap: 0 14px; }
}

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