/* =========================================================================
   Screenit landing page — single-file stylesheet, no build step.
   ========================================================================= */

:root {
  --bg: oklch(0.16 0.02 270);
  --bg-2: oklch(0.2 0.025 270);
  --surface: oklch(0.24 0.03 270);
  --surface-2: oklch(0.3 0.035 270);
  --border: oklch(0.42 0.03 270 / 0.32);
  --border-2: oklch(0.42 0.03 270 / 0.18);
  --text: oklch(0.98 0.005 270);
  --text-dim: oklch(0.78 0.015 270);
  --muted: oklch(0.6 0.02 270);
  --brand: oklch(0.62 0.22 270);
  --brand-2: oklch(0.82 0.16 200);
  --accent: oklch(0.88 0.12 195);
  --success: oklch(0.78 0.18 155);

  --radius-card: 22px;
  --radius-btn: 14px;
  --shadow-soft: 0 18px 60px -12px rgb(0 0 0 / 0.55);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1400px 700px at 80% -10%, oklch(0.42 0.18 270 / 0.55), transparent 60%),
    radial-gradient(1100px 700px at -10% 20%, oklch(0.5 0.14 200 / 0.4), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, oklch(0.48 0.2 320 / 0.35), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: oklch(0.62 0.22 270 / 0.35); color: white; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---- Layout primitives -------------------------------------------------- */

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

.glass {
  background: linear-gradient(180deg, oklch(1 0 0 / 0.04), oklch(1 0 0 / 0.015));
  border: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.card {
  position: relative;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.045), oklch(1 0 0 / 0.018));
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  background: oklch(1 0 0 / 0.05);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.headline {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0;
}

.gradient-text {
  background: linear-gradient(100deg,
    oklch(0.96 0.02 220) 0%,
    oklch(0.78 0.18 200) 30%,
    oklch(0.72 0.22 270) 60%,
    oklch(0.78 0.18 320) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
}

.shimmer { animation: shimmer-text 8s ease-in-out infinite; }

.section {
  position: relative;
  padding-block: 96px;
}
@media (max-width: 700px) {
  .section { padding-block: 64px; }
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}
.section-head p {
  margin: 20px 0 0;
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.55;
}

.kbd {
  padding: 2px 6px;
  border-radius: 5px;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.15);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

/* ---- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 220ms cubic-bezier(0.2, 0.7, 0.3, 1),
    filter 200ms ease,
    box-shadow 220ms ease,
    background 200ms ease,
    border-color 200ms ease;
  white-space: nowrap;
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  /* No transparent border here: it leaves a light fringe at the rounded
     edge where the gradient bleeds under the border. Let the gradient
     fill edge-to-edge instead. box-sizing: border-box keeps dimensions. */
  border: 0;
  box-shadow: 0 14px 50px -10px oklch(0.62 0.22 270 / 0.55);
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 22px 60px -10px oklch(0.62 0.22 270 / 0.7);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary.btn-lg { padding: 16px 26px; font-size: 16px; border-radius: 16px; }

.btn-ghost {
  color: var(--text);
  background: oklch(1 0 0 / 0.04);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: oklch(1 0 0 / 0.08);
  border-color: oklch(1 0 0 / 0.2);
  transform: translateY(-2px);
}

.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Top nav ------------------------------------------------------------- */

.nav-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: 16px;
  transition: all 220ms ease;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.04), oklch(1 0 0 / 0.015));
  border: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  transition: background 200ms ease, box-shadow 200ms ease;
}
.nav-wrap.scrolled .nav {
  background: oklch(0.16 0.02 270 / 0.7);
  box-shadow: 0 12px 40px -20px rgb(0 0 0 / 0.6);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 6px;
}
.nav-brand img { width: 28px; height: 28px; border-radius: 7px; transition: transform 200ms ease; }
.nav-brand:hover img { transform: scale(1.1); }
.nav-brand-text {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 800px) { .nav-links { display: flex; } }
.nav-links a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 8px;
  transition: color 200ms ease;
}
.nav-links a:hover { color: white; }
.nav-cta {
  padding: 10px 16px !important;
  font-size: 13.5px !important;
}

/* ---- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: 132px;
  padding-bottom: 72px;
  overflow: hidden;
}
@media (min-width: 700px) {
  .hero { padding-top: 168px; padding-bottom: 110px; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 22s ease-in-out infinite;
}
.hero-blob.b1 { top: -10%; left: 60%; width: 60rem; height: 60rem; background: radial-gradient(circle, oklch(0.62 0.22 270 / 0.45), transparent 60%); }
.hero-blob.b2 { top: 20%; left: -10%; width: 50rem; height: 50rem; background: radial-gradient(circle, oklch(0.78 0.18 200 / 0.4), transparent 60%); animation-delay: -8s; }
.hero-blob.b3 { bottom: -20%; left: 30%; width: 40rem; height: 40rem; background: radial-gradient(circle, oklch(0.7 0.2 320 / 0.35), transparent 60%); animation-delay: -15s; }

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 70%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 70%);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 60px; }
}
.hero-copy { text-align: center; }
@media (min-width: 1024px) { .hero-copy { text-align: left; } }

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 5.25rem);
  margin: 24px 0 0;
}
.hero-title > span { display: block; }
.hero-sub {
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 580px;
}
@media (min-width: 1024px) { .hero-sub { margin-inline: 0; } }
.hero-copy .hero-sub { margin-inline: auto; }
@media (min-width: 1024px) { .hero-copy .hero-sub { margin-inline: 0; } }
.hero-sub strong { color: white; font-weight: 600; }

.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
@media (min-width: 480px) { .hero-cta { flex-direction: row; } }
@media (min-width: 1024px) { .hero-cta { justify-content: flex-start; } }

.hero-trust {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 24px;
  font-size: 12.5px;
  color: var(--muted);
}
@media (min-width: 1024px) { .hero-trust { justify-content: flex-start; } }
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust svg { color: var(--brand-2); }

/* ---- Hero mockup (browser window + editor) ------------------------------ */

.mockup-wrap {
  position: relative;
}
.mockup-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  filter: blur(80px);
  background: radial-gradient(circle at 50% 50%, oklch(0.62 0.22 270 / 0.45), transparent 60%);
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}
.mockup {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, oklch(0.22 0.025 270), oklch(0.18 0.02 270));
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: perspective(2200px) rotateX(2.5deg) rotateY(-6deg);
  transform-origin: center;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
  animation: float 6s ease-in-out infinite;
}
.mockup:hover { transform: perspective(2200px) rotateX(0) rotateY(0); }
@media (max-width: 1024px) { .mockup { transform: none; } }

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: oklch(0.2 0.02 270);
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #ff6058; } .dot-y { background: #ffbd2e; } .dot-g { background: #28c941; }
.mockup-url {
  margin-left: 14px;
  padding: 5px 14px;
  border-radius: 6px;
  background: oklch(0.16 0.02 270);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11.5px;
  flex: 1;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-editor {
  display: grid;
  grid-template-columns: 158px 1fr 200px;
  min-height: 380px;
}
@media (max-width: 1024px) {
  .mockup-editor { grid-template-columns: 130px 1fr 170px; }
}
@media (max-width: 640px) {
  .mockup-editor { grid-template-columns: 1fr; }
  .mockup-thumbs, .mockup-controls { display: none !important; }
}

.mockup-thumbs {
  border-right: 1px solid oklch(1 0 0 / 0.04);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: oklch(0.18 0.02 270 / 0.5);
}
.thumb { display: flex; gap: 8px; padding: 6px; border-radius: 10px; border: 1px solid transparent; }
.thumb.active { border-color: var(--brand); background: oklch(1 0 0 / 0.04); }
.thumb-img { width: 38px; height: 38px; border-radius: 7px; background-size: cover; background-position: center; flex-shrink: 0; }
.thumb-name { font-size: 10.5px; color: white; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; }
.thumb-sub { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); margin-top: 2px; }

.mockup-preview { display: flex; flex-direction: column; background: oklch(0.16 0.02 270); }
.preview-pane {
  flex: 1;
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px;
  aspect-ratio: 1.4 / 1;
  overflow: hidden;
}
.preview-backdrop {
  position: absolute;
  inset: 0;
  background-image: url('../img/backdrop-aurora.jpg');
  background-size: cover;
  background-position: center;
}
.preview-card {
  position: relative;
  width: 60%;
  aspect-ratio: 1.45 / 1;
  border-radius: 12px;
  background: oklch(0.98 0.005 270);
  overflow: hidden;
  box-shadow:
    0 18px 50px -10px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.preview-card-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: oklch(0.92 0.005 270);
  border-bottom: 1px solid oklch(0.85 0.005 270);
}
.preview-card-chrome .dot { width: 8px; height: 8px; }
.preview-card-body { padding: 14px; }
.preview-card-title { color: oklch(0.2 0.02 270); font-weight: 700; font-size: 11.5px; margin-bottom: 8px; }
.preview-card-row { height: 5px; border-radius: 999px; background: oklch(0.86 0.005 270); margin-bottom: 5px; }
.preview-card-cta {
  margin-top: 10px;
  display: inline-block;
  padding: 5px 11px;
  border-radius: 7px;
  background: linear-gradient(135deg, #5848ff, #00dce0);
  color: white;
  font-size: 9.5px;
  font-weight: 600;
}
.preview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: oklch(1 0 0 / 0.04);
  border-top: 1px solid oklch(1 0 0 / 0.04);
}
.preview-stats > div { background: oklch(0.18 0.02 270); padding: 10px 12px; }
.stat-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.stat-value { font-family: var(--font-mono); font-size: 11.5px; color: white; font-weight: 500; margin-top: 2px; }
.text-emerald { color: var(--success); }

.mockup-controls { border-left: 1px solid oklch(1 0 0 / 0.04); padding: 10px; background: oklch(0.18 0.02 270 / 0.5); }
.ctl-tabs {
  display: flex;
  padding: 3px;
  background: oklch(0 0 0 / 0.3);
  border: 1px solid oklch(1 0 0 / 0.05);
  border-radius: 9px;
  margin-bottom: 12px;
}
.ctl-tab { flex: 1; text-align: center; padding: 4px; font-size: 9.5px; font-weight: 500; color: var(--text-dim); border-radius: 6px; }
.ctl-tab.active { background: oklch(1 0 0 / 0.06); color: white; }
.ctl-section-label { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin: 10px 0 6px; }
.ctl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ctl-wall { aspect-ratio: 4/3; border-radius: 5px; background-size: cover; background-position: center; border: 1px solid oklch(1 0 0 / 0.05); }
.ctl-wall.active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.ctl-aspects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ctl-aspect { text-align: center; padding: 4px; border-radius: 5px; font-size: 9.5px; background: oklch(1 0 0 / 0.04); border: 1px solid oklch(1 0 0 / 0.05); color: var(--text-dim); }
.ctl-aspect.active { background: oklch(0.62 0.22 270 / 0.18); border-color: var(--brand); color: white; }
.ctl-slider { height: 5px; border-radius: 999px; background: oklch(0.32 0.03 270); overflow: hidden; }
.ctl-slider-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

/* ---- Features ------------------------------------------------------------ */

.features-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: 1fr 1fr 1fr; } }
.feature {
  padding: 28px;
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.feature:hover { transform: translateY(-3px); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, oklch(0.62 0.22 270 / 0.18), oklch(0.82 0.16 200 / 0.18));
  color: white;
  transition: transform 220ms ease;
}
.feature:hover .feature-icon { transform: scale(1.1); }
.feature h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.feature p { font-size: 14.5px; line-height: 1.6; color: var(--text-dim); margin: 0; }

/* ---- How it works ------------------------------------------------------- */

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr 1fr; } }
.step {
  padding: 28px;
  overflow: hidden;
}
.step-n-bg {
  position: absolute;
  top: -10px;
  right: -16px;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.07;
  pointer-events: none;
}
.step-eyebrow { font-family: var(--font-mono); font-size: 12px; color: var(--brand-2); letter-spacing: 0.12em; margin-bottom: 12px; }
.step h3 { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.step p { font-size: 15px; color: var(--text-dim); line-height: 1.65; margin: 0 0 20px; }
.steps-tip { margin-top: 48px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---- Use cases ---------------------------------------------------------- */

.cases {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .cases { grid-template-columns: 1fr 1fr; } }
.case { padding: 32px; }
.case-audience { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600; color: var(--brand-2); margin-bottom: 12px; }
.case h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 12px; line-height: 1.2; }
.case p { font-size: 15px; color: var(--text-dim); line-height: 1.65; margin: 0 0 20px; }
.case ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- Privacy strip ------------------------------------------------------ */

.privacy {
  padding: 64px 32px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .privacy { padding: 80px 64px; } }
.privacy-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  position: relative;
}
@media (min-width: 1024px) { .privacy-grid { grid-template-columns: 1.2fr 1fr; } }
.privacy h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.05; margin: 16px 0 0; }
.privacy p { color: var(--text-dim); font-size: 18px; line-height: 1.55; margin-top: 20px; max-width: 580px; }
.privacy-blob {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  background: radial-gradient(circle, oklch(0.62 0.22 270 / 0.55), transparent 60%);
  pointer-events: none;
}
.promises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.promise {
  background: linear-gradient(180deg, oklch(1 0 0 / 0.04), oklch(1 0 0 / 0.015));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.promise-k {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(100deg, oklch(0.96 0.02 220) 0%, oklch(0.78 0.18 200) 30%, oklch(0.72 0.22 270) 60%, oklch(0.78 0.18 320) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.promise-v { font-size: 12px; color: var(--text-dim); margin-top: 6px; line-height: 1.4; }

/* ---- FAQ ---------------------------------------------------------------- */

.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span:first-child { font-size: 16.5px; font-weight: 600; }
.faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid var(--border);
  transition: transform 220ms ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 24px; font-size: 14.5px; line-height: 1.65; color: var(--text-dim); }

/* ---- Big CTA ------------------------------------------------------------ */

.cta-block {
  padding: 64px 32px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) { .cta-block { padding: 96px 80px; } }
.cta-block-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 30%, oklch(0.62 0.22 270 / 0.45), transparent 55%),
    radial-gradient(circle at 75% 70%, oklch(0.78 0.18 200 / 0.45), transparent 60%);
  animation: drift 22s ease-in-out infinite;
}
.cta-title { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin: 0; }
.cta-block p { color: var(--text-dim); font-size: 18px; line-height: 1.55; margin: 28px auto 0; max-width: 620px; }
.cta-block .hero-cta { justify-content: center; margin-top: 40px; }
.cta-fineprint { margin-top: 24px; font-size: 12.5px; color: var(--muted); }

/* ---- Footer ------------------------------------------------------------- */

footer.site-footer {
  padding: 80px 0 56px;
  border-top: 1px solid oklch(1 0 0 / 0.06);
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 7px; }
.footer-brand span { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.footer-tagline { margin: 16px 0 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; max-width: 360px; }
.footer-col-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: var(--text-dim); transition: color 200ms ease; }
.footer-col a:hover { color: white; }
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid oklch(1 0 0 / 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: var(--muted);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); display: inline-block; margin-right: 6px; animation: pulse-soft 2.4s ease-in-out infinite; }

/* ---- Scroll-reveal & animations ----------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 700ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-delay="2"] { transition-delay: 160ms; }
[data-reveal][data-delay="3"] { transition-delay: 240ms; }
[data-reveal][data-delay="4"] { transition-delay: 320ms; }
[data-reveal][data-delay="5"] { transition-delay: 400ms; }

@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(40px,-20px,0) scale(1.08); }
}
@keyframes float {
  0%, 100% { transform: perspective(2200px) rotateX(2.5deg) rotateY(-6deg) translateY(0); }
  50% { transform: perspective(2200px) rotateX(2.5deg) rotateY(-6deg) translateY(-10px); }
}
@media (max-width: 1024px) {
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}
@keyframes shimmer-text {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---- Scrollbar ---------------------------------------------------------- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: oklch(0.4 0.03 270 / 0.5);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: oklch(0.5 0.04 270 / 0.7); background-clip: padding-box; border: 3px solid transparent; }

/* ---- <kbd> tag (alias the .kbd class so semantic markup is styled too) -- */
kbd {
  padding: 2px 6px;
  border-radius: 5px;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.15);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

/* ---- Welcome page ------------------------------------------------------- */
.welcome-section { padding-top: 140px; }
.welcome-section .section-head { margin-bottom: 64px; }
.welcome-section .section-head h1 {
  margin-top: 16px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.welcome-section .section-head p {
  margin: 24px auto 0;
  max-width: 640px;
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.6;
}

.welcome-block { margin-top: 88px; }
.welcome-block-head {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 640px;
}
.welcome-block-head h2 {
  margin-top: 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.welcome-block-head p {
  margin: 16px 0 0;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}

.welcome-screenshot {
  overflow: hidden;
  padding: 14px;
  margin-inline: auto;
  max-width: 960px;
}
.welcome-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-card) - 10px);
}

.welcome-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.welcome-feature {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.welcome-feature .feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, oklch(0.62 0.22 270 / 0.18), oklch(0.82 0.16 200 / 0.18));
  color: var(--brand-2);
  margin-bottom: 4px;
}
.welcome-feature h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.welcome-feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
}

.welcome-backdrops-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 800px) {
  .welcome-backdrops-grid { grid-template-columns: 1fr; }
}
.welcome-backdrops-copy h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.welcome-backdrops-copy p {
  margin: 0;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}

.welcome-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.welcome-shortcut {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
}
.welcome-shortcut-keys {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.welcome-shortcut-keys .key-plus {
  color: var(--muted);
  font-size: 12px;
  padding: 0 2px;
}
.welcome-shortcut-desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.4;
}

.welcome-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: welcome-step;
}
@media (max-width: 800px) {
  .welcome-steps { grid-template-columns: 1fr; }
}
.welcome-step {
  position: relative;
  padding: 28px 24px 24px;
  counter-increment: welcome-step;
}
.welcome-step::before {
  content: counter(welcome-step, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 700;
  color: oklch(1 0 0 / 0.06);
  line-height: 1;
}
.welcome-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}
.welcome-step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
}
