@font-face{font-family:"Bricolage Grotesque Variable";font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-ext-wght-normal.e808f16b56.woff2) format("woff2-variations"),url(/assets/bricolage-grotesque-latin-ext-wght-normal.e808f16b56.woff2) format("woff2");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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Bricolage Grotesque Variable";font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-wght-normal.a97804dc9f.woff2) format("woff2-variations"),url(/assets/bricolage-grotesque-latin-wght-normal.a97804dc9f.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:"Onest Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-latin-ext-wght-normal.391a9b24b5.woff2) format("woff2-variations"),url(/assets/onest-latin-ext-wght-normal.391a9b24b5.woff2) format("woff2");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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Onest Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-latin-wght-normal.67849bcc11.woff2) format("woff2-variations"),url(/assets/onest-latin-wght-normal.67849bcc11.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;}
/*
  OutPath website.
  Palette: the app's forest greens. One accent (moss in light, glow in dark);
  the closing band is the one surface that stays dark in both themes.
  Shape rule: buttons and the @name bar are pills, photos and cards 20px, the
  two photo windows (hero, sign-up) 28px, inputs 12px.
*/

:root {
  color-scheme: light dark;
  --paper: #f5f8f1;
  --surface: #fcfdfb;
  --surface-2: #e8efdf;
  --ink: #121a0d;
  --muted: #4c5944;
  --line: #d5dfc9;
  --line-strong: #7b8a70;
  --accent: #3a781c;
  --accent-hover: #2f6416;
  --accent-ink: #ffffff;
  --accent-soft: #dcebcb;
  --on-accent-soft: #1f430e;
  --danger: #9e1e16;
  --danger-ink: #ffffff;
  --danger-soft: #f7e2de;
  --shadow: 0 1px 2px rgb(18 26 13 / 0.06), 0 18px 40px -20px rgb(18 26 13 / 0.28);

  /* On photographs and on the closing band: the same in both themes. */
  --photo-ink: #ffffff;
  --photo-muted: #e3ecd9;
  --photo-ok: #b9f08f;
  --photo-bad: #ffc2b8;
  --scrim: 9 14 6;
  --band: #16290e;
  --band-line: transparent;
  --band-ink: #eef5e6;
  --band-muted: #bccfae;
  --glow: #9be36a;
  --glow-hover: #b3ee8a;
  --glow-ink: #0e140a;

  --font-display: "Bricolage Grotesque Variable", "Segoe UI", system-ui, sans-serif;
  --font-body: "Onest Variable", "Segoe UI", system-ui, sans-serif;

  --radius-card: 20px;
  --radius-window: 28px;
  --radius-input: 12px;
  --header-height: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1108;
    --surface: #121a0e;
    --surface-2: #1a2514;
    --ink: #e9f1e0;
    --muted: #a9b99c;
    --line: #2b3923;
    --line-strong: #6b7d61;
    --accent: #9be36a;
    --accent-hover: #b3ee8a;
    --accent-ink: #0e140a;
    --accent-soft: #213316;
    --on-accent-soft: #c9f0a8;
    --danger: #ffb4ab;
    --danger-ink: #3a0b07;
    --danger-soft: #3a1612;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 20px 44px -22px rgb(0 0 0 / 0.7);
    --band: #132010;
    --band-line: #2b3923;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

/* The width/height attributes reserve space before an image loads; without this,
   the height attribute wins over aspect-ratio and a portrait photo grows to 2400px. */
img,
video {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2.5rem, 1240px);
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--ease-out);
}

.btn:active:not(:disabled) {
  transform: translateY(1px) scale(0.98);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--ink);
}

.btn-danger {
  background: var(--danger);
  color: var(--danger-ink);
}

/* On a phone a long label may take two lines rather than run off the screen. */
@media (max-width: 480px) {
  .btn:not(.btn-sm) {
    max-width: 100%;
    padding-block: 0.7rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

.btn-sm {
  min-height: 42px;
  padding: 0 1.1rem;
  font-size: 0.95rem;
}

.btn.is-busy {
  position: relative;
  color: transparent;
}

.btn.is-busy::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent-ink);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-danger.is-busy::after {
  border-color: var(--danger-ink);
  border-right-color: transparent;
}

.btn-secondary.is-busy::after {
  border-color: var(--ink);
  border-right-color: transparent;
}

.btn-block {
  width: 100%;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

@media (prefers-color-scheme: light) {
  .text-link {
    color: var(--accent);
  }
}

/* ── Header ────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.header-row > .brand {
  margin-right: auto;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

/* On a phone the sign-up button stays in the bar, left of the menu button. */
.header-cta {
  order: 1;
}

.site-nav {
  order: 2;
}

@media (max-width: 400px) {
  .header-cta {
    padding-inline: 0.85rem;
  }
}

@media (max-width: 350px) {
  .header-row > .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

.menu-toggle [data-icon-close],
.menu-toggle[aria-expanded="true"] [data-icon-open] {
  display: none;
}

.menu-toggle[aria-expanded="true"] [data-icon-close] {
  display: block;
}

.menu {
  display: none;
}

.menu[data-open="true"] {
  display: flex;
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem 2rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-links a {
  display: block;
  padding: 0.7rem 0;
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
}

.menu-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
}

.menu-download {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
}

.menu-download:hover {
  color: var(--ink);
}

@media (min-width: 960px) {
  .header-row {
    gap: 1.5rem;
  }

  .header-row > .brand {
    margin-right: 1rem;
  }

  .site-nav {
    order: 0;
    flex: 1;
  }

  .header-cta {
    order: 0;
  }

  .menu-toggle {
    display: none;
  }

  .menu,
  .menu[data-open="true"] {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .menu-links {
    flex-direction: row;
    gap: 1.75rem;
  }

  .menu-links a {
    padding: 0.4rem 0;
    font-size: 0.98rem;
    color: var(--muted);
    transition: color 0.2s ease;
  }

  .menu-links a:hover {
    color: var(--ink);
  }

  .menu-download {
    font-size: 0.98rem;
  }
}

/* ── Sections ──────────────────────────────────────────────────────────── */

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-title {
  font-size: clamp(2.1rem, 1.1rem + 3vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  max-width: 20ch;
}

.section-lead {
  margin-top: 1.1rem;
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.15rem;
}

[data-reveal] {
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal-armed {
  opacity: 0;
  transform: translateY(26px);
}

.reveal-armed.reveal-in {
  opacity: 1;
  transform: none;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

/* A photo window just inside the page edges, the copy on a scrim at its foot. */
.hero {
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
}

.hero-frame {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: min(100% - clamp(1rem, 3vw, 2.5rem), 1480px);
  min-height: clamp(36rem, 84svh, 54rem);
  margin-inline: auto;
  border-radius: var(--radius-window);
  overflow: hidden;
  background: #2b2116;
  color: var(--photo-ink);
}

.hero-media,
.window-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media picture,
.hero-media img,
.window-photo picture,
.window-photo img {
  width: 100%;
  height: 100%;
}

.hero-media img,
.window-photo img {
  object-fit: cover;
}

.hero-media img {
  object-position: 50% 42%;
}

.hero-frame::before,
.signup-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(var(--scrim) / 0.92) 0%, rgb(var(--scrim) / 0.66) 40%, rgb(var(--scrim) / 0.14) 74%, rgb(var(--scrim) / 0) 100%),
    linear-gradient(100deg, rgb(var(--scrim) / 0.5) 0%, rgb(var(--scrim) / 0) 60%);
}

.hero-copy {
  width: 100%;
  max-width: 46rem;
  padding: clamp(1.25rem, 5vw, 4rem);
}

.hero-title {
  font-size: clamp(3rem, 1.1rem + 6.6vw, 6.75rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 760;
  max-width: 14ch;
  color: var(--photo-ink);
}

.hero-kicker {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--photo-muted);
}

.hero-sub {
  margin-top: 1.25rem;
  max-width: 40ch;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  color: var(--photo-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero .btn-primary {
  background: var(--glow);
  color: var(--glow-ink);
}

.hero .btn-primary:hover:not(:disabled) {
  background: var(--glow-hover);
}

/* A secondary button on a photograph. */
.btn-light {
  border-color: rgb(255 255 255 / 0.6);
  background: rgb(255 255 255 / 0.08);
  color: var(--photo-ink);
}

.btn-light:hover {
  border-color: var(--photo-ink);
  background: rgb(255 255 255 / 0.16);
}

.hero-note {
  margin-top: 0.9rem;
  font-size: 0.97rem;
  color: var(--photo-muted);
}

.hero :focus-visible {
  outline-color: var(--glow);
}

@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.9s var(--ease-out) both;
  }

  .rise-2 {
    animation-delay: 0.08s;
  }

  .rise-3 {
    animation-delay: 0.16s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* ── Steps and stories ─────────────────────────────────────────────────── */

.cta-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-top: 1.75rem;
}

.cta-or {
  color: var(--muted);
}

/* Account, app, trail: a real sequence, so it is numbered. */
.start-head .section-lead {
  max-width: 48ch;
}

.start-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: start;
}

.start-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
  counter-increment: start;
}

.start-step::before {
  content: counter(start);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.start-step h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.start-step p {
  color: var(--muted);
}

.start-step .text-link,
.start-step .store-soon {
  margin-top: 0.5rem;
}

@media (min-width: 760px) {
  .start-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}

.stories {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(4.5rem, 9vw, 8rem);
}

.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
}

.story + .story {
  margin-top: clamp(4rem, 9vw, 7.5rem);
}

.story-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface-2);
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-copy h2 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 1.15rem + 2.7vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  max-width: 17ch;
}

.story-text {
  margin-top: 1.1rem;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.15rem;
}

@media (min-width: 760px) {
  .story {
    grid-template-columns: 1fr 1fr;
  }

  .story-media img {
    aspect-ratio: 4 / 5;
    max-height: 44rem;
  }

  .story:nth-child(even) .story-media {
    order: 2;
  }
}

/* ── Premium ───────────────────────────────────────────────────────────── */

.premium-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.plan {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
}

.plan-premium {
  background: var(--accent-soft);
  border-color: transparent;
}

.plan h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.plan-premium h3,
.plan-premium li {
  color: var(--on-accent-soft);
}

.plan ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.plan li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.plan li .icon {
  margin-top: 0.15rem;
  color: var(--accent);
}

.plan-premium li .icon {
  color: var(--on-accent-soft);
}

.premium-note {
  margin-top: 1.5rem;
}

@media (min-width: 960px) {
  .premium-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .icon {
  transition: transform 0.3s var(--ease-out);
  color: var(--muted);
}

.faq-list details[open] summary .icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 1.4rem;
  max-width: 62ch;
  color: var(--muted);
}

.faq-answer a {
  color: var(--accent);
  font-weight: 600;
}

@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: 4fr 8fr;
  }

  .faq-grid .section-title {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
  }
}

/* ── Map page ────────────────────────────────────────────────────────── */

/* Edge to edge under the header, like a planner; the panel floats on it. */
.map-stage {
  position: relative;
  height: calc(100svh - var(--header-height));
  min-height: 34rem;
  max-height: 64rem;
  background: var(--surface-2);
}

.map-frame {
  position: absolute;
  inset: 0;
}

.map-status {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--muted);
  text-align: center;
}

.map-panel {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  left: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 2;
  width: min(27rem, calc(100% - 1.5rem));
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-title {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.map-lead {
  margin-top: 0.75rem;
  color: var(--muted);
}

.chips-label {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.chip {
  min-height: 44px;
  padding: 0 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.chip:hover {
  border-color: var(--ink);
}

.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.map-panel .cta-pair {
  margin-top: 1.25rem;
}

.map-frame .maplibregl-ctrl-attrib {
  font-size: 0.75rem;
}

@media (max-width: 759px) {
  .map-stage {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .map-panel {
    position: static;
    width: auto;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 1.25rem;
  }

  .map-frame {
    position: relative;
    height: 68svh;
  }
}

/* ── Closing band ──────────────────────────────────────────────────────── */

.band-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.75rem, 6vw, 4.5rem);
  border-radius: var(--radius-window);
  background: var(--band);
  border: 1px solid var(--band-line);
  color: var(--band-ink);
}

.band h2 {
  font-size: clamp(2.4rem, 1.2rem + 3.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 13ch;
  color: #ffffff;
}

.band-text {
  margin-top: 1rem;
  max-width: 44ch;
  font-size: 1.15rem;
  color: var(--band-muted);
}

.band .cta-pair {
  margin-top: 2rem;
}

.band .btn-primary {
  background: var(--glow);
  color: var(--glow-ink);
}

.band .btn-primary:hover:not(:disabled) {
  background: var(--glow-hover);
}

.band :focus-visible {
  outline-color: var(--glow);
}

.store {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.14);
}

.store h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.store-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--glow);
}

.store-note {
  font-size: 0.97rem;
  color: var(--muted);
}

.band .store-note {
  color: var(--band-muted);
}

.store-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1.5px dashed var(--line-strong);
  color: var(--muted);
  font-weight: 600;
}

.band .store-soon {
  border-color: rgb(255 255 255 / 0.45);
  color: var(--band-ink);
}

@media (min-width: 960px) {
  .band-inner {
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: 3rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.97rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-grid h2 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.footer-grid ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  display: inline-block;
  padding: 0.2rem 0;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand p {
  margin-top: 0.75rem;
  max-width: 30ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-langs a {
  margin-right: 0.75rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

/* ── Document pages ────────────────────────────────────────────────────── */

.page-head {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}

.page-title {
  /* "Datenschutzerklärung" is one word wider than a phone. */
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

.page-lead {
  margin-top: 1rem;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.2rem;
}

.doc-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 960px) {
  .doc-grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

.panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
}

.panel + .panel {
  margin-top: 1rem;
}

.panel h2 {
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.panel h2:focus {
  outline: none;
}

.panel > p,
.panel-text {
  margin-top: 0.75rem;
  color: var(--muted);
}

.panel-tint {
  background: var(--surface-2);
  border-color: transparent;
}

.steps {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.85rem;
  align-items: start;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--on-accent-soft);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.steps li span {
  padding-top: 0.2rem;
}

.bullets {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.bullets li {
  display: flex;
  gap: 0.65rem;
  color: var(--muted);
}

.bullets .icon {
  margin-top: 0.2rem;
  color: var(--accent);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Forms: label above, error below, 12px inputs. */

.form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-weight: 600;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  min-height: 50px;
  padding: 0 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-input);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.field input:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--accent) 45%, transparent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field-help {
  font-size: 0.93rem;
  color: var(--muted);
}

.field.has-error input {
  border-color: var(--danger);
  border-width: 2px;
}

.field-error {
  color: var(--danger);
  font-size: 0.95rem;
  font-weight: 500;
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 500;
}

.check input {
  width: 22px;
  height: 22px;
  margin: 0.15rem 0 0;
  accent-color: var(--danger);
  flex: none;
}

.status {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-input);
  background: var(--danger-soft);
  color: var(--ink);
}

.status.is-ok {
  background: var(--accent-soft);
  color: var(--on-accent-soft);
}

.consent a,
.captcha-note a {
  color: var(--accent);
  font-weight: 600;
}

.account-name {
  font-weight: 700;
  word-break: break-all;
}

.success-icon {
  width: 3rem;
  height: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Sign-up */

.signup {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.signup-main {
  max-width: 34rem;
}

.signup-main .page-head {
  padding-block: clamp(1.5rem, 4vw, 3rem) 0;
}

.signup-title {
  font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem);
}

.signup-card {
  margin-top: 1.75rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.signup-card .form {
  margin-top: 0;
}

.signup-step h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.signup-step h2:focus {
  outline: none;
}

.signup-step > p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.signup-step > .store-soon,
.signup-step > .btn {
  margin-top: 1.5rem;
}

.signup-note {
  margin-top: 1rem;
}

.signup-alt {
  margin-top: 0.5rem;
  color: var(--muted);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input {
  flex: 1;
}

.field .input-wrap.has-toggle input {
  padding-right: 3.4rem;
}

.field-toggle {
  position: absolute;
  right: 0.25rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.field-toggle:hover,
.field-toggle[aria-pressed="true"] {
  color: var(--ink);
}

.field-toggle svg[hidden] {
  display: none;
}

.field-status {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.benefits {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  gap: 0.75rem;
  color: var(--muted);
}

.benefits .icon {
  margin-top: 0.2rem;
  color: var(--accent);
}

.window-photo {
  display: none;
}

@media (min-width: 960px) {
  .signup-grid {
    grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
  }

  .signup-aside {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: min(46rem, calc(100svh - var(--header-height) - 3rem));
    margin-top: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius-window);
    overflow: hidden;
    background: #2b2116;
  }

  .window-photo {
    display: block;
  }

  .window-photo img {
    object-position: 50% 30%;
  }

  .benefits {
    padding: clamp(2rem, 3vw, 2.75rem);
  }

  .benefits li {
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--photo-ink);
  }

  .benefits .icon {
    color: var(--glow);
  }
}

@media (max-width: 959px) {
  .signup-aside::before {
    content: none;
  }
}

/* Legal documents */

.legal {
  max-width: 72ch;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.legal-meta {
  margin-top: 0.75rem;
  color: var(--muted);
}

.legal section {
  margin-top: 2.5rem;
}

.legal h2 {
  font-size: 1.45rem;
  letter-spacing: -0.015em;
}

.legal p {
  margin-top: 0.85rem;
  color: var(--muted);
}

.legal a {
  color: var(--accent);
  font-weight: 600;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
