/* Home page: hero with the working phone, then who it's for, safety and the store CTA.
   Colors come from the app's tokens (styles.css :root); the demo map adds its own four. */
:root { --land: #EEF0EA; --parkland: #D7EBD9; --water: #BFE0EA; --road: #FFFFFF; --phone: #0E1211; }

.ms { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

.eyebrow { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* hero */
.hero { max-width: 1120px; margin: 0 auto; padding: 28px 20px 70px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: .98; letter-spacing: -.045em; margin: 16px 0 18px; text-wrap: balance; }
.hero h1 em { font-size: 1.08em; letter-spacing: -.02em; }
.hero .lede { font-size: 20px; max-width: 34ch; margin: 0; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 168px; padding: 10px 22px 11px; border-radius: 16px; background: var(--ink); color: var(--white); font-weight: 800; font-size: 18px; line-height: 1.15; letter-spacing: -.01em; }
.store.soft { background: var(--stone); color: var(--ink); }
.store.light { background: var(--white); color: var(--ink); }
.store-small { font-size: 11.5px; font-weight: 600; opacity: .7; letter-spacing: 0; }
.try { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; font-size: 15px; font-weight: 700; color: var(--teal); }

/* demo column */
.demo { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 340px; }
.demo-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--hairlineSoft); box-shadow: 0 6px 20px -12px rgba(16,20,19,.35); }
.demo-tabs button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 8px 11px; border-radius: 999px; font: 700 13px Figtree, system-ui, sans-serif; color: var(--slate); cursor: pointer; }
.demo-tabs button .ms { font-size: 17px; }
.demo-tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.demo-caption { margin: 0; min-height: 44px; max-width: 320px; text-align: center; font-size: 14px; line-height: 1.45; color: var(--slate); }

.phone { position: relative; width: 300px; height: 620px; padding: 10px; border-radius: 48px; background: var(--phone); box-shadow: 0 40px 80px -30px rgba(10,40,38,.55), 0 0 0 1px rgba(255,255,255,.06) inset; }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: var(--phone); z-index: 5; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: var(--paper); font-size: 13px; color: var(--ink); display: flex; flex-direction: column; }
.screen button { font: inherit; color: inherit; cursor: pointer; }
.sb { display: flex; justify-content: space-between; padding: 14px 26px 6px; font-size: 12px; font-weight: 800; }
.sb-r { display: flex; gap: 3px; align-items: center; }
.sb-r i { width: 4px; height: 8px; border-radius: 1px; background: var(--ink); }
.sb-r i:nth-child(2) { height: 10px; } .sb-r i:nth-child(3) { width: 16px; height: 9px; border-radius: 3px; }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 6px 16px 80px; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.round { width: 34px; height: 34px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--white); box-shadow: 0 1px 4px rgba(16,20,19,.12); }
.round .ms { font-size: 18px; }

/* discover */
.d-head { display: flex; align-items: center; gap: 9px; }
.d-av { width: 34px; height: 34px; border-radius: 50%; background: var(--tealMint); color: var(--teal); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.d-eyebrow { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.d-name { font-weight: 800; font-size: 13.5px; }
.d-btns { margin-left: auto; display: flex; gap: 6px; }
.d-title { margin: 14px 0 12px; font-size: 27px; line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.d-title em { font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--teal); letter-spacing: -.01em; }
.chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--hairline); background: var(--white); border-radius: 999px; padding: 6px 11px; font-weight: 700; font-size: 12px; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip .ms { font-size: 14px; }
.chips.static { margin: 10px 0 2px; padding: 0; overflow: visible; flex-wrap: wrap; }
.chips.static .chip.on { background: var(--tealMint); color: var(--teal); border-color: transparent; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 10px; }
.sec-h b { font-size: 15px; letter-spacing: -.02em; }
.sec-h span { color: var(--teal); font-weight: 700; font-size: 11.5px; }
.cards { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.ecard { position: relative; flex: none; width: 164px; scroll-snap-align: start; }
.ecard-open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.ecard-img { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; background: var(--photoTile) center / cover; }
.ecard-img .pill { position: absolute; top: 9px; left: 9px; }
.cat { display: inline-block; margin-top: 9px; padding: 3px 9px; border-radius: 999px; background: var(--tealMint); color: var(--teal); font-weight: 700; font-size: 11px; }
.cat.sm { margin: 0 0 3px; font-size: 10px; padding: 2px 7px; }
.ecard-t { margin-top: 6px; font-weight: 800; font-size: 15.5px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecard-n { margin-top: 2px; color: var(--teal); font-weight: 700; font-size: 11.5px; }
.meta { display: flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--slate); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta .ms { font-size: 15px; color: var(--mist); }
.save { position: absolute; top: 9px; right: 9px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--white); display: flex; align-items: center; justify-content: center; }
.save .ms { font-size: 17px; }
.save.on { color: var(--teal); }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; }
.pill .ms { font-size: 12px; }
.pill.dark { background: var(--ink); color: var(--white); }
.pill.glass { background: rgba(16,20,19,.42); color: var(--white); backdrop-filter: blur(6px); }
.empty { color: var(--mist); font-size: 12.5px; }

/* tab bar */
.tabbar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 52px; border-radius: 26px; background: var(--ink); display: flex; align-items: center; justify-content: space-around; padding: 0 6px; z-index: 3; }
.tb { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--white) !important; display: flex; align-items: center; justify-content: center; }
.tb .ms { font-size: 21px; }
.tb.on { background: var(--teal); }
.tb[aria-hidden="true"] { cursor: default; opacity: .9; }

/* map */
.map { position: relative; flex: 1; overflow: hidden; }
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-top { position: absolute; top: 4px; left: 14px; right: 14px; z-index: 2; }
.map-search { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: var(--white); color: var(--mist); font-weight: 600; font-size: 12px; box-shadow: 0 2px 10px rgba(16,20,19,.12); }
.map-search .ms { font-size: 16px; }
.pin, .grp { position: absolute; transform: translate(-50%, -50%); border: 0; z-index: 1; transition: left .35s ease, top .35s ease; }
.pin { width: 36px; height: 36px; border-radius: 12px; background: var(--white); color: var(--teal); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(16,20,19,.22); }
.pin .ms { font-size: 19px; }
.pin.on { background: var(--teal); color: var(--white); z-index: 2; }
.grp { min-width: 40px; height: 40px; padding: 0 9px; border-radius: 20px; background: var(--teal); color: var(--white); border: 3px solid var(--white); font-weight: 800; font-size: 14px; box-shadow: 0 3px 10px rgba(16,20,19,.25); }
.zoom { position: absolute; right: 14px; top: 42%; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 2px 10px rgba(16,20,19,.15); z-index: 2; }
.zoom button { width: 38px; height: 38px; border: 0; background: none; display: flex; align-items: center; justify-content: center; }
.zoom button + button { border-top: 1px solid var(--hairline); }
.zoom button:disabled { color: var(--fog, #C4C9C7); cursor: default; }
.map-hint { position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%); margin: 0; padding: 7px 12px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 11.5px; color: var(--slate); white-space: nowrap; box-shadow: 0 2px 8px rgba(16,20,19,.12); z-index: 2; }
.mcard { position: absolute; left: 14px; right: 14px; bottom: 78px; display: flex; gap: 10px; align-items: center; padding: 8px; border: 0; border-radius: 16px; background: var(--white); text-align: left; box-shadow: 0 6px 18px rgba(16,20,19,.18); z-index: 3; }
.mcard-img { flex: none; width: 56px; height: 56px; border-radius: 12px; background: var(--photoTile) center / cover; }
.mcard-b { display: flex; flex-direction: column; min-width: 0; font-size: 11.5px; color: var(--slate); }
.mcard-b b { color: var(--ink); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* event + suggestion */
.ev { padding-bottom: 110px; }
.ev-top { display: flex; justify-content: space-between; }
.ev-btns { display: flex; gap: 6px; }
.ev-img { position: relative; margin-top: 10px; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--photoTile) center / cover; }
.ev-img.tall { aspect-ratio: 1 / 1; }
.ev-img .pill { position: absolute; top: 10px; left: 10px; }
.ev-title { margin: 14px 0 0; font-size: 21px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.row { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 13px; }
.row > .ms { font-size: 17px; color: var(--teal); margin-top: 1px; }
.row i { color: var(--slate); font-weight: 500; font-style: normal; }
.row.host { align-items: center; }
.row.host small { display: block; color: var(--slate); font-weight: 500; font-size: 11.5px; }
.link { border: 0; background: none; padding: 0 0 0 4px; color: var(--teal) !important; font-weight: 800 !important; }
.reveal { animation: pop .5s ease; }
@keyframes pop { from { background: var(--tealMint); } to { background: transparent; } }
.face { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white); font-weight: 800; font-size: 11px; color: var(--white); }
.face.big { width: 34px; height: 34px; background: var(--teal); }
.f0 { background: #C7835A; } .f1 { background: #6E8F72; } .f2 { background: #5B6EA0; } .face.you { background: var(--teal); }
.faces { display: flex; } .faces .face + .face { margin-left: -8px; }
.sep { height: 1px; background: var(--hairline); margin: 14px 0 12px; }
.about-h { font-size: 15px; letter-spacing: -.02em; }
.about { margin: 4px 0 0; color: var(--charcoal); font-size: 12.5px; line-height: 1.5; }
.going { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px; border-radius: 16px; background: var(--white); border: 1px solid var(--hairlineSoft); }
.going b { font-size: 14px; } .going small { display: block; color: var(--slate); font-size: 11px; }
.idea-sub { margin: 6px 0 0; color: var(--teal); font-weight: 700; font-size: 12.5px; }
.rsvp { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px 22px; background: linear-gradient(to top, var(--paper) 70%, rgba(250,250,247,0)); z-index: 3; }
.rsvp.col { display: flex; flex-direction: column; gap: 8px; }
.btn-rsvp, .btn-soft { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 13px; border-radius: 999px; border: 0; font-weight: 800 !important; font-size: 13.5px; }
.btn-rsvp { background: var(--ink); color: var(--white) !important; }
.btn-rsvp.on { background: var(--teal); }
.btn-soft { background: var(--white); border: 1px solid var(--hairline); }
.btn-soft.on { background: var(--stone); border-color: transparent; }
.btn-rsvp .ms, .btn-soft .ms { font-size: 17px; }

.toast { position: absolute; left: 24px; right: 24px; top: 58px; padding: 11px 14px; border-radius: 14px; background: var(--ink); color: var(--white); font-size: 12.5px; font-weight: 700; text-align: center; box-shadow: 0 8px 20px rgba(16,20,19,.3); z-index: 6; animation: drop .25s ease; }
@keyframes drop { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }

.screen button:focus-visible, .demo-tabs button:focus-visible { outline: 3px solid var(--tealBright); outline-offset: 2px; }

/* sections */
.band { padding: 84px 0; background: var(--white); border-block: 1px solid var(--hairlineSoft); }
.band h2, .safety h2, .cta h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.02; letter-spacing: -.04em; margin: 12px 0 0; text-wrap: balance; }
.band h2 em, .safety h2 em, .cta h2 em { font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--teal); font-size: 1.08em; letter-spacing: -.01em; }
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.who article { padding: 26px; border-radius: 24px; background: var(--paper); }
.who-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--tealMint); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.who-icon .ms { font-size: 24px; }
.who h3 { margin: 18px 0 10px; font-size: 21px; letter-spacing: -.02em; }
.who ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.who li { position: relative; padding-left: 18px; margin: 0; font-size: 15.5px; line-height: 1.45; }
.who li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--tealBright); }

.safety { padding: 84px 0; }
.safety-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.safety .lede { margin-top: 16px; }
.safety-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.safety-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; margin: 0; border-radius: 20px; background: var(--white); border: 1px solid var(--hairlineSoft); }
.safety-list .ms { flex: none; font-size: 24px; color: var(--teal); }
.safety-list b { display: block; color: var(--ink); font-size: 17px; }
.safety-list span:not(.ms) { display: block; margin-top: 3px; color: var(--slate); font-size: 15px; }

.cta { padding: 0 20px 70px; }
.cta-inner { padding: 64px 40px; border-radius: 32px; background: var(--teal); color: var(--white); text-align: center; max-width: 1080px; }
.cta h2 { color: var(--white); }
.cta h2 em { color: var(--tealMint); }
.cta p { color: rgba(255,255,255,.85); font-size: 18px; margin: 16px 0 0; }
.cta .mail { font-weight: 800; color: var(--white); user-select: all; }
.cta .stores { justify-content: center; }
.credits { max-width: 1080px; margin: 0 auto; padding: 0 20px 30px; text-align: center; font-size: 12.5px; color: var(--mist); }
.credits a { color: var(--slate); font-weight: 500; }

@media (max-width: 920px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 16px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .stores, .try { justify-content: center; }
  .demo { margin: 0 auto; width: 100%; max-width: 340px; }
  .who { grid-template-columns: minmax(0, 1fr); }
  .safety-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 380px) {
  .demo-tabs button { padding: 8px 8px; font-size: 12px; }
  .demo-tabs button .ms { display: none; }
  .cta-inner { padding: 48px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .pin, .grp { transition: none; }
  .toast, .reveal { animation: none; }
}
