/* ==========================================================================
   Keeply — keeplymac.app
   Premium landing page styles. No frameworks, no dependencies.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Deep navy background palette (never pure black) */
  --bg: #0a1128;
  --bg-raised: #0e1735;
  --bg-tint: rgba(96, 165, 250, 0.04);

  /* Accents */
  --cyan: #22d3ee;
  --blue: #60a5fa;
  --violet: #a78bfa;
  --purple: #c4b5fd;
  --green: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;

  /* Text */
  --text: #e8edf8;
  --text-dim: #9fb0cc;
  --text-faint: #64748f;

  /* Glass surfaces */
  --glass: rgba(148, 180, 255, 0.06);
  --glass-strong: rgba(148, 180, 255, 0.1);
  --glass-border: rgba(148, 180, 255, 0.14);
  --glass-border-hover: rgba(148, 180, 255, 0.28);

  /* Gradient used for headline highlights and buttons */
  --accent-gradient: linear-gradient(120deg, var(--cyan), var(--blue) 50%, var(--violet));

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(2, 6, 23, 0.45);
  --shadow-window:
    0 40px 110px rgba(2, 6, 23, 0.7),
    0 16px 40px rgba(2, 6, 23, 0.5),
    0 2px 8px rgba(2, 6, 23, 0.4);
  --shadow-btn: 0 8px 24px rgba(56, 130, 246, 0.35);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --header-height: 72px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco,
               "Cascadia Code", monospace;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Keep anchor targets clear of the sticky header */
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle grain so large dark surfaces do not band */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: var(--font-mono); }
mark {
  background: rgba(34, 211, 238, 0.28);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}

::selection { background: rgba(96, 165, 250, 0.35); }

/* Visible focus for keyboard users */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--bg-raised);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(1140px, 100% - 48px);
  margin-inline: auto;
}
.container--narrow { width: min(820px, 100% - 48px); }
.container--medium { width: min(980px, 100% - 48px); }

.section { padding: 110px 0; position: relative; }
.section--tint { background: var(--bg-tint); }
.section--compact { padding: 84px 0; }
.section--flush { padding-top: 0; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-sub {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 1.06rem;
}
.section-sub--left { text-align: left; margin-inline: 0; }

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Background shapes ---------- */
.bg-shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.4;
}
.bg-shape--cyan {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 70%);
  top: -160px; right: -120px;
}
.bg-shape--violet {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.5), transparent 70%);
  top: 38%; left: -220px;
}
.bg-shape--blue {
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.45), transparent 70%);
  bottom: -180px; right: -100px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              background-color 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  color: #071022;
  background: linear-gradient(120deg, var(--cyan), var(--blue) 60%, var(--violet));
  background-size: 150% 150%;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(56, 130, 246, 0.5);
  background-position: 100% 50%;
}

.btn--ghost {
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: var(--glass-strong);
  border-color: var(--glass-border-hover);
}

.btn--small { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-height);
  transition: background-color 0.3s ease, border-color 0.3s ease,
              backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 17, 40, 0.78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.35);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(2, 6, 23, 0.5);
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-list a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav-list a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}
.menu-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-height) + 88px) 0 130px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(96, 165, 250, 0.1), transparent 70%);
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-sub {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: 1.15rem;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.trust-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.pill {
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.pill:hover { color: var(--text); border-color: var(--glass-border-hover); }

/* ---------- Hero floating window ---------- */
.hero-visual {
  position: relative;
  max-width: 900px;
  margin: 84px auto 0;
}

/* Perspective stage: the window tilts back slightly and flattens on scroll */
.hero-stage { perspective: 1600px; }

.app-window--hero {
  transform: rotateX(var(--hero-tilt, 7deg));
  transform-origin: 50% 100%;
  transition: transform 0.15s linear;
}

.hero-reflection {
  height: 90px;
  margin: -8px auto 0;
  width: 82%;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(96, 165, 250, 0.16), transparent 70%);
  filter: blur(14px);
}

/* ---------- App window (shared) ---------- */
.app-window {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 33, 68, 0.95), rgba(13, 21, 46, 0.98));
  border: 1px solid rgba(148, 180, 255, 0.18);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  text-align: left;
}
/* Inner top highlight for a machined-edge feel */
.app-window::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 237, 248, 0.18), transparent);
}

.app-window__titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(148, 180, 255, 0.09);
  background: rgba(148, 180, 255, 0.03);
}
.app-window__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-faint);
}
.app-window__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: var(--text-faint);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.traffic-lights { display: inline-flex; gap: 7px; }
.tl { width: 12px; height: 12px; border-radius: 50%; }
.tl--red { background: #ff5f57; }
.tl--yellow { background: #febc2e; }
.tl--green { background: #28c840; }

.app-window__body {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 400px;
}
.app-window__body--single { grid-template-columns: 1fr; }

/* Sidebar */
.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 12px;
  border-right: 1px solid rgba(148, 180, 255, 0.09);
  background: rgba(148, 180, 255, 0.025);
}
.sidebar-group {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 10px 12px 4px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.sidebar-item--active {
  background: rgba(96, 165, 250, 0.14);
  color: var(--text);
  font-weight: 500;
}
.sidebar-item--muted { color: var(--text-faint); }
.sidebar-spacer { flex: 1; }
.sidebar-count {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-faint);
}
.sidebar-glyph { width: 13px; height: 13px; flex-shrink: 0; }
.sidebar-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sidebar-dot--cyan { background: var(--cyan); }
.sidebar-dot--amber { background: var(--amber); }
.sidebar-dot--violet { background: var(--violet); }
.sidebar-dot--blue { background: var(--blue); }
.sidebar-dot--green { background: var(--green); }
.sidebar-dot--purple { background: var(--purple); }

/* Settings variant sidebar */
.app-sidebar--settings .sidebar-item { padding: 8px 14px; }

/* Main panel */
.app-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  min-width: 0;
}

.app-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(148, 180, 255, 0.07);
  border: 1px solid rgba(148, 180, 255, 0.12);
  color: var(--text-faint);
  margin-bottom: 4px;
}
.app-search--focus {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}
.app-search svg { width: 15px; height: 15px; flex-shrink: 0; }
.app-search__text { font-size: 0.85rem; }
.app-search__text--typed { color: var(--text); font-weight: 500; }

.caret {
  display: inline-block;
  width: 1.5px;
  height: 0.95em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--cyan);
  animation: caret-blink 1.1s steps(2) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.kbd-hint {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-faint);
  border: 1px solid rgba(148, 180, 255, 0.16);
  border-radius: 5px;
  padding: 2px 7px;
  white-space: nowrap;
}
.result-count {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--cyan);
  white-space: nowrap;
}

/* Clipboard cards */
.clip-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(148, 180, 255, 0.045);
  border: 1px solid rgba(148, 180, 255, 0.08);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.clip-item:hover { border-color: var(--glass-border-hover); background: rgba(148, 180, 255, 0.07); }
.clip-item--selected {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.35);
}
.clip-item--dim { opacity: 0.6; }

.clip-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.clip-type {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}
.clip-type--text { color: var(--cyan); background: rgba(34, 211, 238, 0.12); }
.clip-type--link { color: var(--violet); background: rgba(167, 139, 250, 0.14); }
.clip-type--code { color: var(--blue); background: rgba(96, 165, 250, 0.14); }
.clip-type--email { color: var(--green); background: rgba(52, 211, 153, 0.12); }
.clip-type--color { color: var(--amber); background: rgba(251, 191, 36, 0.12); }

.clip-star { font-size: 0.85rem; color: var(--text-faint); line-height: 1; }
.clip-star--on { color: var(--amber); }

.clip-content {
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clip-content--link { color: var(--violet); }
.clip-content--code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue);
}
.clip-meta { font-size: 0.74rem; color: var(--text-faint); }

.color-swatch {
  display: inline-block;
  width: 13px; height: 13px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: -2px;
  border: 1px solid rgba(232, 237, 248, 0.2);
}

/* Settings panel recreation */
.app-main--settings { gap: 8px; padding: 20px 24px; }
.settings-heading {
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 8px;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(148, 180, 255, 0.045);
  border: 1px solid rgba(148, 180, 255, 0.08);
}
.settings-row strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}
.settings-row span:first-child { display: block; }
.settings-row div span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-faint);
}
.settings-chevron {
  font-size: 0.78rem;
  color: var(--text-faint);
  white-space: nowrap;
}

.ui-toggle {
  width: 38px; height: 22px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(148, 180, 255, 0.16);
  position: relative;
}
.ui-toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(232, 237, 248, 0.9);
}
.ui-toggle--on { background: rgba(52, 211, 153, 0.6); }
.ui-toggle--on::after { left: auto; right: 3px; }

/* Floating glass chips beside the hero window */
.hero-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(20, 30, 62, 0.8);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  animation: chip-float 6s ease-in-out infinite;
}
.hero-chip svg { width: 15px; height: 15px; }
.hero-chip--one { top: -22px; left: -34px; color: var(--green); }
.hero-chip--two { bottom: 42px; right: -30px; color: var(--cyan); animation-delay: -3s; }

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

/* ---------- Cards (shared glass style) ---------- */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  background: var(--glass-strong);
}

/* ---------- Problem panel ---------- */
.problem-panel {
  text-align: center;
  padding: 20px 0 0;
}
.problem-title {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.problem-copy {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--text-dim);
  font-size: 1.08rem;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card { padding: 30px 26px; }
.feature-card h3 {
  font-size: 1.12rem;
  font-weight: 650;
  margin: 18px 0 8px;
  letter-spacing: -0.01em;
}
.feature-card p { color: var(--text-dim); font-size: 0.95rem; }

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  border: 1px solid var(--glass-border);
  transition: transform 0.25s ease;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature-card:hover .feature-icon { transform: scale(1.08); }

.feature-icon--cyan   { color: var(--cyan);   background: rgba(34, 211, 238, 0.1); }
.feature-icon--blue   { color: var(--blue);   background: rgba(96, 165, 250, 0.12); }
.feature-icon--amber  { color: var(--amber);  background: rgba(251, 191, 36, 0.1); }
.feature-icon--violet { color: var(--violet); background: rgba(167, 139, 250, 0.12); }
.feature-icon--green  { color: var(--green);  background: rgba(52, 211, 153, 0.1); }
.feature-icon--purple { color: var(--purple); background: rgba(196, 181, 253, 0.12); }

/* ---------- Workflow steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.step { text-align: center; position: relative; }

.step-indicator {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(167, 139, 250, 0.14));
  border: 1px solid var(--glass-border);
}
.step-indicator svg { width: 26px; height: 26px; }
.step:nth-child(2) .step-indicator { color: var(--blue); }
.step:nth-child(3) .step-indicator { color: var(--violet); }
.step:nth-child(4) .step-indicator { color: var(--green); }
.step:nth-child(5) .step-indicator { color: var(--amber); }

/* Animated connecting line between steps (desktop) */
.step:not(:last-child) .step-indicator::after {
  content: "";
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  width: calc((100vw - 700px) / 5);
  max-width: 150px;
  height: 2px;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.45), rgba(167, 139, 250, 0.1));
  background-size: 200% 100%;
  animation: line-shimmer 3s linear infinite;
}
@keyframes line-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.step h3 { font-size: 1rem; font-weight: 650; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.88rem; max-width: 220px; margin-inline: auto; }

/* ---------- Privacy ---------- */
.privacy-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
}

.privacy-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.privacy-card { padding: 22px 20px; }
.privacy-card__icon { width: 24px; height: 24px; color: var(--cyan); }
.privacy-card:nth-child(2n) .privacy-card__icon { color: var(--violet); }
.privacy-card h3 { font-size: 0.98rem; font-weight: 650; margin: 14px 0 6px; }
.privacy-card p { color: var(--text-dim); font-size: 0.87rem; }

.privacy-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.shield { width: min(260px, 70%); position: relative; z-index: 1; }
.shield-glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.24), transparent 65%);
  filter: blur(30px);
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}

.shield-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(20, 30, 62, 0.85);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  animation: chip-float 7s ease-in-out infinite;
}
.shield-badge svg { width: 14px; height: 14px; }
.shield-badge--one { top: 8%; right: 4%; color: var(--cyan); }
.shield-badge--two { bottom: 14%; left: 0; color: var(--green); animation-delay: -2.5s; }
.shield-badge--three { bottom: 2%; right: 12%; color: var(--violet); animation-delay: -4.5s; }

/* ---------- Snippets ---------- */
.snippets-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.check-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat,
    rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.snippets-visual { position: relative; min-height: 420px; }

.snippet-stack { position: relative; height: 100%; }

.snippet-card {
  position: absolute;
  width: min(380px, 88%);
  padding: 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 36, 72, 0.96), rgba(15, 24, 52, 0.98));
  border: 1px solid rgba(148, 180, 255, 0.16);
  box-shadow: var(--shadow-window);
  transition: transform 0.3s ease;
}
.snippet-card--front { top: 40%; left: 0; z-index: 3; }
.snippet-card--mid { top: 16%; right: 0; z-index: 2; transform: rotate(2deg); }
.snippet-card--back { top: -4%; left: 8%; z-index: 1; transform: rotate(-3deg); opacity: 0.75; }
.snippet-card--front:hover { transform: translateY(-6px); }

.snippet-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.snippet-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}
.snippet-cat--replies { color: var(--cyan); background: rgba(34, 211, 238, 0.12); }
.snippet-cat--code { color: var(--blue); background: rgba(96, 165, 250, 0.14); }
.snippet-cat--email { color: var(--violet); background: rgba(167, 139, 250, 0.14); }

.snippet-card h4 {
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 8px;
}
.snippet-card p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.snippet-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 180, 255, 0.09);
  font-size: 0.76rem;
  color: var(--text-faint);
}
.snippet-card__foot .kbd-hint { margin-left: 0; }

/* ---------- Transformations ---------- */
.transform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.transform-card { padding: 24px; }
.transform-card:hover { transform: translateY(-4px); }

.transform-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 0.98rem;
  margin-bottom: 18px;
}
.transform-label svg { width: 19px; height: 19px; color: var(--cyan); }

.transform-demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.transform-before,
.transform-after {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.transform-before {
  background: rgba(148, 180, 255, 0.05);
  border: 1px solid rgba(148, 180, 255, 0.1);
  color: var(--text-faint);
}
.transform-after {
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: var(--text-dim);
}
.transform-arrow {
  display: grid;
  place-items: center;
  color: var(--cyan);
}
.transform-arrow svg { width: 16px; height: 16px; }

.fake-highlight {
  background: rgba(251, 191, 36, 0.25);
  border-radius: 3px;
  padding: 0 3px;
}

.transform-more {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

/* ---------- Native macOS grid ---------- */
.native-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.native-card { padding: 24px 22px; }
.native-card__icon { width: 24px; height: 24px; color: var(--blue); }
.native-card:nth-child(2n) .native-card__icon { color: var(--cyan); }
.native-card:nth-child(3n) .native-card__icon { color: var(--violet); }
.native-card h3 { font-size: 0.95rem; font-weight: 650; margin: 14px 0 6px; }
.native-card p { color: var(--text-dim); font-size: 0.85rem; }

/* Keyboard shortcuts strip */
.shortcuts-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 52px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.shortcut {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, rgba(148, 180, 255, 0.14), rgba(148, 180, 255, 0.06));
  border: 1px solid rgba(148, 180, 255, 0.22);
  box-shadow: 0 2px 0 rgba(2, 6, 23, 0.5);
}

/* ---------- Compatibility ---------- */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px 16px;
  max-width: 860px;
  margin-inline: auto;
}
.compat-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.compat-icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.compat-app:hover .compat-icon {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--glass-border-hover);
}
.compat-icon svg { width: 28px; height: 28px; }

.compat-icon--finder   { color: #5ac8fa; background: rgba(90, 200, 250, 0.1); }
.compat-icon--safari   { color: #4aa8ff; background: rgba(74, 168, 255, 0.1); }
.compat-icon--mail     { color: #6bb6ff; background: rgba(107, 182, 255, 0.1); }
.compat-icon--xcode    { color: #64b5f6; background: rgba(100, 181, 246, 0.1); }
.compat-icon--terminal { color: #9fb0cc; background: rgba(159, 176, 204, 0.1); }
.compat-icon--notes    { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
.compat-icon--messages { color: #34d399; background: rgba(52, 211, 153, 0.1); }
.compat-icon--slack    { color: #e693c4; background: rgba(230, 147, 196, 0.1); }
.compat-icon--cursor   { color: #c4b5fd; background: rgba(196, 181, 253, 0.1); }
.compat-icon--chatgpt  { color: #7fd8c4; background: rgba(127, 216, 196, 0.1); }

/* ---------- Screenshots showcase ---------- */
.showcase {
  position: relative;
  max-width: 920px;
  margin: 0 auto 96px;
}
.showcase:last-child { margin-bottom: 0; }

.showcase__glow {
  position: absolute;
  inset: -40px -60px;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.showcase__glow--cyan   { background: radial-gradient(ellipse 55% 45% at 30% 40%, rgba(34, 211, 238, 0.16), transparent 70%); }
.showcase__glow--violet { background: radial-gradient(ellipse 55% 45% at 70% 40%, rgba(167, 139, 250, 0.18), transparent 70%); }
.showcase__glow--blue   { background: radial-gradient(ellipse 55% 45% at 40% 60%, rgba(96, 165, 250, 0.16), transparent 70%); }

.app-window--showcase {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
.showcase:hover .app-window--showcase { transform: translateY(-6px); }

.showcase__caption {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 0.98rem;
  max-width: 560px;
  margin-inline: auto;
}
.showcase__caption strong { color: var(--text); font-weight: 650; }

/* ---------- Light / Dark mode switcher ---------- */
.mode-switcher {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mode-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  margin-bottom: 36px;
}
.mode-toggle__btn {
  padding: 9px 26px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.mode-toggle__btn.is-active {
  color: #071022;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  box-shadow: 0 4px 14px rgba(56, 130, 246, 0.4);
}

.mode-window {
  width: min(640px, 100%);
  box-shadow: var(--shadow-window);
  transition: background-color 0.45s ease, border-color 0.45s ease;
}

.mode-note {
  margin-top: 26px;
  color: var(--text-faint);
  font-size: 0.9rem;
  text-align: center;
}

/* Mini window: light theme by default, .is-dark switches to deep navy */
.mini-window {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f4f6fb;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.mini-window__titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: border-color 0.45s ease;
}
.mini-window__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.5);
  transition: color 0.45s ease;
}
.mini-window__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 24px;
}

.mode-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 0.82rem;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: rgba(15, 23, 42, 0.45);
  transition: background-color 0.45s ease, border-color 0.45s ease, color 0.45s ease;
}
.mode-search svg { width: 14px; height: 14px; }

.mode-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.07);
  transition: background-color 0.45s ease, border-color 0.45s ease;
}
.mode-item--selected {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.35);
}
.mode-tag {
  flex-shrink: 0;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  color: #0e7490;
  background: rgba(34, 211, 238, 0.15);
  transition: color 0.45s ease;
}
.mode-tag--link { color: #6d28d9; background: rgba(167, 139, 250, 0.18); }
.mode-tag--code { color: #1d4ed8; background: rgba(96, 165, 250, 0.18); }

.mode-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mode-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.14);
  transition: background-color 0.45s ease;
}

/* Dark variant — deep navy, not pure black */
.mini-window.is-dark {
  background: #10182f;
  border-color: var(--glass-border);
}
.mini-window.is-dark .mini-window__titlebar { border-bottom-color: rgba(148, 180, 255, 0.09); }
.mini-window.is-dark .mini-window__title { color: var(--text-faint); }
.mini-window.is-dark .mode-search {
  background: rgba(148, 180, 255, 0.07);
  border-color: rgba(148, 180, 255, 0.12);
  color: var(--text-faint);
}
.mini-window.is-dark .mode-item {
  background: rgba(148, 180, 255, 0.05);
  border-color: rgba(148, 180, 255, 0.09);
}
.mini-window.is-dark .mode-item--selected {
  background: rgba(96, 165, 250, 0.13);
  border-color: rgba(96, 165, 250, 0.4);
}
.mini-window.is-dark .mode-tag { color: var(--cyan); }
.mini-window.is-dark .mode-tag--link { color: var(--violet); }
.mini-window.is-dark .mode-tag--code { color: var(--blue); }
.mini-window.is-dark .mode-lines span { background: rgba(159, 176, 204, 0.26); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background-color 0.25s ease;
  overflow: hidden;
}
.faq-item:hover { border-color: var(--glass-border-hover); }
.faq-item[open] { background: var(--glass-strong); border-color: var(--glass-border-hover); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--text-dim); font-size: 0.97rem; }

.faq-item[open] .faq-answer { animation: faq-open 0.3s ease; }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Final CTA ---------- */
.cta-section { padding-bottom: 130px; }

.cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 48px;
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(34, 211, 238, 0.12), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(167, 139, 250, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(148, 180, 255, 0.07), rgba(148, 180, 255, 0.04));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}

.cta-icon {
  width: 72px; height: 72px;
  border-radius: 17px;
  margin-bottom: 28px;
  box-shadow:
    0 18px 40px rgba(2, 6, 23, 0.6),
    0 0 60px rgba(96, 165, 250, 0.3);
}

.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.cta-sub {
  margin-top: 18px;
  color: var(--text-dim);
  max-width: 540px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(8, 13, 32, 0.6);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-tagline { margin-top: 16px; color: var(--text-dim); font-size: 0.93rem; }
.footer-byline { margin-top: 6px; color: var(--text-faint); font-size: 0.85rem; }

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--text); }

.footer-legal {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 180, 255, 0.08);
}
.footer-legal p { font-size: 0.82rem; color: var(--text-faint); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-chip, .shield-glow, .shield-badge, .caret,
  .step:not(:last-child) .step-indicator::after { animation: none; }
  .app-window--hero { transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

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

/* Large tablet */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .step:not(:last-child) .step-indicator::after { display: none; }
  .native-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet */
@media (max-width: 960px) {
  .section { padding: 84px 0; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .transform-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }

  .privacy-layout { grid-template-columns: 1fr; gap: 48px; }
  .privacy-visual { order: -1; min-height: 300px; }

  .snippets-layout { grid-template-columns: 1fr; gap: 56px; }
  .snippets-visual { min-height: 460px; max-width: 480px; margin-inline: auto; width: 100%; }

  .steps { grid-template-columns: 1fr; gap: 8px; max-width: 420px; margin-inline: auto; }
  .step { padding: 18px 0; }
  .step:not(:last-child) .step-indicator::after {
    display: block;
    left: 50%;
    top: calc(100% + 8px);
    width: 2px;
    height: 44px;
    max-width: none;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.45), rgba(167, 139, 250, 0.1));
    animation: none;
  }

  .compat-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-chip { display: none; }
}

/* Mobile */
@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }

  /* Mobile nav: sliding solid panel */
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px 24px 28px;
    background: #0c1330;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
    z-index: 99;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a {
    display: block;
    padding: 12px 10px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }
  .nav-list a:hover { background: var(--glass); }
  .nav-cta { margin-top: 12px; }

  .menu-toggle { display: flex; }

  .hero { padding-top: calc(var(--header-height) + 56px); }
  .hero-actions .btn { width: 100%; }
  .br-desktop { display: none; }

  .app-window__body { grid-template-columns: 1fr; }
  .app-sidebar {
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 180, 255, 0.09);
    padding: 10px 12px;
  }
  .sidebar-group { display: none; }
  .sidebar-item { flex-shrink: 0; }
  .sidebar-spacer { display: none; }
  .app-window--hero { transform: none; }
  .hero-reflection { display: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .privacy-cards { grid-template-columns: 1fr; }
  .native-grid { grid-template-columns: 1fr; }
  .compat-grid { grid-template-columns: repeat(3, 1fr); }

  .snippet-card { position: relative; width: 100%; margin-bottom: 14px; }
  .snippet-card--front, .snippet-card--mid, .snippet-card--back {
    top: auto; left: auto; right: auto;
    transform: none;
    opacity: 1;
  }
  .snippets-visual { min-height: 0; }

  .shortcuts-strip { gap: 12px 18px; padding: 20px; }

  .showcase { margin-bottom: 72px; }

  .cta-panel { padding: 52px 24px; }
  .cta-actions .btn { width: 100%; }

  .footer-inner { flex-direction: column; }
}
