/* ================================================================
   Come (apkcome8.com) — V10 Brand App Profile shell
   Pale-blue product desk + ice-blue trust accent
   Light-dominant dual-mode surface
   ================================================================ */

:root {
  --pale-blue-50:  #F4F8FC;
  --pale-blue-100: #E8F1F9;
  --pale-blue-200: #DCE8F2;
  --pale-blue-300: #C5D7E8;
  --ice-blue-400:  #5DA8DD;
  --ice-blue-500:  #1E88E5;
  --ice-blue-600:  #1565C0;
  --ice-blue-700:  #0B3D91;
  --ink-900:       #0A1F33;
  --ink-800:       #15263F;
  --ink-700:       #1F3553;
  --ink-600:       #3D5876;
  --ink-500:       #5B7793;
  --ink-400:       #7C93AD;
  --line-soft:     rgba(11, 61, 145, 0.10);
  --line-mid:      rgba(11, 61, 145, 0.18);
  --line-strong:   rgba(11, 61, 145, 0.30);
  --surface:       #FFFFFF;
  --surface-tint:  #F8FBFE;
  --surface-band:  #EEF5FB;
  --gold-warn:     #B6892A;
  --green-ok:      #1F7A4D;
  --shadow-sm: 0 1px 2px rgba(11, 61, 145, 0.06);
  --shadow-md: 0 6px 18px rgba(11, 61, 145, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 61, 145, 0.10);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1180px;
  --container-wide: 1320px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--pale-blue-50);
  color: var(--ink-900);
  font-family: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--ice-blue-600);
  text-decoration: none;
}
a:hover { color: var(--ice-blue-700); text-decoration: underline; }

/* WCAG link-in-text-block compliance: links inside body text must be distinguishable
   by more than color alone. Underline + offset provides non-color affordance. */
.prose a,
.numeral-card__body a,
.step__body a,
.card__body a,
.section p a,
.section li a,
table td a,
.faq-item a,
.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(11, 61, 145, 0.55);
}
.prose a:hover,
.numeral-card__body a:hover,
.step__body a:hover,
.card__body a:hover,
.section p a:hover,
.section li a:hover,
table td a:hover,
.faq-item a:hover,
.footer-legal a:hover {
  text-decoration-color: var(--ice-blue-700);
  text-decoration-thickness: 2px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink-900);
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: 28px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }

p { margin: 0 0 1em; }

section[id] { scroll-margin-top: 90px; }

/* ================================================================
   Header / Navigation (centered category-rail)
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(244, 248, 252, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-900);
}
.brand-mark:hover { text-decoration: none; }
.brand-mark__logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #07070d url('/assets/img/brand/come-logo.svg') center/cover no-repeat;
  display: grid;
  place-items: center;
  color: transparent;
  overflow: hidden;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-mark__name {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-900);
}
.brand-mark__tag {
  font-size: 11px;
  color: var(--ice-blue-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.brand-mark__txt { display: flex; flex-direction: column; line-height: 1.15; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover { color: var(--ice-blue-700); text-decoration: none; }
.main-nav a.active { color: var(--ice-blue-700); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -14px;
  height: 2px;
  background: var(--ice-blue-500);
  border-radius: 2px;
}

.header-right { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: #072E70;
  color: #fff;
  border-color: #072E70;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(11, 61, 145, 0.30);
}
.btn-primary:hover { background: var(--ice-blue-600); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-secondary {
  background: #fff;
  color: var(--ice-blue-700);
  border-color: var(--line-mid);
}
.btn-secondary:hover { background: var(--pale-blue-100); color: var(--ice-blue-700); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--ice-blue-700);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--pale-blue-100); text-decoration: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }

.header-cta-ghost {
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-700);
}
.header-cta-ghost:hover { color: var(--ice-blue-700); text-decoration: none; }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-mid);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  z-index: 300;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-800);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0;
  width: min(320px, 86vw);
  height: 100dvh;
  background: #fff;
  border-right: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  z-index: 250;
  padding: 80px 24px 24px;
  transform: translateX(-100%);
  visibility: hidden;
  opacity: 0;
  transition: transform 0.25s ease, visibility 0s linear 0.25s, opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition: transform 0.25s ease, visibility 0s linear 0s, opacity 0.2s ease;
}
.mobile-drawer a {
  display: block;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-800);
  font-weight: 500;
  font-size: 16px;
}
.mobile-drawer a:hover { color: var(--ice-blue-700); text-decoration: none; }
.mobile-drawer__cta { margin-top: 16px; }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 51, 0.4);
  z-index: 240;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ================================================================
   Container / Page rhythm
   ================================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--band {
  background: var(--surface-band);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section--ink {
  background: linear-gradient(180deg, var(--ice-blue-700) 0%, var(--ice-blue-600) 100%);
  color: #fff;
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ice-blue-700);
  margin-bottom: 12px;
  padding: 4px 10px;
  background: rgba(30, 136, 229, 0.10);
  border-radius: 999px;
}

.section-title {
  font-size: 30px;
  margin-bottom: 8px;
  color: var(--ink-900);
}
.section-lede {
  font-size: 17px;
  color: var(--ink-600);
  max-width: 640px;
  margin: 0 0 28px;
}

/* ================================================================
   Signature device: oversized section numerals
   ================================================================ */
.numeral-card {
  position: relative;
  padding: 28px 24px 22px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.numeral-card__num {
  position: absolute;
  top: -18px;
  left: 20px;
  font-size: 64px;
  font-weight: 800;
  color: rgba(11, 61, 145, 0.10);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}
.numeral-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 14px 0 8px;
}
.numeral-card__body {
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0;
}

/* ================================================================
   Card grid (used sparingly - max 2 per page)
   ================================================================ */
.card-grid {
  display: grid;
  gap: 20px;
}
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.card__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--ink-900); }
.card__body { font-size: 14px; color: var(--ink-600); line-height: 1.55; }

/* ================================================================
   Brand app profile (homepage first block)
   ================================================================ */
.app-profile {
  background: linear-gradient(180deg, #fff 0%, var(--pale-blue-100) 100%);
  border-bottom: 1px solid var(--line-soft);
  padding: 56px 0 40px;
}
.app-profile__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
  min-height: 520px;
}
.app-profile__grid > div:first-child { min-width: 0; }
.app-profile__grid > div:last-child { min-width: 0; }
.app-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-identity__icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: #07070d url('/assets/img/brand/come-logo.svg') center/cover no-repeat;
  display: grid;
  place-items: center;
  color: transparent;
  overflow: hidden;
  font-size: 32px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}
.app-identity__meta { display: flex; flex-direction: column; }
.app-identity__name { font-size: 22px; font-weight: 800; color: var(--ink-900); }
.app-identity__cat { font-size: 13px; color: var(--ice-blue-700); font-weight: 600; letter-spacing: 0.02em; }

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 26px;
}
.fact-strip__tile {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
}
.fact-strip__k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); font-weight: 700; margin-bottom: 4px; }
.fact-strip__v { font-size: 15px; color: var(--ink-900); font-weight: 700; }

.app-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.app-shot-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.app-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-mid);
  box-shadow: var(--shadow-md);
  aspect-ratio: 9 / 16;
  background: linear-gradient(135deg, var(--ice-blue-500), var(--ice-blue-700));
  position: relative;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.app-shot--a { background-image: linear-gradient(180deg, transparent 52%, rgba(5,19,36,.68) 100%), url('/assets/img/site/come-fantasy-cricket-gallery.webp'); }
.app-shot--b { background-image: linear-gradient(180deg, transparent 52%, rgba(5,19,36,.68) 100%), url('/assets/img/site/come-rummy-table-gallery.webp'); }
.app-shot--c { background-image: linear-gradient(180deg, transparent 52%, rgba(5,19,36,.68) 100%), url('/assets/img/site/come-sports-gallery.webp'); }
.app-shot--d { background-image: linear-gradient(180deg, transparent 52%, rgba(5,19,36,.68) 100%), url('/assets/img/site/come-games-gallery.webp'); }
.app-shot--a, .app-shot--b, .app-shot--c, .app-shot--d { background-size: cover; background-position: center; }
.app-shot__label {
  background: rgba(10, 31, 51, 0.55);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 100%;
}
.app-shot__glyph {
  display: none;
  position: absolute;
  top: 16px; right: 16px;
  font-size: 22px;
  opacity: 0.85;
}

/* ================================================================
   HOT shelf (4 compact equal-height mini rows)
   ================================================================ */
.hot-shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1024px) { .hot-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hot-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.hot-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); text-decoration: none; }
.hot-card__art {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pale-blue-100), var(--pale-blue-300));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 30px;
  color: var(--ice-blue-700);
  font-weight: 800;
  overflow: hidden;
}
.hot-card__art img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.hot-card__body { min-width: 0; flex: 1; }
.hot-card__cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ice-blue-700); font-weight: 700; margin-bottom: 4px; }
.hot-card__title { font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; line-height: 1.25; }
.hot-card__intent { font-size: 13px; color: var(--ink-600); line-height: 1.4; margin-bottom: 8px; }
.hot-card__action { font-size: 12px; font-weight: 700; color: var(--ice-blue-600); }

/* Horizontal scroll on mobile for HOT shelf */
@media (max-width: 640px) {
  .hot-shelf {
    grid-template-columns: 84%;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-right: -16px;
    padding-right: 16px;
  }
  .hot-card { scroll-snap-align: start; min-width: 0; }
}

/* ================================================================
   YONO app collection / Game shelf
   ================================================================ */
.app-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1024px) { .app-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.app-row {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.app-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); text-decoration: none; }
.app-row__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--pale-blue-100);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--ice-blue-700);
  font-weight: 800;
}
.app-row__icon img { width: 100%; height: 100%; object-fit: cover; }
.app-row__body { min-width: 0; flex: 1; }
.app-row__name { font-size: 14px; font-weight: 700; color: var(--ink-900); margin: 0 0 2px; line-height: 1.25; }
.app-row__cat { font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.app-row__cta { font-size: 12px; font-weight: 700; color: var(--ice-blue-600); }

@media (max-width: 640px) {
  .app-rail {
    grid-template-columns: 1fr;
  }
  .app-row { min-width: 0; }
}

/* ================================================================
   Tracked list (horizontal row pattern)
   ================================================================ */
.app-list {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.app-list__row {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line-soft);
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.app-list__row:first-child { border-top: 0; }
.app-list__row:hover { background: var(--surface-tint); text-decoration: none; }
.app-list__art {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pale-blue-100), var(--pale-blue-300));
  display: grid; place-items: center;
  color: var(--ice-blue-700);
  font-weight: 800;
  overflow: hidden;
}
.app-list__art img { width: 100%; height: 100%; object-fit: cover; }
.app-list__name { font-weight: 700; color: var(--ink-900); font-size: 15px; line-height: 1.25; margin: 0; }
.app-list__meta { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.app-list__provider { font-size: 12px; font-weight: 700; color: var(--ice-blue-700); text-transform: uppercase; letter-spacing: 0.06em; }
.app-list__cta { white-space: nowrap; }

@media (max-width: 640px) {
  .app-list__row {
    grid-template-columns: 56px 1fr auto;
    grid-template-rows: auto auto;
  }
  .app-list__provider { display: none; }
}

/* ================================================================
   Steps
   ================================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
  min-width: 0;
}
.step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ice-blue-500);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
  font-size: 15px;
}
.step__title { font-size: 16px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; }
.step__body { font-size: 14px; color: var(--ink-600); line-height: 1.55; margin: 0; }

/* ================================================================
   Tables
   ================================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 14px;
}
.data-table thead { background: var(--pale-blue-100); }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.data-table th { font-weight: 700; color: var(--ink-800); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--surface-tint); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); max-width: 100%; }
.table-wrap .data-table { border-radius: 0; min-width: 540px; }

/* ================================================================
   FAQ (category split, disclosure control)
   ================================================================ */
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-900);
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--ice-blue-600);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { padding: 0 18px 16px; color: var(--ink-700); font-size: 15px; line-height: 1.6; }

/* ================================================================
   News cards
   ================================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.news-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); text-decoration: none; }
.news-card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--ice-blue-500), var(--ice-blue-700));
  position: relative;
  overflow: hidden;
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__media-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--ice-blue-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.news-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.news-card__date { font-size: 12px; color: var(--ink-500); margin-bottom: 8px; }
.news-card__title { font-size: 17px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; line-height: 1.3; }
.news-card__lede { font-size: 14px; color: var(--ink-600); line-height: 1.55; margin-bottom: 12px; flex: 1; }
.news-card__more { font-size: 13px; font-weight: 700; color: var(--ice-blue-600); }

/* ================================================================
   Footer (4 columns + legal)
   ================================================================ */
.site-footer {
  background: var(--ink-900);
  color: #DDE6F0;
  padding: 56px 0 32px;
  font-size: 14px;
}
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer a { color: #B5C6D9; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 20px; } }

.footer-brand__name { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.footer-brand__desc { color: #95A8BD; font-size: 13px; line-height: 1.55; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #95A8BD;
}
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal__links a { color: #B5C6D9; display: inline; padding: 0; }
.footer-legal__links a:hover { color: #fff; }

.disclosure {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 22px 0 4px;
  font-size: 12px;
  color: #95A8BD;
  line-height: 1.55;
}
.disclosure strong { color: #DDE6F0; }

/* ================================================================
   Mobile sticky CTA
   ================================================================ */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line-soft);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  z-index: 220;
}
.mobile-cta__inner { display: flex; gap: 10px; align-items: center; }
.mobile-cta__inner .btn { flex: 1; padding: 12px 16px; }
.mobile-cta__msg { font-size: 11px; color: var(--ink-500); }

@media (max-width: 768px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
}

/* ================================================================
   Cookie banner
   - Default state is fully rendered in the document (opacity:0,
     pointer-events:none) so first paint has the reserved layout box
     and the on-paint show does not move surrounding content (no CLS).
   - JS toggles `.is-visible` to fade in; user click sets `.is-hidden`
     which fades out and removes pointer events.
   ================================================================ */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px;
  bottom: 90px;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 230;
  font-size: 14px;
  /* Always in layout. Opacity/pointer-events/transform control visibility. */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.2s ease, transform 0.25s ease;
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.cookie-banner__actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ================================================================
   App directory (search/filter/result hooks)
   ================================================================ */
.dir-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
@media (max-width: 768px) { .dir-controls { grid-template-columns: 1fr; } }
.search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #fff;
  font-family: inherit;
  color: var(--ink-800);
}
.search-input:focus { outline: 2px solid var(--ice-blue-500); outline-offset: 1px; border-color: var(--ice-blue-500); }
.provider-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.provider-tab {
  padding: 7px 14px;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.provider-tab.is-active {
  background: var(--ice-blue-500);
  color: #fff;
  border-color: var(--ice-blue-500);
}
.result-count {
  font-size: 13px;
  color: var(--ink-600);
  margin-bottom: 14px;
  font-weight: 600;
}
.result-count strong { color: var(--ink-900); }

/* ================================================================
   Generic helpers
   ================================================================ */
.tone-card-2 {
  background: var(--pale-blue-100);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 18px;
}
.tone-band-ink {
  background: var(--ink-900);
  color: #DDE6F0;
  padding: 32px;
  border-radius: var(--radius-md);
}
.tone-band-ink h2, .tone-band-ink h3 { color: #fff; }
.tone-band-ink a { color: #5DA8DD; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(135deg, var(--ice-blue-500) 0%, var(--ice-blue-700) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  margin: 36px 0;
  min-width: 0;
  max-width: 100%;
}
.cta-band > * { min-width: 0; }
.cta-band h3 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; font-size: 14px; }
.cta-band__actions { display: flex; gap: 10px; flex-wrap: wrap; min-width: 0; }
.cta-band__actions .btn { min-width: 0; flex: 1 1 auto; }
.cta-band__actions .btn-primary { background: #fff; color: var(--ice-blue-700); box-shadow: none; }
.cta-band__actions .btn-primary:hover { background: var(--pale-blue-100); }
.cta-band__actions .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 10px; line-height: 1.55; font-size: 15px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ice-blue-500);
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--pale-blue-100);
  color: var(--ice-blue-700);
  border-radius: 999px;
  border: 1px solid var(--line-soft);
}

/* ================================================================
   Mobile breakpoint
   ================================================================ */
@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 26px; }

  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta-ghost { display: none; }
  .header-right .btn-header-install { display: none; }

  .app-profile { padding: 36px 0 28px; }
  .app-profile__grid { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .app-identity__icon { width: 64px; height: 64px; font-size: 26px; }
  .fact-strip { grid-template-columns: 1fr; }
  .app-shot-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .app-shot { aspect-ratio: 9/14; padding: 12px; }
}

@media (max-width: 480px) {
  .site-header__inner { padding: 10px 16px; gap: 8px; }
  .container, .container-wide { padding: 0 16px; }
  .brand-mark__tag { display: none; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .card-grid--4 { grid-template-columns: 1fr; }
}

/* Prevent text from breaking character-by-character */
h1, h2, h3, h4, h5, p, .btn, .step__title, .numeral-card__title, .card__title, .faq-item summary {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Focus state */
:focus-visible {
  outline: 2px solid var(--ice-blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print */
@media print {
  .site-header, .mobile-cta, .cookie-banner { display: none; }
  body { background: #fff; }
}
