/* WEB-2 landing page (owner approved the mockup docs/mockups/landing-2026-11-26.html on 26 Nov 2026).
   Loaded after /styles.css on the home page only; uses its BRD-1 tokens. No inline styles: the CSP is style-src 'self'.
   The phone pictures use invented names only (no PredictHQ, Ticketmaster or real user content).
   Below 760px the three pictures become a swipeable row (CSS scroll-snap, nothing auto-advances). */
:root {
  --teal: #1A9EA3;          /* mobile/src/lib/storiesInEvents.ts RING_HANGOUT */
  --teal-text: #5FE0DA;     /* 9:1 on --surface */
  --promo-text: #FFB866;    /* 9:1 on --surface */
  --event-tag: #B0457E;
}
@media (prefers-color-scheme: light) {
  :root { --teal-text: #0E6E72; --promo-text: #8A4A10; } /* 6:1 and 7:1 on white */
}

.home .brand { max-width: 1080px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home .brand nav { display: none; gap: 24px; }
.home .brand nav a { color: var(--text); font-weight: 700; text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; border-radius: 8px; }
.home .brand nav a:hover { color: var(--hangout); }
.home main { max-width: none; padding: 0; }
.home h2, .home h3 { color: var(--heading); margin: 0; }
.home a:focus-visible, .shots:focus-visible, .shot:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* Hero */
.hero { display: grid; gap: 24px; padding-top: 8px; padding-bottom: 40px; }
.hero > * { min-width: 0; }
.hero h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 0; }
.hero h1 em { font-style: normal; color: var(--hangout); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em { background: linear-gradient(90deg, var(--btn-a), var(--outline)); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.lede { margin-top: 12px; color: var(--muted); font-size: 1.05rem; max-width: 34em; }
.home .actions { max-width: 420px; margin-top: 24px; }
.home .hint { text-align: left; max-width: 420px; }

/* Phone pictures: drawn at 260 x 540 and scaled with --s */
.shots { --s: 0.86; display: flex; gap: 12px; margin: 0; padding: 4px 16px 16px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; overscroll-behavior-x: contain; }
.shot { flex: none; scroll-snap-align: center; width: calc(260px * var(--s)); height: calc(540px * var(--s)); border-radius: 30px; }
.shot .ph { width: 260px; height: 540px; transform: scale(var(--s)); transform-origin: top left; }
.swipe-hint { color: var(--muted); font-size: 0.9rem; text-align: center; margin-top: 4px; }
.shots-wrap { margin: 0 -16px; }

.ph { position: relative; background: #150D19; color: #F6EEF8; border: 7px solid #0B0710; border-radius: 34px; overflow: hidden; box-shadow: 0 14px 32px var(--shadow); font-size: 12px; line-height: 1.35; }
.ph .bar { height: 22px; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; font-size: 10px; font-weight: 700; opacity: 0.8; }
.muted-s { opacity: 0.72; }
.row { display: flex; align-items: center; gap: 8px; }
.av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; color: #FFFFFF; }
.c-plum { background: #7A3F93; } .c-rose { background: #C24F8C; } .c-blue { background: #3A6EA5; } .c-amber { background: #A85D17; } .c-teal { background: #1A9EA3; }
.ph .tick { width: 14px; height: 14px; font-size: 9px; margin-left: 3px; vertical-align: -2px; }

/* Map */
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-land { fill: #211628; } .m-road { stroke: #3A2A45; } .m-park { fill: #1E3328; } .m-water { fill: #162238; }
.seg { position: absolute; top: 30px; left: 12px; right: 12px; display: flex; background: rgba(33, 22, 40, 0.92); border-radius: 999px; padding: 3px; font-weight: 700; font-size: 11px; }
.seg span { flex: 1; text-align: center; padding: 6px 0; border-radius: 999px; }
.seg .on { background: #CBA3E0; color: #24112E; }
.pin { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); }
.pin i { display: block; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #FFFFFF; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); }
.pin b { margin-top: 4px; background: rgba(21, 13, 25, 0.88); color: #FFFFFF; padding: 2px 7px; border-radius: 8px; font-size: 10px; white-space: nowrap; }
.pin.e i { background: #B0457E; } .pin.p i { background: #E39A45; } .pin.h i { background: #1A9EA3; }
.pin-1 { left: 30%; top: 33%; } .pin-2 { left: 76%; top: 46%; } .pin-3 { left: 68%; top: 27%; } .pin-4 { left: 22%; top: 60%; }
.me { position: absolute; left: 46%; top: 62%; width: 14px; height: 14px; border-radius: 50%; background: #4C8DFF; border: 3px solid #FFFFFF; box-shadow: 0 0 0 8px rgba(76, 141, 255, 0.22); }
.dock { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; gap: 8px; }
.dock span { flex: 1; text-align: center; padding: 8px 0; border-radius: 999px; background: rgba(33, 22, 40, 0.92); font-weight: 700; }
.dock .post { background: linear-gradient(135deg, #D61F86, #6E25E0); color: #FFFFFF; }

/* Event card */
.ev .cover { height: 190px; background: linear-gradient(160deg, var(--event-a), var(--event-b)); position: relative; display: flex; align-items: flex-end; padding: 12px; }
.ev .cover svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.ev .tag { position: absolute; top: 12px; left: 12px; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; color: #FFFFFF; background: #B0457E; }
.ev .live { position: absolute; top: 12px; right: 12px; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; background: #FFC83D; color: #24112E; }
.ev .cover b { position: relative; color: #FFFFFF; font-size: 19px; line-height: 1.15; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.ev .body { padding: 12px 14px; }
.ev .facts { margin: 10px 0; display: grid; gap: 4px; }
.ev .btns { display: flex; gap: 8px; margin: 10px 0 12px; }
.ev .btns span { flex: 1; text-align: center; padding: 8px 0; border-radius: 999px; font-weight: 800; }
.ev .go { background: linear-gradient(135deg, #D61F86, #6E25E0); color: #FFFFFF; }
.ev .sv { border: 1.5px solid #CBA3E0; }
.label-s { font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 8px; }
.rings { display: flex; gap: 8px; margin-top: 6px; }
.ring { width: 46px; height: 46px; border-radius: 50%; padding: 2px; background: linear-gradient(135deg, #FF3EA5, #A66BFF); }
.ring span { display: flex; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #150D19; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; color: #FFFFFF; }

/* Profile */
.pf { text-align: center; }
.pf .photo { width: 78px; height: 78px; margin: 16px auto 8px; border-radius: 50%; background: linear-gradient(135deg, #7A3F93, #C24F8C); border: 3px solid #FF6FBF; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 24px; color: #FFFFFF; }
.pf .pname { display: block; font-size: 16px; }
.pf .counts { display: flex; justify-content: center; gap: 18px; margin: 10px 0; }
.pf .counts b { display: block; font-size: 15px; }
.pf .tabs { display: flex; border-bottom: 1px solid #3A2A45; margin: 6px 12px 0; font-weight: 800; }
.pf .tabs span { flex: 1; padding: 8px 0; }
.pf .tabs .on { border-bottom: 3px solid #FF6FBF; }
.plans { text-align: left; padding: 10px 12px; display: grid; gap: 8px; }
.plan { display: flex; gap: 10px; align-items: center; background: #211628; border-radius: 14px; padding: 8px; }
.thumb { flex: none; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(160deg, #C24F8C, #3A1838); }
.thumb.hg { background: linear-gradient(160deg, #1A9EA3, #0B3B3D); }
.k { font-size: 9px; font-weight: 900; letter-spacing: 0.05em; padding: 1px 6px; border-radius: 6px; color: #FFFFFF; display: inline-block; background: #B0457E; }
.k.hg { background: #1A9EA3; }

@media (prefers-color-scheme: light) {
  .ph { background: #F8F3FA; color: #251827; border-color: #251827; }
  .m-land { fill: #F1EAF4; } .m-road { stroke: #FFFFFF; } .m-park { fill: #D7EBD9; } .m-water { fill: #CFE0F3; }
  .seg, .dock span { background: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 8px rgba(43, 16, 54, 0.15); }
  .seg .on { background: #66377D; color: #FFFFFF; }
  .pin b { background: #FFFFFF; color: #251827; box-shadow: 0 1px 4px rgba(43, 16, 54, 0.2); }
  .ev .sv { border-color: #66377D; color: #66377D; }
  .ring span { border-color: #F8F3FA; }
  .pf .tabs { border-color: #EEDFF2; }
  .plan { background: #FFFFFF; box-shadow: 0 1px 4px rgba(43, 16, 54, 0.1); }
}

/* Sections */
.sec { padding-top: 44px; padding-bottom: 44px; border-top: 1px solid var(--border); }
.sec > h2 { font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.01em; }
.sec > .intro { color: var(--muted); margin-top: 8px; max-width: 40em; }
.cards, .trust { display: grid; gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: 0 8px 28px var(--shadow); }
.trust .card { box-shadow: none; }
.card h3 { font-size: 1.15rem; margin-top: 12px; }
.card p { color: var(--muted); margin-top: 6px; }
.ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.ico svg { width: 24px; height: 24px; }
.ico.a { background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); }
.ico.b { background: var(--event-tag); } .ico.c { background: var(--teal); } .ico.d { background: var(--action); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--surface-alt); color: var(--heading); font-weight: 700; font-size: 0.85rem; }
.k-ev { color: var(--hangout); font-weight: 800; } .k-hg { color: var(--teal-text); font-weight: 800; } .k-pr { color: var(--promo-text); font-weight: 800; }

.org { display: grid; gap: 24px; margin-top: 24px; align-items: center; }
.org ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.org li { display: flex; gap: 14px; }
.org li h3 { font-size: 1.05rem; }
.org li p { color: var(--muted); margin-top: 2px; }
.stats { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: 0 8px 28px var(--shadow); }
.stats .head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.stats .head b { color: var(--heading); }
.stats .head span, .stats .fine { color: var(--muted); font-size: 0.85rem; }
.example { display: inline-block; margin-bottom: 10px; padding: 2px 10px; border-radius: 999px; border: 1px dashed var(--muted); color: var(--muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 0; }
.grid4 div { background: var(--surface-alt); border-radius: 14px; padding: 10px 12px; }
.grid4 dd { margin: 0; font-size: 1.4rem; font-weight: 700; color: var(--heading); }
.grid4 dt { color: var(--muted); font-size: 0.85rem; }
.grid4 div { display: flex; flex-direction: column-reverse; }
.stats .verified { margin-top: 12px; }
.stats .fine { margin-top: 10px; }

.home .footer .mascot { width: 72px; height: 72px; margin: 0 auto 4px; }

/* Phone width: one picture at a time, swiped */
@media (max-width: 759px) {
  .shot { width: calc(260px * var(--s)); }
  .shots::after { content: ""; flex: none; width: 4px; }
}
/* Tablet: the three pictures side by side under the text */
@media (min-width: 760px) {
  .shots { --s: 0.8; justify-content: center; overflow: visible; padding: 4px 0 16px; }
  .shot:nth-child(2) { margin-top: 24px; }
  .swipe-hint { display: none; }
  .shots-wrap { margin: 0; }
  .home .brand nav { display: flex; }
  .home .actions { flex-direction: row; flex-wrap: wrap; max-width: none; }
  .hero h1 { font-size: 2.6rem; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .sec > h2 { font-size: 2.1rem; }
  .cards, .trust { grid-template-columns: repeat(3, 1fr); }
  .org { grid-template-columns: 1.2fr 1fr; }
}
/* Desktop: text left, pictures right */
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1fr 1.2fr; align-items: center; padding-top: 32px; padding-bottom: 64px; }
  .hero h1 { font-size: 2.8rem; }
  .shots { --s: 0.7; }
}
@media (prefers-reduced-motion: no-preference) { .shots { scroll-behavior: smooth; } }
