:root {
  --bg: #040507;
  --bg-2: #080b11;
  --panel: rgba(255,255,255,.055);
  --panel-strong: rgba(255,255,255,.085);
  --stroke: rgba(255,255,255,.105);
  --stroke-soft: rgba(255,255,255,.065);
  --text: #fbfaf7;
  --muted: rgba(251,250,247,.72);
  --soft: rgba(251,250,247,.50);
  --gold: #c6ab7a;
  --gold-light: #ead7ad;
  --gold-faint: rgba(198,171,122,.12);
  --max: 1180px;
  --radius: 28px;
  --radius-lg: 44px;
  --shadow: 0 34px 110px rgba(0,0,0,.52);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -18%, rgba(198,171,122,.14), transparent 38rem),
    radial-gradient(circle at 12% 20%, rgba(48,74,118,.12), transparent 28rem),
    linear-gradient(180deg, #040507 0%, #070a10 44%, #040507 100%);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrapper { width: min(100% - 48px, var(--max)); margin: 0 auto; }
::selection { background: rgba(198,171,122,.35); color: var(--text); }
.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; padding: 10px 14px; border-radius: 12px; background: #fff; color: #111; z-index: 2000; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(4,5,7,.66);
  backdrop-filter: blur(20px) saturate(130%);
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.035em; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 14px 34px rgba(0,0,0,.38); }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--soft); font-size: .95rem; font-weight: 800; }
.nav-links a:hover, .footer-links a:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  color: var(--text);
  font-weight: 900;
  letter-spacing: -.01em;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.button:hover { transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.button.primary { color: #15100a; background: linear-gradient(135deg, var(--gold-light), var(--gold)); border-color: rgba(255,255,255,.24); box-shadow: 0 18px 55px rgba(198,171,122,.18); }
.button.disabled { opacity: .72; cursor: not-allowed; }

.section-dark { position: relative; overflow: hidden; }
.ambient { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(8px); opacity: .88; }
.ambient-one { width: 520px; height: 520px; right: -170px; top: 90px; background: radial-gradient(circle, rgba(198,171,122,.20), transparent 66%); }
.ambient-two { width: 460px; height: 460px; left: -210px; bottom: 30px; background: radial-gradient(circle, rgba(58,88,138,.16), transparent 68%); }

.hero { min-height: 880px; padding: 88px 0 54px; }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .86fr); gap: 56px; align-items: center; }
.hero-copy { max-width: 760px; }
.product-mark { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 36px; padding: 10px 14px 10px 10px; border: 1px solid var(--stroke); background: rgba(255,255,255,.045); border-radius: 24px; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.product-mark img { width: 64px; height: 64px; border-radius: 18px; }
.product-mark span { display: block; margin-bottom: 4px; color: var(--soft); font-size: .9rem; font-weight: 800; }
.product-mark strong { display: block; font-size: 1rem; letter-spacing: -.03em; }
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(1.75rem, 3.98vw, 3.78rem); line-height: .95; letter-spacing: -.07em; font-weight: 950; }
.lead { margin: 30px 0 0; max-width: 615px; color: var(--muted); font-size: clamp(1.18rem, 2.2vw, 1.46rem); line-height: 1.58; font-weight: 650; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-device { position: relative; min-height: 720px; display: grid; place-items: center; isolation: isolate; }
.device-halo { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(198,171,122,.28), rgba(198,171,122,.06) 38%, transparent 69%); filter: blur(2px); z-index: 0; }
.iphone { margin: 0; overflow: hidden; background: #080b11; border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow); }
.iphone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.iphone-main { position: relative; z-index: 3; width: min(405px, 82vw); border-radius: 46px; transform: translateY(10px); }
.iphone-shadow { position: absolute; z-index: 1; width: 270px; height: 540px; border-radius: 40px; opacity: .34; filter: saturate(.82) brightness(.78); }
.iphone-left { left: 0; top: 122px; transform: rotate(-9deg); }
.iphone-right { right: 0; top: 150px; transform: rotate(8deg); }
.hero-footnote { position: relative; z-index: 2; margin-top: 26px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; color: var(--soft); font-size: .92rem; font-weight: 800; }
.hero-footnote span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; background: rgba(255,255,255,.025); }

.overline { margin: 0 0 18px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 950; }
.manifesto { padding: 118px 0 90px; }
.manifesto-grid { display: grid; grid-template-columns: .35fr 1.05fr .72fr; gap: 42px; align-items: start; }
.manifesto h2 { margin: 0; max-width: 760px; font-size: clamp(1.25rem, 2.76vw, 2.93rem); line-height: 1.0; letter-spacing: -.06em; font-weight: 950; }
.manifesto p:last-child { margin: 10px 0 0; color: var(--muted); line-height: 1.72; font-size: 1.16rem; font-weight: 650; }

.principles-section { padding: 42px 0 114px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principles-grid article { min-height: 250px; padding: 28px; border: 1px solid var(--stroke-soft); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.028)); box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.principles-grid span, .showcase-card span, .walk-table span { display: inline-block; margin-bottom: 38px; color: var(--gold-light); font-size: .82rem; letter-spacing: .12em; font-weight: 950; }
.principles-grid h3, .showcase-card h3 { margin: 0 0 12px; font-size: 1.38rem; line-height: 1.08; letter-spacing: -.045em; font-weight: 950; }
.principles-grid p, .showcase-card p { margin: 0; color: var(--muted); line-height: 1.62; font-weight: 650; }

.screens-showcase { padding: 116px 0 128px; background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008)); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.showcase-head { text-align: center; max-width: 860px; }
.showcase-head h2 { margin: 0 auto; max-width: 760px; font-size: clamp(1.17rem, 2.59vw, 2.72rem); line-height: 1.0; letter-spacing: -.06em; font-weight: 950; }
.showcase-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.showcase-card { padding: 18px; border: 1px solid var(--stroke); border-radius: 38px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.03)); box-shadow: 0 28px 90px rgba(0,0,0,.34); }
.showcase-card.elevated { transform: translateY(-28px); border-color: rgba(198,171,122,.28); background: linear-gradient(145deg, rgba(198,171,122,.12), rgba(255,255,255,.04)); }
.showcase-phone { margin: 0 0 24px; overflow: hidden; border-radius: 32px; border: 1px solid rgba(255,255,255,.12); background: #050608; }
.showcase-phone img { width: 100%; aspect-ratio: 9 / 18; object-fit: cover; object-position: top center; }
.showcase-card div { padding: 0 8px 10px; }
.showcase-card span { margin-bottom: 14px; }

.walks-section { padding: 124px 0; }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 42px; align-items: end; margin-bottom: 44px; }
.split-head h2 { margin: 0; max-width: 780px; font-size: clamp(1.21rem, 2.59vw, 2.68rem); line-height: 1.0; letter-spacing: -.06em; font-weight: 950; }
.split-head > p { margin: 0; color: var(--muted); line-height: 1.72; font-size: 1.08rem; font-weight: 650; }
.walk-table { border-top: 1px solid var(--stroke); }
.walk-table article { display: grid; grid-template-columns: 76px minmax(0, 1fr) 170px; gap: 24px; align-items: center; min-height: 130px; padding: 26px 0; border-bottom: 1px solid var(--stroke-soft); }
.walk-table span { margin: 0; color: var(--soft); }
.walk-table h3 { margin: 0 0 8px; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.055em; font-weight: 950; }
.walk-table p { margin: 0; color: var(--muted); line-height: 1.54; font-weight: 650; }
.walk-table strong { color: var(--gold-light); font-size: .95rem; text-align: right; white-space: nowrap; }

.places-editorial { padding: 116px 0; background: rgba(255,255,255,.018); border-top: 1px solid rgba(255,255,255,.045); border-bottom: 1px solid rgba(255,255,255,.045); }
.places-layout { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 48px; align-items: end; }
.places-layout h2 { margin: 0; max-width: 720px; font-size: clamp(1.21rem, 2.59vw, 2.76rem); line-height: 1.0; letter-spacing: -.06em; font-weight: 950; }
.places-layout > p { margin: 0; color: var(--muted); line-height: 1.72; font-size: 1.08rem; font-weight: 650; }
.place-line { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px; }
.place-line span { padding: 12px 15px; border-radius: 999px; color: rgba(251,250,247,.78); background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); font-weight: 800; }
.place-line span:nth-child(3n) { color: var(--gold-light); background: rgba(198,171,122,.08); border-color: rgba(198,171,122,.18); }

.quiet-note { padding: 114px 0 54px; }
.quiet-box { display: grid; grid-template-columns: 1fr 480px; gap: 42px; align-items: center; padding: 42px; border-radius: var(--radius-lg); border: 1px solid var(--stroke); background: radial-gradient(circle at 15% 10%, rgba(198,171,122,.13), transparent 22rem), rgba(255,255,255,.045); box-shadow: 0 24px 90px rgba(0,0,0,.26); }
.quiet-box h2 { margin: 0; max-width: 700px; font-size: clamp(0.99rem, 1.99vw, 2.07rem); line-height: 1.04; letter-spacing: -.05em; font-weight: 950; }
.quiet-box p { margin: 0; color: var(--muted); line-height: 1.68; font-size: 1.08rem; font-weight: 650; }

.download { padding: 68px 0 112px; }
.download-box { text-align: center; padding: 54px 34px; border-radius: 48px; border: 1px solid rgba(198,171,122,.22); background: linear-gradient(145deg, rgba(198,171,122,.12), rgba(255,255,255,.035)); box-shadow: var(--shadow); }
.download-box img { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 24px; }
.download-box h2 { margin: 0; font-size: clamp(1.13rem, 2.59vw, 2.59rem); line-height: 1.0; letter-spacing: -.06em; font-weight: 950; }
.download-box p:not(.overline) { max-width: 620px; margin: 22px auto 32px; color: var(--muted); line-height: 1.66; font-weight: 650; }

.site-footer { border-top: 1px solid rgba(255,255,255,.075); padding: 32px 0; color: var(--soft); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 800; }
.footer-grid .brand img { width: 38px; height: 38px; }

.page-hero { padding: 88px 0 44px; }
.page-hero h1 { margin: 0; font-size: clamp(1.30rem, 3.02vw, 2.76rem); line-height: 1.0; letter-spacing: -.06em; font-weight: 950; }
.page-hero p { max-width: 780px; margin: 24px 0 0; color: var(--muted); font-size: 1.12rem; line-height: 1.7; font-weight: 650; }
.content { padding: 0 0 96px; }
.content-card { max-width: 920px; padding: 36px; border-radius: 32px; border: 1px solid var(--stroke); background: rgba(255,255,255,.055); }
.content-card h2 { margin: 34px 0 12px; font-size: 1.55rem; letter-spacing: -.04em; font-weight: 950; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: var(--muted); line-height: 1.72; font-weight: 650; }
.content-card ul { padding-left: 1.2rem; }
.content-card code { color: var(--gold-light); }
.notice { padding: 16px 18px; border-radius: 18px; background: rgba(198,171,122,.12); border: 1px solid rgba(198,171,122,.22); color: #f5e7c9; }

@media (max-width: 1100px) {
  .hero-layout, .manifesto-grid, .split-head, .places-layout, .quiet-box { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-device { min-height: 690px; }
  .manifesto-grid { gap: 20px; }
  .split-head, .places-layout { gap: 22px; }
  .split-head > p, .places-layout > p { max-width: 720px; }
}
@media (max-width: 900px) {
  .principles-grid, .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card.elevated { transform: none; }
  .showcase-card { max-width: 520px; margin: 0 auto; width: 100%; }
  .walk-table article { grid-template-columns: 54px 1fr; }
  .walk-table strong { grid-column: 2; text-align: left; }
}
@media (max-width: 720px) {
  .wrapper { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 70px; }
  .nav-links a:not(:last-child) { display: none; }
  .brand span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero { padding: 56px 0 38px; }
  .product-mark { margin-bottom: 28px; }
  .product-mark img { width: 56px; height: 56px; border-radius: 16px; }
  .hero h1 { font-size: clamp(1.40rem, 6.91vw, 2.16rem); }
  .lead { font-size: 1.08rem; }
  .hero-device { min-height: auto; margin-top: 12px; }
  .iphone-main { width: min(100%, 380px); border-radius: 36px; transform: none; }
  .iphone-shadow { display: none; }
  .hero-footnote { justify-content: flex-start; }
  .manifesto, .screens-showcase, .walks-section, .places-editorial, .principles-section { padding: 74px 0; }
  .principles-grid article { min-height: auto; padding: 24px; }
  .showcase-grid { margin-top: 34px; }
  .showcase-card { border-radius: 28px; }
  .showcase-phone { border-radius: 24px; }
  .walk-table article { grid-template-columns: 1fr; gap: 12px; min-height: auto; padding: 24px 0; }
  .walk-table strong { grid-column: auto; }
  .quiet-note { padding: 70px 0 34px; }
  .quiet-box, .download-box, .content-card { padding: 26px; border-radius: 32px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}


/* v12 contextual screenshots */
.showcase-grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
.showcase-grid-five .showcase-card { border-radius: 34px; }
.showcase-grid-five .showcase-card.elevated { transform: translateY(-22px); }
.showcase-grid-five .showcase-phone { border-radius: 28px; }
.showcase-grid-five .showcase-card h3 { font-size: 1.18rem; }
.showcase-grid-five .showcase-card p { font-size: .92rem; }
.places-layout-visual { grid-template-columns: minmax(0, .85fr) minmax(360px, .7fr); align-items: center; }
.places-layout-visual > div:first-child p:not(.overline) { margin: 22px 0 0; color: var(--muted); line-height: 1.72; font-size: 1.08rem; font-weight: 650; max-width: 560px; }
.places-showcase { position: relative; min-height: 600px; isolation: isolate; }
.places-showcase::before { content: ""; position: absolute; inset: 18% 5% 12%; border-radius: 50%; background: radial-gradient(circle, rgba(198,171,122,.18), rgba(198,171,122,.04) 45%, transparent 70%); filter: blur(2px); z-index: 0; }
.mini-phone { position: absolute; margin: 0; overflow: hidden; background: #080b11; border: 1px solid rgba(255,255,255,.14); border-radius: 34px; box-shadow: 0 34px 110px rgba(0,0,0,.42); z-index: 2; }
.mini-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mini-phone-left { width: 54%; height: 520px; left: 2%; top: 34px; transform: rotate(-5deg); opacity: .78; }
.mini-phone-right { width: 58%; height: 560px; right: 2%; top: 0; transform: rotate(4deg); z-index: 3; }
.arrival-box { grid-template-columns: minmax(0, 1fr) 360px; overflow: hidden; }
.arrival-box .overline { margin: 0 0 18px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 950; }
.arrival-box div > p:not(.overline) { margin-top: 22px; }
.arrival-phone { margin: -12px auto -170px; width: min(320px, 100%); height: 560px; overflow: hidden; border-radius: 34px; border: 1px solid rgba(255,255,255,.14); background: #080b11; box-shadow: 0 30px 100px rgba(0,0,0,.38); }
.arrival-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@media (max-width: 1180px) { .showcase-grid-five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .showcase-grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); } .showcase-grid-five .showcase-card.elevated { transform: none; } .places-layout-visual { grid-template-columns: 1fr; } .places-showcase { min-height: 540px; max-width: 520px; width: 100%; margin: 18px auto 0; } .arrival-box { grid-template-columns: 1fr; } .arrival-phone { margin: 24px auto -120px; } }
@media (max-width: 720px) { .showcase-grid-five { grid-template-columns: 1fr; } .showcase-grid-five .showcase-card { max-width: 520px; } .places-showcase { min-height: 480px; } .mini-phone-left { width: 56%; height: 430px; left: 0; top: 52px; } .mini-phone-right { width: 62%; height: 460px; right: 0; } .arrival-phone { height: 500px; } }

/* v13 mode-based structure */
.hero h1 { font-size: clamp(1.58rem, 3.58vw, 3.4rem); }
.manifesto h2 { font-size: clamp(1.14rem, 2.48vw, 2.64rem); }
.download-box h2 { font-size: clamp(1.02rem, 2.34vw, 2.34rem); }

.manifesto { padding: 108px 0 84px; }
.manifesto-grid-simple { grid-template-columns: minmax(0, 1.06fr) minmax(280px, .82fr); gap: 46px; align-items: center; }
.manifesto-grid-simple h2 { margin: 0; }
.manifesto-grid-simple p { margin: 0; color: var(--muted); line-height: 1.72; font-size: 1.12rem; font-weight: 650; max-width: 560px; }

.mode-section { padding: 108px 0; }
.mode-section-places { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.01)); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.mode-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, .92fr); gap: 54px; align-items: center; }
.mode-grid-reverse { grid-template-columns: minmax(360px, .98fr) minmax(0, .84fr); }
.mode-copy h2 { margin: 0; max-width: 720px; font-size: clamp(1.09rem, 2.34vw, 2.42rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 950; }
.mode-copy > p:not(.overline):not(.mode-note) { margin: 22px 0 0; color: var(--muted); line-height: 1.72; font-size: 1.08rem; font-weight: 650; max-width: 560px; }
.mode-note { margin: 24px 0 0; color: var(--soft); line-height: 1.65; font-size: .98rem; font-weight: 700; max-width: 640px; }
.mode-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; max-width: 620px; }
.mode-steps li { display: grid; gap: 6px; padding: 18px 20px; border-radius: 24px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.028)); box-shadow: 0 18px 55px rgba(0,0,0,.18); }
.mode-steps strong { font-size: 1.02rem; letter-spacing: -.03em; font-weight: 900; }
.mode-steps span { color: var(--muted); line-height: 1.62; font-weight: 650; }

.mode-visual { position: relative; min-height: 760px; isolation: isolate; }
.mode-visual::before { content: ""; position: absolute; inset: 10% 4% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(198,171,122,.18), rgba(198,171,122,.04) 44%, transparent 72%); filter: blur(2px); z-index: 0; }
.mode-phone { margin: 0; overflow: hidden; background: #080b11; border: 1px solid rgba(255,255,255,.14); border-radius: 38px; box-shadow: 0 34px 110px rgba(0,0,0,.42); }
.mode-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mode-visual-walks .mode-phone-primary { position: absolute; left: 0; top: 56px; width: 54%; height: 640px; z-index: 2; }
.mode-visual-walks .mode-phone-secondary { position: absolute; right: 0; top: 0; width: 54%; height: 620px; transform: rotate(5deg); z-index: 3; }
.mode-visual-places { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, .7fr); gap: 22px; align-items: center; }
.mode-visual-places::before { inset: 8% 10% 6%; }
.mode-visual-places .mode-phone-primary.large { width: 100%; height: 760px; z-index: 2; }
.mode-stack { display: grid; gap: 20px; position: relative; z-index: 3; }
.mode-phone-small { width: 100%; height: 368px; }

@media (max-width: 1100px) {
  .manifesto-grid-simple, .mode-grid, .mode-grid-reverse { grid-template-columns: 1fr; }
  .mode-grid, .mode-grid-reverse { gap: 30px; }
}

@media (max-width: 900px) {
  .mode-section { padding: 84px 0; }
  .mode-visual { min-height: auto; }
  .mode-visual-walks { min-height: 640px; max-width: 560px; width: 100%; margin: 0 auto; }
  .mode-visual-walks .mode-phone-primary { left: 0; top: 72px; width: 54%; height: 520px; }
  .mode-visual-walks .mode-phone-secondary { right: 0; top: 0; width: 54%; height: 500px; }
  .mode-visual-places { grid-template-columns: 1fr; max-width: 560px; width: 100%; margin: 0 auto; }
  .mode-visual-places .mode-phone-primary.large { height: 680px; }
  .mode-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-phone-small { height: 420px; }
}

@media (max-width: 720px) {
  .hero h1 { font-size: clamp(1.26rem, 6.4vw, 1.94rem); }
  .manifesto { padding: 74px 0 66px; }
  .manifesto-grid-simple p { font-size: 1.02rem; }
  .mode-copy h2, .download-box h2 { font-size: clamp(1rem, 6vw, 1.74rem); }
  .mode-copy > p:not(.overline):not(.mode-note), .mode-note { font-size: 1rem; }
  .mode-steps { gap: 12px; }
  .mode-steps li { padding: 16px 16px 17px; border-radius: 22px; }
  .mode-steps strong { font-size: .98rem; }
  .mode-visual-walks { min-height: 520px; }
  .mode-phone { border-radius: 30px; }
  .mode-visual-walks .mode-phone-primary { width: 56%; height: 420px; top: 68px; }
  .mode-visual-walks .mode-phone-secondary { width: 56%; height: 400px; }
  .mode-visual-places .mode-phone-primary.large { height: 560px; }
  .mode-stack { grid-template-columns: 1fr 1fr; gap: 14px; }
  .mode-phone-small { height: 270px; }
}

/* v14 hero logo + reordered sections + new walks trio */
.hero-logo-wrap { margin-bottom: 30px; }
.hero-logo { width: 124px; height: 124px; border-radius: 32px; box-shadow: 0 26px 80px rgba(0,0,0,.32); }

.mode-visual-walks-trio {
  min-height: 820px;
}
.mode-visual-walks-trio::before {
  inset: 6% 2% 10%;
}
.walk-screen {
  position: absolute;
}
.walk-screen-list {
  left: 0;
  top: 86px;
  width: 45%;
  height: 640px;
  z-index: 1;
  transform: rotate(-5deg);
  opacity: .78;
}
.walk-screen-detail {
  left: 24%;
  top: 18px;
  width: 44%;
  height: 710px;
  z-index: 2;
}
.walk-screen-compass {
  right: 0;
  top: 116px;
  width: 44%;
  height: 660px;
  z-index: 3;
  transform: rotate(5deg);
}

@media (max-width: 1100px) {
  .mode-visual-walks-trio { min-height: 760px; max-width: 620px; width: 100%; margin: 0 auto; }
  .walk-screen-list { left: 0; width: 44%; height: 580px; top: 120px; }
  .walk-screen-detail { left: 28%; width: 42%; height: 640px; top: 30px; }
  .walk-screen-compass { right: 0; width: 42%; height: 590px; top: 132px; }
}

@media (max-width: 900px) {
  .hero-logo { width: 108px; height: 108px; border-radius: 28px; }
  .mode-visual-walks-trio { min-height: 720px; }
  .walk-screen-list { width: 44%; height: 520px; top: 130px; }
  .walk-screen-detail { left: 29%; width: 42%; height: 580px; top: 46px; }
  .walk-screen-compass { width: 42%; height: 530px; top: 150px; }
}

@media (max-width: 720px) {
  .hero-logo-wrap { margin-bottom: 24px; }
  .hero-logo { width: 96px; height: 96px; border-radius: 24px; }
  .mode-visual-walks-trio { min-height: 560px; }
  .walk-screen { border-radius: 28px; }
  .walk-screen-list { width: 46%; height: 405px; top: 110px; }
  .walk-screen-detail { left: 28%; width: 44%; height: 450px; top: 35px; }
  .walk-screen-compass { width: 44%; height: 410px; top: 125px; }
}

/* v15 fixed Walks screenshot layout: stable row instead of overlapping absolute collage */
#walks-mode .mode-grid {
  grid-template-columns: 1fr;
  gap: 44px;
}
#walks-mode .mode-copy {
  max-width: 820px;
}
.mode-visual-walks-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  min-height: auto;
  max-width: none;
  width: 100%;
  margin: 0;
  align-items: start;
}
.mode-visual-walks-trio::before {
  inset: 12% 10% 4%;
  opacity: .72;
}
.walk-screen,
.walk-screen-list,
.walk-screen-detail,
.walk-screen-compass {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  transform: none;
  opacity: 1;
  z-index: 2;
}
.walk-screen-detail {
  transform: translateY(-22px);
  border-color: rgba(198,171,122,.26);
  background: linear-gradient(145deg, rgba(198,171,122,.09), rgba(255,255,255,.035));
}
.walk-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 900px) {
  .mode-visual-walks-trio {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 22px;
  }
  .walk-screen-detail {
    transform: none;
  }
}

@media (max-width: 720px) {
  .mode-visual-walks-trio {
    min-height: auto;
  }
  .walk-screen,
  .walk-screen-list,
  .walk-screen-detail,
  .walk-screen-compass {
    width: 100%;
    height: auto;
    top: auto;
    left: auto;
    right: auto;
  }
}

/* v16: Walks screenshots use the same large + stacked layout as Places */
#walks-mode .mode-grid {
  grid-template-columns: minmax(0, .84fr) minmax(360px, .98fr);
  gap: 54px;
  align-items: center;
}
#walks-mode .mode-copy {
  max-width: none;
}
.mode-visual-walks-like-places {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, .7fr);
  gap: 22px;
  align-items: center;
  min-height: 760px;
  max-width: none;
  width: 100%;
  margin: 0;
}
.mode-visual-walks-like-places::before {
  inset: 8% 10% 6%;
}
.mode-visual-walks-like-places .mode-phone-primary.large {
  width: 100%;
  height: 760px;
  z-index: 2;
}
.mode-visual-walks-like-places .mode-phone-small {
  width: 100%;
  height: 368px;
}
.mode-visual-walks-like-places .mode-stack {
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 3;
}

@media (max-width: 1100px) {
  #walks-mode .mode-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mode-visual-walks-like-places {
    grid-template-columns: 1fr;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    min-height: auto;
  }
  .mode-visual-walks-like-places .mode-phone-primary.large {
    height: 680px;
  }
  .mode-visual-walks-like-places .mode-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mode-visual-walks-like-places .mode-phone-small {
    height: 420px;
  }
}

@media (max-width: 720px) {
  .mode-visual-walks-like-places .mode-phone-primary.large {
    height: 560px;
  }
  .mode-visual-walks-like-places .mode-stack {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .mode-visual-walks-like-places .mode-phone-small {
    height: 270px;
  }
}

/* v17: mobile responsive refinement
   Desktop keeps the premium collage layout. Mobile gets a calmer, app-landing layout:
   text first, smaller phone previews, and horizontal scroll-snap for multiple screens. */
@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .wrapper {
    width: min(100% - 30px, var(--max));
  }

  .hero {
    padding: 48px 0 46px;
  }

  .hero-layout {
    gap: 30px;
  }

  .hero-logo-wrap {
    margin-bottom: 22px;
  }

  .hero-logo {
    width: 88px;
    height: 88px;
    border-radius: 22px;
  }

  .lead {
    margin-top: 20px;
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
    font-size: .92rem;
  }

  .hero-device {
    min-height: auto;
    margin: 4px auto 0;
    width: 100%;
    place-items: center;
  }

  .device-halo {
    width: 280px;
    height: 280px;
    opacity: .72;
  }

  .iphone-main {
    width: min(68vw, 270px);
    height: min(54svh, 500px);
    max-height: 500px;
    border-radius: 32px;
    transform: none;
  }

  .iphone-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .iphone-shadow {
    display: none;
  }

  .manifesto {
    padding: 66px 0 58px;
  }

  .manifesto-grid-simple {
    gap: 18px;
  }

  .manifesto-grid-simple p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .mode-section {
    padding: 74px 0;
  }

  .mode-grid,
  .mode-grid-reverse,
  #walks-mode .mode-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  #places-mode .mode-copy,
  #walks-mode .mode-copy {
    order: 1;
  }

  #places-mode .mode-visual,
  #walks-mode .mode-visual {
    order: 2;
  }

  .mode-copy h2 {
    font-size: clamp(1.08rem, 6vw, 1.82rem);
    line-height: 1.06;
    letter-spacing: -.055em;
  }

  .mode-copy > p:not(.overline):not(.mode-note),
  .mode-note {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .mode-steps {
    margin-top: 22px;
    gap: 10px;
  }

  .mode-steps li {
    padding: 15px 16px;
    border-radius: 20px;
    box-shadow: 0 14px 44px rgba(0,0,0,.16);
  }

  .mode-steps strong {
    font-size: .96rem;
  }

  .mode-steps span {
    font-size: .94rem;
    line-height: 1.54;
  }

  .mode-visual-places,
  .mode-visual-walks-like-places {
    display: flex;
    align-items: stretch;
    gap: 14px;
    width: calc(100% + 30px);
    max-width: none;
    min-height: auto;
    margin: 4px -15px 0;
    padding: 0 15px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mode-visual-places::-webkit-scrollbar,
  .mode-visual-walks-like-places::-webkit-scrollbar {
    display: none;
  }

  .mode-visual-places::before,
  .mode-visual-walks-like-places::before {
    display: none;
  }

  .mode-visual-places .mode-stack,
  .mode-visual-walks-like-places .mode-stack {
    display: contents;
  }

  .mode-visual-places .mode-phone,
  .mode-visual-walks-like-places .mode-phone,
  .mode-visual-places .mode-phone-primary.large,
  .mode-visual-walks-like-places .mode-phone-primary.large,
  .mode-visual-places .mode-phone-small,
  .mode-visual-walks-like-places .mode-phone-small {
    flex: 0 0 min(72vw, 286px);
    width: min(72vw, 286px);
    height: min(56svh, 520px);
    max-height: 520px;
    min-height: 0;
    border-radius: 30px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: none;
  }

  .mode-visual-places .mode-phone-small,
  .mode-visual-walks-like-places .mode-phone-small {
    flex-basis: min(64vw, 254px);
    width: min(64vw, 254px);
    height: min(50svh, 460px);
    opacity: .96;
  }

  .mode-phone img,
  .mode-phone-primary.large img,
  .mode-phone-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .mode-section .mode-visual::after {
    content: "Swipe screens";
    position: absolute;
    left: 15px;
    bottom: -10px;
    color: var(--soft);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .02em;
  }

  .download {
    padding: 56px 0 88px;
  }

  .download-box {
    padding: 30px 22px;
    border-radius: 34px;
  }

  .download-box img {
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
    border-radius: 20px;
  }

  .download-box h2 {
    font-size: clamp(1.08rem, 6vw, 1.8rem);
  }

  .download-box p:not(.overline) {
    margin: 18px auto 26px;
    font-size: 1rem;
  }
}

@media (max-width: 390px) {
  .iphone-main {
    width: min(66vw, 250px);
    height: min(52svh, 470px);
  }

  .mode-visual-places .mode-phone,
  .mode-visual-walks-like-places .mode-phone,
  .mode-visual-places .mode-phone-primary.large,
  .mode-visual-walks-like-places .mode-phone-primary.large {
    flex-basis: min(70vw, 260px);
    width: min(70vw, 260px);
    height: min(54svh, 480px);
  }

  .mode-visual-places .mode-phone-small,
  .mode-visual-walks-like-places .mode-phone-small {
    flex-basis: min(62vw, 230px);
    width: min(62vw, 230px);
    height: min(48svh, 420px);
  }
}


/* v18: mobile tutorial carousels using full, uncropped screenshots.
   Desktop remains on the existing premium layout. */
.mobile-tutorial-hero,
.mobile-tutorial-carousel {
  display: none;
}

@media (max-width: 760px) {
  .hero-device .iphone-main,
  .hero-device .iphone-shadow {
    display: none;
  }

  .mobile-tutorial-hero {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 0;
    position: relative;
    z-index: 3;
  }

  .mobile-tutorial-hero img {
    display: block;
    height: min(58svh, 520px);
    width: auto;
    max-width: min(70vw, 300px);
    object-fit: contain;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 28px 90px rgba(0,0,0,.42);
    background: #080b11;
  }

  .mobile-tutorial-hero figcaption {
    max-width: 280px;
    color: var(--soft);
    text-align: center;
    font-size: .86rem;
    line-height: 1.45;
    font-weight: 750;
  }

  #places-mode .mode-visual,
  #walks-mode .mode-visual {
    display: none;
  }

  #places-mode .mobile-tutorial-carousel,
  #walks-mode .mobile-tutorial-carousel {
    order: 2;
    display: flex;
    gap: 16px;
    width: calc(100% + 30px);
    margin: 2px -15px 0;
    padding: 0 15px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #places-mode .mobile-tutorial-carousel::-webkit-scrollbar,
  #walks-mode .mobile-tutorial-carousel::-webkit-scrollbar {
    display: none;
  }

  .tutorial-card {
    flex: 0 0 min(74vw, 320px);
    width: min(74vw, 320px);
    margin: 0;
    padding: 0 0 14px;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.105);
    background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.026));
    box-shadow: 0 22px 76px rgba(0,0,0,.28);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .tutorial-card img {
    display: block;
    height: min(58svh, 540px);
    width: auto;
    max-width: calc(100% - 18px);
    margin: 9px auto 0;
    object-fit: contain;
    border-radius: 28px;
    background: #080b11;
  }

  .tutorial-card figcaption {
    min-height: 3.6em;
    padding: 12px 16px 0;
    color: var(--muted);
    text-align: center;
    font-size: .88rem;
    line-height: 1.42;
    font-weight: 760;
  }

  #places-mode .mobile-tutorial-carousel::after,
  #walks-mode .mobile-tutorial-carousel::after {
    content: "Swipe";
    align-self: end;
    flex: 0 0 auto;
    margin: 0 10px 44px 0;
    color: var(--soft);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .04em;
  }

  .mode-section .mode-visual::after {
    content: none;
  }
}

@media (max-width: 390px) {
  .mobile-tutorial-hero img {
    height: min(56svh, 500px);
    max-width: min(68vw, 280px);
  }

  .tutorial-card {
    flex-basis: min(72vw, 286px);
    width: min(72vw, 286px);
  }

  .tutorial-card img {
    height: min(56svh, 500px);
  }

  .tutorial-card figcaption {
    font-size: .84rem;
  }
}


/* v19: hide explanatory step cards on mobile only */
@media (max-width: 760px) {
  #places-mode .mode-steps,
  #walks-mode .mode-steps {
    display: none;
  }

  #places-mode .mode-copy > p:not(.overline):not(.mode-note),
  #walks-mode .mode-copy > p:not(.overline):not(.mode-note) {
    margin-bottom: 22px;
  }
}


/* v21: mobile-only refinements. Desktop stays as in v20. */
@media (max-width: 760px) {
  /* Hero: tighter first-screen rhythm and centered CTA/copy */
  .hero {
    min-height: calc(100svh - 70px - env(safe-area-inset-top, 0px));
    padding: 8px 0 24px;
    display: grid;
    align-items: start;
  }

  .hero-layout {
    gap: 10px;
  }

  .hero-copy {
    max-width: 34rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    margin-inline: auto;
    margin-top: 0;
    max-width: 11.5em;
  }

  .lead {
    margin: 10px auto 0;
    max-width: 31rem;
    text-align: center;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
  }

  .hero-actions .button {
    margin-inline: auto;
  }

  .hero-device {
    margin-top: -2px;
  }

  .mobile-tutorial-hero {
    gap: 0;
  }

  .mobile-tutorial-hero img {
    height: min(47svh, 410px);
    max-width: min(62vw, 262px);
  }

  .mobile-tutorial-hero figcaption {
    display: none;
  }

  /* Mode sections: keep one compact portion of information per screen on phones. */
  #places-mode,
  #walks-mode {
    padding: 42px 0 40px;
  }

  #places-mode .mode-grid,
  #walks-mode .mode-grid {
    gap: 10px;
  }

  #places-mode .mode-copy,
  #walks-mode .mode-copy {
    margin-bottom: 0;
  }

  #places-mode .overline,
  #walks-mode .overline {
    margin-bottom: 9px;
  }

  #places-mode .mode-copy h2,
  #walks-mode .mode-copy h2 {
    max-width: 16.5em;
    font-size: clamp(1rem, 5.2vw, 1.5rem);
    line-height: 1.03;
  }

  #places-mode .mode-copy > p:not(.overline):not(.mode-note),
  #walks-mode .mode-copy > p:not(.overline):not(.mode-note) {
    margin: 12px 0 14px;
    max-width: 32rem;
    font-size: .94rem;
    line-height: 1.48;
  }

  #places-mode .mobile-tutorial-carousel,
  #walks-mode .mobile-tutorial-carousel {
    margin-top: -2px;
    padding-bottom: 8px;
    gap: 14px;
  }

  .tutorial-card {
    flex-basis: min(64vw, 272px);
    width: min(64vw, 272px);
    padding-bottom: 11px;
    border-radius: 30px;
  }

  .tutorial-card img {
    height: min(45svh, 398px);
    max-width: calc(100% - 16px);
    margin-top: 8px;
    border-radius: 24px;
  }

  .tutorial-card figcaption {
    min-height: 3em;
    padding: 10px 13px 0;
    font-size: .8rem;
    line-height: 1.34;
  }

  #places-mode .mode-note,
  #walks-mode .mode-note {
    display: none;
  }

  #places-mode .mobile-tutorial-carousel::after,
  #walks-mode .mobile-tutorial-carousel::after,
  .mode-section .mode-visual::after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 390px) {
  .mobile-tutorial-hero img {
    height: min(45svh, 390px);
    max-width: min(60vw, 238px);
  }

  .tutorial-card {
    flex-basis: min(62vw, 246px);
    width: min(62vw, 246px);
  }

  .tutorial-card img {
    height: min(42svh, 360px);
  }

  .tutorial-card figcaption {
    font-size: .78rem;
  }
}

/* v23: mobile screenshots +25% */
@media (max-width: 760px) {
  .mobile-tutorial-hero img {
    height: min(58.75svh, 512px);
    max-width: min(77.5vw, 328px);
  }

  .tutorial-card {
    flex-basis: min(80vw, 340px);
    width: min(80vw, 340px);
  }

  .tutorial-card img {
    height: min(56.25svh, 498px);
  }
}

@media (max-width: 390px) {
  .mobile-tutorial-hero img {
    height: min(56.25svh, 488px);
    max-width: min(75vw, 298px);
  }

  .tutorial-card {
    flex-basis: min(77.5vw, 308px);
    width: min(77.5vw, 308px);
  }

  .tutorial-card img {
    height: min(52.5svh, 450px);
  }
}


/* v24: desktop uses tutorial carousels with step highlighting */
.desktop-tutorial-shell {
  display: none;
}

@media (min-width: 761px) {
  #places-mode .mode-visual,
  #walks-mode .mode-visual,
  #places-mode .mobile-tutorial-carousel,
  #walks-mode .mobile-tutorial-carousel {
    display: none !important;
  }

  #places-mode .mode-copy { grid-column: 2; }
  #places-mode .desktop-tutorial-shell { grid-column: 1; }
  #walks-mode .mode-copy { grid-column: 1; }
  #walks-mode .desktop-tutorial-shell { grid-column: 2; }

  .desktop-tutorial-shell {
    display: block;
    width: min(100%, 560px);
    position: relative;
  }

  .desktop-tutorial-carousel {
    position: relative;
    padding: 0 46px;
  }

  .desktop-tutorial-viewport {
    overflow: hidden;
    border-radius: 38px;
  }

  .desktop-tutorial-track {
    display: flex;
    transition: transform .42s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
  }

  .desktop-tutorial-shell .tutorial-card {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    padding: 0 0 16px;
    border-radius: 36px;
    border: 1px solid rgba(255,255,255,.105);
    background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.026));
    box-shadow: 0 28px 90px rgba(0,0,0,.34);
  }

  .desktop-tutorial-shell .tutorial-card img {
    display: block;
    height: min(68svh, 710px);
    width: auto;
    max-width: calc(100% - 22px);
    margin: 11px auto 0;
    object-fit: contain;
    border-radius: 30px;
    background: #080b11;
  }

  .desktop-tutorial-shell .tutorial-card figcaption {
    min-height: 3.2em;
    padding: 14px 18px 0;
    color: var(--muted);
    text-align: center;
    font-size: .92rem;
    line-height: 1.42;
    font-weight: 760;
  }

  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(8,11,17,.82);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
  }

  .carousel-nav:hover {
    background: rgba(198,171,122,.16);
    border-color: rgba(198,171,122,.38);
  }

  .carousel-nav.prev { left: 0; }
  .carousel-nav.next { right: 0; }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.22);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
  }

  .carousel-dot.is-active {
    background: var(--gold);
    transform: scale(1.2);
  }

  .mode-steps li {
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
  }

  .mode-steps li.is-active {
    transform: translateY(-1px);
    border-color: rgba(198,171,122,.42);
    background: linear-gradient(145deg, rgba(198,171,122,.16), rgba(255,255,255,.05));
    box-shadow: 0 18px 60px rgba(198,171,122,.12);
  }

  .mode-steps li.is-active strong {
    color: #f3e1bd;
  }
}


/* v25 fixes: working desktop carousels, proper grid alignment, no captions on desktop */
@media (min-width: 761px) {
  #places-mode .desktop-tutorial-shell,
  #places-mode .mode-copy,
  #walks-mode .desktop-tutorial-shell,
  #walks-mode .mode-copy {
    grid-row: 1;
    align-self: center;
  }

  #places-mode .desktop-tutorial-shell { 
    justify-self: start;
  }

  #walks-mode .desktop-tutorial-shell {
    justify-self: end;
  }

  .desktop-tutorial-shell .tutorial-card figcaption {
    display: none;
  }

  .desktop-tutorial-shell .tutorial-card {
    padding-bottom: 0;
  }

  .desktop-tutorial-shell .tutorial-card img {
    height: min(72svh, 760px);
    max-width: calc(100% - 18px);
    margin-bottom: 10px;
  }

  .desktop-tutorial-viewport {
    overflow: hidden;
    border-radius: 38px;
  }

  .desktop-tutorial-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
  }

  .desktop-tutorial-shell .tutorial-card {
    min-width: 100%;
  }
}


/* v26: desktop uses raw screenshots + stronger synced highlight */
@media (min-width: 761px) {
  .desktop-tutorial-shell .tutorial-card img {
    object-fit: contain;
    background: #05070d;
    border-radius: 34px;
    box-shadow: 0 32px 110px rgba(0,0,0,.48);
  }

  .mode-steps li.is-active {
    transform: translateY(-2px) scale(1.015);
    border-color: rgba(198,171,122,.78);
    background: linear-gradient(145deg, rgba(198,171,122,.28), rgba(255,255,255,.07));
    box-shadow: 0 28px 90px rgba(198,171,122,.26), inset 0 0 0 1px rgba(243,225,189,.22);
  }

  .mode-steps li.is-active strong {
    color: #ffefcc;
  }

  .mode-steps li.is-active span {
    color: rgba(255,244,225,.92);
  }
}


/* v27: SEO/performance content layer + tablet refinement */
.faq {
  padding: 104px 0 92px;
  border-top: 1px solid rgba(255,255,255,.055);
  background:
    radial-gradient(circle at 18% 20%, rgba(198,171,122,.10), transparent 30rem),
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0));
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: 54px;
  align-items: start;
}

.faq-head h2 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(1.12rem, 2.25vw, 2.32rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 950;
}

.faq-head > p:not(.overline) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.68;
  font-weight: 650;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.058), rgba(255,255,255,.026));
  box-shadow: 0 18px 55px rgba(0,0,0,.16);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: -.025em;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 950;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 650;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .hero {
    min-height: auto;
    padding: 72px 0 74px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto;
  }

  .hero h1,
  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-device {
    min-height: 620px;
  }

  #places-mode .mode-grid,
  #walks-mode .mode-grid {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  #places-mode .mode-copy,
  #walks-mode .mode-copy {
    order: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
  }

  #places-mode .mode-copy h2,
  #walks-mode .mode-copy h2,
  #places-mode .mode-copy > p,
  #walks-mode .mode-copy > p,
  #places-mode .mode-steps,
  #walks-mode .mode-steps {
    margin-left: auto;
    margin-right: auto;
  }

  #places-mode .desktop-tutorial-shell,
  #walks-mode .desktop-tutorial-shell {
    order: 2;
    width: min(100%, 520px);
    margin: 0 auto;
    justify-self: center;
  }

  .desktop-tutorial-shell .tutorial-card img {
    height: min(62svh, 650px);
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .faq {
    padding: 58px 0 64px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-head h2 {
    font-size: clamp(1.05rem, 5.8vw, 1.78rem);
  }

  .faq-head > p:not(.overline) {
    margin-top: 16px;
    font-size: .96rem;
    line-height: 1.58;
  }

  .faq-list details {
    border-radius: 20px;
  }

  .faq-list summary {
    padding: 16px 17px;
    font-size: .96rem;
  }

  .faq-list details p {
    padding: 0 17px 17px;
    font-size: .94rem;
    line-height: 1.55;
  }
}

/* v28: mobile overflow hardening — keep carousels internal, never widen the page */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

@media (max-width: 760px) {
  body,
  .site-header,
  main,
  .section-dark,
  .mode-section,
  .site-footer {
    width: 100%;
    max-width: 100vw;
  }

  .wrapper {
    width: min(100% - 30px, var(--max));
    max-width: calc(100vw - 30px);
  }

  .hero-layout,
  .mode-grid,
  .mode-grid-reverse,
  #places-mode .mode-grid,
  #walks-mode .mode-grid,
  .faq-grid,
  .footer-grid {
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy,
  .mode-copy,
  .faq-head,
  .faq-list {
    min-width: 0;
    max-width: 100%;
  }

  #places-mode .mobile-tutorial-carousel,
  #walks-mode .mobile-tutorial-carousel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
    contain: layout paint;
  }

  #places-mode .mobile-tutorial-carousel::before,
  #walks-mode .mobile-tutorial-carousel::before {
    content: "";
    flex: 0 0 1px;
  }

  #places-mode .mobile-tutorial-carousel::after,
  #walks-mode .mobile-tutorial-carousel::after {
    content: "" !important;
    display: block !important;
    flex: 0 0 1px;
    width: 1px;
    margin: 0 !important;
  }

  .tutorial-card {
    max-width: min(80vw, 340px);
  }

  img,
  picture,
  video,
  canvas,
  svg {
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .tutorial-card {
    max-width: min(77.5vw, 308px);
  }
}

/* v29: desktop carousel surface matches the screenshot only */
@media (min-width: 761px) {
  .desktop-tutorial-shell {
    width: fit-content;
    max-width: 100%;
  }

  .desktop-tutorial-carousel {
    display: grid;
    grid-template-columns: 38px minmax(0, auto) 38px;
    align-items: center;
    gap: 16px;
    padding: 0;
  }

  .desktop-tutorial-viewport {
    width: auto;
    height: min(72svh, 760px);
    aspect-ratio: 1000 / 2048;
    overflow: hidden;
    border-radius: 34px;
    background: transparent;
  }

  .desktop-tutorial-track {
    height: 100%;
  }

  .desktop-tutorial-shell .tutorial-card {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 34px;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .desktop-tutorial-shell .tutorial-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: contain;
    border-radius: 34px;
    background: #05070d;
    box-shadow: 0 32px 110px rgba(0,0,0,.5);
  }

  .carousel-nav {
    position: static;
    transform: none;
  }

  .carousel-dots {
    margin-top: 18px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .desktop-tutorial-viewport {
    height: min(60svh, 620px);
  }
}

/* v30: center desktop carousel in its column + repair mobile swipe + clean mobile cards */
@media (min-width: 761px) {
  #places-mode .desktop-tutorial-shell,
  #walks-mode .desktop-tutorial-shell {
    justify-self: center !important;
    align-self: center;
  }
}

@media (max-width: 760px) {
  /* Keep the page locked horizontally, but allow the tutorial rail itself to swipe. */
  #places-mode .mobile-tutorial-carousel,
  #walks-mode .mobile-tutorial-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    contain: none !important;
  }

  #places-mode .mobile-tutorial-carousel::-webkit-scrollbar,
  #walks-mode .mobile-tutorial-carousel::-webkit-scrollbar {
    display: none;
  }

  /* Small end-spacers let the first and last card snap cleanly without widening the page. */
  #places-mode .mobile-tutorial-carousel::before,
  #walks-mode .mobile-tutorial-carousel::before,
  #places-mode .mobile-tutorial-carousel::after,
  #walks-mode .mobile-tutorial-carousel::after {
    content: "" !important;
    display: block !important;
    flex: 0 0 1px !important;
    width: 1px !important;
    min-width: 1px !important;
    margin: 0 !important;
  }

  #places-mode .mobile-tutorial-carousel > .tutorial-card,
  #walks-mode .mobile-tutorial-carousel > .tutorial-card {
    flex: 0 0 min(78vw, 330px) !important;
    width: min(78vw, 330px) !important;
    min-width: min(78vw, 330px) !important;
    max-width: min(78vw, 330px) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  #places-mode .mobile-tutorial-carousel > .tutorial-card img,
  #walks-mode .mobile-tutorial-carousel > .tutorial-card img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: min(58svh, 540px);
    margin: 0 auto !important;
    object-fit: contain;
    border-radius: 30px;
    background: #05070d;
    box-shadow: 0 22px 76px rgba(0,0,0,.34);
  }

  #places-mode .mobile-tutorial-carousel > .tutorial-card figcaption,
  #walks-mode .mobile-tutorial-carousel > .tutorial-card figcaption {
    display: block;
    width: fit-content;
    max-width: calc(100% - 8px);
    min-height: 0 !important;
    margin: 12px auto 0 !important;
    padding: 9px 13px !important;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.045);
    color: rgba(239,241,246,.78);
    text-align: center;
    font-size: .78rem;
    line-height: 1.34;
    font-weight: 760;
    box-shadow: none;
  }
}

@media (max-width: 390px) {
  #places-mode .mobile-tutorial-carousel > .tutorial-card,
  #walks-mode .mobile-tutorial-carousel > .tutorial-card {
    flex-basis: min(76vw, 300px) !important;
    width: min(76vw, 300px) !important;
    min-width: min(76vw, 300px) !important;
    max-width: min(76vw, 300px) !important;
  }

  #places-mode .mobile-tutorial-carousel > .tutorial-card img,
  #walks-mode .mobile-tutorial-carousel > .tutorial-card img {
    max-height: min(54svh, 470px);
    border-radius: 28px;
  }

  #places-mode .mobile-tutorial-carousel > .tutorial-card figcaption,
  #walks-mode .mobile-tutorial-carousel > .tutorial-card figcaption {
    font-size: .76rem;
    padding: 8px 12px !important;
  }
}


/* v31: mobile copy cleanup — captions explain the carousel, desktop keeps the fuller text */
@media (max-width: 760px) {
  #places-mode .mode-copy > .mode-intro,
  #walks-mode .mode-copy > .mode-intro {
    display: none !important;
  }

  #places-mode .mobile-tutorial-carousel,
  #walks-mode .mobile-tutorial-carousel {
    margin-top: 4px !important;
  }
}

/* v32: stronger tablet centering for desktop-style carousels */
@media (min-width: 761px) and (max-width: 1100px) {
  #places-mode .mode-grid,
  #walks-mode .mode-grid {
    align-items: center !important;
  }

  #places-mode .desktop-tutorial-shell,
  #walks-mode .desktop-tutorial-shell {
    align-self: center !important;
    justify-self: center !important;
    place-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content !important;
    max-width: 100% !important;
  }

  #places-mode .desktop-tutorial-carousel,
  #walks-mode .desktop-tutorial-carousel {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }

  #places-mode .desktop-tutorial-viewport,
  #walks-mode .desktop-tutorial-viewport {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
