:root,
[data-theme="obsidian"] {
  --bg: #05060a;
  --bg-elevated: #0b0d14;
  --surface: rgba(255, 255, 255, 0.032);
  --surface-strong: rgba(16, 19, 29, 0.86);
  --surface-muted: rgba(255, 255, 255, 0.05);
  --glass: rgba(11, 13, 21, 0.72);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --highlight-inset: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --accent: #8b5cf6;
  --accent-2: #3b82f6;
  --accent-soft: rgba(139, 92, 246, 0.15);
  --accent-glow: rgba(139, 92, 246, 0.34);
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --danger: #f43f5e;
  --danger-soft: rgba(244, 63, 94, 0.14);
  --grid-line: rgba(255, 255, 255, 0.038);
  --aura-1: rgba(139, 92, 246, 0.22);
  --aura-2: rgba(59, 130, 246, 0.16);
  --aura-3: rgba(16, 185, 129, 0.11);
  --title-grad-end: #cbd5e1;
  --device-bezel: #161822;
  --device-rim: rgba(255, 255, 255, 0.22);
  --shadow-card: 0 24px 60px -18px rgba(0, 0, 0, 0.65);
  --shadow-device: 0 42px 90px -20px rgba(0, 0, 0, 0.85);
}

[data-theme="porcelain"] {
  --bg: #f6f5f0;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-muted: #eeece4;
  --glass: rgba(255, 255, 255, 0.78);
  --border: rgba(15, 23, 42, 0.085);
  --border-strong: rgba(15, 23, 42, 0.16);
  --highlight-inset: rgba(255, 255, 255, 0.9);
  --text: #0b0f19;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --accent: #1d4ed8;
  --accent-2: #6366f1;
  --accent-soft: rgba(29, 78, 216, 0.10);
  --accent-glow: rgba(29, 78, 216, 0.24);
  --emerald: #059669;
  --emerald-soft: rgba(5, 150, 105, 0.12);
  --danger: #e11d48;
  --danger-soft: rgba(225, 29, 72, 0.11);
  --grid-line: rgba(15, 23, 42, 0.042);
  --aura-1: rgba(29, 78, 216, 0.11);
  --aura-2: rgba(99, 102, 241, 0.09);
  --aura-3: rgba(16, 185, 129, 0.08);
  --title-grad-end: #334155;
  --device-bezel: #1d2230;
  --device-rim: rgba(255, 255, 255, 0.55);
  --shadow-card: 0 22px 54px -20px rgba(15, 23, 42, 0.11);
  --shadow-device: 0 38px 80px -22px rgba(15, 23, 42, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

/* Atmospheric backdrop */
.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-backdrop::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto;
  height: 920px;
  background:
    radial-gradient(640px 420px at 50% 8%, var(--aura-1), transparent 72%),
    radial-gradient(520px 380px at 18% 22%, var(--aura-2), transparent 70%),
    radial-gradient(500px 360px at 84% 18%, var(--aura-3), transparent 70%);
}

.ambient-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 58% at 50% 8%, #000 18%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 58% at 50% 8%, #000 18%, transparent 78%);
}

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

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 820px;
}

/* Floating Frosted Header */
.header-wrap {
  position: sticky;
  top: 14px;
  z-index: 90;
  padding: 0 20px;
  pointer-events: none;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  height: 60px;
  padding: 0 12px 0 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--highlight-inset),
    var(--shadow-card);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 550;
  color: var(--text-muted);
  transition: color 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface-muted);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.pill-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-muted);
}

.pill-btn:active {
  transform: scale(0.97);
}

.pill-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* Custom Language Popover Menu */
.lang-menu {
  position: relative;
}

.lang-trigger .chevron {
  width: 12px;
  height: 12px;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.lang-menu.is-open .lang-trigger .chevron {
  transform: rotate(180deg);
}

.lang-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  padding: 6px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  box-shadow:
    inset 0 1px 0 var(--highlight-inset),
    0 24px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 120;
  display: grid;
  gap: 2px;
}

.lang-menu.is-open .lang-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 550;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-option:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.lang-option.active {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 650;
}

.lang-option-meta {
  display: flex;
  align-items: center;
  gap: 9px;
}

.lang-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  width: 22px;
}

.lang-option.active .lang-code {
  color: var(--accent);
}

.lang-check {
  width: 14px;
  height: 14px;
  color: var(--accent);
  opacity: 0;
}

.lang-option.active .lang-check {
  opacity: 1;
}

/* Hero Section */
.hero {
  padding: 46px 0 32px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--highlight-inset);
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-soft);
}

h1,
h2,
h3 {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.hero h1 {
  margin: 0 auto 22px;
  max-width: 15.5ch;
  font-size: clamp(2.65rem, 5.8vw, 4.65rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, var(--text) 35%, var(--title-grad-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin: 0 auto 32px;
  max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 14px 36px -8px var(--accent-glow);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 20px 44px -8px var(--accent-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 var(--highlight-inset);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--surface-muted);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--emerald);
}

/* Multi-Device Interactive Apple Hardware Stage */
.stage-section {
  max-width: 1120px;
  margin: 0 auto;
}

.stage-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.stage-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--highlight-inset);
  backdrop-filter: blur(16px);
}

.stage-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.stage-tab:hover {
  color: var(--text);
}

.stage-tab.active {
  background: var(--surface-strong);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 var(--highlight-inset),
    0 4px 14px rgba(0, 0, 0, 0.22);
}

.stage-tab svg {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.stage-canvas {
  position: relative;
  border-radius: 32px;
  padding: 36px 24px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--highlight-inset),
    var(--shadow-card);
  overflow: hidden;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-canvas::before {
  content: "";
  position: absolute;
  inset: auto 10% -35% 10%;
  height: 360px;
  background: radial-gradient(ellipse at center, var(--aura-1) 0%, var(--aura-3) 45%, transparent 74%);
  pointer-events: none;
  filter: blur(28px);
}

/* Panoramic All-Devices View */
.stage-all {
  position: relative;
  width: 100%;
  max-width: 980px;
  min-height: 460px;
  padding: 6px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-mac {
  position: relative;
  width: 56%;
  max-width: 520px;
  border-radius: 18px;
  background: var(--device-bezel);
  border: 1px solid var(--device-rim);
  box-shadow: var(--shadow-device);
  overflow: hidden;
  z-index: 2;
}

.mac-chrome {
  height: 28px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="porcelain"] .frame-mac {
  background: #f1f0ea;
  border-color: rgba(15, 23, 42, 0.14);
}

[data-theme="porcelain"] .mac-chrome {
  background: rgba(15, 23, 42, 0.04);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.dot-red,
.dot-yellow,
.dot-green {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.frame-mac img,
.frame-ipad img,
.frame-iphone img,
.frame-duo img {
  display: block;
  width: 100%;
  height: auto;
}

.stage-all .frame-ipad {
  position: absolute;
  left: 20px;
  bottom: 18px;
  width: 25%;
  max-width: 245px;
  padding: 8px;
  border-radius: 22px;
  background: var(--device-bezel);
  border: 1px solid var(--device-rim);
  box-shadow: var(--shadow-device);
  z-index: 3;
  transform: perspective(1000px) rotateY(7deg);
}

.stage-all .frame-ipad img {
  border-radius: 15px;
}

.stage-all .frame-iphone {
  position: absolute;
  right: 24px;
  bottom: 12px;
  width: 20%;
  max-width: 196px;
  padding: 8px;
  border-radius: 34px;
  background: var(--device-bezel);
  border: 1px solid var(--device-rim);
  box-shadow: var(--shadow-device);
  z-index: 4;
  transform: perspective(1000px) rotateY(-8deg);
}

.stage-all .frame-iphone img {
  border-radius: 26px;
}

/* Single Focused Views */
.stage-single {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  z-index: 2;
  animation: fadeSlideUp 0.28s ease;
}

.stage-canvas[data-stage-view="all"] .stage-all { display: flex; }
.stage-canvas[data-stage-view="iphone"] .stage-single[data-device="iphone"],
.stage-canvas[data-stage-view="duo"] .stage-single[data-device="duo"],
.stage-canvas[data-stage-view="ipad"] .stage-single[data-device="ipad"],
.stage-canvas[data-stage-view="mac"] .stage-single[data-device="mac"] {
  display: flex;
}
.stage-canvas:not([data-stage-view="all"]) .stage-all {
  display: none;
}

.stage-single .frame-iphone {
  width: 255px;
  padding: 10px;
  border-radius: 42px;
  background: var(--device-bezel);
  border: 1px solid var(--device-rim);
  box-shadow: var(--shadow-device);
}
.stage-single .frame-iphone img { border-radius: 32px; }

.stage-single .frame-duo {
  width: 315px;
  padding: 10px;
  border-radius: 38px;
  background: var(--device-bezel);
  border: 1px solid var(--device-rim);
  box-shadow: var(--shadow-device);
}
.stage-single .frame-duo img { border-radius: 28px; }

.stage-single .frame-ipad {
  width: 370px;
  padding: 11px;
  border-radius: 28px;
  background: var(--device-bezel);
  border: 1px solid var(--device-rim);
  box-shadow: var(--shadow-device);
}
.stage-single .frame-ipad img { border-radius: 18px; }

.stage-single .frame-mac {
  width: 100%;
  max-width: 640px;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Interactive Live Safari Demo (#live-demo) */
.safari-window {
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  box-shadow:
    inset 0 1px 0 var(--highlight-inset),
    var(--shadow-device);
  overflow: hidden;
}

.safari-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}

.safari-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.safari-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.safari-address {
  flex: 1;
  max-width: 480px;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  overflow: hidden;
}

.addr-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--emerald);
  transition: background-color 0.25s ease;
}

.safari-window.is-unprotected .addr-dot {
  background: var(--danger);
}

.addr-base {
  color: var(--text);
  white-space: nowrap;
}

.addr-utm {
  color: var(--danger);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.35s ease, opacity 0.28s ease;
}

.safari-window.is-unprotected .addr-utm {
  max-width: 280px;
  opacity: 1;
}

.demo-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-segmented {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.demo-seg-btn {
  padding: 6px 13px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.79rem;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.demo-seg-btn.active[data-demo-mode="off"] {
  background: var(--danger-soft);
  color: var(--danger);
}

.demo-seg-btn.active[data-demo-mode="on"] {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.demo-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  background: var(--emerald-soft);
  color: var(--emerald);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.safari-window.is-unprotected .demo-status-badge {
  background: var(--danger-soft);
  color: var(--danger);
}

/* Mock Browser Viewport */
.safari-viewport {
  position: relative;
  padding: 28px;
  background: var(--bg-elevated);
  min-height: 340px;
}

.mock-banner-ad {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transform: translateY(-8px) scale(0.98);
  filter: blur(6px);
  transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.safari-window.is-unprotected .mock-banner-ad {
  max-height: 92px;
  opacity: 1;
  margin-bottom: 22px;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.ad-box {
  padding: 14px 18px;
  border-radius: 14px;
  background: repeating-linear-gradient(
    -45deg,
    var(--danger-soft),
    var(--danger-soft) 10px,
    transparent 10px,
    transparent 20px
  );
  border: 1px dashed rgba(244, 63, 94, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--danger);
}

.ad-pill-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(244, 63, 94, 0.16);
}

.mock-page-grid {
  display: grid;
  grid-template-columns: 1fr 0fr;
  gap: 0;
  align-items: start;
  transition: grid-template-columns 0.42s cubic-bezier(0.22, 1, 0.36, 1), gap 0.42s ease;
}

.safari-window.is-unprotected .mock-page-grid {
  grid-template-columns: 1.55fr 0.75fr;
  gap: 22px;
}

.mock-article {
  padding: 26px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.mock-article-tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 8px;
}

.mock-article h3 {
  margin: 0 0 12px;
  font-size: 1.38rem;
  letter-spacing: -0.02em;
}

.mock-article p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.mock-article p:last-child {
  margin-bottom: 0;
}

.mock-sidebar-ad {
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  filter: blur(6px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.safari-window.is-unprotected .mock-sidebar-ad {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.sidebar-ad-card {
  padding: 20px 16px;
  border-radius: 16px;
  background: var(--danger-soft);
  border: 1px dashed rgba(244, 63, 94, 0.45);
  text-align: center;
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 600;
  display: grid;
  gap: 8px;
  min-height: 210px;
  align-content: center;
}

.mock-cookie-popup {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: min(320px, calc(100% - 48px));
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-strong);
  border: 1px solid rgba(244, 63, 94, 0.42);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  filter: blur(6px);
  pointer-events: none;
  transition: all 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.safari-window.is-unprotected .mock-cookie-popup {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.cookie-title {
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.cookie-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.cookie-fake-btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--danger);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 650;
}

/* Asymmetric Spotlight Bento Grid (#features) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  position: relative;
  border-radius: 24px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--highlight-inset),
    var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 0%),
    var(--accent-soft),
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }

.bento-head {
  position: relative;
  z-index: 1;
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.bento-icon.green {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.bento-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Bento Micro-Visuals */
.bento-visual {
  position: relative;
  z-index: 1;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.engine-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.engine-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
}

.engine-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.mono-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.region-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.region-chip {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
}

.region-chip.accent {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}

.picker-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px dashed var(--accent);
  background: var(--accent-soft);
}

.picker-target {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.picker-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
}

.url-diff {
  display: grid;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
}

.url-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.url-clean {
  color: var(--emerald);
  font-weight: 600;
}

.url-struck {
  color: var(--text-subtle);
  text-decoration: line-through;
}

.gpc-pill {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
}

.rule-code {
  display: grid;
  gap: 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.77rem;
  color: var(--text-muted);
}

.rule-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rule-ok {
  color: var(--emerald);
  font-weight: 600;
}

.theme-swatches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.swatch-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.swatch-btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.swatch-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.swatch-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}

.swatch-circle.obsidian { background: #070910; }
.swatch-circle.porcelain { background: #f6f5f0; }

/* Zero-Log Architecture Flow + Pricing Split */
.arch-card {
  border-radius: 28px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--highlight-inset),
    var(--shadow-card);
  margin-bottom: 28px;
}

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

.arch-node {
  padding: 22px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.arch-node-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--emerald-soft);
  color: var(--emerald);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.arch-node h4 {
  margin: 0 0 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.arch-node p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.pricing-spotlight {
  position: relative;
  border-radius: 30px;
  padding: 46px 36px;
  background: linear-gradient(155deg, var(--accent-soft), var(--surface-strong));
  border: 1px solid var(--border-strong);
  box-shadow:
    inset 0 1px 0 var(--highlight-inset),
    var(--shadow-card);
  text-align: center;
  overflow: hidden;
}

.pricing-app-icon {
  width: 68px;
  height: 68px;
  border-radius: 17px;
  margin: 0 auto 18px;
  box-shadow:
    0 18px 40px var(--accent-glow),
    0 0 0 1px var(--border-strong);
  display: block;
}

.pricing-tag {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 6px 0 10px;
}

.pricing-note {
  max-width: 54ch;
  margin: 0 auto 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.device-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.device-chip {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Subpages (Privacy / Support) */
.page-hero {
  padding: 68px 0 32px;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.page-hero .hero-sub {
  margin: 0 auto;
}

.doc-card {
  border-radius: 26px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--highlight-inset),
    var(--shadow-card);
  margin-bottom: 64px;
}

.doc-card h2 {
  margin: 30px 0 10px;
  font-size: 1.24rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.doc-card h2:first-of-type {
  margin-top: 0;
}

.doc-card p,
.doc-card li {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.doc-card ul {
  padding-left: 20px;
  margin: 10px 0 18px;
  display: grid;
  gap: 8px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0 28px;
}

.step-box {
  padding: 20px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.step-num {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 750;
  margin-bottom: 10px;
}

.step-box p {
  margin: 0;
  font-size: 0.91rem;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--highlight-inset);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
  background: var(--surface-strong);
}

.faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

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

.faq-q svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.22s ease, color 0.2s ease;
}

.faq-item[open] .faq-q svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-a {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 54px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--text);
}

/* Subtle Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .span-7,
  .span-5,
  .span-6 {
    grid-column: span 12;
  }
  .arch-flow {
    grid-template-columns: 1fr;
  }
  .stage-all {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .header-wrap {
    top: 10px;
    padding: 0 12px;
  }
  .site-header {
    height: 54px;
    padding: 0 8px 0 14px;
  }
  .pill-btn {
    height: 32px;
    padding: 0 10px;
    font-size: 0.78rem;
  }
  .hero {
    padding: 40px 0 24px;
  }
  .stage-canvas {
    min-height: 0;
    padding: 20px 14px 24px;
    border-radius: 24px;
  }
  .stage-all {
    min-height: 280px;
    padding: 0;
  }
  .stage-all .frame-mac {
    width: 88%;
  }
  .stage-all .frame-ipad {
    display: none;
  }
  .stage-all .frame-iphone {
    width: 34%;
    right: 4px;
    bottom: 6px;
    border-radius: 22px;
    padding: 5px;
  }
  .stage-all .frame-iphone img {
    border-radius: 17px;
  }
  .section {
    padding: 60px 0;
  }
  .safari-window.is-unprotected .mock-page-grid {
    grid-template-columns: 1fr;
  }
  .safari-viewport {
    padding: 18px;
  }
  .engine-list,
  .theme-swatches,
  .step-grid {
    grid-template-columns: 1fr;
  }
  .arch-card,
  .pricing-spotlight,
  .doc-card {
    padding: 24px 18px;
  }
}
