/* ============================================================
   TouchMac — Design System v2
   Apple-style: white, generous space, SF system stack, blue accent
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-raise: #f5f5f7;
  --bg-card: #f5f5f7;
  --bg-card-solid: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --ink: #1d1d1f;
  --ink-dim: #515154;
  --ink-faint: #86868b;
  --accent: #0071e3;
  --accent-deep: #0051a2;
  --accent-tint: rgba(0, 113, 227, 0.08);
  --amber: #b64400;
  --danger: #de071c;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang TC", "Noto Sans TC", "Helvetica Neue", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Noto Sans TC", "Helvetica Neue", sans-serif;
  --font-data: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-pop: 0 4px 16px rgba(0, 0, 0, 0.08), 0 24px 60px rgba(0, 0, 0, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand .mark {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  background: linear-gradient(150deg, #2f9bff, var(--accent) 70%);
  position: relative;
  flex-shrink: 0;
}

.brand .mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2.5px solid #fff;
}

.brand em { font-style: normal; color: var(--accent); }

.site-nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-dim);
}

.site-nav a { transition: color 0.18s; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }

.header-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s, border-color 0.16s, color 0.16s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: #0077ed; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 113, 227, 0.28); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 7px 17px; font-size: 13.5px; }
.btn-lg { padding: 15px 34px; font-size: 16.5px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 92px 0 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 120%;
  background:
    radial-gradient(44% 55% at 72% 30%, rgba(0, 113, 227, 0.07), transparent 70%),
    radial-gradient(36% 48% at 18% 12%, rgba(90, 200, 250, 0.08), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: 999px;
  padding: 6px 15px;
  margin-bottom: 26px;
}

.hero-eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s infinite;
}

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero h1 .glow {
  background: linear-gradient(100deg, #2f9bff, var(--accent) 60%, #0051a2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  margin-top: 24px;
  font-size: 19px;
  color: var(--ink-dim);
  max-width: 32em;
}

.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 30px;
  display: flex;
  gap: 26px;
  font-size: 13.5px;
  color: var(--ink-faint);
  flex-wrap: wrap;
}

.hero-meta b { color: var(--ink-dim); font-weight: 600; }

/* ---------- Device mock ---------- */

.device-stage { position: relative; min-height: 470px; }

/* --- MacBook --- */

.macbook {
  position: absolute;
  top: 0;
  right: 0;
  width: 86%;
}

.mb-screen {
  background: #101114;
  border-radius: 16px 16px 4px 4px;
  padding: 10px 10px 14px;
  box-shadow: var(--shadow-pop);
}

.mb-display {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(90% 90% at 15% 0%, #0a84ff 0%, transparent 55%),
    radial-gradient(80% 90% at 90% 10%, #5e5ce6 0%, transparent 60%),
    radial-gradient(90% 80% at 70% 100%, #bf5af2 0%, transparent 55%),
    linear-gradient(150deg, #1a3a8f, #7b2d8f);
}

.mb-menubar {
  position: absolute;
  inset: 0 0 auto;
  height: 7.5%;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.mb-menubar .apple { font-size: 10px; }
.mb-menubar .app-name { font-weight: 700; }
.mb-menubar .spacer { flex: 1; }
.mb-menubar .status { display: flex; gap: 7px; opacity: 0.9; font-size: 8px; }

.game-window {
  position: absolute;
  left: 9%;
  top: 15%;
  width: 62%;
  height: 66%;
  background: #15161a;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.game-window .titlebar {
  height: 16%;
  background: #26272c;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}

.game-window .titlebar i {
  width: 6px; height: 6px; border-radius: 50%;
}

.game-window .titlebar i:nth-child(1) { background: #ff5f57; }
.game-window .titlebar i:nth-child(2) { background: #febc2e; }
.game-window .titlebar i:nth-child(3) { background: #28c840; }

.game-window .titlebar .win-title {
  margin-left: 6px;
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.game-scene {
  position: absolute;
  inset: 16% 0 0;
  background:
    radial-gradient(70% 60% at 78% 8%, rgba(255, 214, 90, 0.32), transparent 55%),
    linear-gradient(180deg, #1c2b4a 0%, #23345c 55%, #17233f 100%);
  overflow: hidden;
}

.game-scene .moon {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe9a8, #ffd54f 70%);
  box-shadow: 0 0 18px rgba(255, 214, 90, 0.55);
}

.game-scene .hill {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 26%;
  background: linear-gradient(180deg, #2e7d5b, #1f5c42);
  border-radius: 60% 40% 0 0 / 100% 70% 0 0;
}

.game-scene .platform {
  position: absolute;
  height: 7%;
  border-radius: 999px;
  background: linear-gradient(180deg, #57d18a, #2e9e63);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.game-scene .coin {
  position: absolute;
  width: 5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, #f5b400 75%);
  box-shadow: 0 0 8px rgba(245, 200, 60, 0.7);
  animation: coin-bob 2.4s ease-in-out infinite;
}

@keyframes coin-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22%); } }

.game-scene .sprite {
  position: absolute;
  left: 12%;
  bottom: 24%;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 22%;
  background: linear-gradient(150deg, #ff8a5c, #ff5c7a);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  animation: sprite-run 5s ease-in-out infinite;
}

.game-scene .sprite::before,
.game-scene .sprite::after {
  content: "";
  position: absolute;
  top: 28%;
  width: 18%;
  height: 22%;
  border-radius: 50%;
  background: #fff;
}

.game-scene .sprite::before { left: 22%; }
.game-scene .sprite::after { right: 22%; }

@keyframes sprite-run {
  0%, 100% { transform: translateX(0) translateY(0) scaleX(1); }
  28% { transform: translateX(340%) translateY(-8%) scaleX(1); }
  40% { transform: translateX(430%) translateY(-150%) scaleX(1); }
  55% { transform: translateX(560%) translateY(-40%) scaleX(1); }
  78% { transform: translateX(220%) translateY(0) scaleX(-1); }
}

.mb-dock {
  position: absolute;
  bottom: 3.5%;
  left: 50%;
  transform: translateX(-50%);
  height: 9%;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mb-dock i {
  width: 12px;
  height: 12px;
  border-radius: 3.5px;
}

.mb-dock i:nth-child(1) { background: linear-gradient(140deg, #4aa8ff, #0a5fd6); }
.mb-dock i:nth-child(2) { background: linear-gradient(140deg, #b8c2cc, #7d858f); }
.mb-dock i:nth-child(3) { background: linear-gradient(140deg, #ff9f45, #f56300); }
.mb-dock i:nth-child(4) { background: linear-gradient(140deg, #67e08c, #12a150); }
.mb-dock i:nth-child(5) { background: linear-gradient(140deg, #ff7ab5, #d63384); }
.mb-dock i:nth-child(6) { background: linear-gradient(140deg, #8f8ff5, #5e5ce6); }

.mb-base {
  position: relative;
  margin: 0 -4%;
  height: 13px;
  background: linear-gradient(180deg, #e6e8eb 0%, #c8ccd2 55%, #9aa0a8 100%);
  border-radius: 2px 2px 10px 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.mb-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12%;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: #aeb3ba;
}

/* --- iPhone --- */

.iphone {
  position: absolute;
  left: 0;
  bottom: -2%;
  width: 67%;
  aspect-ratio: 19.5 / 10.0;
  background: #1b1c1f;
  border-radius: 30px;
  padding: 7px;
  box-shadow: var(--shadow-pop), inset 0 0 0 2px #3c3e42;
  animation: float 7s ease-in-out infinite;
  z-index: 2;
}

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ip-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 23px;
  overflow: hidden;
  background: #17233f;
}

.ip-screen .game-scene { inset: 0; }

.ip-screen .moon { width: 9%; top: 10%; right: 7%; }
.ip-screen .sprite { width: 6.5%; bottom: 30%; left: 27%; }
.ip-screen .hill { height: 30%; }
.ip-screen .coin { width: 3.6%; }

.ip-island {
  position: absolute;
  top: 50%;
  left: 2.6%;
  transform: translateY(-50%);
  width: 2.6%;
  height: 26%;
  border-radius: 999px;
  background: #000;
  z-index: 3;
}

.ip-home {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  height: 3.5%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  z-index: 3;
}

.ip-stick {
  position: absolute;
  left: 8%;
  bottom: 14%;
  width: 21%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(2px);
  z-index: 2;
}

.ip-stick::after {
  content: "";
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  top: 50%; left: 50%;
  animation: stick-wiggle 3.4s ease-in-out infinite;
}

@keyframes stick-wiggle {
  0%, 100% { transform: translate(-50%, -50%); }
  25% { transform: translate(-24%, -55%); }
  55% { transform: translate(-70%, -42%); }
  80% { transform: translate(-50%, -74%); }
}

.ip-btn {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(2px);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-data);
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ip-btn-a { width: 13%; aspect-ratio: 1; right: 7%; bottom: 14%; animation: tap 3.4s infinite; }
.ip-btn-b { width: 11%; aspect-ratio: 1; right: 17.5%; bottom: 40%; }

@keyframes tap {
  0%, 88%, 100% { background: rgba(255, 255, 255, 0.14); }
  92%, 96% { background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 18px rgba(255,255,255,0.5); }
}

.latency-chip {
  position: absolute;
  top: 55%;
  left: 58%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  font-family: var(--font-data);
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out 0.8s infinite;
  z-index: 3;
}

.latency-chip .num { font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1; }
.latency-chip .lbl { font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-faint); text-transform: uppercase; }

/* legacy small mock (split sections) */

.mock-iphone {
  position: absolute;
  background: #1b1c1f;
  border-radius: 26px;
  box-shadow: var(--shadow-pop), inset 0 0 0 2px #3c3e42;
  overflow: hidden;
}

.mock-iphone .screen {
  position: absolute;
  inset: 7px;
  border-radius: 19px;
  background: linear-gradient(160deg, #1c2b4a, #17233f);
  overflow: hidden;
}

.mock-iphone .stick {
  position: absolute;
  left: 9%;
  bottom: 16%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.mock-iphone .stick::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  top: 50%; left: 50%;
  animation: stick-wiggle 3.4s ease-in-out infinite;
}

.mock-iphone .btn-pad {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-data);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Sections ---------- */

section { padding: 92px 0; position: relative; }

.section-kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 22em;
}

.section-sub {
  margin-top: 18px;
  color: var(--ink-dim);
  max-width: 40em;
  font-size: 17.5px;
}

/* ---------- Ticker ---------- */

.ticker-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  overflow: hidden;
  background: var(--bg-raise);
}

.ticker {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker 30s linear infinite;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.ticker span::before { content: "● "; color: var(--accent); font-size: 8px; vertical-align: 2px; }

@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Feature grid ---------- */

.feature-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.feature-card .icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.feature-card p { color: var(--ink-dim); font-size: 14.5px; }

.feature-card.wide { grid-column: span 2; }

/* ---------- Stats band ---------- */

.stats-band {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.stat {
  padding: 36px 26px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stat:last-child { border-right: none; }

.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 46px);
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.1;
}

.stat .num small { font-size: 0.5em; color: var(--ink-faint); font-weight: 600; }

.stat .lbl { margin-top: 8px; font-size: 13.5px; color: var(--ink-faint); }

/* ---------- Split feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 76px;
}

.split.flip .split-visual { order: 2; }

.split h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.split p { color: var(--ink-dim); }

.split ul { margin-top: 20px; display: grid; gap: 12px; }

.split ul li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-dim);
  font-size: 15px;
}

.split ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split ul li b { color: var(--ink); font-weight: 600; }

.split-visual {
  background: var(--bg-raise);
  border-radius: var(--radius-lg);
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.split-visual .inner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 50% 45%, rgba(0, 113, 227, 0.06), transparent 75%);
}

/* ---------- Compare table ---------- */

.compare-scroll { margin-top: 52px; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); }

table.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14.5px;
}

table.compare th, table.compare td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

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

table.compare th {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  background: var(--bg-raise);
}

table.compare td:first-child, table.compare th:first-child {
  text-align: left;
  color: var(--ink-dim);
}

table.compare th.hero-col {
  color: var(--accent);
  background: var(--accent-tint);
}

table.compare td.hero-col {
  background: rgba(0, 113, 227, 0.045);
  color: var(--ink);
  font-weight: 600;
}

table.compare .yes { color: var(--accent); font-weight: 700; }
table.compare .no { color: #c7c7cc; }
table.compare .part { color: var(--amber); }

/* ---------- Pricing ---------- */

.pricing-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.10), 0 24px 60px rgba(0, 113, 227, 0.12);
}

.price-card .badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.price-card .tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.price-card .amount {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-card .amount small { font-size: 15px; font-weight: 400; color: var(--ink-faint); font-family: var(--font-body); letter-spacing: 0; }

.price-card .amount .cur { font-size: 18px; color: var(--ink-dim); margin-right: 4px; font-weight: 600; }

.price-card .note { margin-top: 8px; font-size: 13.5px; color: var(--ink-faint); }

.price-card ul { margin: 26px 0 30px; display: grid; gap: 11px; flex: 1; }

.price-card ul li {
  font-size: 14.5px;
  color: var(--ink-dim);
  padding-left: 24px;
  position: relative;
}

.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.price-card ul li.dis { opacity: 0.42; }
.price-card ul li.dis::before { content: "—"; color: var(--ink-faint); }

.promise {
  margin-top: 34px;
  border-radius: var(--radius);
  padding: 22px 28px;
  color: var(--ink-dim);
  font-size: 14.5px;
  background: var(--accent-tint);
}

.promise b { color: var(--accent); }

/* ---------- Security strip ---------- */

.security-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sec-item {
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-raise);
  font-size: 14px;
  color: var(--ink-dim);
}

.sec-item b {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  margin-bottom: 6px;
  font-weight: 700;
}

.sec-item .k {
  font-family: var(--font-data);
  color: var(--accent);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

/* ---------- Steps ---------- */

.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  background: var(--bg-raise);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.9;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.step h4 { font-size: 17.5px; margin-bottom: 8px; font-weight: 700; }
.step p { font-size: 14.5px; color: var(--ink-dim); }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 48px; max-width: 780px; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 4px;
  font-weight: 600;
  font-size: 16.5px;
  position: relative;
  transition: color 0.18s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }

.faq-item .answer {
  padding: 0 4px 26px;
  color: var(--ink-dim);
  font-size: 15px;
  max-width: 46em;
}

/* ---------- CTA ---------- */

.final-cta {
  text-align: center;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.final-cta p { margin-top: 18px; color: var(--ink-dim); font-size: 18px; }

.final-cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--bg-raise);
  font-size: 14px;
  color: var(--ink-faint);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-grid h5 {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page hero (subpages) ---------- */

.page-hero { padding: 84px 0 30px; }

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 50px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.page-hero p { margin-top: 18px; color: var(--ink-dim); font-size: 17.5px; max-width: 42em; }

/* ---------- Download cards ---------- */

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.dl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.dl-card .plat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.dl-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.dl-card p { color: var(--ink-dim); font-size: 14.5px; flex: 1; }
.dl-card .req { font-size: 12.5px; color: var(--ink-faint); }
.dl-card .free-tag { color: var(--amber); font-weight: 700; font-size: 13px; }

/* ---------- Prose (legal pages) ---------- */

.prose { max-width: 760px; padding-bottom: 80px; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin: 44px 0 14px; }
.prose p, .prose li { color: var(--ink-dim); font-size: 15px; margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose .updated { font-size: 13.5px; color: var(--ink-faint); }
.prose b { color: var(--ink); }

/* ---------- Reveal on scroll ---------- */

html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .device-stage { min-height: 360px; margin-top: 12px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.wide { grid-column: span 2; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .split.flip { grid-template-columns: 1fr; gap: 30px; }
  .split.flip .split-visual { order: 0; }
  .pricing-grid, .dl-grid, .steps { grid-template-columns: 1fr; }
  .security-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: span 1; }
  .security-strip { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
}

.brand-logo { height: 20px; width: auto; display: block; }
