/* Vacamp — the marketing site. One stylesheet, no framework, no third-party
   requests. The look is "Wayfinding", after the blue campsite signs along
   Europe's roads: sign blue carries information, road yellow marks the one
   thing to do, green only ever means a campsite has space. */

/* Overpass for headlines, numbers and buttons; Atkinson Hyperlegible for
   reading. Latin and latin-ext subsets, so campsite and place names render. */
@font-face {
  font-family: "Overpass";
  src: url("fonts/overpass-600-900-latin.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
  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: "Overpass";
  src: url("fonts/overpass-600-900-latin-ext.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  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: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-400-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  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: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-400-italic-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* The journal authors' hands: Elfriede writes in Kalam, Bo in Caveat,
   Oliver in Dancing Script. Only the latin subsets, self-hosted like the rest. */
@font-face {
  font-family: "Kalam";
  src: url("fonts/kalam.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dancing Script";
  src: url("fonts/dancing-script.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* The four colours with a job. */
  --sign: #1d4f91;
  --sign-deep: #163e73;
  --on-sign: #ffffff;
  --on-sign-2: #c9d8ee;
  --go: #f7c600;
  --go-edge: #d6ab00;
  --on-go: #15202b;
  --space: #0f8a4a;
  --asphalt: #15202b;

  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #eef1f5;
  --ink: #15202b;
  --muted: #4b5866;
  --faint: #6e7b89;
  --line: #d7dee6;
  --link: #1d4f91;
  --foot: #15202b;
  --on-foot: #e8edf2;
  --on-foot-2: #93a1b0;

  --display: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --sans: "Atkinson Hyperlegible", -apple-system, "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(21, 32, 43, 0.06), 0 10px 28px -14px rgba(21, 32, 43, 0.28);

  /* Each journal author's ink. */
  --ink-elfriede: #1f4fa8;
  --ink-bo: #cf4a17;
  --ink-oliver: #2b2b2b;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sign: #2a64b4;
    --sign-deep: #1f4f91;
    --on-sign-2: #cfddf2;
    --space: #33c47a;
    --bg: #0f171f;
    --surface: #18222d;
    --tint: #141e28;
    --ink: #e9eef4;
    --muted: #aab7c5;
    --faint: #8291a1;
    --line: #2a3644;
    --link: #8db8f0;
    --foot: #0a1016;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px -14px rgba(0, 0, 0, 0.7);
    --ink-elfriede: #9dbcff;
    --ink-bo: #ff9a6b;
    --ink-oliver: #e4e4e4;
  }
}

*, *::before, *::after { 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;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
main { outline: none; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--go); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -0.025em; line-height: 0.98; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.35rem); font-weight: 900; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.15; }
h1 em, h2 em { font-style: normal; }
p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 2 * clamp(1.25rem, 4vw, 2.25rem), 1180px); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * clamp(1.25rem, 4vw, 2.25rem), 720px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--go); color: var(--on-go); padding: 0.6rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

.kicker {
  font: 800 0.78rem/1.25 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--link);
  margin: 0 0 0.9rem;
}
.kicker a { color: inherit; text-decoration: none; }

/* ---- The sign plate ---------------------------------------------------- */

/* Blue, with the white inner line every road sign has. */
.plate {
  background: var(--sign);
  color: var(--on-sign);
  border-radius: 20px;
  box-shadow: inset 0 0 0 7px var(--sign), inset 0 0 0 9.5px var(--on-sign);
}
.plate a:not(.btn):not(.appstore) { color: var(--on-sign); }
.plate .kicker { color: var(--go); }

.arrow { width: 1em; height: 1em; flex: none; }

/* ---- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 50px; padding: 0.2rem 1.35rem 0;
  border-radius: 10px;
  background: var(--sign); color: var(--on-sign);
  font: 800 1.02rem/1 var(--display);
  text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn .arrow { width: 1.05em; height: 1.05em; margin-top: -0.15em; }
/* Road yellow: the one thing to do on a screen. */
.btn-go { background: var(--go); color: var(--on-go); box-shadow: inset 0 -3px 0 var(--go-edge); }
.btn-small { min-height: 42px; padding: 0.15rem 1rem 0; font-size: 0.95rem; border-radius: 9px; }
.appstore { display: inline-block; line-height: 0; }
.appstore img { width: 150px; height: 50px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---- Header ------------------------------------------------------------ */

.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.75rem; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; font: 900 1.55rem/1 var(--display); letter-spacing: -0.02em; }
.brand span { padding-top: 0.12em; }
.brand .mark { width: 26px; height: 36px; color: var(--sign); --mark-cut: var(--bg); }
.main-nav { display: flex; gap: clamp(1rem, 1.6vw, 1.6rem); margin-left: auto; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.98rem; padding: 0.35rem 0; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--go); }
.header-map .when-narrow { display: none; }
.header-account { display: grid; place-items: center; width: 42px; height: 42px; margin-right: -0.9rem; border-radius: 50%; color: var(--muted); }
.header-account:hover, .header-account[aria-current] { color: var(--ink); background: var(--tint); }
.header-account .person { width: 22px; height: 22px; }

/* The compact menu, for phones. A details element, so it needs no script. */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 24px; height: 24px; }
.menu[open] summary { background: var(--tint); }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); min-width: 15rem; padding: 0.5rem; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.menu nav a { padding: 0.75rem 0.9rem; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 700; }
.menu nav a:hover, .menu nav a[aria-current] { background: var(--tint); }

/* Six nav entries need about 980px; below that they fold into the menu. */
@media (max-width: 980px) {
  .header-inner { gap: 0.6rem; }
  .main-nav { display: none; }
  .menu { display: block; }
  .header-account { margin-left: auto; margin-right: 0; }
  .header-map { margin-left: 0; }
}
@media (max-width: 860px) {
  .header-inner { min-height: 62px; }
  .header-map .when-wide { display: none; }
  .header-map .when-narrow { display: inline; }
  .brand { font-size: 1.4rem; }
}

/* ---- Heroes ------------------------------------------------------------ */

.hero { padding-top: clamp(1rem, 2.5vw, 1.75rem); }
.hero-plate { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 2.5rem; padding: clamp(2.4rem, 5vw, 4rem) clamp(1.75rem, 5vw, 4rem); }
.hero-plate.has-figure, .hero-home .hero-plate { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.hero-text { max-width: 40rem; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em { color: var(--go); }
.hero-lead { font-size: 1.15rem; line-height: 1.55; color: var(--on-sign-2); margin: 0; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-top: 1.9rem; }
.hero-note { margin: 1rem 0 0; font-size: 0.92rem; color: var(--on-sign-2); }

.hero-figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 0 0 2.5px var(--on-sign); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit {
  position: absolute; right: 0.7rem; bottom: 0.5rem; z-index: 1; margin: 0;
  font-size: 0.72rem; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.photo-credit a { color: inherit; }

/* The homepage shows the map, it doesn't embed it: a phone with the app on it. */
.device-shot { justify-self: center; display: block; width: min(100%, 290px); border: 9px solid #0d1218; border-radius: 38px; overflow: hidden; background: #0d1218; box-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.55); transition: transform 0.2s ease; }
.device-shot:hover { transform: translateY(-3px); }
.device-shot img { width: 100%; height: auto; border-radius: 29px; }
@media (prefers-reduced-motion: reduce) { .device-shot { transition: none; } .device-shot:hover { transform: none; } }

@media (max-width: 860px) {
  .hero-plate.has-figure, .hero-home .hero-plate { grid-template-columns: minmax(0, 1fr); }
  .hero-plate { border-radius: 18px; box-shadow: inset 0 0 0 6px var(--sign), inset 0 0 0 8px var(--on-sign); }
  .hero-home .device-shot { width: min(100%, 220px); }
}

/* ---- Live total: the hero's live number -------------------------------- */

.live-kicker { display: flex; align-items: center; gap: 0.6rem; color: var(--space); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--space); box-shadow: 0 0 0 0 color-mix(in srgb, var(--space) 60%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--space) 0%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.plate .live-kicker, .live-total { --space: #62dc9a; }
.live-total { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.9rem; margin: 0 0 1.2rem; }
.live-total-num { font: 900 clamp(2.6rem, 5.4vw, 3.6rem)/1 var(--display); letter-spacing: -0.015em; font-variant-numeric: tabular-nums; color: var(--space); }
.live-total-label { flex: 1 1 12rem; font-weight: 700; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.3; color: var(--on-sign); }
.live-total-where { display: block; font-weight: 400; color: var(--on-sign-2); }

/* ---- Sections ---------------------------------------------------------- */

.section { padding: clamp(3.25rem, 7vw, 5rem) 0; }
.section-tint { background: var(--tint); }
.section-title { max-width: 24ch; margin-bottom: 2.2rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.more { font-weight: 700; }
.more a, a.more { text-decoration: none; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.split-top { align-items: start; }
.split h2 { max-width: 18ch; }
.prose-block { color: var(--muted); }
.prose-block p { font-size: 1.08rem; }
.prose-block p:last-child { margin-bottom: 0; }
.split-figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.split-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Steps are numbered like road shields, because they are a sequence. */
.shield {
  display: inline-grid; place-items: center; min-width: 2.9rem; height: 2.15rem; padding: 0.2rem 0.6rem 0;
  border-radius: 7px; background: var(--go); color: #15202b;
  font: 900 1.25rem/1 var(--display); box-shadow: inset 0 0 0 2px #15202b;
}
.steps { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem; }
.steps li { display: grid; gap: 0.75rem; align-content: start; }
.steps .shield { justify-self: start; }
.steps h3 { margin: 0.2rem 0 0; }
.steps p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2.2rem 2rem; }
.feature { display: grid; gap: 0.6rem; align-content: start; }
.feature h3 { margin: 0.3rem 0 0; }
.feature p { color: var(--muted); margin: 0; }
.picto { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 11px; background: var(--sign); color: var(--on-sign); box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 4.5px var(--on-sign); }
.picto svg { width: 26px; height: 26px; }
.features-3 .feature { border-top: 3px solid var(--sign); padding-top: 1.1rem; }

/* The old way against Vacamp: a faded sign beside a blue one, row by row. */
.versus { --gap: clamp(0.5rem, 2vw, 1.25rem); --full: #c8382b; width: calc(100% + 2 * var(--gap)); max-width: calc(54rem + 2 * var(--gap)); margin: 0 calc(-1 * var(--gap)); border-collapse: separate; border-spacing: var(--gap) 0; table-layout: fixed; }
.versus th, .versus td { padding: 1rem clamp(0.9rem, 2.4vw, 1.6rem); text-align: left; vertical-align: middle; }
.versus thead th { padding-top: 1.3rem; padding-bottom: 0.5rem; font: 800 0.8rem/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.versus td { font: 800 clamp(1.02rem, 2.3vw, 1.4rem)/1.25 var(--display); }
.versus td > span { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; align-items: center; }
.versus tbody tr:last-child td { padding-bottom: 1.4rem; }
.versus th:first-child, .versus td:first-child { background: var(--surface); color: var(--muted); }
.versus th:last-child, .versus td:last-child { background: var(--sign); color: var(--on-sign); }
.versus td:first-child { border-top: 1px solid var(--line); }
.versus td:last-child { border-top: 1px solid rgba(255, 255, 255, 0.22); }
.versus thead th { border-radius: var(--radius) var(--radius) 0 0; }
.versus tbody tr:last-child td { border-radius: 0 0 var(--radius) var(--radius); }
.versus .mark { width: 1.7rem; height: 1.7rem; padding: 0.3rem; border-radius: 50%; }
.versus .mark-cross { color: var(--full); background: color-mix(in srgb, var(--full) 14%, transparent); }
.versus .mark-tick { color: var(--sign-deep); background: #62dc9a; }
@media (prefers-color-scheme: dark) { .versus { --full: #ff8a7a; } }
@media (max-width: 560px) {
  .versus td > span { grid-template-columns: minmax(0, 1fr); gap: 0.45rem; }
  .versus .mark { width: 1.45rem; height: 1.45rem; }
}

/* Ready for AI: what the AI does, beside a request read the way the map reads it. */
.ai-points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.ai-points li { border-left: 3px solid var(--sign); padding-left: 1rem; }
.ai-points h3 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.ai-points p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.ai-points a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.askdemo { padding: clamp(1.4rem, 3.5vw, 2.2rem); display: grid; gap: 1.1rem; align-self: center; }
.askdemo-q { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; align-items: center; padding: 0.85rem 1.2rem; border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; line-height: 1.35; box-shadow: 0 8px 22px -12px rgba(0, 0, 0, 0.5); }
.askdemo-q .spark { width: 1.35rem; height: 1.35rem; color: var(--sign); }
.askdemo-label { margin: 0.3rem 0 0; font: 800 0.78rem/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-sign-2); }
.askdemo-read { margin: 0; display: grid; }
.askdemo-read div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.8rem; align-items: center; padding: 0.8rem 0; border-top: 2px solid rgba(255, 255, 255, 0.28); }
.askdemo-read div:first-child { border-top: 0; }
.askdemo-read dt { font-weight: 700; color: var(--on-sign-2); }
.askdemo-read dd { margin: 0; font: 800 1.2rem/1.25 var(--display); color: var(--on-sign); }
.askdemo .chip { display: inline-block; margin: 0.15rem 0.4rem 0.15rem 0; padding: 0.3rem 0.7rem 0.2rem; border-radius: 999px; background: #62dc9a; color: var(--sign-deep); font-size: 0.95rem; }
@media (max-width: 560px) {
  .askdemo-q { border-radius: 18px; }
  .askdemo-read div { grid-template-columns: 6rem minmax(0, 1fr); gap: 0.6rem; }
  .askdemo-read dt { white-space: nowrap; }
}

/* ---- Features page ----------------------------------------------------- */

/* The hero's second half is a direction sign to the page's sections. */
.hero-plate.has-signpost { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.signpost { display: grid; }
.plate .signpost a { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); gap: 0.85rem; align-items: center; padding: 0.7rem 0 0.6rem; border-top: 2px solid rgba(255, 255, 255, 0.28); color: var(--on-sign); text-decoration: none; font: 800 1.1rem/1.2 var(--display); }
.plate .signpost a:first-child { border-top: 0; }
.signpost .arrow { width: 1.3rem; height: 1.3rem; margin-top: -0.15em; }
.signpost a:hover span { text-decoration: underline; text-decoration-color: var(--go); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.feature-group { scroll-margin-top: 62px; }
.group-lead { color: var(--muted); font-size: 1.08rem; max-width: 40rem; margin: -1.3rem 0 2.2rem; }
.features + .more { margin: 2.4rem 0 0; }
/* Where a feature works: the web map, the app, Claude. */
.where { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.3rem 0 0; padding: 0; list-style: none; }
.where li { padding: 0.36rem 0.55rem 0.24rem; border: 1.5px solid var(--line); border-radius: 6px; color: var(--muted); font: 800 0.68rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.tag-new { display: inline-block; vertical-align: 0.2em; margin-left: 0.3rem; padding: 0.3rem 0.45rem 0.16rem; border-radius: 5px; background: var(--sign); color: var(--on-sign); font: 800 0.62rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.platform { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.6rem 1.6rem 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.platform h3 { margin: 0.3rem 0 0; }
.platform p { color: var(--muted); margin: 0; }
.platform .platform-link { margin-top: auto; padding-top: 0.4rem; font-weight: 700; }
.platform-link a { text-decoration: none; }
@media (max-width: 860px) {
  .hero-plate.has-signpost { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .plate .signpost a { font-size: 1rem; padding: 0.6rem 0 0.5rem; }
}

/* ---- Pricing page ------------------------------------------------------ */

/* Text for screen readers only. */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The hero's price board: one line per plan, the price in sign figures. */
.pricesign { margin: 0; display: grid; align-self: center; }
.pricesign div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.85rem 0 0.7rem; border-top: 2px solid rgba(255, 255, 255, 0.28); }
.pricesign div:first-child { border-top: 0; }
.pricesign dt { font: 800 1.2rem/1.2 var(--display); }
.pricesign dd { margin: 0; font: 900 clamp(2rem, 3.6vw, 2.7rem)/1 var(--display); color: var(--go); font-variant-numeric: tabular-nums; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.plan { display: flex; flex-direction: column; padding: 1.7rem 1.6rem 1.8rem; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--sign); border-radius: var(--radius); }
.plan h3 { margin: 0; }
.plan-price { margin: 0.6rem 0 0.3rem; font: 900 2.6rem/1 var(--display); letter-spacing: -0.02em; }
.plan-for { color: var(--muted); margin: 0 0 1.2rem; }
.ticks { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.6rem; }
.ticks li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: 0.6rem; align-items: start; }
.ticks .yes { margin-top: 0.15em; }
.plan-link { margin: auto 0 0; font-weight: 700; }
.plan-link a { text-decoration: none; }

.yes { width: 1.2rem; height: 1.2rem; color: var(--link); }
.no { color: var(--faint); font-weight: 700; }

/* The comparison matrix: one row per feature, one column per plan. */
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); font-size: 1rem; }
.matrix th, .matrix td { padding: 0.85rem 1rem; border-top: 1px solid var(--line); vertical-align: middle; }
.matrix thead th, .matrix thead td { border-top: 0; }
.matrix thead th { width: 17%; text-align: center; font: 800 1.05rem/1.2 var(--display); padding-top: 1.2rem; }
.matrix thead th > span:last-child { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: var(--muted); }
.matrix .when-narrow { display: none; }
.matrix tbody th { text-align: left; font-weight: 700; }
.matrix tbody th small { display: block; margin-top: 0.2rem; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.matrix tbody td { text-align: center; }
.matrix td .yes { display: inline-block; vertical-align: middle; }
.matrix .fig { font: 800 1.15rem/1 var(--display); font-variant-numeric: tabular-nums; }
.matrix .group th { padding: 1.6rem 1rem 0.6rem; text-align: left; font: 800 0.78rem/1.25 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); }
.matrix tbody .group:first-child th { padding-top: 0.9rem; }

.settled { padding: 1.8rem 2rem; }
.settled .kicker { margin-bottom: 0.4rem; }
.settled ul { list-style: none; margin: 0; padding: 0; }
.settled li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.8rem; align-items: center; padding: 0.85rem 0 0.75rem; border-top: 2px solid rgba(255, 255, 255, 0.28); font: 800 1.12rem/1.25 var(--display); }
.settled li:first-child { border-top: 0; }
.settled .arrow { width: 1.4rem; height: 1.4rem; margin-top: -0.15em; }

@media (max-width: 860px) {
  .settled { border-radius: 16px; box-shadow: inset 0 0 0 5px var(--sign), inset 0 0 0 7px var(--on-sign); padding: 1.4rem 1.5rem; }
}
@media (max-width: 600px) {
  .matrix { font-size: 0.9rem; }
  .matrix th, .matrix td { padding: 0.7rem 0.4rem; }
  .matrix tbody th { padding-left: 0.8rem; }
  .matrix thead th { width: 17%; font-size: 0.82rem; }
  .matrix .when-wide { display: none; }
  .matrix .when-narrow { display: inline; }
  .matrix tbody th small { font-size: 0.8rem; }
  .matrix .group th { padding-left: 0.8rem; }
}

/* ---- Quote band -------------------------------------------------------- */

.quote-band { position: relative; isolation: isolate; overflow: hidden; background: var(--asphalt); color: #fff; padding: clamp(4.5rem, 9vw, 6.5rem) 0; text-align: center; }
.quote-bg { position: absolute; inset: 0; z-index: -1; }
.quote-bg img { width: 100%; height: 100%; object-fit: cover; }
.quote-bg:has(img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 18, 24, 0.35), rgba(13, 18, 24, 0.72)); }
.quote-inner blockquote { margin: 0 0 2rem; }
.quote-inner blockquote p { font: 900 clamp(1.8rem, 3.4vw, 2.6rem)/1.08 var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }

/* ---- Journal ----------------------------------------------------------- */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.6rem; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .post-card { transition: none; } .post-card:hover { transform: none; } }
.post-card-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; height: 100%; }
.post-card-media { aspect-ratio: 3 / 2; background: var(--tint); }
.post-card-media img, .post-card-media svg { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.2rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card-body .kicker { margin-bottom: 0.55rem; font-size: 0.72rem; }
.post-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.post-card-link:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; text-decoration-color: var(--go); }
.post-card-body .post-card-desc { color: var(--muted); font-size: 0.97rem; margin: 0; }

.card-art .a-sky { fill: #c9d8ee; }
.card-art .a-sun { fill: var(--go); }
.card-art .a-far { fill: #6f8fb8; }
.card-art .a-near { fill: #1d4f91; }
.card-art .a-tent { fill: #f47c5c; }
.art-sea .a-sky { fill: #bcd4ea; } .art-sea .a-far { fill: #4f8a9a; } .art-sea .a-near { fill: #1f4f5a; }
.art-dusk .a-sky { fill: #e9a47a; } .art-dusk .a-far { fill: #9a5d52; } .art-dusk .a-near { fill: #3a2a33; }
.art-night .a-sky { fill: #14233a; } .art-night .a-far { fill: #26384d; } .art-night .a-near { fill: #0c1622; } .art-night .a-sun { fill: #fff4dc; }
.art-forest .a-sky { fill: #dde8d3; } .art-forest .a-far { fill: #6f9d78; } .art-forest .a-near { fill: #2f5a3f; }

/* A post: kicker, title, byline and photo, then one reading column. */
.post-head { padding-top: clamp(2.4rem, 6vw, 4rem); }
.post-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); margin-bottom: 1.3rem; }
.byline { display: flex; align-items: center; gap: 0.9rem; color: var(--pen, var(--muted)); }
.byline .author-drawing { width: 62px; }
.byline p { margin: 0; display: grid; gap: 0.15rem; }
.byline .hand { font-size: calc(1.6rem * var(--hand-size, 1)); line-height: 1; }
.post-meta { font-size: 0.9rem; color: var(--faint); }
.post-photo { position: relative; margin: 1.8rem 0 0; }
.post-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.post-photo figcaption { margin-top: 0.45rem; font-size: 0.78rem; color: var(--faint); }
.post-photo figcaption a { color: inherit; }
.post-body { padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 6vw, 4rem); }

/* ---- Story ------------------------------------------------------------- */

.story { padding: clamp(2.4rem, 5vw, 3.5rem) 0 0; }
.prose-story { font-size: 1.1rem; }
.prose-story h2 { margin-top: 2.2em; }
.prose-story h2:first-child { margin-top: 0; }
.dropcap::first-letter { float: left; font: 900 4.1em/0.8 var(--display); margin: 0.1em 0.1em 0 0; color: var(--link); }
.principles-wrap { background: var(--tint); padding: clamp(3rem, 7vw, 4.5rem) 0; margin: clamp(2.5rem, 6vw, 4rem) 0; }
.principles { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2.2rem 2rem; }
.principles li { counter-increment: p; }
.principles li::before {
  content: counter(p); display: inline-grid; place-items: center; min-width: 2.6rem; height: 2rem; padding: 0.2rem 0.5rem 0; margin-bottom: 0.9rem;
  border-radius: 7px; background: var(--go); color: #15202b; font: 900 1.15rem/1 var(--display); box-shadow: inset 0 0 0 2px #15202b;
}
.principles h3 { margin-bottom: 0.4rem; }
.principles p { color: var(--muted); margin: 0; }
.signoff { font: 800 1.45rem/1.35 var(--display); margin-top: 2rem; }
.signoff span { font: 700 0.95rem/1 var(--sans); color: var(--muted); }
.story + .cta { margin-top: 0; }

/* ---- Prose (reading pages) -------------------------------------------- */

.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 900; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--link); font-weight: 700; }
.prose .lead { font-size: 1.24rem; line-height: 1.55; color: var(--ink); }
.prose .aside { margin-top: 2.5em; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--tint); font-size: 1rem; }
.prose code { background: var(--tint); padding: 0.1em 0.35em; border-radius: 5px; font-size: 0.88em; }
.prose table { border-collapse: collapse; margin: 1.2rem 0 1.6rem; width: 100%; font-size: 0.97rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.8rem 0.6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .photo-figure { margin: 2rem 0; }
.prose .photo-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.prose .photo-figure figcaption { margin-top: 0.45rem; font-size: 0.78rem; color: var(--faint); }
.prose .photo-figure figcaption a { color: inherit; }
.prose .box { border-left: 4px solid var(--sign); background: var(--tint); border-radius: 0 var(--radius) var(--radius) 0; padding: 0.9rem 1.2rem; margin: 1.8rem 0; }
.prose .box p:last-child { margin-bottom: 0; }
.prose address { font-style: normal; font-size: 1.1rem; line-height: 1.7; }
.prose pre.letter {
  white-space: pre-wrap; font: 400 0.98rem/1.6 ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sign);
  border-radius: 12px; padding: 1.3rem 1.5rem; margin: 1.5rem 0; overflow-x: auto;
}
.prose-page main > .prose { padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem); }
.prose-page .prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }

/* ---- Account (the web app's island inside a site page) ----------------- */

.account-page { width: min(100% - 2 * clamp(1.25rem, 4vw, 2.25rem), 560px); padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem); }
.account-page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.7em; }
.h1-aside { font-weight: 600; color: var(--muted); font-size: 0.55em; letter-spacing: 0; }
.contact-card { display: inline-block; padding: 0.9rem 1.3rem; border-radius: 12px; background: var(--tint); font-weight: 700; font-size: 1.1rem; }
.contact-card a { text-decoration: none; }

.page-grid { padding: clamp(2.4rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 4.5rem); }
.page-grid .prose { max-width: 720px; }
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.4rem; font-size: 0.92rem; }
.toc .kicker { width: 100%; margin-bottom: 0.3rem; }
.toc a { padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.toc a:hover { border-color: var(--sign); }
.prose h2[id] { scroll-margin-top: 6rem; }

/* ---- Closing sign ------------------------------------------------------ */

.cta { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-plate { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; padding: clamp(2rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3.5rem); }
.cta-plate h2 { margin: 0 0 0.4rem; max-width: 18ch; }
.cta-plate p { margin: 0; color: var(--on-sign-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
@media (max-width: 860px) { .cta-plate { border-radius: 18px; box-shadow: inset 0 0 0 6px var(--sign), inset 0 0 0 8px var(--on-sign); } }

/* ---- Footer ------------------------------------------------------------ */

.site-footer { background: var(--foot); color: var(--on-foot); padding: 3.5rem 0 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--on-foot); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--go); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-brand .brand { color: var(--on-foot); margin-bottom: 1rem; }
.footer-brand .brand .mark { color: var(--on-foot); --mark-cut: var(--foot); }
.footer-brand p { max-width: 22rem; color: var(--on-foot-2); }
.site-footer nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer h2 { font: 800 0.75rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-foot-2); margin: 0.4rem 0 0.6rem; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.85rem; color: var(--on-foot-2); }
.footer-base p { margin: 0; }
.footer-base a { color: inherit; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---- Journal authors --------------------------------------------------- */

/* A post, card or filter link takes its author's hand and ink from by-<slug>.
   --hand-size evens out how large each face looks at the same font-size. */
.by-elfriede { --hand: "Kalam", "Bradley Hand", cursive; --hand-size: 1; --pen: var(--ink-elfriede); }
.by-bo { --hand: "Caveat", "Bradley Hand", cursive; --hand-size: 1.2; --pen: var(--ink-bo); }
.by-oliver { --hand: "Dancing Script", "Snell Roundhand", cursive; --hand-size: 1.1; --pen: var(--ink-oliver); }
.hand { font-family: var(--hand, var(--display)); letter-spacing: 0; }

.author-drawing { display: block; height: auto; flex: none; }

.prose .photo-figure.has-note { position: relative; }
.photo-note {
  position: absolute; right: 3%; bottom: 2rem; max-width: 80%;
  transform: rotate(-3deg);
  padding: 0.1em 0.55em; border-radius: 8px;
  background: var(--surface); color: var(--pen); box-shadow: var(--shadow);
  font-size: calc(1.3rem * var(--hand-size, 1)); line-height: 1.25;
}
.prose .post-ps { font-family: var(--hand); color: var(--pen); font-size: calc(1.3rem * var(--hand-size, 1)); line-height: 1.4; margin-top: 2.2rem; }
.post-signoff { color: var(--pen); font-size: calc(1.7rem * var(--hand-size, 1)); line-height: 1.25; text-align: right; margin: 1.8rem 0 0; transform: rotate(-1.5deg); }
.post-author { display: flex; gap: 1rem; align-items: flex-start; margin: 0 0 2rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--tint); font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.post-author .author-drawing { width: 56px; flex: none; color: var(--pen); margin-top: 0.2rem; }
.prose .post-author p { margin: 0; min-width: 0; }
.post-author-label { display: block; font: 800 0.72rem/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.35rem; }
.prose .post-more { text-align: right; font-size: 0.95rem; margin: 1.2rem 0 0; }

.prose .tips { background: var(--tint); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin: 1.8rem 0; font-size: 1rem; }
.prose .tips h3 { font: 800 0.78rem/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.6rem; }
.prose .tips ul { margin: 0; }

.post-card-body p.post-card-author { display: flex; align-items: center; gap: 0.55rem; margin: auto 0 0; padding-top: 1rem; color: var(--pen); }
.post-card-author .author-drawing { width: 40px; }
.post-card-author .hand { font-size: calc(1.3rem * var(--hand-size, 1)); line-height: 1; }

.author-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.4rem; }
.author-filter a { padding: 0.5rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 700; }
.author-filter a:hover { border-color: var(--pen, var(--sign)); }
.author-filter a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
