/* Self-hosted (SIL Open Font License 1.1): Schibsted Grotesk, Instrument Sans, JetBrains Mono — latin subset. */
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/instrument-sans.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;font-display:swap;src:url(/fonts/jetbrains-mono.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-weight:500 800;font-display:swap;src:url(/fonts/schibsted-grotesk.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* Layout: a survey sheet. Construction lines and coordinate labels frame each section; one plan "snaps" onto the map in the hero. Single dark look, matching the app. */
:root {
  color-scheme: dark;
  --ink: #0f1923;        /* page ground, the app's background */
  --sheet: #1c2b3a;      /* raised surfaces */
  --rule: #2e4057;       /* construction lines */
  --teal: #2dd4bf;       /* the app's accent */
  --sky: #5aa9f0;        /* the logo's blue */
  --text: #f0f4f8;
  --muted: #8ba3bc;
  --ok: #22c55e;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
body {
  background: var(--ink); color: var(--text);
  font: 400 17px/1.6 var(--body);
  padding-inline: clamp(16px, 4vw, 48px);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
  background-attachment: fixed;
}
body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(ellipse at 50% 20%, rgba(15,25,35,.55), rgba(15,25,35,.94) 70%); pointer-events: none; z-index: 0; }
.wrap { position: relative; z-index: 1; max-width: 1140px; margin-inline: auto; }
a { color: var(--teal); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); }

/* top bar */
header.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; background: linear-gradient(var(--ink) 70%, transparent); }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--text); font: 800 22px/1 var(--display); letter-spacing: -0.02em; }
.brand svg { width: 32px; height: 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 6px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid var(--rule); color: var(--text); background: var(--sheet); transition: border-color .15s, background .15s; }
.btn:hover { border-color: var(--teal); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.btn.primary:hover { background: #5ee6d4; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 6vw, 72px) clamp(48px, 7vw, 96px); }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .for { margin-top: 26px; }

.map { position: relative; aspect-ratio: 1 / 1; max-width: 100%; border: 1px solid var(--rule); border-radius: 8px; background: #132130; overflow: hidden; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan { transform-box: view-box; transform-origin: 50% 50%; animation: snap 1.6s cubic-bezier(.2,.7,.2,1) .3s both; }
@keyframes snap { from { transform: translate(-40px, 30px) rotate(-9deg) scale(1.08); opacity: .55; } to { transform: none; opacity: 1; } }
.stamp { position: absolute; right: 14px; bottom: 14px; left: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 10px 12px; border-radius: 6px; background: rgba(15,25,35,.9); border: 1px solid var(--rule); font: 500 12px/1.4 var(--mono); color: var(--muted); }
.stamp b { color: var(--ok); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .plan { animation: none; } }
.map text { pointer-events: none; }
.hit [data-t] { cursor: pointer; transition: stroke .12s, fill .12s; outline: none; }
.lots [data-t]:hover, .lots [data-t].on { fill: rgba(139,163,188,.10); }
.hit [data-t]:hover, .hit [data-t].on, .hit [data-t]:focus-visible { stroke: #f0f4f8; }
.hint { position: absolute; left: 12px; bottom: 10px; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--muted); pointer-events: none; }
.tip { position: absolute; z-index: 2; width: min(250px, calc(100% - 24px)); padding: 12px 14px; border-radius: 8px; background: rgba(15,25,35,.96); border: 1px solid var(--rule); box-shadow: 0 10px 30px rgba(0,0,0,.4); pointer-events: none; font-size: 13px; line-height: 1.4; }
.tip .k { font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.tip .t { font: 700 15px/1.25 var(--display); margin: 5px 0 8px; }
.tip dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
.tip dt { color: var(--muted); }
.tip dd { margin: 0; }

/* sections */
section { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 48px; align-items: end; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 700; }
.sec-head p { color: var(--muted); max-width: 36em; }

/* PlanScan */
.scan { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-block: 16px; border-bottom: 1px dashed var(--rule); }
.steps li::before { content: counter(s); font: 500 13px/1 var(--mono); color: var(--teal); border: 1px solid var(--teal); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; }
.steps h3 { font-size: 18px; font-weight: 700; }
.steps p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.checks { background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; padding: 22px; }
.checks .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.checks .top strong { font: 700 18px/1.2 var(--display); }
.pill { font: 500 12px/1 var(--mono); padding: 6px 9px; border-radius: 999px; background: rgba(34,197,94,.14); color: var(--ok); white-space: nowrap; }
.checks table { width: 100%; border-collapse: collapse; font-size: 15px; }
.checks td { padding: 10px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.checks td:first-child { width: 28px; color: var(--ok); font-family: var(--mono); }
.checks td:first-child.na { color: var(--muted); }
.checks td:nth-child(2) { font-weight: 600; width: 40%; padding-right: 12px; }
.checks td:last-child { color: var(--muted); }
.checks .foot { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.cell { background: var(--ink); padding: 26px 24px 28px; display: grid; align-content: start; gap: 8px; }
.cell .label { color: var(--teal); }
.cell h3 { font-size: 20px; font-weight: 700; }
.cell p { color: var(--muted); font-size: 16px; }
.cell.wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 40px; background: var(--sheet); }
.sec-intro { display: grid; gap: 12px; align-content: start; }
.sec-intro h3 { font-size: 24px; line-height: 1.2; }
.sec-intro p:last-child { color: var(--text); opacity: .85; }
.cell.wide { align-items: center; }
.sec-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.sec-list li { color: var(--muted); font-size: 15px; padding-left: 14px; border-left: 2px solid var(--teal); }
.sec-list b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .cell.wide, .sec-list { grid-template-columns: 1fr; } }

/* modular */
.modular { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.modular h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin-top: 10px; }
.modular h2 + p { margin-top: 16px; color: var(--muted); max-width: 34em; }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; color: var(--text); background: var(--sheet); }
@media (max-width: 900px) { .modular { grid-template-columns: 1fr; } }

/* two places */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.place { border: 1px solid var(--rule); border-radius: 8px; padding: 28px; background: var(--sheet); display: grid; gap: 14px; align-content: start; }
.place h3 { font-size: 24px; }
.place ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.place li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--muted); font-size: 16px; }
.place li::before { content: "+"; font-family: var(--mono); color: var(--teal); }
.place li b { color: var(--text); font-weight: 600; }

/* voice */
.voice { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.say { display: grid; gap: 10px; }
.say div { font: 400 15px/1.4 var(--mono); padding: 12px 16px; border: 1px solid var(--rule); border-radius: 6px; background: var(--sheet); }
.say div::before { content: "› "; color: var(--teal); }

/* story + cta */
.story { display: grid; max-width: 820px; margin-inline: auto; text-align: center; }
.story blockquote { margin: 0; font: 700 clamp(24px, 3vw, 34px)/1.25 var(--display); text-wrap: balance; }
.story p { color: var(--muted); }
.cta { text-align: left; display: grid; gap: 18px; justify-items: start; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--teal); border-radius: 10px; background: linear-gradient(135deg, rgba(45,212,191,.12), rgba(90,169,240,.06)); }
.cta h2 { font-size: clamp(28px, 4vw, 44px); }
.cta p { color: var(--muted); max-width: 38em; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 32px 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--rule); }

@media (max-width: 900px) {
  .hero, .scan, .split, .voice, .story, .sec-head { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map { max-width: 560px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  header.bar .btn:not(.primary) { display: none; }
  .checks td:nth-child(2) { width: auto; }
}

/* (was inline) */
.brand-accent { color: var(--teal); }
.nav { display: flex; gap: 10px; }
.mt-14 { margin-top: 14px; }
.mt-10 { margin-top: 10px; }
figure.map { margin: 0; }
.voice-h { margin-top: 10px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.voice-p { margin-top: 16px; color: var(--muted); max-width: 32em; }
.voice-p.soon { margin-top: 14px; }
.pill.teal { background: rgba(45,212,191,.14); color: var(--teal); }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* 404 */
.notfound { padding-block: 96px 120px; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); }
.notfound .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
