/* Gagandeep Singh Games: site styles. */

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fredoka-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fredoka-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --text: #1e293b;
  --muted: #475569;
  --line: #e2e8f0;
  --link: #4f46e5;
  --hero-a: #7dd3fc;
  --hero-b: #c4b5fd;
  --hero-text: #0f172a;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --frame: #334155;
  --tile: #e2e8f0;
  --tile-alt: #cbd5e1;

  --red: #ef4444;
  --blue: #3b82f6;
  --green: #22c55e;
  --yellow: #facc15;
  --purple: #a855f7;
  --orange: #f97316;
  --cyan: #06b6d4;
  --pink: #ec4899;

  --radius: 18px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #111a2e;
    --surface-2: #1a2440;
    --text: #e2e8f0;
    --muted: #a3b1c6;
    --line: #243049;
    --link: #a5b4fc;
    --hero-a: #1e3a8a;
    --hero-b: #4c1d95;
    --hero-text: #f8fafc;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --frame: #0f172a;
    --tile: #334155;
    --tile-alt: #293548;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Fredoka", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
}
.brand { gap: 12px; letter-spacing: -0.01em; }
.brand img {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(59, 7, 100, 0.28);
  transition: transform 0.2s ease;
}
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
/* Tagline: tracked capitals in the logo's gradient */
.brand small {
  display: block;
  margin-top: 3px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b5cf6; /* fallback if background-clip text is unsupported */
  background: linear-gradient(90deg, #06b6d4, #8b5cf6 55%, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .brand img { transition: none; }
  .brand:hover img { transform: none; }
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { border-bottom: 3px solid var(--purple); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b));
  color: var(--hero-text);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.55);
  color: #1e293b;
  padding: 4px 12px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  margin: 16px 0 14px;
}
.hero p.lead { font-size: 20px; margin: 0 0 26px; max-width: 34ch; opacity: 0.92; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 5px 0 #15803d;
  transition: transform 0.1s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #15803d; }
.btn.ghost { background: rgba(255, 255, 255, 0.8); color: #1e293b; box-shadow: 0 5px 0 rgba(15, 23, 42, 0.18); }

/* Decorative board (pure CSS, mirrors the game) */
.board {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  margin-left: auto;
  padding: 16px;
  background: var(--frame);
  border-radius: 26px;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.25), 0 24px 40px rgba(0, 0, 0, 0.25);
  transform: rotate(3deg);
}
.board-grid {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 4px;
}
.board-grid .t { background: var(--tile); border-radius: 8px; }
.board-grid .t:nth-child(even) { background: var(--tile-alt); }
.blk {
  position: absolute;
  border-radius: 12px;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.22), inset 0 4px 0 rgba(255, 255, 255, 0.35);
}
.blk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0 15%, transparent 16%);
  background-size: calc(100% / var(--w, 1)) calc(100% / var(--h, 1));
  border-radius: inherit;
}
/* Blocks and gates are placed in grid units: --x/--y = column/row, --w/--h = size.
   One tile = (grid size - 4 gaps) / 5; each step adds a 4px gap. */
.blk {
  --u: ((100% - 16px) / 5);
  left: calc(var(--x) * (var(--u) + 4px));
  top: calc(var(--y) * (var(--u) + 4px));
  width: calc(var(--w, 1) * var(--u) + (var(--w, 1) - 1) * 4px);
  height: calc(var(--h, 1) * var(--u) + (var(--h, 1) - 1) * 4px);
}
.blk.b1 { background: var(--red); --x: 0; --y: 2; --w: 2; }
.blk.b2 { background: var(--blue); --x: 4; --y: 1; --h: 2; }
.blk.b3 { background: var(--yellow); --x: 2; --y: 4; }
.blk.b4 { background: var(--purple); --x: 0; --y: 0; --w: 2; --h: 2; }
.blk.b5 { background: var(--green); --x: 3; --y: 3; --w: 2; }
.blk.b6 { background: var(--orange); --x: 2; --y: 0; --h: 2; }

.gate {
  position: absolute;
  border-radius: 6px;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.35) 0 6px, transparent 6px 12px);
  --u: ((100% - 48px) / 5);
}
.gate.v { width: 10px; top: calc(16px + var(--at) * (var(--u) + 4px)); height: calc(var(--len) * var(--u) + (var(--len) - 1) * 4px); }
.gate.h { height: 10px; left: calc(16px + var(--at) * (var(--u) + 4px)); width: calc(var(--len) * var(--u) + (var(--len) - 1) * 4px); }
.gate.g-red { background-color: var(--red); right: 3px; --at: 1; --len: 3; }
.gate.g-blue { background-color: var(--blue); left: 3px; --at: 1; --len: 3; }
.gate.g-yellow { background-color: var(--yellow); top: 3px; --at: 1; --len: 3; }
.gate.g-green { background-color: var(--green); bottom: 3px; --at: 3; --len: 2; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-title { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; line-height: 1.15; }
.section-sub { color: var(--muted); margin: 0 0 32px; max-width: 60ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 6px; font-size: 22px; }
.card p { margin: 0 0 12px; color: var(--muted); }

.game-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  align-items: center;
}
.game-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.15);
}
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  margin: 0 6px 6px 0;
}
.badge.soon { background: #fef3c7; color: #92400e; }
.badge.live { background: #dcfce7; color: #166534; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.features li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.features strong { display: block; font-size: 18px; margin-bottom: 2px; }
.features span { color: var(--muted); }
.dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: -1px;
}
.dot.red { background: var(--red); }
.dot.blue { background: var(--blue); }
.dot.green { background: var(--green); }
.dot.yellow { background: var(--yellow); }
.dot.purple { background: var(--purple); }
.dot.orange { background: var(--orange); }

.alt-bg { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { position: relative; padding-left: 52px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Prose pages (privacy, support) ---------- */
.page-head {
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b));
  color: var(--hero-text);
  padding: 48px 0 40px;
}
.page-head h1 { margin: 0 0 6px; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; }
.page-head p { margin: 0; opacity: 0.9; }

.prose { max-width: 780px; padding-top: 40px; padding-bottom: 64px; }
.prose h2 { font-size: 26px; margin: 40px 0 10px; line-height: 1.2; }
.prose h3 { font-size: 20px; margin: 26px 0 6px; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .note {
  background: var(--surface-2);
  border-left: 5px solid var(--purple);
  padding: 14px 18px;
  border-radius: 12px;
}
.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.toc ol { margin: 6px 0 0; padding-left: 22px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); }

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 10px 0;
}
details summary { cursor: pointer; font-weight: 600; font-size: 18px; }
details[open] summary { margin-bottom: 8px; }

.contact-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.contact-box p { margin: 0; }
.email { font-size: 20px; font-weight: 600; word-break: break-all; }

/* ---------- Footer (multi-column) ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  color: var(--muted);
  font-size: 15px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand p { margin: 14px 0 0; max-width: 30ch; }
.site-footer .footer-brand a.brand { color: var(--text); }
.site-footer .footer-brand a.brand:hover { text-decoration: none; }
.footer-h { margin: 0 0 12px; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 96px 0; }
.not-found h1 { font-size: 96px; margin: 0; line-height: 1; }
.not-found-btns { justify-content: center; margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero { padding: 40px 0 56px; }
  .hero .container { grid-template-columns: 1fr; }
  .board { margin: 8px auto 0; width: min(100%, 320px); }
  section { padding: 48px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .game-card { grid-template-columns: 1fr; }
  .game-icon { width: 110px; height: 110px; border-radius: 26px; }
  .brand small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Trademark notice in the footer */
.site-footer .tm { margin: 6px 0 0; font-size: 13px; line-height: 1.5; opacity: 0.85; }

/* Small raised ™ after a game name in headings */
.tm-sym { font-size: 0.4em; font-weight: 500; vertical-align: 1.1em; line-height: 0; margin-left: 0.08em; }

/* =====================================================================
   Page layouts (2026-10-20): hero with real screenshots in phone frames,
   highlights strip, featured game, screenshot gallery, split sections,
   call-to-action band.
   ===================================================================== */

/* ---------- Header: nav plus a call-to-action button ---------- */
.nav-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.nav-cta {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- Big hero ---------- */
.h-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 140px;
  color: var(--hero-text);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.45) 0, transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(236, 72, 153, 0.18) 0, transparent 40%),
    linear-gradient(135deg, var(--hero-a), var(--hero-b));
}
.h-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.h-hero h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.04;
  margin: 18px 0 16px;
  letter-spacing: -0.01em;
}
.h-hero .lead { font-size: 20px; margin: 0 0 28px; max-width: 36ch; opacity: 0.92; }
.h-hero-icon { display: flex; align-items: center; gap: 16px; margin: 20px 0 18px; }
.h-hero-icon img { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25); }
.h-hero-icon h1 { margin: 0; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.store-pill {
  display: flex;
  flex-direction: column;
  min-width: 156px;
  padding: 8px 18px 9px;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  line-height: 1.15;
  opacity: 0.9;
}
.store-pill-small { font-size: 12px; opacity: 0.75; }
.store-pill-big { font-size: 19px; font-weight: 600; }
/* Official Google Play badge: Google's image, unmodified apart from its transparent margin */
.store-badge { display: block; line-height: 0; border-radius: 10px; }
.store-badge img { display: block; width: auto; height: 54px; }

/* Phone frames around real screenshots */
.phone {
  position: relative;
  padding: 7px;
  border-radius: 34px;
  background: #0f172a;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35), 0 2px 0 rgba(255, 255, 255, 0.15) inset;
}
.phone img { width: 100%; height: auto; border-radius: 27px; }

.h-phones { position: relative; height: 540px; }
.h-phones .phone { position: absolute; }
.phone-front { width: 270px; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.phone-back { width: 220px; top: 70px; opacity: 0.96; }
.phone-left { left: 2%; transform: rotate(-9deg); }
.phone-right { right: 2%; transform: rotate(9deg); }

/* ---------- Highlights strip (overlaps the hero) ---------- */
.h-strip-wrap { padding: 0; position: relative; z-index: 3; margin-top: -72px; }
.h-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}
.h-strip li { display: flex; flex-direction: column; padding: 18px 22px; color: var(--muted); font-size: 15px; }
.h-strip li + li { border-left: 1px solid var(--line); }
.h-strip-big { color: var(--text); font-weight: 700; font-size: 20px; }

/* ---------- Section scaffolding ---------- */
.h-section { padding: 88px 0; }
.h-head { margin-bottom: 36px; }
.h-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
}

/* ---------- Featured game card ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.feature-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 48px 32px 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.5) 0, transparent 45%),
    linear-gradient(160deg, var(--hero-a), var(--hero-b));
}
.phone-feature { width: 280px; border-radius: 34px 34px 0 0; padding-bottom: 0; box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.25); }
.phone-feature img { border-radius: 27px 27px 0 0; aspect-ratio: 600 / 820; object-fit: cover; object-position: top; }
.feature-copy { padding: 40px 44px 44px; }
.feature-title { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.feature-icon { width: 80px; height: 80px; border-radius: 20px; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2); }
.feature-title h3 { margin: 4px 0 0; font-size: 30px; line-height: 1.1; }
.feature-tag { margin: 0; color: var(--muted); }
.feature-copy > p { color: var(--muted); margin: 0 0 18px; }
.ticks { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn.ghost-dark { background: var(--surface-2); color: var(--text); box-shadow: 0 5px 0 var(--line); }

.more-games {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 20px;
  padding: 16px 22px;
  border: 2px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
}
.more-games p { margin: 0; }
.more-games strong { color: var(--text); }

/* ---------- Screenshot gallery (CSS scroll-snap) ---------- */
.gallery-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(16px, calc((100vw - var(--max)) / 2 + 16px));
  scrollbar-width: thin;
  padding-bottom: 12px;
}
.gallery {
  display: flex;
  gap: 24px;
  width: max-content;
  margin: 0;
  padding: 8px max(16px, calc((100vw - var(--max)) / 2 + 16px)) 24px;
  list-style: none;
}
.gallery li { width: 230px; scroll-snap-align: start; }
.phone-small { border-radius: 30px; padding: 6px; box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22); }
.phone-small img { border-radius: 24px; }
.gallery p { margin: 16px 4px 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.gallery p strong { display: block; color: var(--text); font-size: 17px; }

/* ---------- Split sections (text beside a list or a phone) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.about-lead { font-size: 21px; margin: 12px 0 14px; }
.about-text { color: var(--muted); margin: 0 0 18px; }
.text-link { font-weight: 600; text-decoration: none; }
.principles { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.principles li {
  display: flex;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.principles .dot { margin-top: 6px; flex: none; }
.principles strong { display: block; font-size: 18px; }
.principles span:not(.dot) { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.3fr; }
.split-phone { display: flex; justify-content: center; }
.split-phone .phone { width: 260px; }

/* ---------- Call-to-action band ---------- */
.cta-band {
  padding: 64px 0;
  color: #f8fafc;
  background:
    radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.35) 0, transparent 40%),
    linear-gradient(135deg, #1e1b4b, #4c1d95);
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; }
.cta-band p { margin: 0; opacity: 0.85; }

/* ---------- Page heads (support, privacy) ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.45) 0, transparent 40%),
    linear-gradient(135deg, var(--hero-a), var(--hero-b));
}
.page-head .h-kicker { color: var(--hero-text); opacity: 0.75; }

/* Support: quick-help cards */
.help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: -32px auto 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 2;
}
.help-cards a {
  display: block;
  height: 100%;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease;
}
.help-cards a:hover { transform: translateY(-2px); }
.help-cards strong { display: block; font-size: 19px; margin-bottom: 2px; }
.help-cards span { color: var(--muted); font-size: 15px; }
.help-cards .dot { margin-bottom: 10px; }

/* Privacy: contents beside the text on wide screens */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal .prose { max-width: 760px; padding-left: 0; padding-right: 0; }
.legal-aside { position: sticky; top: 92px; padding-top: 40px; }
.legal-aside .toc { font-size: 15px; }
.legal-aside .toc ol { padding-left: 20px; }
.legal-aside .toc li { margin: 4px 0; }
.legal-aside .toc a { color: var(--muted); text-decoration: none; }
.legal-aside .toc a:hover { color: var(--link); text-decoration: underline; }

/* ---------- Responsive (layouts) ---------- */
@media (max-width: 920px) {
  .h-hero { padding: 48px 0 120px; }
  .h-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .h-phones { height: 440px; }
  .phone-front { width: 220px; }
  .phone-back { width: 175px; top: 60px; }
  .phone-left { left: 6%; }
  .phone-right { right: 6%; }
  .h-strip { grid-template-columns: repeat(2, 1fr); }
  .h-strip li:nth-child(3) { border-left: 0; }
  .h-strip li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .feature { grid-template-columns: 1fr; }
  .feature-visual { padding-top: 32px; }
  .phone-feature { width: 230px; }
  .feature-copy { padding: 30px 24px 32px; }
  .about-grid, .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
  .split-phone .phone { width: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .h-section { padding: 64px 0; }
  .help-cards { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; gap: 0; }
  .legal-aside { position: static; }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
  .h-phones { height: 380px; }
  .phone-front { width: 190px; }
  .phone-back { width: 150px; }
  .phone-left { left: 0; }
  .phone-right { right: 0; }
  .h-strip li { padding: 14px; }
  .h-strip-big { font-size: 17px; }
  .gallery li { width: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .h-hero-icon img { width: 64px; height: 64px; border-radius: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta, .help-cards a { transition: none; }
  .nav-cta:hover, .help-cards a:hover { transform: none; }
}
