@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

@property --ring-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #ffffff;
  --surface: #fcfbf9;
  --surface-sunken: #f8f7f3;
  --surface-raised: #fefefd;
  --ink: #18181b;
  --ink-strong: #27272a;
  --muted: #52525b;
  --ink-subtle: #64748b;
  --line: #e4e4e7;
  --cream-line: #e9e6db;
  --cream-divider: #efece2;

  --primary: #515ba4;
  --primary-deep: #454e90;
  --primary-bright: #626eb3;
  --glow-soft: #aebeff;
  --brand-lime: #ccd4ff;

  --dark-bg: #000000;
  --dark-card: #090b0a;
  --dark-raised: #0e1110;
  --dark-face: #070808;
  --dark-line: #1e2220;
  --dark-ink: #fafafa;
  --dark-muted: #8b8b93;

  --gold-bg: #fde047;
  --gold-ink: #713f12;
  --gold-light: #fdf1c8;
  --gold-mid: #f2d78a;
  --gold-deep: #d9ae4b;

  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --nav-clear: 8.5rem;

  color: var(--ink);
  background: var(--bg);
  font: 100%/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.25rem;
}

[id] {
  scroll-margin-top: 7.25rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}

button,
a,
input {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: transparent;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

h1, h2, h3, p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icon {
  flex: none;
  vertical-align: middle;
}

.wrap {
  width: min(1360px, calc(100% - clamp(2rem, 6vw, 5rem)));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
}

.skip:focus {
  top: 12px;
}

/* ── Gradient display accent ── */
.grad-em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Sticky Floating Glass Pill Navbar ── */
.topbar {
  position: sticky;
  top: 16px;
  z-index: 50;
  width: min(1360px, calc(100% - 32px));
  margin: 16px auto -84px;
  height: 68px;
  padding: 0 14px 0 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  box-shadow:
    inset 0 0 0 1px rgba(228, 228, 231, 0.92),
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 28px -10px rgba(24, 24, 27, 0.1);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.navline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark { width: 2rem; height: 2rem; flex: none; object-fit: contain; }

.topbar nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.topbar nav a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 2px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background-image: linear-gradient(var(--primary), var(--primary));
  background-position: left calc(100% - 5px);
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  transition: color 0.18s ease, background-size 0.22s ease;
}

.topbar nav a:hover {
  color: var(--ink);
  background-size: 100% 1.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.16s ease, background-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

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

.btn-dark {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14), 0 4px 10px -4px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
  background: #27272a;
}

.btn-glass {
  background: #ffffff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-glass:hover {
  background: #f4f4f5;
}

.nav-get {
  height: 40px;
  padding: 0 15px;
  font-size: 0.84rem;
}

.nav-secondary {
  height: 40px;
  padding: 0 14px;
  font-size: 0.84rem;
}

#menu {
  display: none;
}

.hero-surface {
  position: relative;
  isolation: isolate;
  padding: var(--nav-clear) 0 4.5rem;
  background: radial-gradient(ellipse at 72% 34%, #e3e7fb 0%, transparent 52%), linear-gradient(#f7f7fb 0%, #f5f6fc 70%, #fff 100%);
}
.mast {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
  gap: 1.65rem;
}

.mast h1 {
  max-width: 780px;
  font-size: clamp(2.65rem, 5.4vw, 4.35rem);
  line-height: 1.04;
  font-weight: 550;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.mast-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.mast-copy p {
  max-width: 36rem;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.62;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Signature Parakeet glowing rotating conic CTA */
.cta-glow-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-aura {
  position: absolute;
  inset: -14px -26px;
  border-radius: 9999px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(147, 165, 255, 0.36) 0%, rgba(147, 165, 255, 0) 72%);
  filter: blur(10px);
  pointer-events: none;
  animation: pk-breathe 3.4s ease-in-out infinite alternate;
}

.cta-ring {
  position: relative;
  display: inline-flex;
  padding: 2px;
  border-radius: calc(var(--radius-xl) + 2px);
  overflow: hidden;
  background: conic-gradient(
    from var(--ring-angle),
    var(--primary),
    var(--glow-soft),
    var(--brand-lime),
    #d7e3ff,
    var(--primary)
  );
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), 0 12px 26px -10px rgba(75, 82, 156, 0.65);
  animation: ring-spin 4.5s linear infinite;
}

.btn-primary-glow {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #fafafa;
  padding: 0 22px;
  min-width: 196px;
  font-weight: 550;
}

.btn-primary-glow:hover {
  background: var(--primary-deep);
}

.btn-primary-glow::after {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 48px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.42) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-160%) skewX(-18deg);
  animation: pk-sheen 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* ── Hero Dual-Layer Interactive App Stage (#demo) ── */
.stage {
  position: relative;
  margin-top: 3.4rem;
}

.mock-shell {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow:
    0 60px 44px -20px rgba(0, 0, 0, 0.08),
    0 24px 32px -12px rgba(0, 0, 0, 0.1),
    0 6px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.mock-dashboard {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 418px;
  background: var(--surface);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.22) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
  user-select: none;
}

.mock-sidebar {
  border-right: 1px solid var(--line);
  background: var(--surface-raised);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
  font-size: 0.85rem;
}

.mock-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-nav-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 8px;
}

.mock-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--ink-strong);
}

.mock-nav-item.active {
  background: rgba(24, 24, 27, 0.06);
  font-weight: 550;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #dc2626;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22);
}

.mock-main {
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.mock-top strong {
  display: block;
  font-size: 0.9rem;
}

.mock-top span {
  font-size: 0.76rem;
  color: var(--muted);
}

.mock-pill-btn {
  padding: 6px 12px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-table {
  display: grid;
  gap: 6px;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.6fr 0.9fr;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #ecece8;
  font-size: 0.78rem;
}

.mock-row.is-live {
  border-left: 3px solid #ef4444;
}

.mock-row-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  flex: none;
}

.mock-row strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.mock-row small {
  color: var(--muted);
  font-size: 0.72rem;
}

.status-ready {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 550;
}

.status-ready::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Floating Dark Frosted Glass Stealth HUD overlaid atop the stage */
.hud-overlay {
  position: relative;
  z-index: 4;
  width: min(740px, calc(100% - 28px));
  margin: -348px auto 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.26));
}

.hud-bar,
.app-window {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 14, 13, 0.86);
  color: #fafafa;
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  flex-wrap: wrap;
}

.hud-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e4e4e7;
}

.stage-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--glow-soft);
}

.hud-meta-chips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hud-timer {
  padding: 4px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.hud-end {
  padding: 5px 11px;
  border-radius: 9px;
  background: rgba(239, 68, 68, 0.88);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
}

.demo-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-switch button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #a1a1aa;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.demo-switch button:hover:not([aria-selected="true"]) {
  color: #fafafa;
  background: rgba(255, 255, 255, 0.08);
}

.demo-switch [aria-selected="true"] {
  background: rgba(255, 255, 255, 0.95);
  color: #18181b;
  font-weight: 600;
}

.app-window {
  overflow: hidden;
}

.app-title {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.76rem;
  color: #a1a1aa;
}

.app-title b {
  font-weight: 550;
  color: #e4e4e7;
}

.hud-model-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #d4d4d8;
}

.hud-model-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glow-soft);
}

.traffic {
  display: flex;
  gap: 5px;
}

.traffic i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.traffic i:first-child { background: #ef4444; }
.traffic i:nth-child(2) { background: #f59e0b; }
.traffic i:nth-child(3) { background: #22c55e; }

.sample-panel {
  padding: 18px 20px 20px;
  min-height: 205px;
}

.sample-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--glow-soft);
}

.sample-meta span {
  margin-left: auto;
  font-size: 0.74rem;
  color: #a1a1aa;
  font-weight: 400;
}

.quote {
  font-size: clamp(1.15rem, 1.9vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-top: 12px;
  color: #ffffff;
}

.wave {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 10px 0 14px;
}

.wave i {
  width: 2.5px;
  height: var(--h);
  max-height: 100%;
  border-radius: 9999px;
  background: var(--glow-soft);
  opacity: 0.88;
}

.sample-ask {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  text-align: left;
  border-radius: 10px;
  border: 1px solid rgba(147, 165, 255, 0.34);
  background: rgba(75, 82, 156, 0.16);
  color: #f4f6ff;
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 500;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.sample-ask:hover {
  background: rgba(75, 82, 156, 0.28);
  border-color: rgba(147, 165, 255, 0.56);
}

.sample-ask .icon {
  color: var(--glow-soft);
}

.sample-ask kbd {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #e4e4e7;
}

.sample-answer,
.node-question {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #d4d4d8;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.capture-prompt,
.board-title {
  font-weight: 550;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  margin: 10px 0;
  color: #fafafa;
}

.code-sample {
  border-left: 2px solid var(--glow-soft);
  padding: 6px 12px;
  margin: 0 0 12px;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.04);
  color: #d7e3ff;
  font-family: var(--font-mono);
  font-size: 0.83rem;
}

.flow-demo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0 4px;
}

.flow-demo button {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  font-size: 0.83rem;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.flow-demo button[aria-pressed="true"] {
  border-color: var(--glow-soft);
  background: rgba(75, 82, 156, 0.24);
  color: #ffffff;
}

.flow-demo i {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  position: relative;
}

.flow-demo i::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-right: 1px solid rgba(255, 255, 255, 0.45);
  right: 1px;
  top: -2px;
  transform: rotate(45deg);
}

/* ── Sections & Typography ── */
.section {
  padding-block: clamp(4rem, 7vw, 6.25rem);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin-bottom: 2.6rem;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 550;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.section-head p,
.downloads p {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

/* ── Features Bento Grid (#features) ── */
.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bento-hero-dark {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(140deg, var(--dark-raised) 0%, var(--dark-card) 100%);
  box-shadow: inset 0 0 0 1px var(--dark-line), 0 10px 30px -12px rgba(0, 0, 0, 0.32);
  color: var(--dark-ink);
}

.bento-hero-dark .spotlight-1 {
  position: absolute;
  top: -35%;
  right: -12%;
  width: 65%;
  height: 170%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(75, 82, 156, 0.24) 0%, rgba(9, 11, 10, 0) 70%);
  pointer-events: none;
}

.bento-hero-dark .spotlight-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 11, 10, 0.94) 0%, rgba(9, 11, 10, 0.78) 38%, rgba(9, 11, 10, 0.25) 68%, transparent 100%);
  pointer-events: none;
}

.code-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 6px 13px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: #e4e4e7;
}

.bento-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.bento-hero-copy h3 {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -0.03em;
  color: #fafafa;
}

.bento-hero-copy p {
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.6;
}

.bento-code-preview {
  position: absolute;
  top: 26px;
  bottom: 0;
  left: 52%;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 2;
  color: #8b8f93;
  white-space: pre;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, 0.35) 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0, 0, 0, 0.35) 84%, transparent 100%);
}

.bento-code-preview .kw { color: #aebeff; }
.bento-code-preview .fn { color: #fafafa; font-weight: 600; }
.bento-code-preview .num { color: #71717a; }

.bento-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.cream-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  min-height: 256px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--cream-line), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cream-card:hover {
  background: #fafafa;
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px #dcd7c9, 0 10px 24px -10px rgba(0, 0, 0, 0.09);
}

.cream-card h3 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}

.cream-card p {
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--muted);
  max-width: 44ch;
}

.equalizer-deco {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 76px;
  align-self: flex-end;
  mask-image: linear-gradient(to right, transparent 0%, #000 24%, #000 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 24%, #000 84%, transparent 100%);
}

.equalizer-deco span {
  width: 4px;
  border-radius: 9999px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(75, 82, 156, 0.22) 100%);
}

.mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid var(--cream-line);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-strong);
}

.mini-chip strong {
  color: var(--primary);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-tile {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  padding: 0.95rem 0.95rem 1.2rem;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(224, 227, 238, 0.95),
    0 1px 2px rgba(16, 22, 43, 0.04),
    0 10px 24px -16px rgba(16, 22, 43, 0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-tile:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px #c7d2fe,
    0 16px 32px -14px rgba(48, 58, 91, 0.16);
}

.feature-frame {
  position: relative;
  overflow: hidden;
  border-radius: 11px;
  background: #10162b;
  box-shadow: inset 0 0 0 1px rgba(16, 22, 43, 0.12), 0 4px 12px -6px rgba(16, 22, 43, 0.18);
}

.feature-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  filter: contrast(1.03) saturate(1.02);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-tile:hover img {
  transform: scale(1.02);
}

.feature-tile h3 {
  margin: 0.95rem 0.15rem 0.35rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.feature-tile p {
  margin-inline: 0.15rem;
  font-size: 0.855rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ── Polished 5-step Before, During & After Workflow ── */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.05rem;
}

.wf-card {
  display: flex;
  flex-direction: column;
}

.wf-stage {
  height: 212px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8f9fd 0%, #eff2fa 100%);
  box-shadow: inset 0 0 0 1px #e1e5f2, 0 2px 6px -4px rgba(16, 22, 43, 0.08);
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.wf-card:hover .wf-stage {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px #c7d2fe, 0 14px 26px -16px rgba(48, 58, 91, 0.18);
}

.wf-mini-box {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e4e7f0;
  padding: 10px 11px;
  box-shadow: 0 4px 14px -8px rgba(16, 22, 43, 0.14);
  font-size: 0.77rem;
}

.wf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 3px;
}

.wf-row + .wf-row {
  border-top: 1px solid #f1f3f8;
}

.wf-pill-on {
  width: 28px;
  height: 16px;
  border-radius: 9999px;
  background: var(--primary);
  position: relative;
  flex-shrink: 0;
}

.wf-pill-on::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
}

.wf-meet-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e4e7f0;
  padding: 9px 10px;
  box-shadow: 0 4px 14px -8px rgba(16, 22, 43, 0.12);
}

.wf-meet-row > svg {
  flex-shrink: 0;
}

.wf-meet-row > div {
  min-width: 0;
  flex: 1;
}

.wf-meet-row strong,
.wf-meet-row small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wf-meet-row strong {
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.wf-meet-row small {
  font-size: 0.77rem;
  color: var(--muted);
  line-height: 1.3;
}

.wf-cta-tag {
  flex-shrink: 0;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 9999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #3730a3;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wf-cta-tag.neutral {
  background: #f4f4f5;
  border-color: #e4e4e7;
  color: #3f3f46;
}

.wf-num {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.95rem;
  padding: 3px 9px;
  border-radius: 9999px;
  background: #eef2ff;
  color: #3730a3;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wf-card h3 {
  margin-top: 0.55rem;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wf-card p {
  margin-top: 0.35rem;
  font-size: 0.855rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ── Full-Bleed Obsidian Privacy Band (#privacy) ── */
.privacy-bleed {
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding-block: clamp(4.25rem, 7vw, 6.25rem);
}

.privacy-bleed .section-head h2 {
  color: var(--dark-ink);
}

.privacy-bleed .section-head p {
  color: var(--dark-muted);
}

.emerald-em {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--glow-soft);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.privacy-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 24px 20px;
  border-radius: 20px;
  background: var(--dark-face);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.privacy-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(147, 165, 255, 0.34);
}

.privacy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.privacy-num {
  position: relative;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #3f3f46;
  font-variant-numeric: tabular-nums;
}

.privacy-visual {
  position: relative;
  height: 136px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #0d0f0e 0%, #050606 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.privacy-visual::before {
  content: "";
  position: absolute;
  inset: -10px 20% -30px;
  background: radial-gradient(50% 50% at 50% 65%, rgba(147, 165, 255, 0.24) 0%, transparent 72%);
  pointer-events: none;
}

.privacy-visual svg {
  position: relative;
  color: #e4e4e7;
}

.privacy-card h3 {
  position: relative;
  font-size: 1.15rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--dark-ink);
}

.privacy-card p {
  position: relative;
  font-size: 0.88rem;
  line-height: 1.56;
  color: var(--dark-muted);
}

.privacy-card code {
  font-family: var(--font-mono);
  font-size: 0.8em;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 5px;
}

/* ── Platform Compatibility Logo Cards ── */
.platform-verify {
  margin-top: 3.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.platform-verify-title {
  font-size: 1.05rem;
  font-weight: 550;
  color: #e4e4e7;
  text-align: center;
}

.platform-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.platform-card {
  width: 146px;
  border-radius: 16px;
  padding: 6px;
  background: linear-gradient(180deg, #ffffff 38%, var(--surface) 100%);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--cream-line), 0 8px 20px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 28px -8px rgba(0, 0, 0, 0.65);
}

.platform-card-logo {
  height: 92px;
  border-radius: 11px;
  background: var(--surface-sunken);
  display: grid;
  place-items: center;
}

.platform-card-meta {
  padding: 8px 7px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform-card-meta strong {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.platform-card-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 550;
  color: var(--muted);
}

.platform-card-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ── Pricing (#pricing) ── */
.pricing {
  background: var(--surface-sunken);
  border-block: 1px solid var(--cream-line);
}

.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.pricing-head p {
  margin-top: 0.65rem;
  color: var(--muted);
  max-width: 36rem;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
  padding: 5px 11px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid var(--cream-line);
  font-size: 0.78rem;
  color: var(--muted);
}

.price-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #eceae2;
  box-shadow: inset 0 0 0 1px var(--cream-line);
}

.price-tabs button {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--muted);
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.price-tabs button[aria-pressed="true"] {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-2xl);
  padding: 1.6rem;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.price-card.featured {
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1.5px var(--ink), 0 12px 28px -12px rgba(24, 24, 27, 0.16);
}

.price-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.price-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.promo-pill {
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--gold-bg);
  color: var(--gold-ink);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.amount {
  font-size: 2.55rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 1.2rem 0 0.65rem;
}

.amount small {
  display: block;
  margin-top: 0.42rem;
  font-size: 0.84rem;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--muted);
}

.price-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.price-card ul {
  border-top: 1px solid var(--cream-divider);
  margin: 1.15rem 0 1.25rem;
  padding: 1rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-strong);
}

.price-card li svg {
  color: var(--primary);
}

.pass-button {
  margin-top: auto;
  width: 100%;
  height: 46px;
  border-radius: 12px;
  background: #252b43;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 4px 12px -4px rgba(37, 43, 67, 0.28);
  transition: background 0.18s ease, transform 0.16s ease, box-shadow 0.18s ease;
}

.pass-button:hover:not(:disabled) {
  background: #3b4467;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 8px 18px -6px rgba(37, 43, 67, 0.35);
}

.price-card.featured .pass-button {
  background: var(--primary);
}

.price-card.featured .pass-button:hover:not(:disabled) {
  background: var(--primary-deep);
}

.pass-button:disabled {
  background: #e4e4e7;
  color: #71717a;
  box-shadow: none;
  cursor: default;
}

.lifetime-offer {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 1.75rem;
  margin-top: 1.25rem;
  background: linear-gradient(135deg, #0d100f 0%, #18181b 100%);
  color: #fafafa;
  box-shadow: inset 0 0 0 1px rgba(230, 203, 132, 0.35), 0 16px 36px -14px rgba(0, 0, 0, 0.35);
}

.lifetime-offer .promo-pill {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-mid) 50%, var(--gold-deep) 100%);
  color: #422a03;
}

.lifetime-offer p,
.lifetime-offer .amount small {
  color: #a1a1aa;
}

.lifetime-offer .pass-button {
  width: auto;
  padding: 0 22px;
  margin-top: 1rem;
  background: linear-gradient(135deg, #fdf1c8 0%, #f2d78a 100%);
  color: #271a03;
}

.lifetime-offer .pass-button:hover:not(:disabled) {
  filter: brightness(0.96);
}

.lifetime-offer .pass-button:disabled {
  background: #27272a;
  color: #a1a1aa;
}

.billing-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.account-link {
  color: var(--primary-deep);
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.account-link:disabled {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}

#store-state,
#wallet-status {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Premium Copilots & AI Models Price Comparison (#compare) ── */
.comparisons {
  border-bottom: 1px solid var(--line);
}

.compare-filter-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.65rem;
}

.cost-bars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  margin-bottom: 1.5rem;
}

.cost-bar-card {
  border-radius: var(--radius-2xl);
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--cream-line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cost-bar-card.winner {
  background: linear-gradient(155deg, #eef2ff 0%, #ffffff 74%);
  box-shadow: inset 0 0 0 1.5px var(--primary), 0 10px 24px -14px rgba(75, 82, 156, 0.28);
}

.cost-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.83rem;
  font-weight: 600;
}

.cost-badge-win {
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
}

.cost-figure {
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cost-figure small {
  font-size: 0.78rem;
  font-weight: 450;
  color: var(--muted);
}

.cost-track {
  height: 7px;
  width: 100%;
  border-radius: 9999px;
  background: #e4e4e7;
  overflow: hidden;
  margin-top: 0.25rem;
}

.cost-fill {
  height: 100%;
  border-radius: 9999px;
  background: #a1a1aa;
}

.cost-bar-card.winner .cost-fill {
  background: linear-gradient(90deg, var(--primary) 0%, var(--glow-soft) 100%);
}

.cost-bar-sub {
  font-size: 0.77rem;
  color: var(--muted);
  line-height: 1.45;
}

.comparison-table {
  overflow-x: auto;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 8px 28px -16px rgba(0, 0, 0, 0.08);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: middle;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table thead th {
  background: var(--surface);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.compare-prod-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
}

.compare-row-highlight {
  background: rgba(75, 82, 156, 0.05);
}

.compare-pill-yes,
.compare-pill-no,
.compare-pill-part {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.compare-pill-yes {
  background: #eef2ff;
  color: #3730a3;
}

.compare-pill-part {
  background: #fef3c7;
  color: #92400e;
}

.compare-pill-no {
  background: #f4f4f5;
  color: #71717a;
}

.comparison-table a,
.comparisons .price-note a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  color: var(--primary-deep);
}

/* AI Model Lineup Cards inside #compare */
.model-lineup {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
}

.model-card {
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px #e4e7f0,
    0 1px 2px rgba(16, 22, 43, 0.04),
    0 8px 20px -14px rgba(16, 22, 43, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.model-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px #c7d2fe, 0 14px 28px -16px rgba(48, 58, 91, 0.16);
}

.model-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.model-card-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 620;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.model-tag-byok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 9999px;
  background: #f4f4f6;
  border: 1px solid #e4e4e9;
  color: #52525b;
  white-space: nowrap;
}

.model-tag-byok.hosted {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #3730a3;
}

.model-tag-byok.hosted::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f46e5;
}

.model-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.model-chips code {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 7px;
  background: #f8f9fc;
  border: 1px solid #e2e6f2;
  color: #292e48;
}

.model-card p {
  font-size: 0.855rem;
  line-height: 1.56;
  color: var(--muted);
  margin-top: auto;
}

/* ── Downloads (#downloads) ── */
.downloads {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: start;
  gap: 3rem;
}

.download-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  overflow: hidden;
}

.download-box > [data-platform] {
  padding: 1.05rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.download-box h3 {
  font-size: 1rem;
  font-weight: 600;
}

.download-box small {
  font-size: 0.82rem;
  color: var(--muted);
}

.platform-action {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--muted);
}

a.platform-action {
  padding: 0.45rem 0.85rem;
  background: var(--ink);
  color: #ffffff;
  border-radius: 9px;
  font-weight: 550;
}

.release-link {
  display: block;
  text-align: center;
  padding: 0.78rem;
  color: var(--primary-deep);
  font-size: 0.88rem;
  font-weight: 550;
}

.release-link:hover {
  text-decoration: underline;
}

/* ── Sticky-Left Split FAQ (#faq) ── */
.faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 3rem;
  border-top: 1px solid var(--line);
}

.faq-sticky {
  position: sticky;
  top: 7rem;
}

.faq-sticky p {
  margin-top: 0.75rem;
  color: var(--muted);
  max-width: 34ch;
}

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

.faq-list summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 1rem;
  font-size: 1.02rem;
  font-weight: 550;
  list-style: none;
}

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

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list summary svg {
  transition: transform 0.2s ease;
  color: var(--muted);
}

.faq-list details p {
  padding: 0 1.25rem 1.2rem 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

/* ── Concentric Ring Bottom CTA + Footer ── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #ffffff;
  padding-block: clamp(4.5rem, 8vw, 6.5rem) 4rem;
  text-align: center;
}

.cta-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mask-image: radial-gradient(60% 110% at 50% 50%, #000 35%, rgba(0, 0, 0, 0.2) 72%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 110% at 50% 50%, #000 35%, rgba(0, 0, 0, 0.2) 72%, transparent 100%);
}

.cta-rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.cta-band-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.cta-band h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  color: #ffffff;
}

.cta-band p {
  color: #a1a1aa;
  max-width: 34rem;
}

.footer {
  background: var(--ink);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.25rem 0 4.5rem;
}

.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer .brand-mark {
  background: #27272a;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: #d4d4d8;
}

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

.footer-legal-bar {
  margin-top: 1.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #a1a1aa;
}

/* ── Checkout / Wallet Dialog (#wallet) ── */
#wallet {
  width: min(28rem, calc(100% - 2rem));
  max-height: 90dvh;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

#wallet::backdrop {
  background: rgba(9, 11, 10, 0.6);
  backdrop-filter: blur(6px);
}

.wallet-head,
.wallet-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.wallet-head {
  justify-content: space-between;
}

.wallet-head h2 {
  font-size: 1.75rem;
}

.close-wallet {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f4f4f5;
  font-size: 1.25rem;
  line-height: 1;
}

#wallet-summary,
#wallet-status {
  margin-top: 0.85rem;
}

#wallet-status:empty {
  display: none;
}

#identity,
#pass-details,
#active-session {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

#wallet input {
  min-width: 0;
  width: 100%;
  border: 1px solid #d4d4d8;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

#wallet label {
  font-size: 0.88rem;
  font-weight: 550;
}

#wallet[aria-busy="true"] form button,
#wallet[aria-busy="true"] #pass-details button {
  opacity: 0.65;
  cursor: progress;
}

#payment-methods {
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0;
}

#payment-methods span {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

#payment-methods small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
}

#checkout-closed p {
  margin: 0.85rem 0 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── Keyframes ── */
@keyframes ring-spin {
  to { --ring-angle: 360deg; }
}

@keyframes pk-sheen {
  0% { transform: translateX(-160%) skewX(-18deg); }
  45%, 100% { transform: translateX(620%) skewX(-18deg); }
}

@keyframes pk-breathe {
  0% { opacity: 0.45; transform: scale(0.96); }
  100% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes pk-beam {
  0% { opacity: 0.62; }
  100% { opacity: 0.96; }
}

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

/* ── Responsive Rules ── */
@media (max-width: 1260px) {
  .floating-platforms {
    display: none;
  }
}

@media (max-width: 1120px) {
  .workflow-grid,
  .cost-bars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .gallery,
  .privacy-grid,
  .model-lineup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-code-preview {
    position: static;
    mask-image: none;
    -webkit-mask-image: none;
    font-size: 0.82rem;
    line-height: 1.75;
    overflow-x: auto;
  }
}

@media (max-width: 860px) {
  .topbar nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 80;
    padding: 0.8rem;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 0 0 1px #e4e4e7, 0 24px 48px -12px rgba(16, 22, 43, 0.28);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .topbar nav.open {
    display: flex;
  }
  .topbar nav a {
    padding: 10px 12px;
    height: auto;
    border-radius: 10px;
    background-image: none;
  }
  .topbar nav a:hover {
    background: #f4f4f5;
  }
  #menu {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px var(--line);
  }
  .mock-dashboard {
    display: none;
  }
  .hud-overlay {
    width: 100%;
    margin: 0;
  }
  .bento-two-col,
  .price-grid,
  .lifetime-offer,
  .downloads,
  .faq,
  .model-lineup {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-sticky {
    position: static;
  }
}

@media (max-width: 600px) {
  .topbar {
    width: calc(100% - 20px);
    top: 10px;
    height: 60px;
    margin-bottom: -70px;
    padding: 0 10px 0 12px;
  }
  .navline {
    gap: 8px;
  }
  .brand {
    font-size: 0.95rem;
    gap: 0.45rem;
  }
  .brand-mark {
    width: 1.75rem;
    height: 1.75rem;
  }
  .nav-get {
    height: 36px;
    padding: 0 11px;
    font-size: 0.8rem;
  }
  #menu {
    width: 36px;
    height: 36px;
  }
  .nav-secondary {
    display: none;
  }
  .gallery,
  .privacy-grid,
  .workflow-grid,
  .cost-bars-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof-sep {
    display: none;
  }
  .platform-card {
    width: calc(50% - 0.5rem);
  }
  .demo-switch {
    width: 100%;
  }
  .demo-switch button {
    flex: 1;
    justify-content: center;
    padding: 6px 6px;
    font-size: 0.74rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 0.8rem 0.7rem;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
