/* ============================================================
   TEEN PATTI PLAY HUB — Premium Design System v2
   Dark-mode fintech aesthetic with glassmorphism & animations
   ============================================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #0f766e;
  --accent: #2563eb;
  --ink: #111827;

  /* Design tokens */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-900: #064e3b;

  --blue-500: #3b82f6;
  --blue-600: #2563eb;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-dark-bg: rgba(15, 23, 42, 0.7);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.1);
  --shadow-glow-teal: 0 0 24px rgba(15,118,110,.35);
  --shadow-glow-blue: 0 0 24px rgba(37,99,235,.35);

  /* Gradients */
  --grad-teal: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #0891b2 100%);
  --grad-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --grad-hero: linear-gradient(135deg, #064e3b 0%, #0f172a 40%, #1e1b4b 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.01));

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-mid: 280ms;
  --dur-slow: 500ms;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--slate-50);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- Typography Scale ---------- */
h1, h2, h3, h4 {
  font-family: 'Outfit', 'Inter', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--slate-100); }
::-webkit-scrollbar-thumb { background: var(--teal-500); border-radius: 3px; }

/* ============================================================
   SITE HEADER — Sticky glassmorphism nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 5vw;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(203, 213, 225, 0.6);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 4px 20px rgba(0,0,0,.04);
  transition: background var(--dur-mid) var(--ease-smooth);
}

.site-header:hover {
  background: rgba(255, 255, 255, 0.98);
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  transition: opacity var(--dur-fast);
}

.brand:hover { opacity: 0.8; }

.brand span, .icon {
  display: grid;
  place-items: center;
  background: var(--grad-teal);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0;
  box-shadow: var(--shadow-glow-teal);
}

.brand span {
  width: 34px;
  height: 34px;
}

/* ---------- Nav ---------- */
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.site-header nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate-600);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all var(--dur-fast) var(--ease-smooth);
}

.site-header nav a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

/* ============================================================
   HERO SECTION — Dark gradient with image
   ============================================================ */
.hero {
  position: relative;
  padding: 72px 5vw 56px;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  display: grid;
  gap: 24px;
  min-height: 480px;
  align-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-banner.png');
  background-size: cover;
  background-position: center right;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,78,59,0.92) 40%, transparent 100%);
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  line-height: 1.05;
}

.hero p {
  max-width: 640px;
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
}

/* Hero decoration orb */
.hero-orb {
  position: absolute;
  right: 8vw;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,118,110,0.4) 0%, transparent 70%);
  animation: pulse-orb 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes pulse-orb {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateY(-50%) scale(1.08); opacity: 1; }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  background: rgba(15,118,110,0.15);
  border: 1px solid rgba(15,118,110,0.3);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero .eyebrow {
  color: #5eead4;
  background: rgba(94,234,212,0.1);
  border-color: rgba(94,234,212,0.25);
}

/* ---------- Compact Hero ---------- */
.compact-hero {
  padding: 52px 5vw 38px;
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.compact-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,118,110,0.3) 0%, transparent 70%);
  animation: pulse-orb 5s ease-in-out infinite;
}

.compact-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  color: #fff;
  max-width: 820px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.compact-hero p {
  max-width: 680px;
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   STAT ROW — Animated counters
   ============================================================ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.stat-row div {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  transition: transform var(--dur-mid) var(--ease-spring),
              background var(--dur-mid);
}

.stat-row div:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
}

.stat-row strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-row span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  background: var(--grad-teal);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-md), var(--shadow-glow-teal);
  transition: all var(--dur-mid) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--dur-fast);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 32px rgba(15,118,110,.45);
}

.button:hover::after { opacity: 1; }
.button:active { transform: translateY(0); }

.button.ghost {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.button.ghost:hover {
  background: rgba(255,255,255,0.2);
  box-shadow: none;
}

.button.secondary {
  background: var(--slate-100);
  color: var(--slate-700);
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
  background: var(--slate-200);
  transform: translateY(-1px);
}

.hero-actions, .category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   SECTION — Content blocks
   ============================================================ */
.section {
  padding: 48px 5vw;
}

.section h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--slate-800);
  line-height: 1.2;
}

/* ============================================================
   APP CARDS — Premium glassmorphism
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.app-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-mid) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-teal);
  opacity: 0;
  transition: opacity var(--dur-mid);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.app-card:hover::before { opacity: 1; }

.app-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--slate-800);
}

.app-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
}

.app-card h3 a:hover { color: var(--teal-700); }

.app-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.55;
}

/* ---------- App Icon ---------- */
.icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--grad-teal);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: var(--shadow-md), var(--shadow-glow-teal);
}

.app-icon {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  max-width: 56px;
  flex: 0 0 56px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  background: var(--slate-100);
  align-self: flex-start;
}

/* ---------- Badges ---------- */
.badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.badges span, .category-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--teal-100);
  background: var(--teal-50);
  color: var(--teal-700);
  letter-spacing: 0.01em;
}

.category-pill {
  text-decoration: none;
  transition: all var(--dur-fast);
}

.category-pill:hover {
  background: var(--teal-700);
  color: #fff;
  border-color: var(--teal-700);
}

/* ============================================================
   TABLE — Data comparison
   ============================================================ */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 14px;
}

th {
  background: var(--slate-800);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tr:last-child td { border-bottom: none; }

tr:hover td {
  background: var(--teal-50);
  transition: background var(--dur-fast);
}

/* ============================================================
   SPLIT LAYOUT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: start;
}

/* ---------- Facts Sidebar ---------- */
.facts {
  background: var(--slate-800);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 90px;
}

.facts h2 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.facts dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  font-size: 13.5px;
}

.facts dt {
  font-weight: 600;
  color: var(--slate-400);
  white-space: nowrap;
}

.facts dd {
  margin: 0;
  color: #fff;
  font-weight: 500;
}

/* ============================================================
   NOTICE / ALERT
   ============================================================ */
.notice {
  padding: 14px 18px;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1px solid #fed7aa;
  border-left: 4px solid #f97316;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate-700);
}

.notice strong { color: var(--slate-900); }
.notice a { color: #b45309; font-weight: 600; text-decoration: underline; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 10px;
  transition: all var(--dur-mid) var(--ease-smooth);
  cursor: default;
}

.faq-item:hover {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(15,118,110,.08), var(--shadow-md);
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--slate-800);
}

.faq-item p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 5vw;
  background: var(--slate-900);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.site-footer p {
  font-size: 13px;
  max-width: 420px;
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-content: flex-start;
}

.site-footer nav a {
  font-size: 12.5px;
  color: var(--slate-400);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast);
}

.site-footer nav a:hover {
  color: var(--teal-500);
  background: rgba(255,255,255,.05);
}

/* ============================================================
   HERO IMAGES — Full-width visual blocks
   ============================================================ */
.hero-image-block {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}

.img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.img-card img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.img-card:hover img { transform: scale(1.03); }

/* ============================================================
   MATRIX THEME — Orange/brown sidebar layout
   ============================================================ */
.matrix-shell {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 0;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
}

.matrix-rail {
  padding: 52px 32px;
  background: #431407;
  color: #fff;
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.matrix-rail h1 { color: #fff; font-size: clamp(28px, 3vw, 42px); }
.matrix-rail .eyebrow { color: #fdba74; background: rgba(251,186,116,0.12); border-color: rgba(251,186,116,0.25); }

.matrix-feed {
  padding: 32px;
}

.matrix-feed ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.matrix-feed li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #ffedd5;
  padding: 12px 0;
  transition: background var(--dur-fast);
}

.matrix-feed li:hover { background: rgba(251,186,116,0.06); }
.matrix-feed small { color: #78716c; font-size: 12.5px; }
.matrix-cats { background: #fffaf0; }
.theme-matrix .app-card { border-left: 3px solid #7c2d12; }
.theme-matrix table th { background: #431407; }

/* ============================================================
   STORE / DIRECTORY THEME
   ============================================================ */
.store-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 24px;
  padding: 52px 5vw;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  border-bottom: 1px solid #1e40af;
}

.store-top h1 { color: #fff; font-size: clamp(30px, 4vw, 52px); }
.store-top p { color: rgba(255,255,255,0.78); }
.store-top .eyebrow { color: #93c5fd; background: rgba(147,197,253,0.1); border-color: rgba(147,197,253,0.25); }

.store-search {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(20px);
}

.store-search label {
  display: block;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  font-size: 14px;
}

.search {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(255,255,255,.1);
  color: #fff;
  transition: all var(--dur-mid);
}

.search::placeholder { color: rgba(255,255,255,.4); }

.search:focus {
  outline: none;
  border-color: #60a5fa;
  background: rgba(255,255,255,.15);
  box-shadow: 0 0 0 3px rgba(96,165,250,.25);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  background: #f8fafc;
}

.theme-store .app-card { display: block; }
.theme-store .app-card .icon { margin-bottom: 14px; }
.theme-store table th { background: #1e3a5f; }

/* ============================================================
   MEGA THEME — Pink/crimson dramatic
   ============================================================ */
.mega-hero {
  min-height: 580px;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 100px 5vw 60px;
  background: linear-gradient(135deg, #1f2937 0%, #3b0764 40%, #7c2d12 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.mega-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,24,93,0.3) 0%, transparent 70%);
  animation: pulse-orb 6s ease-in-out infinite;
}

.mega-hero h1 {
  font-size: clamp(42px, 7vw, 86px);
  max-width: 960px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.mega-hero p { color: rgba(255,255,255,.75); max-width: 680px; position: relative; z-index: 1; }
.mega-hero .eyebrow { color: #f9a8d4; background: rgba(249,168,212,0.1); border-color: rgba(249,168,212,0.25); position: relative; z-index: 1; }

/* Podium */
.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 860px;
}

.podium-card {
  display: grid;
  gap: 8px;
  text-decoration: none;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-height: 160px;
  backdrop-filter: blur(10px);
  transition: all var(--dur-mid) var(--ease-spring);
}

.podium-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
  border-color: rgba(249,168,212,.4);
}

.podium-card span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(190,24,93,0.7);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,.2);
}

.podium-card strong { font-size: 20px; color: #fff; }
.podium-card p { font-size: 13px; color: rgba(255,255,255,.7); }
.podium-card small { font-size: 12px; color: rgba(255,255,255,.5); }

.split-feature {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.theme-mega .app-card { border-top: 3px solid #be185d; border-radius: 0; }
.theme-mega table th { background: #881337; }

/* ============================================================
   BONUS VERTICAL THEME — Green/amber
   ============================================================ */
.bonus-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 24px;
  padding: 52px 5vw;
  background: linear-gradient(135deg, #1e293b 0%, #1a2e1a 100%);
  color: #fff;
  border-bottom: 1px solid #166534;
}

.bonus-ledger h1 { font-size: clamp(30px, 4vw, 52px); color: #fff; }
.bonus-ledger p { color: rgba(255,255,255,.75); max-width: 600px; }
.bonus-ledger .eyebrow { color: #86efac; background: rgba(134,239,172,0.1); border-color: rgba(134,239,172,0.25); }

.bonus-warning {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(134,239,172,.2);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(10px);
  align-self: center;
}

.bonus-warning strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 8px;
}

.bonus-warning span {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: 13.5px;
  line-height: 1.65;
}

.ledger-table { background: #fff; }
.theme-bonus table th { background: #14532d; }
.theme-bonus .app-card { border-color: #bbf7d0; background: #f0fdf4; }

/* ============================================================
   HUB THEME — Teal/dark premium
   ============================================================ */
.theme-hub { background: #ecfdf5; }

.theme-hub .site-header {
  background: rgba(236,253,245,.92);
  border-bottom-color: rgba(204,251,241,.6);
}

.theme-hub .site-footer { background: var(--teal-900); }

.theme-hub .app-card {
  box-shadow: 0 4px 20px rgba(15,118,110,.06);
}

.theme-hub .app-card:hover {
  box-shadow: 0 8px 32px rgba(15,118,110,.15);
}

/* ============================================================
   MICRO-ANIMATIONS
   ============================================================ */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-up {
  animation: fade-in-up var(--dur-slow) var(--ease-smooth) both;
}

.animate-fade-up:nth-child(2) { animation-delay: 80ms; }
.animate-fade-up:nth-child(3) { animation-delay: 160ms; }
.animate-fade-up:nth-child(4) { animation-delay: 240ms; }

/* Skeleton loading shimmer */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ============================================================
   FEED HEAD
   ============================================================ */
.feed-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #fed7aa;
}

.feed-head strong { font-size: 16px; color: var(--slate-800); }
.feed-head a { font-weight: 700; color: var(--primary); font-size: 13px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .matrix-shell, .matrix-rail { display: block; }
  .matrix-rail { position: static; min-height: auto; padding: 32px 5vw; }

  .store-top, .bonus-ledger { grid-template-columns: 1fr; }
  .podium { grid-template-columns: 1fr; }
  .split-feature { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 5vw;
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  
  .site-header nav::-webkit-scrollbar {
    height: 4px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .site-footer .footer-brand {
    grid-column: span 2;
  }

  .hero { padding: 42px 5vw 36px; min-height: auto; }
  .compact-hero { padding: 36px 5vw 28px; }
  .hero::before, .compact-hero::before { opacity: 0.15; }
  .hero-orb { display: none; }
  .hero h1 { font-size: 30px; line-height: 1.15; }
  .compact-hero h1 { font-size: 26px; line-height: 1.2; }

  .split { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .mega-hero { min-height: auto; padding: 52px 5vw 36px; }
  .mega-hero h1 { font-size: 32px; line-height: 1.15; }

  .section { padding: 28px 5vw; }
  
  /* Fix tables overflowing on mobile */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  
  th, td { font-size: 13px; padding: 12px 14px; }
  
  .app-card {
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-brand {
    grid-column: span 1;
  }
  .podium { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .mega-hero h1 { font-size: 28px; }
  .store-top h1, .bonus-ledger h1, .matrix-rail h1 { font-size: 26px; }
}

/* ============================================================
   UNIQUE HERO BACKGROUNDS
   ============================================================ */
.matrix-rail { position: relative; overflow: hidden; z-index: 1; }
.matrix-rail::before { content: ''; position: absolute; inset: 0; background-image: url('../img/hero-banner.png'); background-size: cover; background-position: center; opacity: 0.15; z-index: -1; mix-blend-mode: luminosity; }

.store-top { position: relative; overflow: hidden; z-index: 1; }
.store-top::before { content: ''; position: absolute; inset: 0; background-image: url('../img/hero-banner.png'); background-size: cover; background-position: right center; opacity: 0.25; z-index: -1; mix-blend-mode: luminosity; }

.mega-hero::after { content: ''; position: absolute; inset: 0; background-image: url('../img/hero-banner.png'); background-size: cover; background-position: center; opacity: 0.25; mix-blend-mode: overlay; z-index: 0; pointer-events: none; }

.bonus-ledger { position: relative; overflow: hidden; z-index: 1; }
.bonus-ledger::before { content: ''; position: absolute; inset: 0; background-image: url('../img/hero-banner.png'); background-size: cover; background-position: center right; opacity: 0.2; z-index: -1; mix-blend-mode: luminosity; }


/* ============================================================
   BRAND IMAGE LOGO (Added safely)
   ============================================================ */
.brand span { 
  display: none !important; 
}

.brand-img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px;
  margin-right: 14px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0, 0.25), inset 0 2px 4px rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}


/* ============================================================
   SEO REPAIR ADDITIONS - 2026-07-03
   ============================================================ */
.brand-img {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px;
  border-radius: 10px;
  object-fit: cover;
}
.search-box {
  width: min(100%, 520px);
  padding: 14px 16px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  font: inherit;
}
.content-card {
  max-width: 920px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.content-card p + p { margin-top: 14px; }
.content-list {
  margin: 14px 0 22px 22px;
  color: var(--slate-700);
}
.content-list li { margin-bottom: 8px; }
.facts a { color: #67e8f9; text-decoration: underline; }


/* ============================================================
   HOME DESIGN V4 - Mobile First APK Hub + Bharat Trust
   ============================================================ */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: 36px;
  align-items: center;
  padding: 74px 5vw 84px;
  background:
    radial-gradient(circle at 78% 12%, rgba(34,197,94,.2), transparent 28%),
    linear-gradient(135deg, #061b4a 0%, #0b2a6f 58%, #07162e 100%);
  color: #fff;
  overflow: hidden;
}
.home-kicker {
  margin: 0 0 12px;
  color: #86efac;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 800;
  font-size: 13px;
}
.home-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.045em;
}
.home-lede {
  max-width: 760px;
  color: #dbeafe;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.6;
}
.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 720px;
  margin-top: 28px;
  background: #fff;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
}
.home-search input {
  border: 0;
  outline: 0;
  padding: 16px 18px;
  font: inherit;
  color: #0f172a;
  min-width: 0;
}
.home-search button {
  border: 0;
  border-radius: 16px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  font-weight: 800;
  cursor: pointer;
}
.home-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.home-chips button {
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #e0f2fe;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
}
.home-chips button:hover,
.home-chips button.is-active {
  background: #22c55e;
  border-color: #22c55e;
  color: #052e16;
}
.home-phone-wrap {
  display: grid;
  justify-items: center;
  align-self: end;
}
.home-phone-img {
  width: min(100%, 430px);
  border-radius: 42px;
  filter: drop-shadow(0 32px 58px rgba(0,0,0,.42));
}
.home-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: min(1180px, 90vw);
  margin: -46px auto 24px;
  position: relative;
  z-index: 3;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(15,23,42,.14);
  overflow: hidden;
}
.home-trust-strip article {
  padding: 24px 26px;
  border-right: 1px solid #e2e8f0;
}
.home-trust-strip article:last-child { border-right: 0; }
.home-trust-strip strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
  margin-bottom: 6px;
}
.home-trust-strip span { color: #64748b; font-size: 14px; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}
.section-head p:not(.home-kicker) { color: #64748b; max-width: 740px; }
.home-app-list {
  display: grid;
  gap: 14px;
}
.home-app-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(360px, 1.45fr) auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(15,23,42,.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-app-row:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 20px 48px rgba(15,23,42,.12);
}
.home-app-main {
  display: flex;
  gap: 18px;
  align-items: center;
}
.home-app-icon {
  width: 82px !important;
  height: 82px !important;
  flex: 0 0 82px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(15,23,42,.16);
}
.home-app-main h3 {
  margin: 0 0 4px;
  font-size: 24px;
}
.home-app-main p {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 14px;
}
.home-evidence {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.home-evidence.needs { background: #fef3c7; color: #92400e; }
.home-evidence.listed { background: #ecfdf5; color: #047857; }
.home-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.home-facts-grid dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.home-facts-grid dd {
  margin: 4px 0 0;
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
}
.home-row-actions {
  display: grid;
  gap: 10px;
  min-width: 168px;
}
.home-guide-band {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: 28px;
  align-items: center;
  background: #fff8ec;
}
.home-guide-band > div:first-child p:not(.home-kicker) {
  color: #475569;
  font-size: 17px;
}
.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.home-guide-card {
  display: block;
  padding: 22px;
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 22px;
  color: #0f172a;
}
.home-guide-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 18px;
}
.home-guide-card p { color: #64748b; font-size: 14px; }
.home-guide-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #16a34a;
  color: white;
  font-weight: 900;
}
.home-compare table {
  border: 1px solid #dbe4f0;
}
.home-editorial {
  background: linear-gradient(135deg, #f8fafc, #fff7ed);
}
.home-faq .faq-item h3 {
  cursor: pointer;
}
.home-faq .faq-item p {
  display: none;
}
.home-faq .faq-item.is-open p {
  display: block;
}
.mobile-sticky-cta {
  position: sticky;
  bottom: 16px;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(720px, calc(100% - 28px));
  margin: 0 auto 16px;
  padding: 14px 16px;
  border-radius: 22px;
  background: #061b4a;
  color: #dbeafe;
  box-shadow: 0 18px 44px rgba(15,23,42,.28);
}
.mobile-sticky-cta a {
  background: #22c55e;
  color: #052e16;
  border-radius: 16px;
  padding: 10px 14px;
  font-weight: 900;
}
@media (max-width: 980px) {
  .home-hero,
  .home-guide-band {
    grid-template-columns: 1fr;
  }
  .home-phone-img { width: min(82vw, 360px); }
  .home-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-app-row {
    grid-template-columns: 1fr;
  }
  .home-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-row-actions {
    grid-template-columns: 1fr 1fr;
  }
  .home-guide-grid {
    grid-template-columns: 1fr;
  }
  .mobile-sticky-cta { display: flex; }
}
@media (max-width: 640px) {
  .home-hero { padding: 48px 5vw 72px; }
  .home-search { grid-template-columns: 1fr; }
  .home-search button { padding: 14px; }
  .home-trust-strip { grid-template-columns: 1fr; }
  .home-trust-strip article { border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .section-head { display: block; }
  .home-row-actions { grid-template-columns: 1fr; }
}


/* ============================================================
   CLASSIC SEO PORTAL V5 - Download Article Site
   ============================================================ */
.seo-topbar {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 8px 5vw;
  background: #061b4a;
  color: #dbeafe;
  font-size: 13px;
}
.seo-topbar strong {
  margin-left: auto;
  color: #fff;
}
.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 42px;
  padding: 52px 5vw 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.breadcrumbs {
  margin-bottom: 24px;
  color: #64748b;
  font-size: 14px;
}
.breadcrumbs a {
  color: #1d4ed8;
}
.seo-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0f3a71;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .05em;
}
.seo-hero h1 {
  max-width: 920px;
  margin: 0 0 18px;
  color: #0b2454;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.seo-intro {
  max-width: 900px;
  color: #334155;
  font-size: 19px;
  line-height: 1.65;
}
.seo-meta,
.seo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.seo-meta span {
  color: #475569;
  font-size: 14px;
}
.seo-chip-row span {
  padding: 8px 12px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  background: #fff;
  color: #0b2454;
  font-weight: 800;
  font-size: 13px;
}
.seo-warning {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 24px 28px;
  border: 1px solid #fca5a5;
  border-left: 6px solid #ef4444;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7f7, #fff);
}
.seo-warning strong {
  color: #b91c1c;
  font-size: 22px;
}
.seo-warning p {
  margin: 0;
  color: #334155;
}
.seo-toc {
  align-self: start;
  position: sticky;
  top: 96px;
  padding: 28px;
  border: 1px solid #cfe0f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15,23,42,.07);
}
.seo-toc h2 {
  margin: 0 0 16px;
  color: #0b2454;
  font-size: 18px;
}
.seo-toc ol {
  margin: 0;
  padding-left: 20px;
  color: #64748b;
}
.seo-toc li {
  margin-bottom: 12px;
}
.seo-toc a {
  color: #1d4ed8;
  font-weight: 700;
}
.seo-table-section h2,
.seo-article h2 {
  color: #0b2454;
}
.seo-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #fff;
}
.seo-comparison-table {
  min-width: 980px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.seo-comparison-table th {
  background: #082a5f;
}
.seo-status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 12px;
}
.seo-status.needs {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fcd34d;
}
.seo-status.verified {
  color: #047857;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}
.text-link {
  color: #ea580c;
  font-weight: 900;
  text-decoration: underline;
}
.seo-note {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #dbe4f0;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #f8fbff;
  color: #475569;
  font-size: 14px;
}
.seo-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 350px);
  gap: 32px;
  align-items: start;
}
.seo-article {
  max-width: 940px;
}
.seo-article h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}
.seo-article p,
.seo-article li {
  color: #334155;
  font-size: 16.5px;
  line-height: 1.76;
}
.seo-check-list {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
}
.seo-check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 30px;
}
.seo-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.seo-alt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 28px;
}
.seo-alt-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #fff;
  color: #0f172a;
}
.seo-alt-card img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
}
.seo-alt-card span {
  color: #64748b;
  font-size: 13px;
}
.seo-alt-card em {
  color: #1d4ed8;
  font-style: normal;
  font-weight: 900;
  font-size: 13px;
}
.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.seo-link-card {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #fff;
  color: #0b2454;
}
.seo-link-card span {
  color: #64748b;
  font-size: 13px;
}
.seo-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.seo-side-card {
  padding: 22px;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #fff;
}
.seo-side-card h3 {
  margin: 0 0 8px;
}
.seo-side-card p {
  color: #64748b;
}
.seo-side-card a {
  color: #1d4ed8;
  font-weight: 900;
}
.seo-side-card.blue { border-color: #bfdbfe; background: #eff6ff; }
.seo-side-card.green { border-color: #bbf7d0; background: #f0fdf4; }
.seo-side-card.orange { border-color: #fed7aa; background: #fff7ed; }
.seo-side-card.purple { border-color: #ddd6fe; background: #faf5ff; }
.home-faq .faq-item h3,
.seo-article .faq-item h3 {
  cursor: pointer;
}
.home-faq .faq-item p,
.seo-article .faq-item p {
  display: none;
}
.home-faq .faq-item.is-open p,
.seo-article .faq-item.is-open p {
  display: block;
}
@media (max-width: 1020px) {
  .seo-hero,
  .seo-content-layout {
    grid-template-columns: 1fr;
  }
  .seo-toc,
  .seo-sidebar {
    position: static;
  }
  .seo-alt-grid,
  .seo-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .seo-topbar { flex-wrap: wrap; }
  .seo-topbar strong { margin-left: 0; }
  .seo-hero { padding-top: 34px; }
  .seo-alt-grid,
  .seo-link-grid {
    grid-template-columns: 1fr;
  }
}
