/* MachiSpot website — shared styles.
   2026-09-30: first look. Colours and fonts are the app's own (src/ui/theme.ts): forest greens,
   warm cream, adventure orange, discovery gold; Fraunces for headings, DM Sans for text.
   2026-10-13 (Michael): the makeover — today's dark green top + the look of "Machi's Tour" (the
   tutorial videos): dotted cream sections, phones with thick green edges, Machi with speech bubbles.
   Fonts are served from this site (no Google Fonts call), so a visit sends nothing to anyone but
   Cloudflare. */

@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --forest: #185B46; --deep: #103D32; --night: #0A2A21;
  --cream: #F7F5ED; --paper: #FBFAF5; --sage: #E5EDDF; --mint: #CFE3D2; --dotted: #F5F4EB;
  --orange: #E47B4D; --hl: #C9561F; --gold: #F4B84A; --gold-deep: #E6A42E; --water: #65AEB7;
  --ink: #203A32; --muted: #56675E; --line: #DCE3D6; --white: #FFFFFF;
  --on-dark: #F1F0D7; --on-dark-muted: #B9CDBF;
  --edge: #1E5A45; --bubble-line: #22302A; --bubble-ink: #16362B;
  --radius: 22px; --radius-lg: 30px;
  --shadow: 0 18px 50px rgba(10, 42, 33, .16);
  --shadow-soft: 0 6px 20px rgba(10, 42, 33, .08);
  --wrap: 1120px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: var(--deep); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(16, 61, 50, .95); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(241, 240, 215, .1); }
.site-header .bar { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.2px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--on-dark); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 10px 12px; border-radius: 999px; opacity: .9; transition: background .2s, opacity .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(241, 240, 215, .1); opacity: 1; }
.nav a.nav-cta { background: var(--gold); color: var(--deep); font-weight: 700; opacity: 1; padding: 10px 16px; }
.nav a.nav-cta:hover { background: #F8C565; }
@media (max-width: 719px) {
  .site-header .bar { gap: 6px; }
  .nav { width: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: -2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 13.5px; padding: 9px 11px; }
  .nav a.nav-cta { order: -1; }
}

/* ---------- "Open in Chrome" banner (2026-10-14) ----------
   Shown by site.js only on Android, inside another app's browser (Messenger, TikTok, Instagram…),
   where Google can't see the visitor's account and the test says "App not available". */
.inapp { background: var(--gold); color: var(--deep); border-bottom: 1px solid rgba(16, 61, 50, .18); }
.inapp .wrap { display: flex; gap: 14px; align-items: flex-start; padding-top: 16px; padding-bottom: 16px; }
.inapp .ico { flex: none; width: 44px; height: 44px; border-radius: 22px; background: var(--deep); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.inapp .ico svg { width: 22px; height: 22px; }
.inapp strong { display: block; font-size: 18px; line-height: 1.25; }
.inapp p { margin: 4px 0 0; font-size: 15px; line-height: 1.45; }
.inapp .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.inapp .btn-line { border-color: var(--deep); color: var(--deep); }
.inapp .btn-line:hover { background: rgba(16, 61, 50, .08); }
.inapp .how { font-size: 13.5px; margin-top: 10px; }
/* 2026-10-16: the gentler Samsung Internet tip (join page). */
.inapp.soft { background: #FDF1D6; }
.inapp.soft .ico { background: var(--gold); color: var(--deep); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 999px; border: 0; font-family: var(--text); font-weight: 700; font-size: 16.5px; text-decoration: none; line-height: 1.2; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--deep); box-shadow: 0 10px 28px rgba(244, 184, 74, .32); }
.btn-gold:hover { background: #F8C565; box-shadow: 0 14px 34px rgba(244, 184, 74, .42); }
.btn-ghost { color: var(--on-dark); border: 1.5px solid rgba(241, 240, 215, .4); background: rgba(241, 240, 215, .04); }
.btn-ghost:hover { background: rgba(241, 240, 215, .1); }
.btn-forest { background: var(--forest); color: var(--on-dark); box-shadow: 0 10px 26px rgba(24, 91, 70, .28); }
.btn-forest:hover { background: var(--deep); }
.btn-line { color: var(--forest); border: 1.5px solid var(--forest); background: transparent; }
.btn-line:hover { background: var(--sage); }
.btn-sm { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- shared type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--forest); }
.eyebrow.on-dark { color: var(--gold); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--deep); color: var(--on-dark); font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.tag.gold { background: var(--gold); color: var(--deep); }
.title { font-family: var(--display); font-weight: 600; letter-spacing: -1px; line-height: 1.06; margin: 14px 0 12px; font-size: clamp(34px, 4.8vw, 52px); color: var(--deep); text-wrap: balance; }
.on-dark .title, .title.on-dark { color: var(--on-dark); }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 620px; margin: 0; }
section { position: relative; }
section[id] { scroll-margin-top: 76px; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.dotted { background-color: var(--dotted); background-image: radial-gradient(rgba(16, 61, 50, .11) 1.3px, transparent 1.4px); background-size: 22px 22px; }
.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--deep); color: var(--on-dark); }

/* ---------- Machi's speech bubble (the tour videos' look) ---------- */
.bubble { position: relative; background: var(--white); border: 3px solid var(--bubble-line); border-radius: 20px; padding: 13px 18px 15px; color: var(--bubble-ink); }
.bubble .who { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: #6E7A74; }
.bubble p { margin: 0; font-weight: 700; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.24; }
.bubble .hl { color: var(--hl); }
.bubble::after { content: ""; position: absolute; left: 56px; bottom: -12px; width: 20px; height: 20px; background: var(--white); border-right: 3px solid var(--bubble-line); border-bottom: 3px solid var(--bubble-line); transform: rotate(45deg); }
.bubble.tail-right::after { left: auto; right: 44px; }

/* ---------- the app's screens, drawn (phones with thick edges) ---------- */
.phone { position: relative; width: 300px; height: 620px; flex: none; border: 9px solid var(--edge); border-radius: 46px; background: var(--cream); overflow: hidden; box-shadow: 0 30px 60px rgba(16, 61, 50, .22); font-size: 13px; line-height: 1.35; color: var(--ink); }
.phone.night { border-color: var(--night); box-shadow: 0 34px 60px rgba(0, 0, 0, .45); }
.phone .fill { position: absolute; inset: 0; }
.phone svg.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.scr-search { position: absolute; left: 12px; right: 12px; top: 16px; height: 42px; border-radius: 21px; background: var(--white); box-shadow: 0 4px 14px rgba(16, 61, 50, .14); display: flex; align-items: center; gap: 8px; padding: 0 14px; color: var(--muted); }
.scr-search svg { width: 16px; height: 16px; }
.scr-chips { position: absolute; left: 12px; top: 66px; display: flex; gap: 6px; }
.scr-chips span { padding: 6px 11px; border-radius: 999px; background: var(--white); font-size: 11px; font-weight: 700; }
.scr-chips span.on { background: var(--forest); color: var(--white); }
.mpin { position: absolute; width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid var(--white); box-shadow: 0 4px 10px rgba(10, 42, 33, .25); display: flex; align-items: center; justify-content: center; }
.mpin svg { width: 16px; height: 16px; transform: rotate(45deg); }
.mlabel { position: absolute; padding: 2px 7px; border-radius: 7px; background: var(--white); font-size: 10px; font-weight: 700; box-shadow: 0 2px 6px rgba(16, 61, 50, .15); white-space: nowrap; }
.mbtn { position: absolute; right: 12px; width: 42px; height: 42px; border-radius: 21px; background: var(--white); box-shadow: 0 4px 12px rgba(16, 61, 50, .18); display: flex; align-items: center; justify-content: center; }
.mbtn.go { background: var(--forest); box-shadow: 0 6px 16px rgba(16, 61, 50, .3); }
.mbtn svg { width: 19px; height: 19px; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 62px; background: var(--paper); border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; font-size: 9.5px; color: var(--muted); }
.tabbar .on { padding: 5px 12px; border-radius: 999px; background: var(--sage); color: var(--forest); font-weight: 700; }
.c-ramen { background: #D9622B; } .c-cafe { background: #8B5A3C; } .c-park { background: #2E8B57; }
.c-ice { background: #B0176F; } .c-drink { background: #6D5BB5; } .c-sight { background: #7A6A12; } .c-home { background: var(--forest); }
.scr-pad { position: absolute; left: 14px; right: 14px; }
.scr-h { font-family: var(--display); font-size: 21px; line-height: 1.12; }
.scr-small { font-size: 11.5px; color: var(--muted); }
.scr-cta { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; gap: 8px; }
.scr-cta span { flex: 1; min-height: 46px; border-radius: 999px; background: var(--forest); color: var(--white); font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; text-align: center; }
.scr-cta span.soft { background: var(--sage); color: var(--forest); }
.found-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: var(--white); border: 1.5px solid var(--forest); }
.found-row.off { border-color: var(--line); }
.found-row .t { width: 34px; height: 34px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.found-row .t svg { width: 17px; height: 17px; }
.found-row b { display: block; font-size: 13px; }
.found-row small { display: block; font-size: 10.5px; color: #7A5A00; font-weight: 700; }
.found-row .tick { margin-left: auto; width: 22px; height: 22px; flex: none; }
.found-row .tick.empty { border-radius: 11px; border: 2px solid #B8C4B4; }
.stop { display: flex; gap: 10px; align-items: flex-start; }
.stop .n { width: 24px; height: 24px; flex: none; border-radius: 12px; color: var(--white); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.stop b { display: block; font-size: 13.5px; }
.stop small { display: block; font-size: 11px; color: var(--muted); }
.leg { margin: 4px 0 4px 11px; padding-left: 21px; border-left: 2px dotted #B8C4B4; font-size: 11px; color: var(--muted); }
.stamps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 4px; text-align: center; font-size: 11px; font-weight: 700; }
.stamps span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stamps i { width: 58px; height: 58px; border-radius: 29px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 4px var(--white); }
.stamps i svg { width: 24px; height: 24px; }
.stamps .faded { color: #6F7B74; }
.stamps .faded i { border: 2px dashed #B8C4B4; box-shadow: none; }
.bar-track { height: 10px; border-radius: 5px; background: var(--sage); margin-top: 10px; overflow: hidden; }
.bar-track i { display: block; height: 10px; border-radius: 5px; background: var(--gold); }

/* ---------- home: hero ---------- */
.hero { background: var(--deep); color: var(--on-dark); overflow: hidden; }
.hero .roads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: 40px; }
.hero-copy { flex: 1 1 440px; min-width: 0; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -2px; margin: 22px 0 20px; }
.hero h1 .gold { color: var(--gold); display: block; }
.hero .sub { font-size: clamp(17.5px, 2.1vw, 20px); color: var(--on-dark-muted); max-width: 540px; margin: 0 0 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin-top: 18px; font-size: 14.5px; color: var(--on-dark-muted); display: flex; gap: 8px 18px; flex-wrap: wrap; }
.fine span { display: inline-flex; align-items: center; gap: 6px; }
.fine svg { width: 16px; height: 16px; color: var(--gold); }
.hero-art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero-stage { position: relative; width: 100%; max-width: 470px; height: 640px; }
.hero-stage .phone { position: absolute; right: 10px; top: 0; }
.hero-stage .bubble { position: absolute; left: 0; top: 70px; width: 212px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.hero-stage .bubble p { font-size: 19px; }
.hero-stage .machi { position: absolute; left: -6px; bottom: 0; width: 210px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .3)); animation: bob 6s ease-in-out infinite; }
@media (max-width: 520px) {
  .hero-stage { height: 600px; }
  .hero-stage .phone { right: 50%; transform: translateX(50%); }
  .hero-stage .bubble { top: auto; bottom: 200px; width: 196px; z-index: 2; }
  .hero-stage .bubble p { font-size: 17px; }
  .hero-stage .machi { width: 170px; z-index: 2; }
}
.share-strip { position: relative; border-top: 1px solid rgba(241, 240, 215, .1); }
.share-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: var(--on-dark-muted); }
.share-strip b { color: var(--on-dark); margin-right: 4px; }
.share-strip span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(241, 240, 215, .18); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- home: Machi's tour (tabs) ---------- */
.tour-tabs { display: none; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.js .tour-tabs { display: flex; }
.tour-next { display: none; }
.js .tour-next { display: inline-flex; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: #E1EADB; color: #3F5048; font: 700 15px var(--text); cursor: pointer; transition: background .15s; }
.chip:hover { background: #D5E2CE; }
.chip[aria-selected="true"] { background: var(--gold); color: var(--deep); }
.tour-step { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 40px; margin-top: 40px; }
.js .tour-step[hidden] { display: none; }
.tour-step.on .tour-machi img { animation: pop .45s cubic-bezier(.2, .8, .3, 1.3); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
.tour-machi { flex: 1 1 260px; max-width: 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.tour-machi img { width: 230px; margin-left: 10px; }
.tour-text { flex: 1 1 280px; max-width: 360px; }
.step-no { font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; color: var(--hl); }
.tour-text h3 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3vw, 34px); line-height: 1.1; color: var(--deep); margin: 8px 0 12px; }
.tour-text p { margin: 0 0 22px; color: var(--muted); }
@media (max-width: 719px) {
  .tour-machi { max-width: 360px; flex-direction: row; align-items: flex-end; }
  .tour-machi .bubble { order: 2; flex: 1; }
  .tour-machi .bubble::after { left: -12px; bottom: 26px; transform: rotate(135deg); }
  .tour-machi img { width: 120px; margin: 0; }
  .tour-machi .bubble p { font-size: 17px; }
}

/* ---------- home: plan with friends ---------- */
.friends-grid { display: flex; flex-wrap: wrap-reverse; align-items: center; justify-content: center; gap: 40px 64px; }
.friends-art { position: relative; width: 340px; max-width: 100%; height: 640px; flex: none; }
.friends-art .phone { position: absolute; left: 20px; top: 0; }
.friends-art .machi { position: absolute; right: -40px; bottom: -10px; width: 150px; }
@media (max-width: 420px) { .friends-art .machi { right: -6px; width: 120px; } .friends-art .phone { left: 50%; transform: translateX(-50%); } }
.friends-copy { flex: 1 1 380px; max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .ic { width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--sage); display: flex; align-items: center; justify-content: center; color: var(--forest); }
.ticks .ic svg { width: 20px; height: 20px; }
.ticks b { display: block; }
.ticks span span { color: var(--muted); font-size: 15.5px; }
.chat-top { position: absolute; left: 0; right: 0; top: 0; height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.faces { display: flex; }
.faces i { width: 28px; height: 28px; border-radius: 14px; border: 2px solid var(--paper); margin-left: -10px; }
.faces i:first-child { margin-left: 0; }
.pinned { position: absolute; left: 10px; right: 10px; top: 68px; border-radius: 20px; background: var(--deep); color: var(--on-dark); padding: 12px; }
.pinned small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 1.4px; color: var(--gold); }
.pinned .dots { display: flex; align-items: center; gap: 4px; margin: 8px 0 10px; }
.pinned .dots i { width: 18px; height: 18px; border-radius: 9px; flex: none; }
.pinned .dots s { flex: 1; border-top: 2px dotted rgba(241, 240, 215, .5); }
.pinned .row { display: flex; gap: 6px; }
.pinned .row span { flex: 1; min-height: 34px; border-radius: 999px; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 1.5px solid rgba(241, 240, 215, .4); }
.pinned .row span.gold { background: var(--gold); color: var(--deep); border: 0; }
.msgs { position: absolute; left: 12px; right: 12px; top: 232px; display: flex; flex-direction: column; gap: 10px; }
.msg { align-self: flex-start; max-width: 80%; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: var(--white); border: 1px solid var(--line); }
.msg.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--forest); color: var(--white); border: 0; }
.msg-who { font-size: 10px; font-weight: 700; color: var(--muted); margin: 0 0 -6px 6px; }
.shared { align-self: flex-start; width: 78%; border-radius: 16px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.shared .top { display: flex; gap: 8px; align-items: center; padding: 10px; }
.shared .top i { width: 32px; height: 32px; border-radius: 10px; flex: none; }
.shared .add { border-top: 1px solid var(--line); padding: 8px 10px; font-size: 11.5px; font-weight: 700; color: var(--forest); }
.chat-input { position: absolute; left: 10px; right: 10px; bottom: 12px; min-height: 44px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 16px; color: var(--muted); }

/* ---------- home: also inside ---------- */
.inside { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; margin-top: 34px; }
.mcard { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 22px 24px 26px; transition: transform .25s ease, box-shadow .25s ease; }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mcard img { width: 108px; margin-bottom: 10px; }
.mcard h3 { margin: 0 0 6px; font-size: 20px; color: var(--deep); }
.mcard p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- home: radar band ---------- */
.radar-band { background: var(--deep); color: var(--on-dark); border-radius: 36px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.radar-band .copy { flex: 1 1 360px; }
.radar-band .title { margin-top: 10px; }
.radar-band p { margin: 0 0 24px; color: var(--on-dark-muted); font-size: 18px; max-width: 480px; }
.bloom { flex: 0 1 380px; position: relative; height: 300px; min-width: 260px; }
.bloom .ring { position: absolute; left: 50%; top: 50%; width: 270px; height: 270px; margin: -135px 0 0 -135px; border-radius: 50%; border: 2px dashed rgba(241, 240, 215, .22); animation: spin 40s linear infinite; }
.bloom .b { position: absolute; width: 50px; height: 50px; border-radius: 25px; border: 3px solid var(--deep); display: flex; align-items: center; justify-content: center; animation: bob 5s ease-in-out infinite; }
.bloom .b svg { width: 22px; height: 22px; }
.bloom .b:nth-child(odd) { animation-delay: -2.5s; }
.bloom img { position: absolute; left: 50%; top: 50%; width: 190px; transform: translate(-50%, -50%); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- promises ---------- */
.promise-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; margin-top: 34px; }
.promise { background: rgba(241, 240, 215, .06); border: 1px solid rgba(241, 240, 215, .14); border-radius: var(--radius); padding: 22px; }
.promise svg { width: 28px; height: 28px; color: var(--gold); }
.promise h3 { font-size: 18px; margin: 12px 0 4px; }
.promise p { margin: 0; color: var(--on-dark-muted); font-size: 15px; }
.more { margin: 26px 0 0; color: var(--on-dark-muted); font-size: 15px; }
.more a { color: var(--gold); }

/* ---------- questions ---------- */
.faq-grid { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.faq-side { flex: 1 1 280px; max-width: 360px; }
.faq-side p { margin: 0 0 18px; color: var(--muted); }
.faq-side img { width: 190px; }
.faq-list { flex: 1 1 460px; display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; font-weight: 700; font-size: 18px; color: var(--deep); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-list details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- join panel (home) ---------- */
.join-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 36px; padding: clamp(28px, 5vw, 56px); box-shadow: 0 18px 50px rgba(10, 42, 33, .12); display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.join-panel img { width: 200px; flex: none; animation: bob 7s ease-in-out infinite; }
.join-panel .copy { flex: 1 1 380px; }
.join-panel p { margin: 0 0 24px; color: var(--muted); font-size: 18px; }

/* ---------- join page ---------- */
.join-hero { background: var(--deep); color: var(--on-dark); }
.join-hero .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 40px; padding-top: clamp(36px, 5vw, 64px); }
.join-hero .copy { flex: 1 1 460px; padding-bottom: clamp(28px, 4vw, 52px); }
.join-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6vw, 68px); line-height: 1.03; letter-spacing: -1.5px; margin: 18px 0 14px; }
.join-hero .copy > p { margin: 0 0 26px; color: var(--on-dark-muted); font-size: 19px; max-width: 520px; }
.join-hero .art { flex: 0 1 380px; position: relative; height: 300px; min-width: 280px; }
.join-hero .art .bubble { position: absolute; left: 0; top: 10px; max-width: 220px; }
.join-hero .art .bubble p { font-size: 19px; }
.join-hero .art img { position: absolute; right: 0; bottom: 0; width: 210px; }
.switch { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(241, 240, 215, .08); border: 1px solid rgba(241, 240, 215, .14); }
.switch button { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--on-dark); font: 700 15px var(--text); cursor: pointer; }
.switch button[aria-selected="true"] { background: var(--gold); color: var(--deep); }
.js .phone-panel[hidden] { display: none; }
@media (max-width: 480px) { .switch { flex-wrap: nowrap; } .switch button { font-size: 13px; padding: 0 12px; } }
.needs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 30px; }
.needs span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; font-weight: 700; }
.needs svg { width: 16px; height: 16px; color: var(--forest); }
.join-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.join-cards li { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.join-cards .n { width: 48px; height: 48px; border-radius: 24px; background: var(--gold); color: var(--deep); font-family: var(--display); font-weight: 600; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.join-cards h3 { margin: 4px 0 0; font-size: 21px; color: var(--deep); }
.join-cards p { margin: 0; color: var(--muted); font-size: 15.5px; }
.join-cards .tip { padding: 10px 12px; border-radius: 14px; background: #FDF0D2; color: #5C4300; font-size: 13.5px; line-height: 1.45; }
.join-cards .btn { margin-top: auto; align-self: flex-start; }
/* Ticks (2026-10-14): the next step glows gold, finished steps get a green tick. */
.join-cards li { position: relative; transition: box-shadow .2s, border-color .2s; }
.join-cards .state { position: absolute; top: 24px; right: 22px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.join-cards .state[hidden] { display: none; }
.join-cards li.next { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold), var(--shadow-soft); }
.join-cards li.next .state { background: var(--gold); color: var(--deep); }
.join-cards li.done .state { background: var(--sage); color: var(--forest); }
.join-cards li.done .n { position: relative; background: var(--forest); color: transparent; }
.join-cards li.done .n::after { content: ""; position: absolute; inset: 0; background: center / 24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1F0D7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.join-cards li.done .btn { background: transparent; color: var(--forest); box-shadow: none; border: 1.5px solid var(--forest); }
.join-cards .tip a { color: inherit; font-weight: 700; }
.ticks-reset { margin-top: 10px; padding: 8px 4px; background: none; border: 0; color: var(--muted); font: 700 14px var(--text); text-decoration: underline; cursor: pointer; }
.ticks-reset[hidden] { display: none; }
.on-computer { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin: 0 0 22px; padding: 22px 26px; border-radius: 28px; background: var(--deep); color: var(--on-dark); }
.on-computer[hidden] { display: none; }
.on-computer img { width: 148px; height: 148px; flex: none; padding: 6px; border-radius: 16px; background: var(--white); }
.on-computer .copy { flex: 1 1 340px; }
.on-computer h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.1; }
.on-computer p { margin: 0; color: var(--on-dark-muted); }
.on-computer .fine { margin-top: 8px; font-size: 14px; }
/* "Seeing App not available?" (2026-10-14) */
.stuck { margin-top: 22px; padding: clamp(24px, 4vw, 40px); border-radius: 30px; background: var(--white); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 36px; scroll-margin-top: 96px; }
.stuck img { width: 150px; flex: none; }
.stuck .copy { flex: 1 1 420px; }
.stuck h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--deep); }
.stuck .copy > p { margin: 0 0 16px; color: var(--muted); }
.fixes { list-style: none; counter-reset: fix; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.fixes li { counter-increment: fix; position: relative; padding: 14px 16px 14px 58px; border-radius: 18px; background: var(--dotted); font-size: 15.5px; line-height: 1.5; }
.fixes li::before { content: counter(fix); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 16px; background: var(--deep); color: var(--gold); font: 600 17px/32px var(--display); text-align: center; }
.fixes strong { color: var(--deep); }
.still { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-weight: 700; color: var(--deep); }
@media (max-width: 600px) { .stuck img { width: 110px; } .stuck h2 { font-size: 26px; } }
.stay { margin-top: 22px; background: var(--deep); color: var(--on-dark); border-radius: 30px; padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.stay img { width: 150px; flex: none; }
.stay .copy { flex: 1 1 380px; }
.stay h2 { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.1; margin: 0 0 8px; }
.stay p { margin: 0 0 14px; color: var(--on-dark-muted); }
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.days i { width: 22px; height: 22px; border-radius: 11px; background: rgba(241, 240, 215, .16); }
.days i.on { background: var(--gold); }
.iphone-card { background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 5vw, 52px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.iphone-card img { width: 200px; flex: none; }
.iphone-card .copy { flex: 1 1 420px; }
.iphone-card .copy > p { margin: 0 0 22px; color: var(--muted); }
.wl-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.wl-inline label { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.wl-inline input[type="email"] { min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #B8C4B4; background: var(--paper); font: 400 16px var(--text); color: var(--ink); }
.wl-inline input[type="email"]:focus { outline: 3px solid rgba(24, 91, 70, .25); border-color: var(--forest); }
.wl-inline input[aria-invalid="true"] { border-color: #B23A48; }
.wl-inline .btn:disabled { opacity: .7; cursor: progress; }
.wl-note { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; }
.wl-msg { margin: 12px 0 0; font-weight: 700; }
.wl-msg.bad { color: #9E2F3B; }
.wl-msg.good { color: var(--forest); }
.wl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.smallprint { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.smallprint > div { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 24px; }
.smallprint .with-machi { display: flex; gap: 16px; align-items: center; }
.smallprint img { width: 92px; flex: none; }
.smallprint h2 { margin: 0 0 4px; font-size: 19px; color: var(--deep); }
.smallprint p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- documents (privacy, terms, delete account) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 36px 16px 80px; line-height: 1.7; }
@media (min-width: 720px) { .doc { padding: 44px 28px 96px; } }
.doc h1 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 5vw, 44px); line-height: 1.12; letter-spacing: -1px; margin: 4px 0 18px; color: var(--deep); }
.doc h2 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.3px; margin: 38px 0 10px; color: var(--deep); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .lede { font-size: 19px; color: var(--muted); max-width: none; margin: 0 0 16px; }
.doc .card { margin: 22px 0; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-muted); padding: 56px 0 44px; font-size: 15px; }
.site-footer .top { display: grid; gap: 28px; }
@media (min-width: 820px) { .site-footer .top { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { font-size: 22px; }
.site-footer p { margin: 12px 0 0; max-width: 360px; }
.site-footer h4 { color: var(--on-dark); font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; margin: 4px 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.site-footer .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(241, 240, 215, .1); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- Try the radar (/try/) ---------- */
.try { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.try-grid { display: grid; gap: 22px; grid-template-areas: "head" "device" "more"; }
.try-head { grid-area: head; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.try-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.try-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -1.5px; margin: 4px 0 2px; color: var(--deep); text-wrap: balance; }
.try-machi { display: flex; align-items: center; gap: 14px; margin-top: 10px; max-width: 470px; }
.try-machi img { width: 104px; flex: none; }
.try-machi .bubble { flex: 1; }
.try-machi .bubble p { font-size: 17px; }
.try-machi .bubble::after { left: -12px; bottom: auto; top: 30px; transform: rotate(135deg); }
.try-device { grid-area: device; justify-self: center; width: 100%; max-width: 390px; }
.try-device iframe { display: block; width: 100%; height: min(760px, calc(100svh - 120px)); min-height: 560px; border: 0; border-radius: 40px; background: #F3F1EA; box-shadow: 0 0 0 9px var(--edge), var(--shadow); }
.try-more { grid-area: more; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.try-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.try-steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.try-steps .n { width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; background: var(--gold); color: var(--deep); font-family: var(--display); font-weight: 600; font-size: 19px; }
.try-steps h2 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.2px; margin: 2px 0 4px; color: var(--deep); }
.try-steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.try-note { margin: 0; font-size: 14.5px; color: var(--muted); }
.try .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 719px) { .try-device iframe { border-radius: 30px; box-shadow: 0 0 0 6px var(--edge), var(--shadow-soft); height: min(720px, calc(100svh - 96px)); } }
@media (min-width: 960px) {
  .try-grid { grid-template-columns: 1fr 390px; grid-template-areas: "head device" "more device"; column-gap: 64px; align-items: start; }
  .try-device { position: sticky; top: 84px; }
}

/* ---------- iPhone waitlist window ---------- */
.waitlist { border: 0; padding: 0; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.waitlist::backdrop { background: rgba(10, 42, 33, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.waitlist[open] { animation: wl-in .22s ease-out; }
@keyframes wl-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.waitlist .wl-ask, .waitlist .wl-done { padding: 30px clamp(22px, 5vw, 34px) 26px; display: flex; flex-direction: column; gap: 10px; }
.waitlist .wl-done { align-items: center; text-align: center; }
.waitlist [hidden] { display: none !important; }
.waitlist img { width: 96px; height: auto; }
.waitlist h2 { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.12; letter-spacing: -.4px; margin: 0; text-wrap: balance; color: var(--deep); }
.waitlist p { margin: 0; }
.waitlist .wl-lead { color: var(--muted); font-size: 16px; }
.waitlist .wl-form { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.waitlist label { font-size: 14px; font-weight: 700; }
.waitlist input[type="email"] { font: inherit; font-size: 17px; padding: 13px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); min-height: 52px; }
.waitlist input[type="email"]:focus { outline: 3px solid rgba(24, 91, 70, .25); border-color: var(--forest); }
.waitlist input[aria-invalid="true"] { border-color: #B23A48; }
.waitlist .wl-error { color: #9E2F3B; font-size: 14.5px; font-weight: 500; }
.waitlist .wl-send { margin-top: 6px; width: 100%; }
.waitlist .wl-send:disabled { opacity: .7; cursor: progress; }
.waitlist .wl-fine { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.waitlist .wl-fine a { color: var(--forest); }
.waitlist .wl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist .wl-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sage); color: var(--deep); display: grid; place-items: center; cursor: pointer; }
.waitlist .wl-x svg { width: 18px; height: 18px; }
.waitlist .wl-x:focus-visible, .waitlist .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
