:root {
  --bg: #050505;
  --panel: #0d0d0d;
  --panel-soft: #121212;
  --panel-alt: #101010;
  --text: #f5f5f2;
  --muted: #b8b8b0;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 32px 80px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

html.is-locked,
body.is-loading {
  overflow: hidden;
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.035), transparent 28%),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.018), transparent 24%),
    linear-gradient(180deg, #070707 0%, #040404 100%);
  overflow-x: clip;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-shell {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.is-ready .site-shell {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   LOADER
========================== */
#site-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.035), transparent 35%),
    linear-gradient(180deg, #080808 0%, #040404 100%);
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 800ms ease, visibility 800ms ease;
  pointer-events: none;
}

#site-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.loader-logo {
  width: 250px;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.06));
  animation: loaderLogoFloat 3.2s ease-in-out infinite;
}

.loader-line {
  width: 210px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.loader-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  animation: loaderSweep 2s linear infinite;
}

@keyframes loaderSweep {
  from { left: -40%; }
  to { left: 100%; }
}

@keyframes loaderLogoFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.92;
  }
  50% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

/* =========================
   HEADER
========================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 110px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.03));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.menu-btn,
.btn,
.nav-links a {
  -webkit-tap-highlight-color: transparent;
}

.menu-btn {
  display: none;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
  touch-action: manipulation;
}

/* =========================
   BUTTONS
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  color: var(--text);
  font-weight: 500;
  transition: 220ms ease;
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(245, 245, 242, 1), rgba(230, 230, 226, 0.96));
  color: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  color: var(--text);
  border: 1px solid var(--line-strong);
}

/* =========================
   SECTION SHELLS
========================== */
.section-shell {
  padding: 44px 0;
}

.section-shell-tight {
  padding: 18px 0 8px;
}

.section-shell-soft {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.004));
  border-top: 1px solid rgba(255,255,255,0.035);
  border-bottom: 1px solid rgba(255,255,255,0.035);
}

.section-shell-hero {
  padding: 72px 0 46px;
}

.section-head {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.section-head-wide {
  align-items: end;
  justify-content: space-between;
}

.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.section-head p {
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* =========================
   PANELS
========================== */
.hero-copy,
.summary-box,
.feature-card,
.audience-card,
.timeline-card,
.contrast-card,
.pricing-card,
.demo-site-card,
.contact-card,
.faq-item,
.hero-showcase {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy::before,
.summary-box::before,
.feature-card::before,
.audience-card::before,
.timeline-card::before,
.contrast-card::before,
.pricing-card::before,
.demo-site-card::before,
.contact-card::before,
.faq-item::before,
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.022), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,0.016), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.016), rgba(255,255,255,0.005));
}

.hero-copy,
.summary-box,
.feature-card,
.audience-card,
.timeline-card,
.pricing-card,
.demo-site-card,
.contact-card,
.hero-showcase {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(11, 11, 11, 0.98));
}

.contrast-card,
.faq-item {
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.96), rgba(10, 10, 10, 0.98));
}

/* =========================
   HERO
========================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: start;
}

.hero-copy {
  padding: 58px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-visual {
  display: grid;
  gap: 22px;
  align-content: start;
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(3rem, 6vw, 4.9rem);
  line-height: 0.94;
  max-width: 9ch;
}

.hero-text {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-trust {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.hero-note {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0.006));
}

.hero-note strong {
  display: block;
  margin-bottom: 8px;
}

.hero-note span {
  color: var(--muted);
  line-height: 1.75;
}

/* =========================
   TRUST STRIP
========================== */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.008));
  color: var(--muted);
  font-size: 0.88rem;
}

/* =========================
   SUMMARY
========================== */
.summary-box {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 30px;
}

.summary-label,
.panel-label,
.demo-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-label {
  margin-bottom: 16px;
}

.summary-box h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.summary-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.summary-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.summary-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.summary-item span {
  color: var(--muted);
  line-height: 1.65;
}

.summary-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* =========================
   LIVE DEMO SHOWCASE
========================== */
.hero-showcase {
  min-height: 840px;
  padding: 28px;
  contain: layout paint;
}

.demo-showcase {
  display: grid;
  gap: 22px;
  isolation: isolate;
}

.demo-stage-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  pointer-events: none;
  opacity: 0.88;
  z-index: 0;
}

.demo-stage-glow-left {
  width: 280px;
  height: 280px;
  left: -54px;
  top: 90px;
  background: radial-gradient(circle, rgba(103, 154, 214, 0.16), transparent 70%);
}

.demo-stage-glow-right {
  width: 280px;
  height: 280px;
  right: -40px;
  bottom: 100px;
  background: radial-gradient(circle, rgba(198, 118, 86, 0.14), transparent 70%);
}

.demo-stage-head,
.demo-stage-meta,
.demo-stage-footer {
  position: relative;
  z-index: 1;
}

.demo-stage-head {
  display: grid;
  gap: 10px;
}

.demo-stage-head h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 0.98;
  max-width: 12ch;
}

.demo-stage-head p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.demo-summary-label {
  margin-bottom: 14px;
}

.demo-stage-shell {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  z-index: 1;
  min-height: 470px;
  padding: 14px 60px 6px;
  display: grid;
  align-items: center;
}

.demo-stage-viewport {
  position: relative;
  min-height: 420px;
  perspective: 2200px;
  overflow: hidden;
  border-radius: 30px;
}

.demo-stage-track {
  position: relative;
  min-height: 420px;
  transform-style: preserve-3d;
}

.demo-window {
  position: absolute;
  left: 50%;
  top: 20px;
  width: min(100%, 456px);
  min-height: 360px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-strong);
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(8, 8, 8, 0.98));
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  transform-origin: center center;
  transition:
    transform 950ms cubic-bezier(.22,.61,.36,1),
    opacity 620ms ease,
    filter 620ms ease,
    box-shadow 620ms ease;
  opacity: 0;
  pointer-events: none;
}

.demo-window::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.015)),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.07), transparent 38%);
}

.demo-window.is-active,
.demo-window.is-prev,
.demo-window.is-next {
  opacity: 1;
}

.demo-window.is-active {
  z-index: 3;
  transform:
    translateX(-50%)
    translateY(0)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    scale(1);
  filter: blur(0);
}

.demo-window.is-prev {
  z-index: 2;
  transform:
    translateX(calc(-50% - 218px))
    translateY(30px)
    rotateY(54deg)
    scale(0.82);
  filter: saturate(0.78) brightness(0.8);
}

.demo-window.is-next {
  z-index: 2;
  transform:
    translateX(calc(-50% + 218px))
    translateY(30px)
    rotateY(-54deg)
    scale(0.82);
  filter: saturate(0.78) brightness(0.8);
}

.demo-window.is-hidden {
  z-index: 1;
  transform: translateX(-50%) translateY(46px) scale(0.72);
  opacity: 0;
}

.demo-window-browser,
.demo-window-frame-wrap {
  position: relative;
  z-index: 1;
}

.demo-window-browser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.demo-window-browser-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-window-browser-left span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.36);
}

.demo-window-browser-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-window-label,
.demo-window-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-window-label {
  color: rgba(255,255,255,0.86);
}

.demo-window-chip {
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.08);
}

.demo-window-frame-wrap {
  height: 318px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.demo-window-frame-scale {
  width: 1440px;
  height: 960px;
  transform-origin: top left;
  transform: scale(0.221);
}

.demo-window-frame {
  width: 1440px;
  height: 960px;
  border: 0;
  display: block;
  background: #ffffff;
  pointer-events: none;
}

.demo-stage-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
}

.demo-stage-copy {
  min-width: 0;
  max-width: 680px;
}

.demo-stage-kicker {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.demo-stage-title {
  font-size: clamp(2rem, 2.6vw, 2.7rem);
  line-height: 0.96;
  margin: 0 0 12px;
  max-width: 16ch;
}

.demo-stage-text {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.8;
}

.demo-stage-tags,
.demo-stage-dots,
.demo-stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-stage-actions {
  align-items: center;
  justify-content: flex-end;
}

.demo-stage-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
}

.demo-stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.demo-stage-dot,
.demo-nav {
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

.demo-stage-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  transition: transform 220ms ease, background 220ms ease;
}

.demo-stage-dot.active {
  background: rgba(255,255,255,0.72);
  transform: scale(1.08);
}

.demo-nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 7, 7, 0.88);
  color: var(--text);
  box-shadow: var(--shadow);
  transform: translateY(-50%);
  z-index: 4;
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 220ms ease, background 220ms ease;
}

.demo-nav:hover {
  transform: translateY(-50%) scale(1.04);
  background: rgba(14, 14, 14, 0.95);
}

.demo-nav-prev { left: 2px; }
.demo-nav-next { right: 2px; }

/* =========================
   CONTENT GRIDS
========================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.audience-card,
.timeline-card,
.pricing-card,
.demo-site-card,
.contact-card,
.contrast-card {
  padding: 30px;
}

.feature-index,
.timeline-number {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.feature-card h3,
.audience-card h3,
.timeline-card h3,
.pricing-card h3,
.demo-site-card h3,
.contact-card h3,
.contrast-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.feature-card p,
.audience-card p,
.timeline-card p,
.pricing-copy,
.demo-site-top p,
.contact-card p,
.contrast-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.editorial-copy {
  padding-right: 12px;
}

.editorial-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.98;
  margin-bottom: 14px;
}

.editorial-copy > p {
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 24px;
}

.editorial-points {
  display: grid;
  gap: 14px;
}

.editorial-point {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.editorial-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.editorial-point span {
  color: var(--muted);
  line-height: 1.7;
}

.editorial-side {
  display: grid;
  gap: 18px;
}

.contrast-card.highlight {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.028), transparent 32%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.97), rgba(10, 10, 10, 0.99));
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.pricing-card-featured {
  border-color: rgba(255, 255, 255, 0.16);
}

.pricing-top {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.price {
  margin: 12px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.2rem;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-family: Inter, sans-serif;
}

.feature-list {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.demo-site-top h3 {
  margin-top: 12px;
}

.demo-site-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.demo-site-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.008));
}

.demo-site-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.faq-wrap {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item summary {
  position: relative;
  z-index: 1;
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.78;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.contact-card-cta {
  border-color: rgba(255, 255, 255, 0.13);
}

.contact-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.contact-item {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-item small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* =========================
   FOOTER / REVEAL
========================== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0 40px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}

.mobile-return-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================== */
@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .audience-grid,
  .timeline,
  .editorial-grid,
  .pricing-grid,
  .demo-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head-wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy {
    min-height: auto;
    padding: 42px;
  }

  .editorial-copy {
    padding-right: 0;
  }

  .hero-showcase {
    min-height: 920px;
  }

  .demo-stage-meta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .demo-stage-actions {
    justify-content: flex-start;
  }

  .demo-stage-title {
    max-width: none;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 84px;
  }

  .nav {
    position: relative;
    gap: 12px;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 80px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    background: rgba(8, 8, 8, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 1001;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .nav-links .btn,
  .hero-actions .btn,
  .summary-actions .btn,
  .demo-stage-actions .btn {
    width: 100%;
  }

  .hero-actions,
  .summary-actions,
  .demo-site-links,
  .demo-stage-actions {
    flex-direction: column;
  }

  .section-shell-hero {
    padding: 56px 0 34px;
  }

  .hero-copy {
    padding: 32px 24px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.78;
  }

  .hero-copy,
  .summary-box,
  .feature-card,
  .audience-card,
  .timeline-card,
  .contrast-card,
  .pricing-card,
  .demo-site-card,
  .contact-card,
  .faq-item,
  .hero-showcase {
    padding: 24px;
  }

  .hero-showcase {
    min-height: 780px;
    overflow: clip;
  }

  .demo-stage-head h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    max-width: none;
  }

  .demo-stage-head p {
    font-size: 0.95rem;
  }

  .demo-stage-shell {
    min-height: 360px;
    padding: 0 0 64px;
  }

  .demo-stage-viewport,
  .demo-stage-track {
    min-height: 360px;
  }

  .demo-nav {
    width: 42px;
    height: 42px;
    top: auto;
    bottom: 0;
    transform: none;
  }

  .demo-nav:hover {
    transform: scale(1.04);
  }

  .demo-nav-prev {
    left: calc(50% - 50px);
  }

  .demo-nav-next {
    right: calc(50% - 50px);
  }

  .demo-window {
    width: min(100%, 330px);
    min-height: 320px;
    padding: 12px;
    top: 6px;
  }

  .demo-window.is-prev,
  .demo-window.is-next,
  .demo-window.is-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(0.92);
  }

  .demo-window.is-active {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .demo-window-frame-wrap {
    height: 260px;
  }

  .demo-window-frame-scale {
    transform: scale(0.205);
  }

  .demo-window-browser {
    margin-bottom: 10px;
  }

  .demo-window-browser-meta {
    gap: 8px;
  }

  .demo-window-label,
  .demo-window-chip {
    min-height: 26px;
    padding: 0 10px;
    font-size: 0.64rem;
  }

  .demo-stage-meta {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .demo-stage-copy {
    max-width: none;
  }

  .demo-stage-title {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
    max-width: 14ch;
  }

  .demo-stage-text {
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .demo-stage-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 92px;
  }

  .loader-logo {
    width: 190px;
  }

  .mobile-return-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(9, 9, 9, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
  }

  .mobile-return-link,
  .mobile-return-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 600;
  }

  .mobile-return-link {
    color: var(--text);
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  }

  .mobile-return-cta {
    color: #0a0a0a;
    background: linear-gradient(180deg, rgba(245, 245, 242, 1), rgba(230, 230, 226, 0.96));
    border: 1px solid rgba(255,255,255,0.9);
  }

  .footer-row {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-showcase {
    min-height: 742px;
    padding: 18px;
  }

  .demo-stage-shell {
    min-height: 340px;
    padding-bottom: 60px;
  }

  .demo-stage-viewport,
  .demo-stage-track {
    min-height: 340px;
  }

  .demo-window {
    width: min(100%, 292px);
    min-height: 300px;
  }

  .demo-window-frame-wrap {
    height: 238px;
  }

  .demo-window-frame-scale {
    transform: scale(0.186);
  }

  .demo-stage-title {
    font-size: 1.72rem;
    max-width: 12ch;
  }

  .demo-stage-text {
    max-width: 30ch;
  }
}