/* ==========================================================================
   Vice Played Wise — Design System v4 "PLAY THE GAME"
   Concept: a glossy, chrome-neon brand system built around the VPW mark —
   pink to orange to gold to cyan to violet, on near-black, with soft neon
   "smoke" glow standing in for texture instead of a filter. Rounded, glossy,
   confident: casino-chip buttons, gradient-stroke line icons, glow-lit cards.
   Original artwork throughout — no Rockstar/Take-Two assets, logos, or trade
   dress are used or referenced visually anywhere in this system.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #0d0f16;
  --bg-elevated: #14161f;
  --bg-elevated-2: #1b1e2b;
  --fg: #f5f6fa;
  --fg-muted: #a2a7ba;
  --fg-faint: #676c82;
  --border: rgba(245, 246, 250, 0.09);
  --border-strong: rgba(245, 246, 250, 0.18);

  --pink: #ff2ca6;
  --orange: #ff8a00;
  --gold: #ffc542;
  --cyan: #00d4ff;
  --violet: #5a2dff;

  --gradient-vice: linear-gradient(95deg, var(--pink) 0%, var(--orange) 40%, var(--cyan) 100%);
  --gradient-vice-full: linear-gradient(100deg, var(--pink) 0%, var(--orange) 32%, var(--gold) 50%, var(--cyan) 74%, var(--violet) 100%);
  --gradient-vice-soft: linear-gradient(100deg, rgba(255, 44, 166, 0.14), rgba(255, 138, 0, 0.12), rgba(0, 212, 255, 0.14));
  --gradient-sky: radial-gradient(120% 90% at 20% 0%, rgba(255, 44, 166, 0.22), transparent 55%),
    radial-gradient(90% 70% at 85% 5%, rgba(0, 212, 255, 0.18), transparent 60%);

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --font-mono: "Space Grotesk", "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 140ms;
  --dur-fast: 180ms;
  --dur-base: 260ms;
  --dur-reveal: 640ms;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.grad-text {
  background: var(--gradient-vice-full);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tabular {
  font-variant-numeric: tabular-nums;
}
em {
  font-style: normal;
  background: var(--gradient-vice-full);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Ambient "smoke" glow: soft, fixed, blurred color blobs standing in for
   the logo artwork's neon smoke — atmosphere, not a filter over the page.
   Two per glow-zone, low opacity, generous blur; never more than that. --- */
.smoke {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.smoke::before,
.smoke::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
}
.smoke::before {
  top: -220px;
  left: -180px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
}
.smoke::after {
  top: -260px;
  right: -220px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 22, 0.8);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.wordmark img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
}
.wordmark span.word {
  background: var(--gradient-vice-full);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--dur-fast) ease;
}
.nav-links a:hover {
  color: var(--fg);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
}

/* ==========================================================================
   Buttons — glossy rounded pill, gradient fill
   ========================================================================== */

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--dur-press) var(--ease-out), background var(--dur-fast) ease, box-shadow var(--dur-fast) ease, opacity var(--dur-fast) ease;
  will-change: transform;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--gradient-vice);
  color: #0d0f16;
  box-shadow: 0 10px 30px -12px rgba(255, 44, 166, 0.45);
}
.btn-primary:hover {
  box-shadow: 0 12px 34px -10px rgba(255, 44, 166, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(245, 246, 250, 0.06);
  border-color: rgba(245, 246, 250, 0.3);
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn[disabled]:active {
  transform: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 76px 0 88px;
  overflow: hidden;
  background: var(--gradient-sky), var(--bg);
}
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(560px circle at var(--spot-x, 50%) var(--spot-y, 10%), rgba(255, 44, 166, 0.14), transparent 60%);
  transition: opacity 400ms ease;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-inner {
  max-width: 640px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--border-strong);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  background: rgba(245, 246, 250, 0.04);
}
.kicker b {
  color: var(--pink);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 0 0 24px;
}
.hero h1 .line-accent {
  display: block;
  background: var(--gradient-vice-full);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-glow {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255, 138, 0, 0.22), transparent 70%);
  filter: blur(10px);
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.section-head {
  max-width: 660px;
  margin: 0 0 46px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-vice);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.01em;
  line-height: 1.14;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--fg-muted);
  font-size: 16.5px;
  margin: 0;
}

/* ==========================================================================
   Why now — signal log
   ========================================================================== */

.log {
  border-top: 1px solid var(--border-strong);
}
.log-row {
  display: grid;
  grid-template-columns: 56px 110px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.log-row .log-id {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-faint);
  letter-spacing: 0.02em;
}
.log-row b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  white-space: nowrap;
}
.log-row p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.source-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--fg-faint);
  font-family: var(--font-mono);
}
.source-note a {
  color: var(--fg-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.why-now-take {
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--fg);
  max-width: 700px;
}

/* ==========================================================================
   Services — glossy glow cards
   ========================================================================== */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1000px;
}
.tier {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
  transform-style: preserve-3d;
  box-shadow: 0 24px 60px -34px rgba(0, 212, 255, 0.35);
}
.tier:nth-of-type(2) { box-shadow: 0 28px 70px -30px rgba(255, 44, 166, 0.5); }
.tier:nth-of-type(3) { box-shadow: 0 24px 60px -34px rgba(90, 45, 255, 0.4); }
.tier:hover {
  border-color: var(--border-strong);
}
.tier-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 246, 250, 0.05);
  border: 1px solid var(--border);
}
.tier:nth-of-type(1) .tier-icon { color: var(--cyan); }
.tier:nth-of-type(2) .tier-icon { color: var(--pink); }
.tier:nth-of-type(3) .tier-icon { color: var(--violet); }
.tier-flagship {
  background: linear-gradient(180deg, var(--bg-elevated-2), var(--bg-elevated));
  border-color: rgba(255, 44, 166, 0.25);
}
@media (min-width: 901px) {
  .tier-flagship {
    padding-top: 42px;
    padding-bottom: 38px;
    margin-top: -8px;
    margin-bottom: -8px;
  }
}
.tier-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--gradient-vice);
  color: #0d0f16;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.tier-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.tier h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}
.tier .tier-for {
  font-size: 13px;
  color: var(--fg-faint);
  margin: -12px 0 0;
}
.tier p.tier-desc {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
}
.tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier li {
  font-size: 14px;
  color: var(--fg-muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tier li svg {
  flex: none;
  margin-top: 3px;
  color: var(--gold);
}
.tier-cta {
  margin-top: auto;
  padding-top: 8px;
}
.tier-note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-faint);
}

/* ==========================================================================
   Calculator — a glossy control panel with a value-pulse flourish on release
   ========================================================================== */

.calc {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.calc-field label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.calc-field label > span:first-child {
  flex: 1 1 auto;
}
.calc-field label > span:last-child {
  flex: none;
  white-space: nowrap;
  color: var(--fg);
  font-weight: 600;
}
.calc-field input[type="range"] {
  width: 100%;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border-strong);
  outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-vice);
  box-shadow: 0 0 0 4px rgba(255, 44, 166, 0.15);
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out);
}
.calc-field input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.15);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: var(--gradient-vice);
  box-shadow: 0 0 0 4px rgba(255, 44, 166, 0.15);
  cursor: pointer;
}
.calc-output {
  border-left: 1px solid var(--border);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-output-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.calc-output-number {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  display: inline-block;
}
.calc-output-number.is-pulsing {
  animation: value-pulse 260ms var(--ease-out);
}
@keyframes value-pulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 44, 166, 0)); }
  40% { transform: scale(1.045); filter: drop-shadow(0 0 16px rgba(255, 44, 166, 0.5)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 44, 166, 0)); }
}
@media (prefers-reduced-motion: reduce) {
  .calc-output-number.is-pulsing { animation: none; }
}
.calc-output-sub {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.55;
}
.calc-disclaimer {
  margin-top: 18px;
  font-size: 12px;
  color: var(--fg-faint);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Product / waitlist
   ========================================================================== */

.product-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 20px;
}
.product-copy {
  padding: 44px;
}
.product-visual {
  position: relative;
  background: var(--gradient-vice-soft);
  border-left: 1px solid var(--border);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 20px 0 26px;
}
.product-price b {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
}
.product-price span {
  color: var(--fg-faint);
  font-size: 14px;
}
.product-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--fg-muted);
}
.product-list li svg {
  flex: none;
  margin-top: 3px;
  color: var(--orange);
}
.countdown-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  width: 100%;
  max-width: 260px;
}
.countdown-number {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
}
.countdown-label {
  margin-top: 10px;
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.countdown-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--fg-faint);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.field {
  flex: 1 1 200px;
  min-width: 0;
}
.field label {
  display: block;
  font-size: 12px;
  color: var(--fg-faint);
  margin-bottom: 6px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 44, 166, 0.18);
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 20px;
}
.consent-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--pink);
  flex: none;
}
.consent-row label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  font-family: var(--font-body);
}
.consent-row a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  min-height: 18px;
  font-family: var(--font-mono);
}
.form-status[data-state="ok"] {
  color: var(--cyan);
}
.form-status[data-state="error"] {
  color: var(--orange);
}

/* ==========================================================================
   Modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 10, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  position: relative;
  padding: 36px;
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  transform-origin: center;
  transform: scale(0.95);
  opacity: 0;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--gradient-vice-full);
}
.modal-overlay.is-open .modal {
  transform: scale(1);
  opacity: 1;
}
.modal-slate {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 10px;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.modal-head h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 6px;
}
.modal-head p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 13.5px;
}
.modal-close {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--fg-faint);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  transition: transform var(--dur-press) var(--ease-out), color var(--dur-fast) ease;
}
.modal-close:hover {
  color: var(--fg);
}
.modal-close:active {
  transform: scale(0.9);
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-copy p {
  color: var(--fg-muted);
  font-size: 16.5px;
  margin: 0 0 18px;
}
.about-copy p:last-child {
  margin-bottom: 0;
}
.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pillar {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: flex-start;
}
.pillar:first-child {
  border-top: none;
  padding-top: 0;
}
.pillar .pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 246, 250, 0.05);
  border: 1px solid var(--border);
}
.pillar:nth-child(1) .pillar-icon { color: var(--cyan); }
.pillar:nth-child(2) .pillar-icon { color: var(--orange); }
.pillar:nth-child(3) .pillar-icon { color: var(--pink); }
.pillar h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 6px;
}
.pillar p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14.5px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color var(--dur-fast) ease;
}
.footer-links a:hover {
  color: var(--fg);
}
.legal-disclaimer {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fg-faint);
  max-width: 760px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal-disclaimer + .legal-disclaimer {
  margin-top: 10px;
}
.copyright {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--fg-faint);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-page {
  padding: 64px 0 96px;
}
.legal-page .container {
  max-width: 760px;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 8px;
}
.legal-page .updated {
  color: var(--fg-faint);
  font-size: 13.5px;
  margin: 0 0 40px;
  font-family: var(--font-mono);
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
}
.legal-page p,
.legal-page li {
  color: var(--fg-muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal-page ul {
  padding-left: 20px;
}
.legal-page .todo {
  background: rgba(255, 138, 0, 0.1);
  border: 1px dashed rgba(255, 138, 0, 0.4);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--orange);
}
.legal-page a.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  transition: color var(--dur-fast) ease;
}
.legal-page a.back:hover {
  color: var(--fg);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .hero-visual img { max-width: 300px; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-flagship { margin: 0 !important; padding: 30px 26px !important; }
  .calc { grid-template-columns: 1fr; }
  .calc-output { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 28px; }
  .product-panel { grid-template-columns: 1fr; }
  .product-visual { border-left: none; border-top: 1px solid var(--border); padding: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .log-row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  }
  .nav-links.is-open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }
  .nav-links li {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--fg);
    cursor: pointer;
  }
  .hero { padding: 56px 0 48px; }
  section { padding: 60px 0; }
  .product-copy, .product-visual, .calc { padding: 28px 22px; }
  .wordmark { font-size: 15px; gap: 8px; }
  .wordmark img { width: 28px; height: 28px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-primary { padding: 10px 16px; font-size: 13px; }
}

@media (max-width: 380px) {
  .nav-actions .btn-ghost { display: none; }
  .container { padding: 0 16px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-primary { padding: 9px 13px; font-size: 12.5px; }
  .wordmark { font-size: 13.5px; gap: 6px; }
  .wordmark img { width: 24px; height: 24px; }
}
