/* ==========================================================================
   Alexa Bar: launch site
   ========================================================================== */

:root {
  --bg: #05070d;
  --bg-2: #0a0e18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-2: rgba(255, 255, 255, 0.14);
  --text: #f4f6fb;
  --muted: #9aa3b5;
  --dim: #6b7385;
  --blue: #00a8e0;
  --cyan: #4de0ff;
  --deep: #2152f2;
  --violet: #7c5cff;
  --brand: linear-gradient(135deg, var(--cyan), var(--deep));
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1160px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.022em; line-height: 1.08; font-weight: 700; }
p { margin: 0; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }

::selection { background: rgba(77, 224, 255, 0.3); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.gradient-text {
  background: linear-gradient(100deg, #7fe9ff 0%, #4aa8ff 45%, #8a7dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ Buttons */
.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn-small { --h: 34px; padding: 0 15px; font-size: 14px; }
.btn-large { --h: 54px; padding: 0 28px; font-size: 17px; }
.btn-icon { flex: none; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(33, 120, 242, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(33, 140, 242, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3); }

.btn-ghost {
  background: var(--surface-2);
  border-color: var(--stroke-2);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.btn-light { background: #fff; color: #0b1020; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(255, 255, 255, 0.5); }

/* ------------------------------------------------------------------ Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--stroke);
}
.nav-inner {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; padding: 6px 8px; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.icon-link:hover { color: var(--text); background: var(--surface-2); }
.star-count::before { content: "★ "; color: #ffcc4d; }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; padding: 56px 0 40px; text-align: center; isolation: isolate; }
.hero-glow {
  position: absolute;
  inset: -200px 0 auto;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(600px 380px at 50% 28%, rgba(0, 168, 224, 0.35), transparent 70%),
    radial-gradient(520px 340px at 30% 46%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(520px 340px at 72% 50%, rgba(33, 82, 242, 0.25), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero::after {
  /* subtle grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke-2);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  font-weight: 600;
  color: #cfd6e4;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}
.pill:hover { border-color: rgba(77, 224, 255, 0.5); background: rgba(77, 224, 255, 0.08); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62, 224, 143, 0.18); }
.pill-sep { width: 1px; height: 12px; background: var(--stroke-2); }
.pill-arrow { color: var(--cyan); transition: transform 0.2s; }
.pill:hover .pill-arrow { transform: translateX(3px); }

.hero-icon {
  margin: 34px 0 26px;
  width: 112px;
  height: 112px;
  filter: drop-shadow(0 18px 40px rgba(0, 168, 224, 0.45));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }

.hero h1 { font-size: clamp(42px, 7vw, 82px); letter-spacing: -0.035em; line-height: 1.02; }
.lead { margin-top: 24px; max-width: 640px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); line-height: 1.6; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.cta-left { justify-content: flex-start; }
.meta { margin-top: 18px; font-size: 13.5px; color: var(--dim); }
.meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--stroke-2); }

/* ------------------------------------------------------------------ Mac mockup */
.mac {
  position: relative;
  margin: 72px auto 0;
  height: 770px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke-2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 50px 120px -30px rgba(0, 120, 255, 0.35),
    0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.mac-wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 15% 110%, #ff7a59 0%, transparent 55%),
    radial-gradient(800px 600px at 85% 100%, #7c3aed 0%, transparent 60%),
    radial-gradient(1000px 700px at 50% -10%, #0ea5e9 0%, transparent 60%),
    linear-gradient(160deg, #0b2a5b 0%, #1b1060 55%, #3a0f4d 100%);
}
.mac-wallpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 600px at 50% 120%, rgba(0, 0, 0, 0.35), transparent 70%);
}
.menubar {
  position: relative;
  z-index: 2;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  font-size: 13.5px;
  color: #fff;
  background: rgba(20, 24, 40, 0.38);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.menubar-left, .menubar-right { display: flex; align-items: center; gap: 18px; }
.menubar-left span { opacity: 0.92; }
.menubar-right { gap: 16px; }
.mb-item { opacity: 0.95; }
.mb-active {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.24);
}
.mb-clock { font-variant-numeric: tabular-nums; }

.mac-panel {
  position: absolute;
  z-index: 1;
  top: 10px;           /* image carries 24px of baked-in shadow padding */
  right: 92px;
  width: 400px;
  height: auto;
  animation: drop 0.9s var(--ease) 0.5s both;
}
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(0.98); } }

/* ------------------------------------------------------------------ Stats strip */
.strip { padding: 40px 0 10px; }
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat { padding: 26px 20px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--stroke); }
.stat strong { font-size: 30px; letter-spacing: -0.03em; }
.stat span { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------ Sections */
.section { padding: 130px 0 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.032em; }
.sub { margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.6; }

/* ------------------------------------------------------------------ Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.card::before {
  /* spotlight that follows the pointer (set by script.js) */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(77, 224, 255, 0.09), transparent 45%);
  pointer-events: none;
}
.card:hover { border-color: var(--stroke-2); transform: translateY(-3px); }
.card h3 { font-size: 21px; margin-top: 18px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.card em { color: var(--text); font-style: normal; font-weight: 600; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 95%, #fff 5%), color-mix(in srgb, var(--c) 70%, #000 30%));
  box-shadow: 0 8px 22px -8px var(--c), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.card-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding-right: 0; padding-bottom: 0; }
.card-copy { padding-bottom: 30px; align-self: start; }
.card-shot { align-self: end; justify-self: end; margin-right: -10px; }
.card-shot img { width: 330px; margin-bottom: -170px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }
.card-shot-settings img { margin-bottom: -250px; }
.card-lights { background: radial-gradient(500px 300px at 85% 100%, rgba(163, 92, 255, 0.25), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)); min-height: 420px; }
.card-native { min-height: 380px; }

.kbd-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 14px; color: var(--muted); }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  margin-right: 4px;
  border-radius: 7px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--stroke-2);
  border-bottom-width: 2px;
}

.ask-demo {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(0, 168, 224, 0.55);
  font-size: 14.5px;
  box-shadow: 0 0 0 4px rgba(0, 168, 224, 0.08);
}
.ask-wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.ask-wave i { width: 2.5px; border-radius: 2px; background: var(--brand); animation: wave 1.1s ease-in-out infinite; }
.ask-wave i:nth-child(1) { height: 6px; }
.ask-wave i:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.ask-wave i:nth-child(3) { height: 10px; animation-delay: 0.3s; }
.ask-wave i:nth-child(4) { height: 5px; animation-delay: 0.45s; }
@keyframes wave { 50% { transform: scaleY(0.45); } }
.ask-text { color: var(--text); white-space: nowrap; overflow: hidden; }
.caret { width: 1.5px; height: 18px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ------------------------------------------------------------------ Try it */
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.try-copy h2 { font-size: clamp(34px, 4.4vw, 52px); }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #c9d0dd; font-size: 16px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(62, 224, 143, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%233ee08f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.demo-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 50px 30px;
  border-radius: 28px;
  background:
    radial-gradient(400px 300px at 50% 40%, color-mix(in srgb, var(--stage, #a35cff) 30%, transparent), transparent 70%),
    linear-gradient(160deg, #0d1a3a, #1a1140);
  border: 1px solid var(--stroke);
  transition: background 0.6s;
}
.demo-panel {
  --tint: #a35cff;
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(40, 42, 50, 0.78);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.4s, border-color 0.4s;
}
.demo-panel.on .demo-head {
  background: linear-gradient(135deg, color-mix(in srgb, var(--tint) 24%, transparent), color-mix(in srgb, var(--tint) 7%, transparent));
  border-color: color-mix(in srgb, var(--tint) 32%, transparent);
}
.demo-badge {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.35s, color 0.35s, box-shadow 0.35s, transform 0.2s;
}
.demo-badge:active { transform: scale(0.92); }
.demo-panel.on .demo-badge {
  color: var(--on, #fff);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 85%, #fff 15%), var(--tint));
  box-shadow: 0 6px 18px -4px var(--tint);
}
.demo-title { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.demo-title strong { font-size: 14.5px; }
.demo-title span { font-size: 12.5px; color: #a8afbf; font-variant-numeric: tabular-nums; }

.switch { position: relative; width: 42px; height: 24px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.16); transition: background 0.3s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); transition: transform 0.3s var(--ease); }
.switch input:checked + span { background: var(--tint); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.demo-slider {
  position: relative;
  margin-top: 14px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  transition: transform 0.18s var(--ease);
}
.demo-slider.dragging { transform: scaleY(1.06); }
.demo-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 65%;
  min-width: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tint) 75%, transparent), var(--tint));
  box-shadow: 0 0 14px color-mix(in srgb, var(--tint) 45%, transparent);
  transition: background 0.4s, opacity 0.3s;
}
.demo-slider.dragging .demo-fill { transition: background 0.4s; }
.demo-panel:not(.on) .demo-fill { opacity: 0.4; }
.demo-sun { position: absolute; left: 13px; top: 12px; color: var(--on, #fff); filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.demo-pct { position: absolute; right: 14px; top: 0; line-height: 40px; font-size: 14.5px; font-weight: 600; color: #b6bdcb; font-variant-numeric: tabular-nums; }
.demo-pct.inside { color: var(--on, #fff); }

.demo-label { margin: 18px 4px 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8a92a3; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; justify-items: center; }
.swatches-grid { grid-template-columns: repeat(6, 1fr); row-gap: 10px; }
.swatch {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--sw);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.35), 0 2px 6px -1px color-mix(in srgb, var(--sw) 50%, transparent);
  transition: transform 0.18s var(--ease), box-shadow 0.2s;
}
.swatch:hover { transform: scale(1.1); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.35), 0 4px 14px -2px var(--sw); }
.swatch[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.9); }
.swatch-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; color: #8a92a3; }
.swatch-wrap.selected { color: #fff; font-weight: 700; }

.demo-toast {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translate(-50%, 8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(30, 33, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.demo-toast.show { opacity: 1; transform: translate(-50%, 0); }
.demo-toast::before { content: "✓"; color: #3ee08f; margin-right: 6px; font-weight: 700; }

/* ------------------------------------------------------------------ Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--stroke); background: var(--surface); }
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 800;
  background: var(--brand);
  box-shadow: 0 8px 20px -8px rgba(33, 120, 242, 0.9);
}
.step h3 { margin-top: 20px; font-size: 20px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -14px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--stroke-2);
  border-right: 2px solid var(--stroke-2);
  transform: rotate(45deg);
}

/* ------------------------------------------------------------------ Hero hint */
.hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 8px 14px 8px 9px;
  border-radius: 999px;
  font-size: 13.5px;
  color: #d9c79a;
  background: rgba(255, 196, 61, 0.07);
  border: 1px solid rgba(255, 196, 61, 0.22);
  transition: background 0.2s, border-color 0.2s;
}
.hint:hover { background: rgba(255, 196, 61, 0.12); border-color: rgba(255, 196, 61, 0.4); }
.hint-icon { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font: 700 11px/1 Georgia, serif; font-style: italic; color: #1a1406; background: #ffc43d; }
.hint-link { color: #ffd76e; font-weight: 600; }

/* ------------------------------------------------------------------ 4-step variant */
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step-attention { border-color: rgba(255, 196, 61, 0.3); background: linear-gradient(180deg, rgba(255, 196, 61, 0.07), rgba(255, 196, 61, 0.02)); }
.step-attention .step-num { background: linear-gradient(135deg, #ffd65c, #ff9f1a); color: #2a1a00; box-shadow: 0 8px 20px -8px rgba(255, 170, 30, 0.9); }
.step a { color: #ffd76e; font-weight: 600; white-space: nowrap; }
.step a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ First launch */
#first-launch { scroll-margin-top: 70px; }
.download-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 50px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(62, 224, 143, 0.09);
  border: 1px solid rgba(62, 224, 143, 0.35);
  animation: bannerIn 0.6s var(--ease) both;
}
.download-banner[hidden] { display: none; }
@keyframes bannerIn { from { opacity: 0; transform: translateY(-10px); } }
.db-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; color: #062014; background: #3ee08f; }
.download-banner strong { display: block; font-size: 15.5px; }
.download-banner span { font-size: 14px; color: var(--muted); }

.gk-intro { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.gk-dialog-wrap {
  display: grid;
  place-items: center;
  padding: 60px 30px 70px;
  border-radius: 28px;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(420px 300px at 50% 35%, rgba(229, 48, 75, 0.22), transparent 70%),
    linear-gradient(160deg, #10233f, #1c1236);
}
.gk-dialog {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 24px 20px 20px;
  border-radius: 24px;
  text-align: left;
  background: rgba(58, 60, 68, 0.82);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}
.gk-help { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 15px; color: #d0d3da; background: rgba(255, 255, 255, 0.1); }
.gk-icon { display: block; margin-bottom: 14px; }
.gk-dialog h3 { font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; }
.gk-dialog p { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #e4e6eb; }
.gk-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.gk-btn { position: relative; display: grid; place-items: center; height: 38px; border-radius: 999px; font-size: 14.5px; font-weight: 500; }
.gk-done { background: rgba(255, 255, 255, 0.16); box-shadow: 0 0 0 3px rgba(62, 224, 143, 0.85), 0 0 22px rgba(62, 224, 143, 0.45); animation: pulseRing 2.2s ease-in-out infinite; }
@keyframes pulseRing { 50% { box-shadow: 0 0 0 5px rgba(62, 224, 143, 0.55), 0 0 30px rgba(62, 224, 143, 0.3); } }
.gk-bin { background: #ef4b5c; color: #fff; opacity: 0.55; }
.gk-tag {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.gk-tag::before { content: ""; position: absolute; bottom: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; }
.gk-tag-yes { color: #062014; background: #3ee08f; }
.gk-tag-yes::before { border-bottom-color: #3ee08f; }
.gk-tag-no { color: #fff; background: rgba(239, 75, 92, 0.9); }
.gk-tag-no::before { border-bottom-color: rgba(239, 75, 92, 0.9); }

.gk-why h3 { font-size: 26px; }
.gk-why > p { margin-top: 16px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.gk-why strong, .gk-step strong, .gk-note strong { color: var(--text); font-weight: 600; }
.gk-why a, .inline-link { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(77, 224, 255, 0.4); }
.gk-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.gk-points li { position: relative; padding: 16px 18px 16px 50px; border-radius: var(--radius-sm); border: 1px solid var(--stroke); background: var(--surface); color: var(--muted); font-size: 15px; line-height: 1.55; }
.gk-points li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(62, 224, 143, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%233ee08f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.gk-steps-title { margin: 90px 0 28px; font-size: 28px; text-align: center; }
.gk-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gk-step { position: relative; padding: 0 0 26px; border-radius: var(--radius); border: 1px solid var(--stroke); background: var(--surface); overflow: hidden; }
.gk-step h4 { margin: 16px 22px 0; font-size: 17.5px; letter-spacing: -0.015em; }
.gk-step p { margin: 8px 22px 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.gk-step em { font-style: normal; color: #cfd5e1; }
.gk-num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  background: var(--brand);
  box-shadow: 0 6px 16px -6px rgba(33, 120, 242, 0.9);
}
.inline-apple { display: inline; vertical-align: -1px; }
.gk-visual {
  display: grid;
  place-items: center;
  height: 168px;
  padding: 18px;
  background: linear-gradient(160deg, #0f203d, #1a1236);
  border-bottom: 1px solid var(--stroke);
}

/* mini mockups inside the step visuals */
.mini-btn { display: inline-grid; place-items: center; height: 24px; padding: 0 12px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(255, 255, 255, 0.16); color: #fff; white-space: nowrap; }
.mini-btn.red { background: #ef4b5c; opacity: 0.5; }
.mini-btn.hl { background: #0a84ff; box-shadow: 0 0 0 3px rgba(62, 224, 143, 0.85), 0 0 18px rgba(62, 224, 143, 0.4); }
.mini-dialog .mini-btn.hl { background: rgba(255, 255, 255, 0.2); }

.mini-dialog { width: 176px; padding: 14px 12px 12px; border-radius: 16px; background: rgba(58, 60, 68, 0.9); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.7); }
.mini-icon { display: block; width: 30px; height: 30px; margin-bottom: 8px; border-radius: 8px; background: radial-gradient(circle at 50% 50%, #fbd3d9 0 34%, transparent 36%), linear-gradient(#ff6b7d, #e5304b); }
.mini-dialog b { display: block; font-size: 11.5px; }
.mini-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.mini-buttons .mini-btn { padding: 0 6px; font-size: 10px; }

.mini-settings { width: 190px; padding: 8px; border-radius: 12px; background: rgba(36, 38, 46, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.7); }
.ms-side { display: grid; gap: 3px; }
.ms-side span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; font-size: 11.5px; color: #c9cdd6; }
.ms-side i { width: 16px; height: 16px; border-radius: 5px; background: var(--c); }
.ms-side span.hl { color: #fff; background: #0a84ff; box-shadow: 0 0 0 2px rgba(62, 224, 143, 0.85), 0 0 16px rgba(62, 224, 143, 0.35); }
.ms-side span.hl i { background: rgba(255, 255, 255, 0.35); }

.mini-security { width: 214px; padding: 12px; border-radius: 12px; background: rgba(36, 38, 46, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.7); }
.mini-security b { display: block; font-size: 11.5px; margin-bottom: 8px; }
.msec-row { display: grid; gap: 10px; padding: 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); font-size: 10.5px; line-height: 1.4; color: #d6d9e0; justify-items: end; }
.msec-row span:first-child { justify-self: stretch; }

.mini-confirm { display: grid; justify-items: center; gap: 8px; width: 170px; padding: 14px 12px; border-radius: 16px; text-align: center; color: #ff8fa3; background: rgba(58, 60, 68, 0.9); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.7); }
.mini-confirm b { font-size: 11.5px; color: #fff; }

.gk-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; margin-top: 18px; }
.gk-note { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--stroke); background: var(--surface); }
.gk-note-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke); }
.gk-note h4 { font-size: 16.5px; letter-spacing: -0.01em; }
.gk-note p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.gk-note > div { min-width: 0; flex: 1; }
.cmd { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 10px 10px 14px; border-radius: 10px; background: #0b0d14; border: 1px solid var(--stroke-2); }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-family: var(--mono); font-size: 12.5px; color: #d7dcea; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd .copy-inline { position: static; flex: none; }
.gk-intro > *, .gk-notes > *, .gk-steps > * { min-width: 0; }

/* ------------------------------------------------------------------ Modes */
.modes {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 60px 20px 0;
  border-radius: 28px;
  overflow: hidden;
  height: 600px;
  background: linear-gradient(90deg, #dfe6f2 0 50%, #10131c 50% 100%);
  border: 1px solid var(--stroke);
}
.mode { margin: 0 -10px; position: relative; }
.mode img { width: 380px; }
.mode-light { transform: rotate(-3deg) translateY(10px); z-index: 1; }
.mode-dark { transform: rotate(3deg) translateY(30px); z-index: 2; }
.mode figcaption {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mode-light figcaption { color: #4a5468; }
.mode-dark figcaption { color: #8a92a3; }

/* ------------------------------------------------------------------ Privacy */
.privacy { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.privacy-list { display: grid; gap: 14px; }
.privacy-item { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--stroke); background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.privacy-item:hover { border-color: var(--stroke-2); background: var(--surface-2); }
.p-icon { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke); }
.privacy-copy h2 { font-size: clamp(32px, 4.2vw, 48px); }
.privacy-item h3 { font-size: 17.5px; }
.privacy-item p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------ Open source */
.oss {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 60px;
  border-radius: 32px;
  border: 1px solid var(--stroke-2);
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(0, 168, 224, 0.18), transparent 60%),
    radial-gradient(500px 400px at 100% 100%, rgba(124, 92, 255, 0.2), transparent 60%),
    var(--bg-2);
}
.oss h2 { font-size: clamp(32px, 4vw, 48px); }
.terminal { position: relative; border-radius: 16px; background: #0b0d14; border: 1px solid var(--stroke-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); overflow: hidden; }
.terminal-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--stroke); }
.terminal-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: auto; margin-right: auto; transform: translateX(-24px); font-size: 12.5px; color: var(--dim); font-weight: 600; }
.terminal pre { margin: 0; padding: 22px 22px 26px; font-family: var(--mono); font-size: 13.5px; line-height: 1.9; color: #d7dcea; overflow-x: auto; }
.t-dim { color: #5d6578; }
.t-prompt { color: var(--cyan); user-select: none; }
.t-ok { color: #3ee08f; }
.copy-btn {
  position: absolute;
  top: 50px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 8px;
  font: 600 12px var(--font);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.copy-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); border: 1px solid var(--stroke); background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--stroke-2); background: var(--surface-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 60px 22px 24px;
  font-weight: 600;
  font-size: 17px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease), margin 0.3s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }
.faq strong { color: var(--text); }

/* ------------------------------------------------------------------ Final CTA */
.final { position: relative; padding: 150px 0 140px; text-align: center; overflow: hidden; isolation: isolate; }
.final-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 340px at 50% 60%, rgba(0, 168, 224, 0.28), transparent 70%), radial-gradient(500px 300px at 60% 70%, rgba(124, 92, 255, 0.2), transparent 70%); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-icon { margin-bottom: 30px; filter: drop-shadow(0 18px 40px rgba(0, 168, 224, 0.45)); }
.final h2 { font-size: clamp(36px, 5.5vw, 64px); }

/* ------------------------------------------------------------------ Footer */
.footer { border-top: 1px solid var(--stroke); padding: 60px 0 40px; background: #04050a; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { margin-top: 12px; color: var(--dim); font-size: 14px; }
.footer-cols { display: flex; gap: 70px; }
.footer-cols h4 { font-size: 13px; letter-spacing: 0.02em; margin-bottom: 14px; color: var(--text); }
.footer-cols a { display: block; margin-top: 10px; font-size: 14px; color: var(--dim); transition: color 0.2s; }
.footer-cols a:hover { color: var(--text); }
.footer-legal { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--stroke); }
.footer-legal p { font-size: 12.5px; color: #555d6e; max-width: 860px; line-height: 1.6; }

/* ------------------------------------------------------------------ Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-up { transform: translateY(40px) scale(0.985); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .mac-panel { right: 40px; }
  .gk-steps, .steps-4 { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .card-shot img { width: 290px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: span 2; }
  .try-grid, .privacy, .oss, .gk-intro, .gk-notes { grid-template-columns: 1fr; gap: 44px; }
  .gk-notes { gap: 18px; }
  .oss { padding: 40px; }
  .step:not(:last-child)::after { display: none; }
  .menubar-left span:nth-child(n + 5) { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding-top: 96px; }
  .bento { grid-template-columns: 1fr; }
  .gk-steps, .steps-4 { grid-template-columns: 1fr; }
  .gk-steps-title { margin-top: 70px; }
  .hint { font-size: 12.5px; text-align: left; border-radius: 14px; }
  .card-wide { grid-column: auto; grid-template-columns: 1fr; padding-right: 30px; }
  .card-shot { justify-self: center; margin-right: 0; }
  .card-shot img { margin-bottom: -200px; }
  .card-lights, .card-native { min-height: 0; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--stroke); }
  .mac { height: 660px; }
  .mac-panel { left: 50%; right: auto; transform: translateX(-50%); width: 340px; animation: none; }
  .menubar-left span, .mb-clock { display: none; }
  .modes { height: 470px; padding-top: 50px; }
  .mode img { width: 230px; }
  .footer-cols { gap: 40px; flex-wrap: wrap; }
  .oss { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
