/* comecome-app.com shared shell — V10 Brand App Profile
   white-app-store / cool-gray-app-marketplace / emerald-signal
   humanist-product-guide typography (Nunito Sans) */

/* Force [hidden] semantics even when inline style declares display:grid/grid/flex
   — the cookie panel uses inline display:grid, which would otherwise intercept
   pointer events site-wide when its `hidden` attribute is set. */
[hidden] { display: none !important; }

/* Editorial image+text row used by repair-pass content extensions. */
.inline-image-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin: 24px 0;
  box-shadow: var(--shadow-1);
}
.inline-image-row img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: var(--band-2);
  display: block;
}
.inline-image-row figcaption {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
}
.inline-image-row figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 4px;
}
@media (max-width: 720px) {
  .inline-image-row { grid-template-columns: 1fr; gap: 12px; }
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

:root {
  --ink:        #0F1A24;
  --ink-2:      #1A2A38;
  --ink-3:      #3D4D5C;
  --muted:      #5B6B7C;
  --muted-2:    #5B6B7C;    /* was #8A99AB (2.91 on white, fails WCAG AA) — now matches --muted, 5.47 on white */
  --line:       #E1E8F0;
  --line-2:     #CFD8E3;
  --paper:      #FFFFFF;
  --paper-2:    #FAFBFD;
  --band:       #F4F6FA;     /* cool-gray-app-marketplace */
  --band-2:     #ECEFF5;
  --panel:      #FFFFFF;
  --panel-2:    #F8FAFC;
  --emerald:    #0A7A48;     /* was #12B76A (2.62 on white, fails AA) — now 5.40 on white, used for decorative icons and CTA backgrounds */
  --emerald-2:  #0A7245;     /* was #0E8B53 (4.34 on white, fails AA) — now 5.99 on white, 5.54 on band, 5.28 on soft */
  --emerald-3:  #0A6E40;
  --emerald-soft: rgba(10,122,72,.10);
  --emerald-soft-2: rgba(10,122,72,.18);
  --gold:       #855A14;     /* was #B78628 (3.25 on white, fails AA) — now 6.05 on white */
  --danger:     #B42318;
  --warn:       #B54708;
  --shadow-1:   0 1px 2px rgba(15,26,36,.04), 0 2px 8px rgba(15,26,36,.04);
  --shadow-2:   0 2px 4px rgba(15,26,36,.06), 0 8px 24px rgba(15,26,36,.08);
  --shadow-3:   0 4px 12px rgba(15,26,36,.08), 0 16px 40px rgba(15,26,36,.10);
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --maxw:       1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
img { color: transparent; }
a { color: var(--emerald-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-family: 'Nunito Sans', sans-serif; color: var(--ink); letter-spacing: -.01em; margin: 0; line-height: 1.2; }
h1 { font-size: clamp(32px, 5.2vw, 52px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; letter-spacing: -.018em; line-height: 1.12; }
h3 { font-size: clamp(19px, 2.2vw, 22px); font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
p  { margin: 0 0 14px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }
.wrap      { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.util-row {
  background: var(--ink);
  color: #B6C2D1;
  font-size: 13px;
}
.util-row .wrap {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 12px;
}
.util-row a { color: #B6C2D1; }
.util-row a:hover { color: #fff; text-decoration: none; }
.util-left { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.util-right { display: flex; gap: 14px; align-items: center; }

.brand-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.brand-mark {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
}
.brand-mark:hover { text-decoration: none; }
.brand-mark .logo {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--emerald); display: grid; place-items: center; color: #fff;
  font-weight: 900; font-size: 22px; letter-spacing: -.02em;
  box-shadow: 0 4px 12px rgba(18,183,106,.35);
}
.brand-mark .logo svg { width: 26px; height: 26px; }
.brand-name { font-weight: 900; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.brand-tag  { font-size: 12px; color: var(--muted); font-weight: 600; }

.nav-desktop { display: flex; align-items: center; gap: 6px; }
.nav-desktop a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
  border-radius: 10px; color: var(--ink-2); font-weight: 700; font-size: 15px;
  white-space: nowrap;
}
.nav-desktop a:hover { background: var(--band); text-decoration: none; }
.nav-desktop a.cta {
  background: var(--emerald); color: #fff; padding: 0 18px;
  box-shadow: 0 4px 12px rgba(18,183,106,.30);
}
.nav-desktop a.cta:hover { background: var(--emerald-2); }

/* mobile drawer */
.hamburger {
  display: none;
  width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line-2); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
  position: relative; z-index: 260; /* sit above .mobile-drawer (250) and .scrim (240) so the toggle stays reachable while the drawer is open */
}
.hamburger[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); }
.hamburger span {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative;
}
.hamburger[aria-expanded="true"] span { background: #fff; }
.hamburger span::before,
.hamburger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px;
  background: inherit; border-radius: 2px;
}
.hamburger span::before { top: -6px; }
.hamburger span::after  { top: 6px; }

.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
  background: #fff; transform: translateX(100%); transition: transform .26s ease, visibility .26s linear;
  z-index: 250; display: flex; flex-direction: column;
  box-shadow: -16px 0 40px rgba(15,26,36,.12);
  visibility: hidden; pointer-events: none;
}
.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible; pointer-events: auto;
}
.mobile-drawer header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.mobile-drawer .brand-mark .logo { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
.mobile-drawer nav { padding: 14px 14px 0; overflow-y: auto; flex: 1; }
.mobile-drawer nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer nav li { margin: 0; }
.mobile-drawer nav a {
  display: flex; align-items: center; min-height: 46px; padding: 0 14px;
  border-radius: 11px; color: var(--ink); font-weight: 700; font-size: 16px;
  white-space: nowrap;
}
.mobile-drawer nav a:hover { background: var(--band); text-decoration: none; }
.mobile-drawer nav a.cta {
  margin-top: 8px; background: var(--emerald); color: #fff; justify-content: center;
  font-weight: 800;
}
.mobile-drawer .close {
  border: 1px solid var(--line-2); background: #fff; border-radius: 10px;
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--ink);
  text-transform: uppercase;
}
.scrim {
  position: fixed; inset: 0; background: rgba(15,26,36,.42);
  opacity: 0; pointer-events: none; transition: opacity .26s; z-index: 240;
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

/* === HERO (brand app profile) === */
.app-profile { padding: clamp(28px, 5vw, 56px) 0 clamp(36px, 5vw, 64px); background: var(--band); border-bottom: 1px solid var(--line); }
.app-profile .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.app-profile .identity { display: grid; gap: 16px; }
.app-profile .badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.app-profile .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 700; color: var(--ink-2);
}
.app-profile .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.app-profile .title-line { display: flex; align-items: center; gap: 14px; }
.app-profile .title-line .icon {
  width: 64px; height: 64px; border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(18,183,106,.32);
  background: var(--emerald); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 30px;
}
.app-profile h1 small { display: block; font-size: clamp(14px, 1.6vw, 16px); font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 4px; }
.app-profile p.lede { color: var(--ink-3); font-size: 18px; max-width: 56ch; line-height: 1.6; margin: 6px 0 8px; }

.fact-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 4px 0 18px;
}
.fact-strip .cell {
  background: #fff; padding: 14px 16px;
  display: grid; gap: 2px;
}
.fact-strip .cell .k { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.fact-strip .cell .v { font-size: 15px; color: var(--ink); font-weight: 800; line-height: 1.3; }

.cta-pair { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 800;
  font-size: 16px; cursor: pointer; text-decoration: none;
  border: 1px solid transparent; transition: background .15s, transform .12s;
}
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 6px 16px rgba(18,183,106,.32); }
.btn-primary:hover { background: var(--emerald-2); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-ghost   { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--band); text-decoration: none; }
.btn-dark    { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; text-decoration: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }

.hero-media { position: relative; min-height: 420px; display: grid; place-items: center; }
.hero-media .stage {
  position: relative; width: 100%; max-width: 540px;
  aspect-ratio: 1 / 1; border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 25%, rgba(18,183,106,.18), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(18,183,106,.12), transparent 50%),
    #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid; place-items: center;
}
.hero-media .stage::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,183,106,.04), rgba(15,26,36,.02));
}
.hero-media .icon-large {
  position: relative; width: clamp(140px, 22vw, 220px); height: clamp(140px, 22vw, 220px);
  border-radius: 28%; background: var(--emerald); color: #fff; display: grid; place-items: center;
  font-size: clamp(80px, 12vw, 120px); font-weight: 900; letter-spacing: -.05em;
  box-shadow: 0 20px 60px rgba(18,183,106,.40);
}
.hero-media .float-tag {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-2);
  font-weight: 700; font-size: 13px; color: var(--ink);
}
.hero-media .float-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.hero-media .ft-1 { top: 8%; left: 4%; }
.hero-media .ft-2 { bottom: 10%; left: 0; }
.hero-media .ft-3 { top: 18%; right: 2%; }
.hero-media .ft-4 { bottom: 18%; right: 4%; background: var(--ink); color: #fff; border-color: var(--ink); }
.hero-media .ft-4 .dot { background: var(--emerald); }

/* === SECTIONS === */
section { padding: clamp(36px, 5vw, 64px) 0; }
.section-tight { padding: clamp(28px, 3.5vw, 44px) 0; }
.band-cool { background: var(--band); }
.band-cool-2 { background: var(--band-2); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink h1, .band-ink h2, .band-ink h3, .band-ink h4 { color: #fff; }
.band-ink .fact-strip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.10); }
.band-ink .fact-strip .cell { background: rgba(255,255,255,.04); }
.band-ink .fact-strip .cell .k { color: rgba(255,255,255,.6); }
.band-ink .fact-strip .cell .v { color: #fff; }
.band-ink a { color: #34D399; }   /* lighter emerald for AA-compliant contrast on dark ink bg */

.section-head { display: grid; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); max-width: 720px; }
.section-head .eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald-2);
}
.section-head h2 { color: var(--ink); }
.section-head p  { color: var(--ink-3); font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* === ANNOTATED GALLERY (signature device) === */
.gallery-band { background: var(--band); padding: clamp(40px, 6vw, 80px) 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gallery-card {
  background: #fff; border-radius: var(--radius-lg); padding: 18px;
  border: 1px solid var(--line);
  display: grid; gap: 12px; box-shadow: var(--shadow-1);
}
.gallery-card .phone {
  border-radius: var(--radius); overflow: hidden;
  background: var(--band-2); aspect-ratio: 9 / 16; display: block; width: 100%; object-fit: cover;
}
.gallery-card .cap {
  display: grid; gap: 4px;
}
.gallery-card .cap strong { font-size: 14px; color: var(--ink); font-weight: 800; }
.gallery-card .cap span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* === TWO-COL FEATURE SPREAD === */
.feature-spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.feature-spread.reverse { direction: rtl; }
.feature-spread.reverse > * { direction: ltr; }
.feature-spread ul.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-spread ul.bullets li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.feature-spread ul.bullets li::before {
  content: ''; display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--emerald);
  background-image: linear-gradient(135deg, var(--emerald), var(--emerald-2));
  margin-top: 4px; position: relative;
}
.feature-spread ul.bullets li strong { display: block; font-weight: 800; color: var(--ink); font-size: 16px; }
.feature-spread ul.bullets li span { display: block; color: var(--ink-3); font-size: 15px; }

/* === INSTALL STEPS (numbered) === */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px;
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  display: grid; gap: 10px;
}
.step .num {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--emerald); color: #fff; font-weight: 900; display: grid; place-items: center;
  font-size: 14px; box-shadow: 0 4px 10px rgba(18,183,106,.28);
}
.step h3 { font-size: 17px; font-weight: 800; }   /* was .step h4 — promoted to h3 for sequential heading order (h2 above, h3 below) */
.step p { font-size: 14px; color: var(--ink-3); margin: 0; }

/* === HOT shelf (4 equal cards) === */
.hot-shelf {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.hot-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; cursor: pointer; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-1); transition: transform .15s, box-shadow .15s;
  min-height: 220px;
}
.hot-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); text-decoration: none; }
.hot-card .art {
  aspect-ratio: 4/3; display: grid; place-items: center; font-size: 48px; font-weight: 900;
  color: #fff; background: var(--band-2); position: relative;
}
.hot-card.fantasy .art { background: linear-gradient(135deg, #0F1A24, #1F3D2E); }
.hot-card.rummy   .art { background: linear-gradient(135deg, #1A4D2E, #2E7D32); }
.hot-card.sports  .art { background: linear-gradient(135deg, #B91C1C, #7F1D1D); }
.hot-card.games   .art { background: linear-gradient(135deg, #0F1A24, #2C3E50); }
.hot-card .body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.hot-card .body strong { font-size: 16px; font-weight: 800; color: var(--ink); }
.hot-card .body span { font-size: 13px; color: var(--muted); }

/* === YONO / app collection horizontal row === */
.row-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
  gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.row-scroll::-webkit-scrollbar { height: 6px; }
.row-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }

.app-row {
  scroll-snap-align: start;
  display: grid; grid-template-columns: 88px 1fr auto; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  min-height: 96px;
}
.app-row .thumb {
  width: 88px; height: 88px; border-radius: 14px; overflow: hidden; background: var(--band-2);
  display: grid; place-items: center; color: var(--ink-3); font-weight: 800;
}
.app-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.app-row .meta { display: grid; gap: 2px; min-width: 0; }
.app-row .meta strong { font-size: 15px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row .meta span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row .install {
  font-size: 13px; padding: 0 12px; min-height: 36px; border-radius: 10px;
  background: var(--ink); color: #fff; display: inline-flex; align-items: center; text-decoration: none;
}
.app-row .install:hover { background: #000; }

/* === Promos / VIP command cards === */
.command-band { background: var(--band); }
.command-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.command-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: grid; gap: 12px; box-shadow: var(--shadow-1);
  position: relative; overflow: hidden;
}
.command-card.vip { background: linear-gradient(135deg, #0F1A24, #1A2A38); color: #fff; border-color: var(--ink); }
.command-card.vip h3, .command-card.vip strong { color: #fff; }
.command-card.vip .label { color: #34D399; }   /* lighter emerald for AA-compliant contrast on dark gradient bg (was var(--emerald) #12B76A → now #0A7A48 fails on dark; #34D399 = 10.83:1 on #0F1A24) */
.command-card .label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-2); }
.command-card h3 { font-size: 20px; font-weight: 800; }
.command-card p { color: var(--ink-3); font-size: 14px; margin: 0; }
.command-card.vip p { color: rgba(255,255,255,.78); }
.command-card .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.command-card .pill { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--band); color: var(--ink-2); font-weight: 700; }
.command-card.vip .pill { background: rgba(255,255,255,.10); color: #fff; }

/* === News rail === */
.news-rail { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: grid; overflow: hidden; box-shadow: var(--shadow-1); text-decoration: none; color: var(--ink);
}
.news-card:hover { box-shadow: var(--shadow-2); text-decoration: none; }
.news-card .thumb { aspect-ratio: 16/10; background: var(--band-2); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 16px 18px 18px; display: grid; gap: 8px; }
.news-card .body .meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 700; }
.news-card .body .cat {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  background: var(--emerald-soft); color: var(--emerald-2); font-weight: 800; font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em;
}
.news-card .body h3 { font-size: 17px; line-height: 1.3; }
.news-card .body p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.5; }

/* === FAQ === */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink); font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--emerald-soft); color: var(--emerald-2); display: grid; place-items: center;
  font-weight: 900; font-size: 18px; line-height: 1;
}
.faq details[open] summary::after { content: '−'; background: var(--emerald); color: #fff; }
.faq .answer { padding: 0 22px 20px; color: var(--ink-3); font-size: 15px; line-height: 1.65; }
.faq .answer p:last-child { margin-bottom: 0; }

/* === Inline app directory (data-app-directory) === */
.app-dir { display: grid; gap: 10px; }
.app-dir-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.app-dir-toolbar input[type="search"] {
  flex: 1 1 220px; min-width: 0;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px;
  font: inherit; color: var(--ink); background: #fff;
}
.app-dir-toolbar select {
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px;
  font: inherit; color: var(--ink); background: #fff;
}
.app-dir-toolbar .count { font-size: 13px; color: var(--muted); font-weight: 700; margin-left: auto; }

/* === Section header with subtle ribbon === */
.eyebrow-ribbon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--emerald-soft); color: var(--emerald-2);
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}

/* === Footer === */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: clamp(36px, 5vw, 64px) 0 0; margin-top: clamp(40px, 6vw, 80px); }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.footer-grid h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid li { margin: 0; }
.footer-grid li a { font-size: 14px; }
.footer-brand .brand-mark { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: rgba(255,255,255,.6); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 14px; max-width: 38ch; }
.footer-legal-bar {
  margin-top: clamp(28px, 4vw, 48px); padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.55);
}
.footer-legal-bar nav { display: flex; gap: 14px; flex-wrap: wrap; }
.cookie-btn {
  border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff;
  border-radius: 8px; padding: 7px 12px; font-size: 12px; cursor: pointer;
}
.cookie-btn:hover { background: rgba(255,255,255,.10); }

.disclosure {
  font-size: 12px; color: var(--muted); line-height: 1.55;
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: 24px;
}

/* === Sticky mobile CTA (docked mobile lobby) === */
.mobile-sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 220; display: none;
}
.mobile-sticky a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; border-radius: 14px; background: var(--emerald); color: #fff;
  font-weight: 800; font-size: 16px; text-decoration: none;
  box-shadow: 0 10px 24px rgba(18,183,106,.36);
  border: 1px solid rgba(255,255,255,.10);
}
.mobile-sticky a:hover { background: var(--emerald-2); text-decoration: none; }

/* === Generic article / page styles === */
.page-hero {
  background: var(--band); padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb .sep { margin: 0 6px; color: var(--muted-2); }
.page-hero .lede { color: var(--ink-3); font-size: 18px; max-width: 60ch; }
.page-hero h1 { margin: 6px 0 12px; }

.prose { max-width: 760px; margin: 0 auto; }
.prose p, .prose li { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { margin: clamp(28px, 4vw, 40px) 0 12px; font-size: clamp(22px, 2.6vw, 28px); }
.prose h3 { margin: 24px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose blockquote {
  margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--emerald);
  background: var(--band); border-radius: 0 12px 12px 0; color: var(--ink-2);
}
.prose .figure { margin: 24px 0; }
.prose .figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose .figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* === Tables === */
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--band); font-weight: 800; }

/* === Error card (404 / 500 / 502) === */
.command-card.error-card {
  background: linear-gradient(135deg, #B42318, #7A1810);
  color: #fff;
  border-color: #7A1810;
}
.command-card.error-card h3,
.command-card.error-card strong { color: #fff; }
.command-card.error-card .label { color: rgba(255,255,255,.85); }
.command-card.error-card p { color: rgba(255,255,255,.85); }

/* === Table wrappers (vip + games data-tables) === */
.table-wrap,
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin: 18px 0;
  box-shadow: var(--shadow-1);
}
.table-wrap table,
.data-table-wrap table { min-width: 640px; }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
table.data-table th,
table.data-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  color: var(--ink-2);
}
table.data-table thead th {
  background: var(--band);
  font-weight: 800;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .02em;
}
table.data-table tbody tr:nth-child(2n) td { background: var(--paper-2); }
table.data-table tbody tr:hover td { background: var(--emerald-soft); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hot-shelf { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .news-rail { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .command-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .hamburger {
    display: inline-flex;
    position: fixed;
    top: 50px;
    right: 14px;
    z-index: 260; /* above .scrim (240) and .mobile-drawer (250) so the toggle stays reachable while the drawer is open */
  }
  .app-profile .grid { grid-template-columns: 1fr; gap: 28px; }
  .app-profile .title-line .icon { width: 56px; height: 56px; font-size: 26px; }
  .hero-media { min-height: 360px; }
  .feature-spread { grid-template-columns: 1fr; }
  .feature-spread.reverse { direction: ltr; }
  .fact-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .util-right { display: none; }
  .mobile-sticky { display: block; }
  body { padding-bottom: 90px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hot-shelf { grid-template-columns: 1fr 1fr; }
  .news-rail { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-media .ft-1, .hero-media .ft-3 { display: none; }
  .gallery-card .cap strong { font-size: 13px; }
}

/* === Accessibility helpers === */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; border-radius: 4px; }

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}



/* === ComeCome visual repair: premium logo, clean imagery, no collapsed columns === */
.brand-mark .logo,
.app-profile .title-line .icon,
.hero-media .icon-large {
  background-image: url('/assets/img/brand/comecome-logo.svg?v=2') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 26px rgba(9, 122, 72, .24), 0 0 0 1px rgba(255,255,255,.35) inset !important;
}

.hero-media .stage {
  background-image:
    linear-gradient(180deg, rgba(5,15,24,.05), rgba(5,15,24,.18)),
    url('/assets/img/brand/comecome-fantasy-clean.png?v=2') !important;
  background-size: cover !important;
  background-position: center !important;
}
.hero-media .stage::before,
.hero-media .icon-large,
.hero-media .float-tag { display: none !important; }

.gallery-card .phone {
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  border-radius: 18px !important;
}

.feature-spread,
.feature-spread > *,
.feature-spread ul.bullets,
.feature-spread ul.bullets li,
.feature-spread ul.bullets li span {
  min-width: 0 !important;
}
.feature-spread {
  width: 100% !important;
  grid-template-columns: minmax(0, .96fr) minmax(320px, 1fr) !important;
}
.feature-spread img {
  width: 100% !important;
  max-height: 420px !important;
  object-fit: cover !important;
}
.feature-spread ul.bullets li span {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: manual !important;
  line-height: 1.52 !important;
}
.feature-spread ul.bullets li strong,
.feature-spread ul.bullets li span {
  grid-column: 2 !important;
}

.hot-card.fantasy .art {
  background: url('/assets/img/brand/comecome-fantasy-clean.png?v=2') center/cover no-repeat !important;
}
.hot-card.rummy .art {
  background: url('/assets/img/brand/comecome-rummy-clean.png?v=2') center/cover no-repeat !important;
}
.hot-card.sports .art {
  background: url('/assets/img/brand/comecome-sports-clean.png?v=2') center/cover no-repeat !important;
}
.hot-card.games .art {
  background: url('/assets/img/brand/comecome-games-clean.png?v=2') center/cover no-repeat !important;
}
.hot-card .art {
  color: transparent !important;
  min-height: 132px !important;
}

@media (max-width: 860px) {
  .feature-spread {
    grid-template-columns: 1fr !important;
  }
  .feature-spread ul.bullets li {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
  }
  .hero-media { min-height: 260px !important; }
  .hero-media .stage { max-width: 100% !important; aspect-ratio: 16 / 10 !important; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr !important; }
  .gallery-card .phone { aspect-ratio: 16 / 10 !important; }
  .feature-spread ul.bullets li {
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 9px !important;
  }
  .feature-spread ul.bullets li strong { font-size: 15px !important; }
  .feature-spread ul.bullets li span { font-size: 14px !important; }
}
