/* ============================================================
   DomainAge — Honey-inspired warm landing
   Cream + bright yellow · friendly · soft rounded · playful tone
   Mobile-friendly with proper touch targets and safe-area support
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-cream: #fef9eb;
  --bg-yellow: #fff8d6;
  --bg-soft: #faf6ec;
  --bg-blob: #fef3c7;

  /* Ink */
  --text: #1a1a1a;
  --text-soft: #2a2a2a;
  --text-muted: #5b5b60;
  --text-dim: #9b9ba0;
  --border: #ece4d0;
  --border-soft: #f3edda;

  /* Yellow accent */
  --yellow: #ffc233;
  --yellow-deep: #f0a90e;
  --yellow-soft: #fef3c7;
  --yellow-pale: #fffbe6;
  --yellow-text: #7c5400;

  /* Status */
  --good: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;

  /* Popup palette (the dark popup keeps its real colors) */
  --pop-bg: #0a0a0a;
  --pop-surface: #161616;
  --pop-track: #1f1f1f;
  --pop-grad: linear-gradient(135deg, #6366f1, #a855f7 60%, #ec4899);

  --shadow-sm: 0 2px 6px rgba(28, 22, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 22, 0, 0.06);
  --shadow-lg: 0 24px 60px -12px rgba(28, 22, 0, 0.18);
  --shadow-yellow: 0 12px 30px -8px rgba(240, 169, 14, 0.45);

  --radius: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--yellow); color: var(--text); }
code { overflow-wrap: break-word; word-break: break-all; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.hl {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hl::before {
  content: '';
  position: absolute;
  inset: 18% -3% 14% -3%;
  background: var(--yellow);
  z-index: -1;
  border-radius: 6px;
  transform: skewX(-3deg);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: transparent;
  transition: all 0.25s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand-mark {
  border-radius: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--yellow-deep); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}
.cta-full { display: inline; }
.cta-short { display: none; }
.nav-cta:hover {
  background: var(--yellow);
  color: var(--text);
  transform: translateY(-1px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--text);
  border-color: transparent;
  box-shadow: 0 8px 22px -4px rgba(240, 169, 14, 0.55), 0 2px 6px rgba(0, 0, 0, 0.06);
}
.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(240, 169, 14, 0.6), 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #ffd54a;
}
.btn-yellow:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px -2px rgba(240, 169, 14, 0.5);
}
.btn-dark {
  background: var(--text);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.3);
}
.btn-dark:hover {
  transform: translateY(-2px);
  background: #2a2a2e;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.4);
}
.btn-dark:active {
  transform: translateY(0);
}
.btn-lg {
  padding: 18px 30px;
  font-size: 17px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 180px 0 110px;
  overflow: hidden;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-soft);
}
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.shape-1 {
  width: 460px;
  height: 460px;
  background: var(--yellow-soft);
  top: -120px;
  left: -100px;
}
.shape-2 {
  width: 360px;
  height: 360px;
  background: #fde68a;
  top: 200px;
  right: -120px;
  opacity: 0.5;
}
.shape-3 {
  width: 280px;
  height: 280px;
  background: #fef3c7;
  bottom: -120px;
  left: 30%;
  opacity: 0.5;
}

/* Centered single-column hero */
.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-text {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-text .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.hero-text .hero-helper { margin-top: 8px; }
.hero-text .hero-sub {
  margin-left: auto;
  margin-right: auto;
}
.hero-text .hero-cta-stack {
  margin-left: auto;
  margin-right: auto;
}
.hero-text .hero-helper {
  align-items: center;
}

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

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--text);
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 540px;
}
.hero-sub b { font-weight: 700; color: var(--text); }

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
/* Desktop: side-by-side. Mobile: stacked vertically (handled in @media). */
.hero-cta-stack {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-cta-stack .btn {
  justify-content: center;
}
.hero-helper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.hero-helper span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-helper kbd,
.mini kbd {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  margin: 0 1px;
  background: #fff;
  border: 1.5px solid var(--text);
  border-bottom-width: 2px;
  border-radius: 4px;
  color: var(--text);
  line-height: 1.2;
}
.mini kbd { font-size: 10px; }

/* ============================================================
   LIVE DEMO — typing address bar + cycling result card
   ============================================================ */
.demo-section {
  padding: 100px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
}
.demo-stage {
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 540px;
  margin: 0 auto;
}
.demo-bg {
  position: absolute;
  inset: -20px;
  background: var(--yellow);
  border-radius: 32px;
  transform: rotate(-2deg);
  z-index: 0;
  box-shadow: var(--shadow-md);
}

/* Demo card — sticker style with thick black border */
.demo-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 3px solid var(--text);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 8px 8px 0 var(--text);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

/* Bar wrapper — holds form + DEMO badge */
.demo-bar-wrap {
  position: relative;
}
.demo-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--text);
  color: var(--yellow);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  pointer-events: none;
}

/* Hidden attribute must beat any display: flex/grid rule */
[hidden] { display: none !important; }

/* Install CTA state — shown when user submits unknown domain */
.demo-install {
  text-align: center;
  padding: 18px 8px 8px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.demo-install-icon {
  font-size: 32px;
  margin-bottom: 4px;
}
.demo-install-text {
  font-size: 15px;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}
.demo-install-text b {
  font-weight: 700;
}
.demo-install-text #demoInstallDomain {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  background: var(--yellow-soft);
  padding: 1px 6px;
  border-radius: 4px;
  word-break: break-all;
}
.demo-install-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 8px;
  line-height: 1.5;
  max-width: 320px;
}
.demo-install .btn {
  margin-top: 4px;
}

/* Address bar — interactive form */
.demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 16px;
  background: var(--bg-cream);
  border: 2px solid var(--text);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  min-width: 0;
  margin: 0;
  transition: box-shadow 0.2s, background 0.2s;
}
.demo-bar:focus-within {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 194, 51, 0.35);
}
.demo-protocol {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}
.demo-input {
  flex: 1;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
input.demo-typed {
  flex: 1;
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
input.demo-typed::placeholder {
  color: var(--text-dim);
  font-weight: 500;
}
input.demo-typed::selection {
  background: var(--yellow);
}
.demo-cursor {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--text);
  margin-left: 2px;
  animation: blink 1.05s steps(1) infinite;
  flex-shrink: 0;
}
.demo-bar:focus-within .demo-cursor {
  display: none;
}
@keyframes blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Submit button (round arrow at end of address bar) */
.demo-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.demo-go:hover {
  background: var(--yellow);
  color: var(--text);
  transform: scale(1.06);
}
.demo-go:active {
  transform: scale(0.94);
}

/* Shake on invalid input */
.demo-shake {
  animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}
@keyframes shake {
  10%, 90%  { transform: translateX(-2px); }
  20%, 80%  { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60%  { transform: translateX(5px); }
}

/* Result card body */
.demo-result {
  background: var(--bg-cream);
  border: 2px solid var(--text);
  border-radius: 16px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.demo-data {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.demo-result::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 194, 51, 0.4), transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}
.demo-result.demo-flash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  opacity: 0.55;
  animation: flash 0.45s ease-out forwards;
  pointer-events: none;
}
@keyframes flash {
  0%   { opacity: 0.55; }
  100% { opacity: 0; }
}

.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  background: #fff;
  border: 1.5px solid var(--text);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.demo-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
  animation: status-pulse 1.4s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

.demo-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.demo-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.demo-num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  background: var(--yellow);
  padding: 2px 12px 4px;
  border-radius: 10px;
  border: 2.5px solid var(--text);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  text-align: center;
}
.demo-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
}
.demo-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid var(--text);
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--text);
  text-align: right;
}

.demo-track {
  position: relative;
  height: 8px;
  background: #fff;
  border: 2px solid var(--text);
  border-radius: 999px;
  position: relative;
  z-index: 1;
}
.demo-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 78%;
  background: var(--yellow);
  border-radius: 999px;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-now {
  position: absolute;
  top: 50%;
  left: 78%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2.5px solid var(--text);
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255, 194, 51, 0.4);
  transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.d-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: #fff;
  border: 1.5px solid var(--text);
  border-radius: 6px;
  color: var(--text);
  animation: chip-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.d-chip:nth-child(1) { animation-delay: 0.1s; }
.d-chip:nth-child(2) { animation-delay: 0.2s; }
.d-chip:nth-child(3) { animation-delay: 0.3s; }
.d-chip:nth-child(4) { animation-delay: 0.4s; }
@keyframes chip-in {
  0%   { opacity: 0; transform: translateY(8px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-cursor, .demo-status-dot { animation: none; }
  .d-chip { animation: none; }
  .demo-fill, .demo-now { transition: none; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--text);
  color: #fff;
  padding: 28px 0;
  text-align: center;
}
.trust-line {
  font-size: clamp(15px, 1.4vw, 18px);
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
  max-width: 880px;
  margin: 0 auto;
}
.trust-line b {
  color: var(--yellow);
  font-weight: 700;
}
.trust-line i {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}
.trust-emoji {
  display: inline-block;
  margin-right: 6px;
  font-style: normal;
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.kicker {
  display: inline-block;
}
.yellow-kicker {
  padding: 6px 14px;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--yellow-text);
  margin-bottom: 22px;
}
.section-title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text);
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: 100px 0;
  background: var(--bg);
}
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.step {
  background: var(--bg-cream);
  border: 2px solid var(--text);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--text);
}
.step-emoji {
  font-size: 40px;
  margin-bottom: 18px;
  display: block;
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow-deep);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.step h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--text);
}
.step p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.step p kbd {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  margin: 0 1px;
  background: #fff;
  border: 1.5px solid var(--text);
  border-bottom-width: 2px;
  border-radius: 4px;
  color: var(--text);
  line-height: 1.3;
}
.step-arrow {
  display: flex;
  align-items: center;
  font-size: 32px;
  color: var(--text);
  font-weight: 300;
}

/* ============================================================
   FEATURES — benefits + mini grid
   ============================================================ */
.features {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.benefits {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-bottom: 80px;
}
.benefit {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 2px solid var(--text);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  box-shadow: 6px 6px 0 var(--text);
  transition: transform 0.3s ease;
}
.benefit:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--text);
}
.benefit.reverse { grid-template-columns: 1fr 200px; }
.benefit.reverse .benefit-icon-bg { order: 2; }
.benefit.reverse .benefit-text { order: 1; }

.benefit-icon-bg {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-icon-bg.b1 { background: #fef3c7; }
.benefit-icon-bg.b2 { background: #ddd6fe; }
.benefit-icon-bg.b3 { background: #fee2e2; }
.benefit-emoji {
  font-size: 80px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.benefit-text h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  line-height: 1.15;
  color: var(--text);
}
.benefit-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.6;
  max-width: 580px;
}

/* Benefit mock visualizations */
.benefit-mock {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.benefit-mock-stamp { gap: 12px; }
.stamp-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: var(--bad);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}
.stamp-domain {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.benefit-mock-chips .chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid;
}
.ch-fw  { background: rgba(99, 102, 241, 0.12); color: #4338ca; border-color: rgba(99, 102, 241, 0.3); }
.ch-cdn { background: rgba(245, 158, 11, 0.14); color: #b45309; border-color: rgba(245, 158, 11, 0.3); }
.ch-an  { background: rgba(34, 211, 238, 0.12); color: #0e7490; border-color: rgba(34, 211, 238, 0.3); }
.ch-pay { background: rgba(236, 72, 153, 0.12); color: #be185d; border-color: rgba(236, 72, 153, 0.3); }

.benefit-mock-watch {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 16px;
}
.w-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.w-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.w-dot.urgent { background: var(--bad); box-shadow: 0 0 8px rgba(220, 38, 38, 0.5); }
.w-dot.ok { background: var(--good); box-shadow: 0 0 8px rgba(22, 163, 74, 0.5); }
.w-name {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.w-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}
.w-meta.urgent-text { color: var(--bad); font-weight: 700; }

/* Mini grid */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mini {
  background: #fff;
  border: 2px solid var(--text);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.mini:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--text);
}
.mini-icon {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}
.mini h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--text);
}
.mini p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   INSTALL
   ============================================================ */
.install {
  padding: 100px 0;
  background: var(--bg);
}
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.i-card {
  background: var(--bg-cream);
  border: 2px solid var(--text);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.i-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--text);
}
.i-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border: 2px solid var(--text);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
.i-card h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--text);
}
.i-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.i-card code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 2px 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--yellow-text);
  font-weight: 600;
}
.i-card kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 2px 8px;
  background: #fff;
  border: 1px solid var(--text);
  border-bottom-width: 2px;
  border-radius: 6px;
  color: var(--text);
  font-weight: 600;
}
.i-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  transition: gap 0.2s, border-color 0.2s;
}
.i-link:hover {
  gap: 10px;
  border-color: var(--yellow-deep);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 2px solid var(--text);
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq summary:hover { color: var(--yellow-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.3s, color 0.2s;
}
.faq details[open] .chev {
  transform: rotate(180deg);
  color: var(--yellow-deep);
}
.faq details p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 24px;
  padding-right: 32px;
}
.faq details p b {
  color: var(--text);
  font-weight: 700;
}
.faq details p code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88em;
  padding: 1px 6px;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 80px 0 100px;
  background: var(--bg);
}
.cta-card {
  position: relative;
  background: var(--yellow);
  border: 3px solid var(--text);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--text);
  isolation: isolate;
}
.cta-shape {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 30% 40%, #fffbe6 0%, transparent 50%);
  z-index: -1;
}
.cta-card h2 {
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text);
}
.cta-card p {
  font-size: 17px;
  color: var(--text-soft);
  margin: 0 auto 32px;
  max-width: 480px;
  font-weight: 500;
}
.cta-card .btn-yellow {
  background: var(--text);
  color: var(--yellow);
  border-color: var(--text);
  box-shadow: 4px 4px 0 #fff;
}
.cta-card .btn-yellow:hover {
  background: #fff;
  color: var(--text);
  box-shadow: 6px 6px 0 var(--text);
}
.cta-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: #fff;
  border: 1.5px solid var(--text);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-chip:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--text);
}
.cta-chip svg {
  flex-shrink: 0;
  color: var(--text);
}
@media (max-width: 480px) {
  .cta-chip { padding: 5px 11px; font-size: 11px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 2px solid var(--text);
  padding: 32px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.footer-brand img { border-radius: 6px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow-deep); }
.footer-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
}
.footer-friends {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 0;
}
.footer-friends a {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-friends a:hover {
  color: var(--yellow-deep);
  border-color: var(--yellow-deep);
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container, .nav-inner { padding: 0 24px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .demo-stage { max-width: 540px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step-arrow { display: none; }
  .benefit, .benefit.reverse {
    grid-template-columns: 140px 1fr;
    gap: 28px;
    padding: 32px 28px;
  }
  .benefit-icon-bg { width: 140px; height: 140px; }
  .benefit-emoji { font-size: 56px; }
  .install-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 12px 0; }
  .nav-links { display: none; }
  .container, .nav-inner {
    padding: 0 20px;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .hero { padding: 150px 0 120px; }
  .hero-title { font-size: clamp(34px, 9vw, 52px); margin-bottom: 18px; }
  .hero-sub { margin-bottom: 22px; }
  .hero-cta { gap: 12px; margin-bottom: 18px; }
  .demo-card { padding: 20px; gap: 18px; box-shadow: 6px 6px 0 var(--text); }
  .demo-result { padding: 18px 16px 16px; gap: 16px; }
  .demo-data { gap: 16px; }
  .demo-num { font-size: 48px; padding: 2px 10px 4px; min-width: 74px; }
  .demo-input { font-size: 15px; }
  .how, .features, .install, .faq, .demo-section { padding: 72px 0; }
  .cta { padding: 56px 0 80px; }
  .section-head { margin-bottom: 48px; }
  .benefit, .benefit.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
    text-align: center;
  }
  .benefit.reverse .benefit-icon-bg { order: 1; }
  .benefit.reverse .benefit-text { order: 2; }
  .benefit-icon-bg {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }
  .benefit-emoji { font-size: 52px; }
  .benefit-text { text-align: center; }
  .benefit-mock { justify-content: center; }
  .mini-grid { grid-template-columns: 1fr; }
  .cta-card {
    padding: 56px 24px;
    border-radius: 24px;
    box-shadow: 6px 6px 0 var(--text);
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .hero { padding: 140px 0 104px; }
  .hero-title { font-size: clamp(30px, 10vw, 42px); margin-bottom: 16px; line-height: 1.06; }
  .hero-sub { margin-bottom: 18px; font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 300px; gap: 10px; margin-bottom: 14px; }
  .btn { justify-content: center; padding: 12px 20px; font-size: 14px; min-height: 46px; }
  .btn-lg { padding: 14px 22px; font-size: 15px; min-height: 50px; }
  .demo-card { padding: 18px; gap: 16px; box-shadow: 5px 5px 0 var(--text); border-radius: 18px; border-width: 2.5px; }
  .demo-result { padding: 16px 14px 14px; gap: 14px; }
  .demo-data { gap: 14px; }
  .demo-bar { padding: 10px 14px; gap: 6px; }
  .demo-protocol { font-size: 12px; }
  .demo-input { font-size: 14px; }
  .demo-num { font-size: 40px; padding: 2px 9px 3px; min-width: 64px; }
  .demo-stat { gap: 10px; }
  .demo-unit { font-size: 12px; }
  .demo-pill { font-size: 10px; padding: 4px 9px; }
  .demo-track { height: 7px; }
  .demo-now { width: 14px; height: 14px; }
  .d-chip { font-size: 10px; padding: 3px 8px; }
  .demo-status { font-size: 9px; padding: 3px 9px; }
  .step { padding: 28px 24px; }
  .benefit, .benefit.reverse { padding: 28px 22px; }
  .benefit-text h3 { font-size: 22px; }
  .i-card { padding: 26px 22px; }
  .faq summary { font-size: 15px; padding: 20px 0; gap: 12px; }
  .faq details p { font-size: 14px; padding-right: 24px; }
  .cta-card { padding: 48px 22px; }
  .section-title { font-size: clamp(28px, 7vw, 40px); }
}

@media (max-width: 380px) {
  .container, .nav-inner { padding: 0 16px; }
  .nav-cta { padding: 8px 12px; font-size: 12px; gap: 4px; }
  .brand-text { font-size: 17px; }
  .brand { gap: 8px; }
  .hero { padding: 128px 0 88px; }
  .hero-sub { font-size: 14px; line-height: 1.55; margin-bottom: 16px; }
  .hero-title { font-size: clamp(26px, 9vw, 36px); }
  .demo-card { padding: 14px; gap: 10px; box-shadow: 4px 4px 0 var(--text); border-radius: 16px; border-width: 2.5px; }
  .demo-num { font-size: 36px; padding: 2px 8px 3px; min-width: 56px; }
  .demo-stat { flex-direction: column; align-items: flex-start; gap: 8px; }
  .demo-pill { text-align: left; font-size: 9px; }
  .demo-bar { padding: 9px 12px; }
  .demo-input { font-size: 13px; }
  .demo-protocol { font-size: 11px; }
  .demo-result { padding: 12px; }
  .features, .how, .install, .faq, .demo-section { padding: 56px 0; }
  .benefit-icon-bg { width: 100px; height: 100px; }
  .benefit-emoji { font-size: 44px; }
  .mini { padding: 20px; }
  .i-card { padding: 22px 18px; }
  .cta-card { padding: 40px 18px; }
}

/* Touch device hover-state cleanup */
@media (hover: none) and (pointer: coarse) {
  .btn-yellow:hover, .step:hover, .benefit:hover, .mini:hover, .i-card:hover, .nav-cta:hover {
    transform: none;
  }
  .btn-yellow:hover { box-shadow: 4px 4px 0 var(--text); }
  .step:hover, .mini:hover, .i-card:hover, .benefit:hover { box-shadow: none; }
}
