/* Self-hosted fonts (SIL OFL 1.1, from Fontsource; licences in /fonts). No requests to Google. */
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/familjen-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/familjen-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/familjen-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

/* Layout: a working map. Ink on survey-paper, one magenta route line (the GPS/aviation convention)
   runs through the page as the single accent; product mock in the hero, then the trip from route to offerte. */
:root {
  --paper: #f2f4f1;        /* survey paper, faint green bias */
  --paper-2: #e6ebe6;      /* raised panels */
  --sheet: #fbfcfa;        /* app surfaces */
  --ink: #12282b;          /* deep pine ink */
  --ink-2: #4a5f61;        /* secondary text */
  --rule: #c9d3cf;         /* hairlines, contours */
  --route: #c2186b;        /* the magenta line */
  --route-soft: #f6d9e7;
  --water: #2f6f8f;
  --land: #dfe7dc;
  --ok: #2e7d4f;
  --font-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --font-data: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: 2.25rem;
  --step-4: clamp(2.5rem, 5.6vw, 4.25rem);
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1a1c; --paper-2: #15262a; --sheet: #112023; --ink: #e4ece9; --ink-2: #9fb2b0;
    --rule: #2a3e41; --route: #ff5fa2; --route-soft: #3c1a2b; --water: #6fb3d2; --land: #182b2c; --ok: #6cc893;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1a1c; --paper-2: #15262a; --sheet: #112023; --ink: #e4ece9; --ink-2: #9fb2b0;
  --rule: #2a3e41; --route: #ff5fa2; --route-soft: #3c1a2b; --water: #6fb3d2; --land: #182b2c; --ok: #6cc893;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--route); outline-offset: 3px; border-radius: 4px; }
.eyebrow { font: 500 0.78rem/1.2 var(--font-data); letter-spacing: 0.08em; text-transform: uppercase; color: var(--route); }
.lede { color: var(--ink-2); font-size: 1.125rem; max-width: 38rem; }
.num { font-family: var(--font-data); font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.2rem; border-radius: 999px; font: 600 1rem/1 var(--font-body); text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-route { background: var(--route); border-color: var(--route); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: .8rem; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; font: 700 1.35rem/1 var(--font-display); letter-spacing: -0.03em; }
.logo svg { flex: none; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; font-weight: 500; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.site-head .btn { padding: .6rem 1rem; font-size: .9rem; }
.langs { display: flex; gap: .15rem; font: 500 .78rem/1 var(--font-data); letter-spacing: .04em; }
.langs a { text-decoration: none; color: var(--ink-2); padding: .4rem .35rem; border-radius: 6px; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="page"] { color: var(--route); background: var(--route-soft); }
@media (max-width: 760px) { .nav { display: none; } .langs { margin-left: auto; } }
@media (max-width: 560px) { .site-head .btn { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; align-items: center; padding-block: 4.5rem 4rem; }
.hero h1 { font-size: var(--step-4); }
.hero h1 em { font-style: normal; color: var(--route); }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.pilot-tag { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; padding: .35rem .8rem .35rem .4rem; border-radius: 999px; background: var(--sheet); border: 1px solid var(--rule); font-size: .85rem; color: var(--ink-2); }
.pilot-tag b { background: var(--route); color: #fff; border-radius: 999px; padding: .15rem .55rem; font: 500 .72rem/1.4 var(--font-data); letter-spacing: .04em; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 3rem; } }

/* App mock */
.app { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 30px 60px -30px rgb(18 40 43 / .35), 0 2px 0 var(--rule); overflow: hidden; min-width: 0; }
.app-bar { display: flex; align-items: center; gap: .75rem; padding: .6rem .9rem; border-bottom: 1px solid var(--rule); font-size: .8rem; color: var(--ink-2); }
.app-bar .dots { display: flex; gap: 5px; }
.app-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.app-bar .crumb { font-family: var(--font-data); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.app-bar .timer { margin-left: auto; font-family: var(--font-data); color: var(--route); white-space: nowrap; }
.app-body { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); }
.days { list-style: none; margin: 0; padding: .5rem 0; border-right: 1px solid var(--rule); font-size: .8rem; }
.days li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .1rem .4rem; padding: .45rem .8rem; }
.days li + li { border-top: 1px dashed var(--rule); }
.days .d { font: 500 .7rem/1.6 var(--font-data); color: var(--ink-2); grid-row: span 2; }
.days .leg { font-weight: 600; line-height: 1.3; }
.days .meta { font-family: var(--font-data); font-size: .7rem; color: var(--ink-2); }
.days li.on { background: var(--route-soft); }
.map { position: relative; min-width: 0; background: var(--land); }
.map svg { display: block; width: 100%; height: auto; }
.map text { font-family: var(--font-body); font-size: 11px; fill: var(--ink); font-weight: 600; }
.map .km { font-family: var(--font-data); font-size: 9px; fill: var(--ink-2); font-weight: 400; }
.route-line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .route-line { stroke-dashoffset: 0; } }
.calc { border-top: 1px solid var(--rule); padding: .7rem .9rem .8rem; font-size: .78rem; display: grid; gap: .3rem; }
.calc .row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .9rem; align-items: baseline; }
.calc .row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calc .src { font-family: var(--font-data); color: var(--ink-2); font-size: .7rem; text-align: right; }
.calc .eur { font-family: var(--font-data); text-align: right; min-width: 4.5rem; }
.calc .total { border-top: 1px solid var(--ink); padding-top: .45rem; margin-top: .2rem; font-weight: 700; }
.calc .total .eur { color: var(--route); }
.sent { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 .9rem .9rem; }
.chip { font: 500 .7rem/1 var(--font-data); padding: .35rem .55rem; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2); background: var(--paper); }
.chip.ok { border-color: var(--ok); color: var(--ok); }
@media (max-width: 620px) { .app-body { grid-template-columns: minmax(0, 1fr); } .days { display: none; } }

/* Before / after */
.contrast { padding-block: 5rem; }
.contrast .wrap { display: grid; gap: 2.5rem; }
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.vs article { padding: 1.6rem; border-radius: 12px; display: grid; gap: .9rem; align-content: start; }
.vs .then { border: 1px dashed var(--rule); color: var(--ink-2); }
.vs .now { background: var(--ink); color: var(--paper); }
.vs .big { font: 700 var(--step-3)/1 var(--font-display); letter-spacing: -.02em; }
.vs .now .big { color: var(--route-soft); }
.vs ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
@media (max-width: 720px) { .vs { grid-template-columns: minmax(0, 1fr); } }

/* Steps along the route */
.how { padding-block: 5rem; background: var(--paper-2); border-block: 1px solid var(--rule); }
.how .wrap { display: grid; gap: 2.5rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 1.1rem; border-top: 3px solid var(--route); }
.steps li { position: relative; display: grid; gap: .6rem; align-content: start; padding-top: 3rem; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--sheet); border: 3px solid var(--route); display: grid; place-items: center; font: 600 .9rem/1 var(--font-data); color: var(--route); }
.steps { counter-reset: s; }
.steps p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .steps::before { top: 0; bottom: 0; left: 1.1rem; right: auto; border-top: 0; border-left: 3px solid var(--route); }
  .steps li { padding: 0 0 0 3.4rem; }
}

/* Modules */
.suite { padding-block: 5rem; }
.suite .wrap { display: grid; gap: 2.5rem; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; }
.head-row > div { display: grid; gap: .8rem; max-width: 40rem; }
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.modules section { padding: 1.4rem 1.2rem 1.6rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .5rem; align-content: start; }
.modules section + section { padding-left: 1.2rem; border-left: 1px solid var(--rule); }
.modules section:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.modules p { color: var(--ink-2); font-size: .92rem; }
.modules .tag { font: 500 .68rem/1 var(--font-data); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 960px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } .modules section:nth-child(4n+1) { padding-left: 1.2rem; border-left: 1px solid var(--rule); } .modules section:nth-child(2n+1) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .modules { grid-template-columns: minmax(0, 1fr); } .modules section, .modules section + section { padding-left: 0; border-left: 0; } }

/* Pricing */
.price { padding-block: 5rem; background: var(--ink); color: var(--paper); }
.price .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.price .eyebrow { color: var(--route-soft); }
.price .lede { color: color-mix(in srgb, var(--paper) 75%, var(--ink)); }
.price-copy { display: grid; gap: 1.2rem; }
.price-copy ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1rem; font-size: .92rem; }
.price-copy li::before { content: "✓"; color: var(--route-soft); margin-right: .5rem; font-weight: 700; }
.calc-card { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 1.6rem; display: grid; gap: 1.1rem; }
.formula { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .7rem; font-family: var(--font-display); }
.formula b { font-size: var(--step-3); letter-spacing: -.02em; }
.formula small { color: var(--ink-2); font: 400 .85rem/1.3 var(--font-body); }
.slider { display: grid; gap: .5rem; }
.slider label { display: flex; justify-content: space-between; font-weight: 600; }
.slider input { width: 100%; accent-color: var(--route); }
.sum { display: grid; gap: .35rem; border-top: 1px solid var(--rule); padding-top: 1rem; font-size: .95rem; }
.sum div { display: flex; justify-content: space-between; gap: 1rem; }
.sum .grand { font: 700 var(--step-2)/1.1 var(--font-display); }
.sum .founder { color: var(--route); font-weight: 600; }
.fine { font-size: .8rem; color: var(--ink-2); }
@media (max-width: 860px) { .price .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .price-copy ul { grid-template-columns: minmax(0, 1fr); } }

/* Switch + fit */
.switch { padding-block: 5rem; }
.switch .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; }
.switch .col { display: grid; gap: 1rem; align-content: start; }
.schemes { display: flex; flex-wrap: wrap; gap: .5rem; }
.schemes span { font: 600 .9rem/1 var(--font-display); padding: .55rem .8rem; border: 1.5px solid var(--ink); border-radius: 6px; }
.import { border: 1px solid var(--rule); border-radius: 12px; background: var(--sheet); padding: 1.3rem; display: grid; gap: .55rem; font-size: .9rem; }
.import .line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; font-family: var(--font-data); font-size: .8rem; border-bottom: 1px dashed var(--rule); padding-bottom: .45rem; }
.import .line span:last-child { color: var(--ok); }
@media (max-width: 860px) { .switch .wrap { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { padding-block: 4rem 5rem; border-top: 1px solid var(--rule); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; }
.faq details { border-bottom: 1px solid var(--rule); padding-block: 1rem; }
.faq summary { cursor: pointer; font: 600 1.08rem/1.35 var(--font-display); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-data); color: var(--route); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin-top: .6rem; max-width: 40rem; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }

/* Pilot form */
.pilot { padding-block: 5rem; background: var(--route-soft); border-top: 1px solid var(--rule); }
.pilot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.pilot .col { display: grid; gap: 1rem; }
form { display: grid; gap: .9rem; background: var(--sheet); border-radius: 14px; padding: 1.5rem; border: 1px solid var(--rule); }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select { font: inherit; padding: .7rem .8rem; border-radius: 8px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); min-width: 0; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--route); outline: none; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.form-done { font-weight: 600; color: var(--ok); }
@media (max-width: 860px) { .pilot .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .two { grid-template-columns: minmax(0, 1fr); } }

.site-foot { padding-block: 2.5rem; font-size: .85rem; color: var(--ink-2); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
