/* YoNYC site styles. Shared by / and the flagship landing pages (/subway/, /bathroom/, /wherewuzi/, /trivia/). No frameworks. */

:root {
  --paper: #f5f1e8;
  --paper-2: #ebe4d4;
  --card: #fffdf8;
  --ink: #17151d;
  --ink-2: #4b4655;
  --ink-3: #6a6474;
  --line: rgba(23, 21, 29, 0.12);
  --night: #111018;
  --night-2: #1b1924;
  --on-night: #f6f3ec;
  --on-night-2: rgba(246, 243, 236, 0.72);
  --yellow: #fbc102;
  --red: #ee352e;
  --green: #00933c;
  --blue: #0039a6;
  --orange: #ff6319;
  --purple: #b933ad;
  --gold: #f2c14e;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.feature-subway :focus-visible, .factory :focus-visible, .t-hero :focus-visible, .tpanel :focus-visible,
.s-hero :focus-visible, .s-shots :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 241, 232, 0.95);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.site-head-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
  min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; }
.brand-bullet {
  display: inline-grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-size: 0.82em; letter-spacing: -0.04em; margin-right: 3px;
}
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a {
  display: block; padding: 7px 12px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; text-decoration: none; color: var(--ink-2);
}
.nav a:hover { background: rgba(23, 21, 29, 0.06); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.line-stripe {
  height: 4px;
  background: linear-gradient(90deg,
    var(--red) 0 14.28%, var(--green) 0 28.57%, var(--purple) 0 42.85%, var(--blue) 0 57.14%,
    var(--orange) 0 71.42%, var(--yellow) 0 85.71%, #a7a9ac 0 100%);
}
@media (max-width: 719px) {
  .site-head-inner { gap: 6px; }
  .nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 2px; width: calc(100% + 40px); }
  .nav::-webkit-scrollbar { display: none; }
  .site-head nav { width: 100%; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .nav a { white-space: nowrap; padding: 6px 11px; font-size: 0.88rem; }
}

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--gold { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { box-shadow: 0 8px 22px rgba(23, 21, 29, 0.25); }
.btn--ghost { border: 2px solid var(--ink); color: var(--ink); padding: 10px 20px; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: rgba(255,255,255,0.1); color: var(--on-night); border: 1px solid rgba(255,255,255,0.22); }
.btn--light:hover { background: rgba(255,255,255,0.18); }
.btn--gold { background: var(--gold); color: #1d1408; }

.store {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 7px 20px 8px 20px;
  border-radius: 12px; background: #000; color: #fff; text-decoration: none; line-height: 1.1;
  border: 1px solid #000; transition: transform .15s ease, box-shadow .15s ease;
}
.store--dark { border-color: rgba(255,255,255,0.55); }
.store:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,0.3); }
.store-small { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.02em; }
.store-big { font-family: var(--body); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }

.soon {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 12px;
  border: 1px dashed currentColor; font-size: 0.93rem; font-weight: 600; opacity: 0.92;
}
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.7; }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; white-space: nowrap;
}
.badge--live { background: #dff3e6; color: #0b5a2b; }
.badge--in-review { background: rgba(242, 193, 78, 0.16); color: var(--gold); border: 1px solid rgba(242, 193, 78, 0.45); }
.badge--coming-soon { background: rgba(255,255,255,0.12); color: inherit; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.small-links { margin-top: 18px; font-size: 0.9rem; color: var(--on-night-2); }
.small-links a { color: var(--on-night); text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.35); }
.small-links a:hover { text-decoration-color: currentColor; }
.small-links--dark { color: var(--ink-3); }
.small-links--dark a { color: var(--ink); text-decoration-color: var(--line); }

.section-head { max-width: 46rem; margin-bottom: 36px; }
.section-title { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
.section-title--light { color: var(--on-night); margin-bottom: 26px; }
.section-lede { margin-top: 14px; font-size: 1.08rem; color: var(--ink-2); }
.section-lede a { text-underline-offset: 3px; }

.app-icon { border-radius: 22.5%; box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 8px 20px rgba(0,0,0,0.18); background: #222; }

/* ---------- home: hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero-title { font-size: clamp(2.7rem, 9.5vw, 5.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
.hl { background: linear-gradient(transparent 62%, var(--yellow) 62% 92%, transparent 92%); padding: 0 0.04em; }
.hero-lede { margin-top: 22px; max-width: 34rem; font-size: 1.14rem; color: var(--ink-2); }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-count { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; color: var(--ink-3); }
.hero-count span { display: inline-flex; align-items: center; gap: 8px; }
.hero-count span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.hero-count span + span::before { background: var(--gold); }
.hero-count b { color: var(--ink); }

.icon-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 520px; width: 100%; justify-self: center; }
.icon-wall li { transform: translateY(calc(var(--off, 0) * 1px)) rotate(var(--rot, 0deg)); }
.icon-wall li:nth-child(5n+2) { --off: 18; --rot: 3deg; }
.icon-wall li:nth-child(5n+4) { --off: 18; --rot: -3deg; }
.icon-wall li:nth-child(5n+3) { --off: 8; }
.icon-wall .app-icon { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.wall-bullet span {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--yellow);
  font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 3.4vw, 1.7rem); letter-spacing: -0.04em;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
@media (min-width: 960px) {
  .hero { padding: 80px 0 104px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .icon-wall { gap: 16px; }
}

/* ---------- home: Simple Subway feature ---------- */
.feature-subway {
  background:
    radial-gradient(520px circle at 85% 10%, rgba(238,53,46,0.18), transparent 70%),
    radial-gradient(520px circle at 95% 75%, rgba(0,147,60,0.15), transparent 70%),
    radial-gradient(420px circle at 55% 105%, rgba(251,193,2,0.12), transparent 70%),
    var(--night);
  color: var(--on-night);
  padding: 72px 0;
  overflow: hidden;
}
.sub-grid { display: grid; gap: 48px; align-items: center; }
.sub-head { display: flex; align-items: center; gap: 18px; }
.sub-head .app-icon { width: 84px; height: 84px; flex: none; }
.sub-title { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; }
.sub-pitch { margin-top: 22px; font-family: var(--display); font-size: clamp(1.4rem, 3.5vw, 1.9rem); font-weight: 700; color: var(--yellow); letter-spacing: -0.02em; }
.sub-desc { margin-top: 10px; font-size: 1.08rem; color: var(--on-night-2); max-width: 34rem; }
.dots { margin: 26px 0 30px; display: grid; gap: 12px; max-width: 36rem; }
.dots li { position: relative; padding-left: 26px; color: var(--on-night-2); font-size: 0.98rem; }
.dots li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 12px; height: 12px; border-radius: 50%; background: var(--dot); }
.dots strong { color: var(--on-night); font-weight: 600; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: center; max-width: 640px; justify-self: center; width: 100%; }
.phone img { border-radius: 16px; box-shadow: 0 24px 50px rgba(0,0,0,0.55); }
.phone--0, .phone--2 { transform: translateY(26px) scale(0.94); }
@media (min-width: 960px) {
  .feature-subway { padding: 104px 0; }
  .sub-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .phones { gap: 18px; }
  .phone img { border-radius: 22px; }
}

/* ---------- home: Trivia Factory ---------- */
.factory {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(242,193,78,0.14), transparent 70%),
    #0c0a12;
  color: var(--on-night);
  padding: 72px 0 80px;
}
.factory-head { text-align: center; max-width: 44rem; margin: 0 auto 40px; }
.factory-head .eyebrow { justify-content: center; }
.factory-title { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(2.6rem, 8vw, 4.6rem); letter-spacing: -0.02em; color: #fff4dc; }
.factory-lede { margin-top: 16px; font-size: 1.12rem; color: var(--on-night-2); }
.factory-price { margin-top: 10px; font-size: 0.9rem; color: rgba(246,243,236,0.6); }
.factory-more { text-align: center; margin-top: 40px; }

.tcards {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 78%); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; margin: 0 -20px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent;
}
.tcards:focus-visible { outline-offset: -3px; }
.tcard {
  scroll-snap-align: center; position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--t-bg); color: var(--t-ink, #fff); display: flex; flex-direction: column;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.tcard-art { position: relative; height: 230px; overflow: hidden; }
.tcard-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--t-fade) 90%); }
.tcard-shot { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.tcard-body { position: relative; padding: 0 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tcard-icon { width: 64px; height: 64px; margin-top: -40px; position: relative; z-index: 1; box-shadow: 0 10px 24px rgba(0,0,0,0.5), 0 0 0 2px var(--t-accent); }
.tcard-name { margin-top: 14px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1.1; }
.tcard-name a { text-decoration: none; }
.tcard-name a:hover { text-decoration: underline; text-decoration-color: var(--t-accent); text-underline-offset: 4px; }
.tcard-subject { margin-top: 8px; font-size: 0.92rem; color: var(--t-ink-2, rgba(255,255,255,0.78)); }
.tcard-pitch { margin-top: 12px; font-size: 0.86rem; font-weight: 600; color: var(--t-accent); }
.tcard-foot { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (min-width: 720px) {
  .tcards { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; gap: 18px; }
}
@media (min-width: 1100px) {
  .tcards { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .tcard-art { height: 250px; }
  .tcard-body { padding: 0 16px 20px; }
  .tcard-name { font-size: 1.3rem; }
}

/* five moods, one family */
.theme-nyc {
  --t-bg: linear-gradient(180deg, #2a1a52 0%, #160f33 60%, #0e0a24 100%);
  --t-fade: #20143f; --t-accent: #f2c14e;
}
.theme-foodie {
  --t-bg: radial-gradient(140% 70% at 50% 100%, #4a2414 0%, #2a150c 55%, #1a0d07 100%);
  --t-fade: #2c160c; --t-accent: #f0d9a7; --t-ink-2: rgba(240,217,167,0.82);
}
.theme-tv {
  --t-bg: linear-gradient(180deg, #164543 0%, #0d2e2d 70%, #0a2322 100%);
  --t-fade: #123c3a; --t-accent: #e9a948;
}
.theme-rock {
  --t-bg: linear-gradient(180deg, #34103a 0%, #1d0b22 70%, #120715 100%);
  --t-fade: #2b0e30; --t-accent: #ff6eb3;
}
.theme-sketch {
  --t-bg: repeating-linear-gradient(90deg, #6d0b16 0 18px, #580812 18px 36px);
  --t-fade: #600a14; --t-accent: #ff6a5c;
}
/* little set dressing per card */
.tcard.theme-nyc::before, .tpanel.theme-nyc::before { /* marquee bulbs */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; z-index: 2;
  background: radial-gradient(circle, #ffd97a 0 2.5px, transparent 3px) 0 50% / 14px 8px repeat-x;
}
.tcard.theme-foodie .tcard-body::before { /* menu-card rule */
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 10px; height: 3px;
  border-top: 1px solid rgba(240,217,167,0.4); border-bottom: 1px solid rgba(240,217,167,0.4);
}
.tcard.theme-tv::after, .tpanel.theme-tv::after { /* walnut cabinet trim */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(100deg, #6b4226 0 9px, #7b4e2d 9px 13px, #5e391f 13px 22px);
}
.tcard.theme-rock::after, .tpanel.theme-rock::after { /* amp grille */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(45deg, rgba(226,177,60,0.55) 0 2px, transparent 2px 6px), #1a0f12;
}
.tcard.theme-sketch::before, .tpanel.theme-sketch::before { /* ON AIR light */
  content: "ON AIR"; position: absolute; top: 12px; right: 12px; z-index: 2;
  font: 800 0.62rem/1 var(--body); letter-spacing: 0.16em; color: #fff; background: #e1251b;
  padding: 5px 7px; border-radius: 4px; box-shadow: 0 0 14px rgba(255,59,48,0.7);
}

/* ---------- home: more apps ---------- */
.more { padding: 80px 0 88px; }
.mcards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.mcard {
  display: flex; gap: 18px; padding: 22px; background: var(--card); border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden;
}
.mcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent); }
.mcard .app-icon { width: 76px; height: 76px; flex: none; }
.mcard-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mcard-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.mcard h3 { font-size: 1.35rem; font-weight: 700; }
.chip { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; }
.chip:hover { background: var(--ink); color: #fff; }
.mcard-pitch { margin-top: 6px; font-weight: 600; font-size: 0.98rem; }
.mcard-desc { margin-top: 4px; font-size: 0.9rem; color: var(--ink-2); }
.mcard-price { margin-top: 8px; font-size: 0.84rem; font-weight: 600; color: var(--ink-3); }
.mcard-cta { margin-top: auto; padding-top: 14px; }
.mcard-cta .store { min-height: 44px; padding: 5px 16px 6px; }
.mcard-cta .store-big { font-size: 1.1rem; }
.mcard-links { margin-top: 12px; font-size: 0.84rem; color: var(--ink-3); }
.mcard-links a { color: var(--ink-2); text-underline-offset: 3px; text-decoration-color: var(--line); }
.mcard-links a:hover { color: var(--ink); text-decoration-color: currentColor; }
@media (min-width: 720px) { .mcards { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .mcards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- footer ---------- */
.site-foot { background: var(--paper-2); padding: 64px 0 40px; border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.foot-title { font-size: 1.8rem; font-weight: 800; }
.foot-lede { margin-top: 8px; color: var(--ink-2); }
.foot-lede a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.help-grid { display: grid; gap: 0 32px; grid-template-columns: 1fr; }
.help-grid li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; flex-wrap: wrap; }
.help-name { font-weight: 600; }
.help-links { color: var(--ink-3); }
.help-links a { color: var(--ink-2); text-underline-offset: 3px; text-decoration-color: var(--line); }
.help-links a:hover { color: var(--ink); text-decoration-color: currentColor; }
.foot-bottom { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.86rem; color: var(--ink-3); }
.foot-joke { font-style: italic; }
@media (min-width: 720px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .help-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- /trivia/ ---------- */
.page-trivia { background: #0c0a12; }
.page-trivia .site-foot { background: var(--paper-2); }
.t-hero {
  color: var(--on-night); padding: 64px 0 56px; text-align: center;
  background: radial-gradient(900px 480px at 50% 0%, rgba(242,193,78,0.16), transparent 70%), #0c0a12;
}
.t-hero .eyebrow { justify-content: center; }
.t-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 9vw, 5.2rem); line-height: 1; letter-spacing: -0.02em; color: #fff4dc; }
.t-title-em { font-style: italic; color: var(--gold); }
.t-lede { margin: 22px auto 0; max-width: 40rem; font-size: 1.1rem; color: var(--on-night-2); }
.t-strip { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
.t-strip a { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 104px; text-decoration: none; font-size: 0.8rem; font-weight: 600; color: var(--on-night-2); line-height: 1.25; }
.t-strip a:hover { color: #fff; }
.t-strip .app-icon { width: 72px; height: 72px; transition: transform .15s ease; }
@media (max-width: 719px) {
  .t-strip { gap: 10px 6px; flex-wrap: nowrap; }
  .t-strip a { width: 64px; font-size: 0.68rem; gap: 6px; }
  .t-strip .app-icon { width: 54px; height: 54px; }
}
.t-strip a:hover .app-icon { transform: translateY(-3px) rotate(-3deg); }

.how { background: var(--paper); padding: 72px 0; }
.steps { display: grid; gap: 14px; counter-reset: step; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: 0 0 0 1px var(--line); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; font-weight: 700; }
.steps p { margin-top: 6px; color: var(--ink-2); }
.feats { margin-top: 36px; display: grid; gap: 0 32px; }
.feats li { padding: 18px 0; border-top: 1px solid var(--line); }
.feats h3 { font-family: var(--body); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.feats p { margin-top: 4px; color: var(--ink-2); font-size: 0.95rem; }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .feats { grid-template-columns: repeat(3, 1fr); }
}

.tpanels { padding: 64px 0 80px; background: #0c0a12; }
.tpanels .wrap { display: grid; gap: 28px; }
.tpanel {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--t-bg); color: #fff;
  display: grid; gap: 32px; padding: 32px 22px 36px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.tpanel.theme-sketch::before { top: 18px; right: 18px; }
.tpanel-head { display: flex; align-items: center; gap: 18px; }
.tpanel-head .app-icon { width: 84px; height: 84px; flex: none; box-shadow: 0 12px 28px rgba(0,0,0,0.5), 0 0 0 2px var(--t-accent); }
.tpanel-name { margin-top: 8px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.05; letter-spacing: -0.01em; }
.tpanel-pitch { margin-top: 20px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--t-accent); letter-spacing: -0.01em; }
.tpanel-facts { margin-top: 18px; display: grid; gap: 10px; }
.tpanel-facts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.14); }
.tpanel-facts dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-accent); padding-top: 3px; }
.tpanel-facts dd { color: rgba(255,255,255,0.86); font-size: 0.97rem; }
.tpanel-desc { margin: 18px 0 22px; color: rgba(255,255,255,0.75); }
.tpanel .soon { color: var(--t-accent); }
.tpanel-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.tpanel-shots img { border-radius: 16px; box-shadow: 0 20px 44px rgba(0,0,0,0.5); }
.tpanel-shots figure:last-child { transform: translateY(22px); }
@media (min-width: 960px) {
  .tpanel { grid-template-columns: 1.1fr 1fr; padding: 48px 48px 56px; gap: 48px; align-items: center; }
  .tpanel:nth-child(even) .tpanel-copy { order: 2; }
  .tpanel-shots { gap: 18px; max-width: 500px; justify-self: center; }
  .tpanel-shots img { border-radius: 22px; }
}

/* ---------- /subway/ ---------- */
.s-hero {
  color: var(--on-night); padding: 56px 0 64px; overflow: hidden;
  background:
    radial-gradient(600px circle at 90% 15%, rgba(238,53,46,0.2), transparent 70%),
    radial-gradient(600px circle at 75% 95%, rgba(0,147,60,0.16), transparent 70%),
    var(--night);
}
.s-hero-grid { display: grid; gap: 40px; align-items: center; }
.s-icon { width: 96px; height: 96px; margin-bottom: 22px; }
.s-hero .badge--live { background: rgba(0,147,60,0.2); color: #7fe0a6; }
.s-title { font-size: clamp(2.6rem, 9vw, 5rem); font-weight: 800; letter-spacing: -0.035em; }
.s-pitch { margin-top: 14px; font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; color: var(--yellow); letter-spacing: -0.02em; }
.s-lede { margin: 14px 0 28px; max-width: 34rem; font-size: 1.12rem; color: var(--on-night-2); }
.s-hero-shot { max-width: 340px; justify-self: center; width: 64%; }
.s-hero-shot img { border-radius: 26px; box-shadow: 0 30px 70px rgba(0,0,0,0.6); transform: rotate(2deg); }
@media (min-width: 960px) {
  .s-hero { padding: 80px 0 88px; }
  .s-hero-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .s-icon { width: 112px; height: 112px; }
}

.s-shots { background: var(--night-2); padding: 56px 0 64px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62%); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 0 20px 16px; margin: 0 -20px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent;
}
.rail figure { scroll-snap-align: center; }
.rail img { border-radius: 18px; box-shadow: 0 16px 36px rgba(0,0,0,0.45); }
@media (min-width: 720px) { .rail { grid-auto-columns: minmax(200px, 30%); } }
@media (min-width: 1100px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; margin: 0; padding: 0; } }

.s-feats { padding: 72px 0 80px; }
.lines { display: grid; gap: 0 40px; }
.lines li { position: relative; padding: 20px 0 20px 40px; border-top: 1px solid var(--line); }
.lines li::before { content: ""; position: absolute; left: 0; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }
.lines h3 { font-size: 1.25rem; font-weight: 700; }
.lines p { margin-top: 6px; color: var(--ink-2); }
@media (min-width: 720px) { .lines { grid-template-columns: repeat(2, 1fr); } }
.s-end {
  margin-top: 48px; padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
}
.s-end-title { font-size: 1.7rem; font-weight: 800; }
.s-end .small-links { margin-top: 8px; }
.fineprint { margin-top: 28px; font-size: 0.82rem; color: var(--ink-3); max-width: 46rem; }

/* ---------- navigation: seven items without a hidden scroller ---------- */
@media (max-width: 1023px) { .nav-long { display: none; } }
@media (max-width: 719px) {
  .site-head { position: static; }
  .site-head nav { -webkit-mask-image: none; mask-image: none; }
  .nav { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; width: 100%; gap: 4px; }
  .nav a { padding: 6px 10px; }
}

/* ---------- home: quick links to the four flagships ---------- */
.hero-lede--small { margin-top: 12px; font-size: 1rem; color: var(--ink-3); }
.hero-jump { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 34rem; }
.hero-jump a {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 16px; min-height: 56px;
  background: var(--card); box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: 0.92rem; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero-jump a:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--ink), 0 8px 18px rgba(23,21,29,0.1); }
.hero-jump .app-icon { width: 40px; height: 40px; flex: none; box-shadow: 0 3px 8px rgba(0,0,0,0.18); }
.icon-wall { grid-template-columns: repeat(4, 1fr); max-width: 440px; }
@media (min-width: 960px) { .icon-wall { max-width: 460px; } }

/* ---------- home: flagship sections ---------- */
.flag { padding: 72px 0; overflow: hidden; color: var(--f-ink); background: var(--f-bg); }
.flag--subway {
  --f-ink: var(--on-night); --f-ink-2: var(--on-night-2); --f-accent: var(--yellow);
  --f-bg: radial-gradient(520px circle at 85% 10%, rgba(238,53,46,0.18), transparent 70%),
    radial-gradient(520px circle at 95% 75%, rgba(0,147,60,0.15), transparent 70%),
    radial-gradient(420px circle at 55% 105%, rgba(251,193,2,0.12), transparent 70%), var(--night);
}
.flag--bathroom {
  --f-ink: var(--ink); --f-ink-2: var(--ink-2); --f-accent: #00782f;
  --f-bg: radial-gradient(560px circle at 12% 15%, rgba(0,147,60,0.13), transparent 70%),
    radial-gradient(520px circle at 8% 90%, rgba(0,57,166,0.09), transparent 70%), #eef4ea;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.flag--wherewuzi {
  --f-ink: var(--on-night); --f-ink-2: rgba(232,240,255,0.74); --f-accent: #8cc6ff;
  --f-bg: radial-gradient(560px circle at 85% 12%, rgba(90,169,255,0.24), transparent 70%),
    radial-gradient(480px circle at 92% 85%, rgba(255,99,25,0.13), transparent 70%), #0b1628;
}
.flag--trivia {
  --f-ink: var(--on-night); --f-ink-2: var(--on-night-2); --f-accent: var(--gold);
  --f-bg: radial-gradient(800px 420px at 20% 0%, rgba(242,193,78,0.15), transparent 70%), #0c0a12;
}
.flag--imow {                          /* In My Own Words: the app's own evening paper, terracotta and gold */
  --f-ink: #f4ead8; --f-ink-2: rgba(244,234,216,0.74); --f-accent: #F2A389;
  --f-bg: radial-gradient(560px circle at 85% 12%, rgba(242,163,137,0.2), transparent 70%),
    radial-gradient(480px circle at 10% 90%, rgba(217,181,106,0.14), transparent 70%), #1c1916;
}
.flag :focus-visible { outline-color: var(--f-accent); }
.flag--bathroom :focus-visible { outline-color: var(--blue); }
.flag-grid { display: grid; gap: 48px; align-items: center; }
.flag-eyebrow { color: var(--f-accent); }
.flag-head { display: flex; align-items: center; gap: 18px; }
.flag-head .app-icon { width: 84px; height: 84px; flex: none; }
.flag-title { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; }
.flag--trivia .flag-title, .flag--trivia .flag-pitch, .l-hero--trivia .l-title, .l-hero--trivia .l-pitch {
  font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -0.01em;
}
.flag--trivia .flag-title { color: #fff4dc; }
.flag-pitch { margin-top: 22px; font-family: var(--display); font-size: clamp(1.4rem, 3.5vw, 1.9rem); font-weight: 700; color: var(--f-accent); letter-spacing: -0.02em; line-height: 1.15; }
.flag-desc { margin-top: 10px; font-size: 1.08rem; color: var(--f-ink-2); max-width: 36rem; }
.flag .dots li { color: var(--f-ink-2); }
.flag .dots strong { color: var(--f-ink); }
.flag-price { margin: -6px 0 18px; font-size: 0.9rem; font-weight: 600; color: var(--f-ink-2); }
.flag .small-links, .l-hero .small-links { color: var(--f-ink-2); }
.flag .small-links a, .l-hero .small-links a { color: var(--f-ink); text-decoration-color: color-mix(in srgb, var(--f-ink) 35%, transparent); }
.btn--flag { border: 1px solid color-mix(in srgb, var(--f-ink) 30%, transparent); color: var(--f-ink); background: color-mix(in srgb, var(--f-ink) 7%, transparent); }
.btn--flag:hover { background: color-mix(in srgb, var(--f-ink) 14%, transparent); }
.flag .soon { color: var(--f-accent); }
.flag--bathroom .phone img { box-shadow: 0 24px 50px rgba(20,40,25,0.28); }
.topic-chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 36rem; }
.tchip {
  padding: 5px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: #fff;
  background: var(--t-bg); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t-accent) 55%, transparent) inset;
}
.theme-sports { --t-bg: linear-gradient(180deg, #163460 0%, #0d2142 70%, #0a1a35 100%); --t-fade: #12294f; --t-accent: #ff8a5c; }
@media (min-width: 960px) {
  .flag { padding: 104px 0; }
  .flag-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .flag--flip .flag-grid { grid-template-columns: 1.05fr 1fr; }
  .flag--flip .flag-copy { order: 2; }
}

/* ---------- landing pages ---------- */
.l-hero { color: var(--f-ink); background: var(--f-bg); padding: 56px 0 64px; overflow: hidden; }
.l-hero--subway { --f-ink: var(--on-night); --f-ink-2: var(--on-night-2); --f-accent: var(--yellow);
  --f-bg: radial-gradient(600px circle at 90% 15%, rgba(238,53,46,0.2), transparent 70%), radial-gradient(600px circle at 75% 95%, rgba(0,147,60,0.16), transparent 70%), var(--night); }
.l-hero--bathroom { --f-ink: var(--ink); --f-ink-2: var(--ink-2); --f-accent: #00782f;
  --f-bg: radial-gradient(600px circle at 88% 20%, rgba(0,147,60,0.16), transparent 70%), radial-gradient(520px circle at 70% 100%, rgba(0,57,166,0.1), transparent 70%), #eef4ea; }
.l-hero--wherewuzi { --f-ink: var(--on-night); --f-ink-2: rgba(232,240,255,0.74); --f-accent: #8cc6ff;
  --f-bg: radial-gradient(620px circle at 88% 15%, rgba(90,169,255,0.26), transparent 70%), radial-gradient(520px circle at 75% 100%, rgba(255,99,25,0.14), transparent 70%), #0b1628; }
.l-hero--trivia { --f-ink: var(--on-night); --f-ink-2: var(--on-night-2); --f-accent: var(--gold);
  --f-bg: radial-gradient(900px 480px at 50% 0%, rgba(242,193,78,0.16), transparent 70%), #0c0a12; }
.l-hero--imow { --f-ink: #f4ead8; --f-ink-2: rgba(244,234,216,0.74); --f-accent: #F2A389;
  --f-bg: radial-gradient(620px circle at 88% 15%, rgba(242,163,137,0.22), transparent 70%), radial-gradient(520px circle at 75% 100%, rgba(217,181,106,0.16), transparent 70%), #1c1916; }
.l-hero--imow .l-title { font-family: "EB Garamond", Georgia, serif; font-weight: 500; letter-spacing: -0.01em; }
.l-hero :focus-visible { outline-color: var(--f-accent); }
.l-hero--bathroom :focus-visible { outline-color: var(--blue); }
.l-hero .soon { color: var(--f-accent); }
.l-hero-grid { display: grid; gap: 40px; align-items: center; }
.l-icon { width: 96px; height: 96px; margin-bottom: 22px; }
.l-title { font-size: clamp(2.5rem, 8.5vw, 4.8rem); font-weight: 800; letter-spacing: -0.035em; }
.l-hero--trivia .l-title { color: #fff4dc; }
.l-pitch { margin-top: 14px; font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; color: var(--f-accent); letter-spacing: -0.02em; line-height: 1.15; }
.l-lede { margin: 14px 0 22px; max-width: 34rem; font-size: 1.12rem; color: var(--f-ink-2); }
.l-hero .flag-price { margin: 0 0 18px; }
.l-hero-shot { max-width: 340px; justify-self: center; width: 64%; }
.l-hero-shot img { border-radius: 26px; box-shadow: 0 30px 70px rgba(0,0,0,0.5); transform: rotate(2deg); }
.badge--coming-soon { background: color-mix(in srgb, currentColor 14%, transparent); border: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.l-hero .badge--live { background: rgba(0,147,60,0.2); color: #7fe0a6; }
.l-hero--bathroom .badge--live { background: #d6ecd9; color: #0b5a2b; }
@media (min-width: 960px) {
  .l-hero { padding: 80px 0 88px; }
  .l-hero-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .l-icon { width: 112px; height: 112px; }
}
.l-shots { background: var(--night-2); padding: 56px 0 64px; }
.l-shots--bathroom { background: #13261a; }
.l-shots--wherewuzi { background: #0f1d33; }
.l-shots--trivia { background: #16121f; }
.l-shots--imow { background: #241f1b; }
.l-shots :focus-visible { outline-color: var(--yellow); }
.rail figcaption { margin-top: 12px; font-size: 0.86rem; font-weight: 600; line-height: 1.35; color: var(--on-night-2); text-align: center; }
@media (min-width: 1100px) {
  .l-shots .rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 64px) / 5); overflow-x: auto; padding-bottom: 16px; }
}
.s-feats { background: var(--paper); }
.s-end-price { margin-top: 6px; font-size: 0.92rem; color: var(--ink-2); }

.l-topics { background: #0c0a12; padding: 8px 0 64px; }
.l-topics .section-title { font-family: var(--serif); font-style: italic; font-weight: 600; color: #fff4dc; }
.topics { display: grid; gap: 14px; }
.topic { position: relative; overflow: hidden; padding: 22px 22px 26px; border-radius: var(--radius); background: var(--t-bg); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset; }
.topic h3 { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.45rem; letter-spacing: -0.01em; }
.topic p { margin-top: 6px; color: var(--t-accent); font-weight: 600; font-size: 0.95rem; }
@media (min-width: 720px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .topics { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 1100px) { .l-privacy .steps { grid-template-columns: repeat(3, 1fr); } }
.l-privacy .steps h3 { font-size: 1.15rem; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .store:hover, .t-strip a:hover .app-icon, .hero-jump a:hover { transform: none; }
}
