/* Wanderloop site styles. No inline styles anywhere: the CSP forbids them. */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/a/fonts/nunito-latin-ext-wght-normal.2c8d792869.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: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/a/fonts/nunito-latin-wght-normal.ba344451ea.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;
}

:root {
  color-scheme: light dark;
  --bg: #F7F9F7;
  --surface: #FFFFFF;
  --surface-2: #EEF4EF;
  --ink: #1D1D1F;
  --muted: #5F6064;
  --line: #DDE5DF;
  --accent: #2E8B57;          /* route line, large text, icons */
  --link: #1F6E43;            /* small text on light: 6.3:1 on --bg */
  --button: #267A4C;          /* white text on it: 5.3:1 */
  --button-ink: #FFFFFF;
  --known: rgba(110, 110, 115, .55);
  --shadow: 0 1px 2px rgba(20, 40, 28, .06), 0 18px 40px -12px rgba(20, 40, 28, .22);
  --radius: 24px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --measure: 40rem;
  --wide: 70rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0F0D;
    --surface: #161B18;
    --surface-2: #1C2420;
    --ink: #F5F5F7;
    --muted: #A1A1A6;
    --line: #26302B;
    --accent: #4CC38A;
    --link: #4CC38A;
    --button: #4CC38A;
    --button-ink: #06120C;
    --known: rgba(161, 161, 166, .5);
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 24px 50px -16px rgba(0, 0, 0, .7);
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
p { text-wrap: pretty; }

.skip {
  position: absolute; left: .75rem; top: -3rem;
  background: var(--surface); color: var(--ink); padding: .5rem 1rem; border-radius: 999px;
  z-index: 10;
}
.skip:focus { top: .75rem; }

.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */

.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem;
}
.brand picture { flex: none; }
.brand img { width: 36px; height: 36px; }
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 1.2rem); justify-content: flex-end; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 26rem) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding-block: .5rem; }
.site-nav a:hover { color: var(--link); }
.site-nav a[aria-current="page"] { color: var(--link); }
.site-nav .lang {
  border: 1.5px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .8rem 1.6rem; border-radius: 999px;
  background: var(--button); color: var(--button-ink);
  font-weight: 800; font-size: 1.05rem; text-decoration: none;
}
.button:hover { filter: brightness(1.08); }
.button svg { width: 1.25rem; height: 1.25rem; flex: none; }
.badge-link { display: inline-block; }
.badge-link img { height: 54px; width: auto; }

/* ---------- prose pages (privacy, support, press) ---------- */

.page { padding-block: clamp(1.5rem, 5vw, 3.5rem) 4rem; }
.prose { max-width: var(--measure); margin-inline: auto; }
.prose h1 { font-size: clamp(2rem, 6vw, 2.6rem); margin: 0 0 .4rem; }
.prose h2 { font-size: 1.3rem; margin: 2.4rem 0 .5rem; }
.prose h3 { font-size: 1.1rem; margin: 1.8rem 0 .3rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .35rem; }
.prose .meta { color: var(--muted); margin-top: 0; }
.prose .lead { font-size: 1.2rem; }

.contact-card {
  background: var(--surface); border-radius: var(--radius); padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow); margin: 1.6rem 0 2rem;
}
.contact-card p { margin: 0; }
.contact-card p + p { margin-top: .6rem; color: var(--muted); }
.contact-card .email { font-size: 1.35rem; font-weight: 800; overflow-wrap: anywhere; }

.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: .6rem; height: .6rem;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > :not(summary) { margin-top: 0; }
.faq details > p:last-child { padding-bottom: 1rem; margin-bottom: 0; }

.path { font-weight: 700; white-space: nowrap; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem;
  padding-block: 2rem 2.5rem;
}
.site-footer .row { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; margin: 0 0 .9rem; padding: 0; list-style: none; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--link); }
.site-footer .fine { font-size: .82rem; margin: 0; max-width: 46rem; }

/* ---------- 404 ---------- */

.lost { text-align: center; padding-block: 4rem 6rem; }
.lost svg { width: min(220px, 60vw); margin: 0 auto 1.5rem; }
.lost h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); margin: 0 0 .5rem; }
.lost p { color: var(--muted); margin: 0 0 .4rem; }

/* ---------- ink loop (signature motif) ---------- */

.ink { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ink-known { fill: none; stroke: var(--known); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  .ink.draw {
    /* paths carry pathLength="1000" */
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: ink 2.4s cubic-bezier(.6, .05, .3, 1) .3s forwards;
  }
  @keyframes ink { to { stroke-dashoffset: 0; } }
}

/* ---------- home ---------- */

.home section { padding-block: clamp(3rem, 9vw, 6.5rem); }
.home h2 { font-size: clamp(1.9rem, 5.5vw, 2.9rem); margin: 0 0 1rem; }
.home h3 { font-size: 1.15rem; margin: 0 0 .35rem; }

/* Phone: screenshot with a thin dark bezel, as in the app's own dark UI. */
.phone {
  width: min(300px, 64vw);
  border-radius: 46px; padding: 7px;
  background: #1A1F1C;
  box-shadow: var(--shadow), inset 0 0 0 1.5px #3A423D;
  position: relative;
}
.phone img { border-radius: 39px; width: 100%; }
.phone-sm { width: min(240px, 62vw); border-radius: 38px; padding: 6px; }
.phone-sm img { border-radius: 32px; }

/* Hero */
.home .hero { padding-block: clamp(1.5rem, 5vw, 4rem) clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-brand { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.4rem; font-weight: 800; font-size: 1.6rem; }
.hero-brand img { width: 64px; height: 64px; }
.hero h1 { font-size: clamp(2.5rem, 10vw, 4.4rem); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 1.1rem; max-width: 12ch; }
.pitch { font-size: clamp(1.1rem, 3.6vw, 1.3rem); color: var(--muted); max-width: 34rem; margin: 0 0 1.8rem; }
.cta { margin-bottom: .9rem; }
.hero-meta { color: var(--muted); font-size: .95rem; font-weight: 600; margin: 0; }

.hero-visual { position: relative; display: grid; place-items: center; padding: 2rem 0; }
.hero-visual .phone { z-index: 1; }
.hero-loop {
  position: absolute; inset: 50% auto auto 50%; width: min(520px, 118vw); height: auto;
  transform: translate(-50%, -50%);
}
.hero-loop .ink { stroke-width: 7; }
.hero-start { fill: var(--accent); stroke: var(--bg); stroke-width: 5; }

/* How it works: a real sequence, so it's numbered */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 3.5rem; }
.step { display: grid; gap: 1.5rem; justify-items: center; text-align: center; }
.step-text { max-width: 22rem; }
.step-num {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 2.5px solid var(--accent); color: var(--link); font-weight: 800; margin-bottom: .7rem;
}
.step p { color: var(--muted); margin: 0; }
.walk-visual { width: min(240px, 62vw); }
.walk-visual svg { width: 100%; }
.walk-dot { fill: var(--accent); stroke: var(--bg); stroke-width: 5; }
.walk-note { color: var(--muted); font-size: .95rem; margin: .4rem 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .walk-dot { animation: pulse 2.4s ease-in-out infinite; transform-origin: 200px 122px; }
  @keyframes pulse { 50% { transform: scale(1.25); } }
}

/* New streets */
.novelty { background: var(--surface-2); }
.novelty-grid { display: grid; gap: 2.5rem; justify-items: center; }
.novelty-text { max-width: 34rem; }
.novelty-text > p:first-of-type { color: var(--muted); }
.figure { margin: 1.6rem 0 1rem; line-height: 1; }
.figure-num { display: block; font-size: clamp(3.6rem, 16vw, 6rem); font-weight: 900; letter-spacing: -.03em; color: var(--accent); }
.figure-label { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.legend { display: flex; gap: 1.4rem; list-style: none; padding: 0; margin: 1.4rem 0; font-weight: 600; }
.legend li { display: flex; align-items: center; gap: .5rem; }
.swatch { width: 1.8rem; height: .45rem; border-radius: 999px; }
.swatch-new { background: var(--accent); }
.swatch-known { background: var(--known); }
.haul { margin: 0 0 .8rem; }
.haul dt { color: var(--muted); font-size: .95rem; }
.haul dd { margin: 0; font-size: 1.4rem; font-weight: 800; }
.collected { color: var(--muted); margin: 0; }

/* Feature list: open layout, no boxed cards */
.feature-list { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 2rem 2.5rem; }
.feature-list li { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .9rem; align-items: start; align-content: start; }
.feature-list .glyph { grid-row: span 2; }
.feature-list p { margin: 0; color: var(--muted); }
.glyph {
  width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 14px; background: var(--surface-2);
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.pttk-row { display: flex; gap: .4rem; margin-top: .6rem; }
.pttk { width: 1.9rem; height: 1.15rem; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; }
.pttk::after { content: ""; position: absolute; inset: 33% 0; }
.pttk-red::after { background: #D7262E; }
.pttk-blue::after { background: #1F5FC4; }
.pttk-green::after { background: #1E9A46; }
.pttk-yellow::after { background: #F5C400; }
.pttk-black::after { background: #111; }

/* Private */
.private-grid { display: grid; gap: 2.5rem; justify-items: center; }
.private-grid > div:last-child { max-width: 32rem; }
.private-grid p { font-size: 1.15rem; }

.home .home-faq { padding-top: 0; }

/* Closing call to action */
.end { text-align: center; border-top: 1px solid var(--line); }
.home .end h2 { max-width: 20ch; margin: 0 auto 1.6rem; }

@media (min-width: 48rem) {
  .feature-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .hero-visual { padding: 3rem 0; }
  .hero-loop { width: 540px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; align-items: start; }
  .step { grid-template-rows: auto 1fr; }
  .novelty-grid { grid-template-columns: 1fr auto; align-items: center; justify-items: start; gap: 5rem; }
  .feature-list { grid-template-columns: repeat(3, 1fr); }
  .private-grid { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 4rem; }
}
