:root {
  --bg: #070b18;
  --bg-2: #0d1430;
  --ink: #eef2ff;
  --ink-2: rgba(226, 232, 255, 0.72);
  --ink-3: rgba(226, 232, 255, 0.5);
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.04);
  --blue: #3d8bff;
  --blue-hi: #8cc0ff;
  --green: #2fcb6e;
  --green-hi: #8bebb0;
  --yellow: #ffc53d;
  --yellow-hi: #ffe28a;
  --red: #ff4d4f;
  --red-hi: #ff9a9b;
  --claude: #d97757;
  --openai: #10a37f;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", "Inter", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(61, 139, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 10% 30%, rgba(217, 119, 87, 0.08), transparent 60%),
    linear-gradient(var(--bg), var(--bg-2) 60%, var(--bg));
  background-attachment: fixed;
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-hi); text-decoration: none; }
a:hover { color: #fff; }
code {
  font: 0.86em var(--mono);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.12em 0.4em;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.5em; }
h1 { font-size: clamp(48px, 7vw, 84px); font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-2); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-hi);
  margin-bottom: 14px;
}
.center { text-align: center; }
.meta { font-size: 13.5px; color: var(--ink-3); }
.note { font-size: 15px; color: var(--ink-3); }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  background: rgba(7, 11, 24, 0.6);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--ink-2); font-size: 15px; }
.nav nav a:hover { color: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 650;
  color: #fff;
  background: linear-gradient(180deg, #5aa0ff, #2f74ec);
  box-shadow: 0 10px 30px -8px rgba(61, 139, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 36px -8px rgba(61, 139, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.button.small { padding: 8px 16px; font-size: 14px; box-shadow: 0 6px 18px -8px rgba(61, 139, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.link { font-weight: 600; }
.cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 30px 0 16px; }
.cta.center { justify-content: center; }

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 20px 120px;
  overflow-x: clip; /* the decorative runway may be wider than a phone */
}
.hero-copy { position: relative; z-index: 1; }
.lede { font-size: 20px; max-width: 34ch; }
.glow {
  background: linear-gradient(180deg, #a9cfff, #3d8bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(61, 139, 255, 0.55));
}

/* The runway receding behind the hero */
.runway-scene {
  position: absolute;
  inset: auto 0 -60px;
  height: 420px;
  perspective: 420px;
  pointer-events: none;
  z-index: 0;
}
.horizon {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 70vw;
  height: 140px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(61, 139, 255, 0.45), transparent);
  filter: blur(20px);
}
.strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(560px, 92vw);
  height: 900px;
  transform: translateX(-50%) rotateX(72deg);
  transform-origin: bottom center;
  /* Fade at both ends so the runway melts into the night instead of ending in a hard line. */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 22%, #000 45%, transparent 92%);
  mask-image: linear-gradient(to top, transparent 0%, #000 22%, #000 45%, transparent 92%);
  opacity: 0.8;
}
.edge { position: absolute; top: 0; bottom: 0; width: 4px; background: rgba(255, 255, 255, 0.3); box-shadow: 0 0 12px rgba(140, 192, 255, 0.6); }
.edge.left { left: 0; }
.edge.right { right: 0; }
.dashes {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 10px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 0 60px, transparent 60px 130px);
  animation: taxi 2.6s linear infinite;
}
@keyframes taxi { to { background-position: 0 130px; } }

/* The mock desktop */
.desktop {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  padding: 0 0 36px;
  background:
    radial-gradient(500px 300px at 80% 0%, rgba(120, 90, 255, 0.45), transparent 70%),
    radial-gradient(500px 340px at 10% 100%, rgba(16, 163, 127, 0.35), transparent 70%),
    linear-gradient(160deg, #1a2350, #0b1028);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.menubar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  font-size: 13px;
  background: rgba(10, 14, 34, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 0.9);
}
.menus { display: flex; gap: 16px; }
.menus span { color: rgba(255, 255, 255, 0.78); }
.extras { display: flex; align-items: center; gap: 12px; }
.status-item {
  height: 22px;
  width: auto;
  padding: 0 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
}
.sys { width: 16px; height: 16px; fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.8; stroke-linecap: round; }
.sys .fill { fill: rgba(255, 255, 255, 0.85); stroke: none; }
.clock { font-variant-numeric: tabular-nums; }
.panel {
  display: block;
  width: min(384px, 82%);
  margin: 10px 54px 0 auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
  animation: drop 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.15) both 0.2s;
  transform-origin: top right;
}
@keyframes drop {
  from { opacity: 0; transform: translateY(-14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* Sections */
.section { max-width: 1160px; margin: 0 auto; padding: 100px 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.tiers { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.tiers li { display: flex; gap: 14px; align-items: center; color: var(--ink-2); }
.tiers b { color: var(--ink); }
.cell {
  flex: none;
  display: inline-block;
  width: 34px;
  height: 18px;
  border-radius: 5px;
  border: 0.5px solid rgba(255, 255, 255, 0.25);
}
.cell.blue { background: linear-gradient(var(--blue-hi), var(--blue)); box-shadow: 0 0 14px rgba(61, 139, 255, 0.65); }
.cell.green { background: linear-gradient(var(--green-hi), var(--green)); box-shadow: 0 0 14px rgba(47, 203, 110, 0.55); }
.cell.yellow { background: linear-gradient(var(--yellow-hi), var(--yellow)); box-shadow: 0 0 14px rgba(255, 197, 61, 0.55); }
.cell.red { background: linear-gradient(var(--red-hi), var(--red)); box-shadow: 0 0 14px rgba(255, 77, 79, 0.55); }
.hourglass { filter: saturate(1.2); }

/* Playground */
.playground {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -40px rgba(61, 139, 255, 0.6);
}
.pg-head { display: flex; justify-content: space-between; align-items: baseline; }
.pg-head h3 { margin: 0; font-size: 15px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
.pg-ratio { font: 13px var(--mono); color: var(--ink-3); }
.pg-hero { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 14px; }
.pg-percent { font: 800 64px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pg-percent small { font-size: 22px; font-weight: 600; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.pg-time { font: 650 34px/1 var(--display); font-variant-numeric: tabular-nums; display: flex; gap: 8px; align-items: center; }
.pg-cells { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pg-cells i {
  height: 26px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.pg-cells[data-tier] i.on { border-color: rgba(255, 255, 255, 0.3); }
.pg-cells[data-tier="blue"] i.on { background: linear-gradient(var(--blue-hi), var(--blue)); box-shadow: 0 0 18px rgba(61, 139, 255, 0.6); }
.pg-cells[data-tier="green"] i.on { background: linear-gradient(var(--green-hi), var(--green)); box-shadow: 0 0 18px rgba(47, 203, 110, 0.5); }
.pg-cells[data-tier="yellow"] i.on { background: linear-gradient(var(--yellow-hi), var(--yellow)); box-shadow: 0 0 18px rgba(255, 197, 61, 0.5); }
.pg-cells[data-tier="red"] i.on { background: linear-gradient(var(--red-hi), var(--red)); box-shadow: 0 0 18px rgba(255, 77, 79, 0.5); }
.pg-advice { margin: 18px 0 22px; min-height: 3.2em; font-size: 15.5px; }
.pg-advice b { color: var(--ink); }
.slider { display: block; margin-top: 16px; }
.slider span { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.slider output { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
input[type="range"] { width: 100%; accent-color: var(--blue); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.features article {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.features article:hover { transform: translateY(-3px); border-color: rgba(140, 192, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.features svg { width: 30px; height: 30px; fill: none; stroke: var(--blue-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.features svg .dash { stroke-dasharray: 2 3; stroke: var(--ink-3); }
.features p { font-size: 15.5px; margin: 0; }

/* Activity showcase */
.showcase { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.shots figure { margin: 0; }
.shots figure:nth-child(2) { transform: translateY(46px); }
.shots img { filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.55)); }
figcaption { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 12px; }

/* Read-only */
.reverse > :first-child { order: 0; }
.readonly-card {
  padding: 10px 26px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}
.readonly-card .row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.readonly-card .row:last-child { border-bottom: 0; }
.readonly-card b { color: var(--ink); }
.readonly-card p { margin: 4px 0 0; font-size: 15px; }
.dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; }
.dot.claude { background: var(--claude); box-shadow: 0 0 12px var(--claude); }
.dot.openai { background: var(--openai); box-shadow: 0 0 12px var(--openai); }
.dot.mac { background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(47, 203, 110, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fcb6e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Get started */
.steps { list-style: none; padding: 0; margin: 44px auto 10px; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps span {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: 750;
  background: linear-gradient(var(--blue-hi), var(--blue));
  color: #fff;
  box-shadow: 0 0 18px rgba(61, 139, 255, 0.5);
}
.steps b { color: var(--ink); }
.steps p { margin: 4px 0 0; font-size: 15px; }

/* FAQ */
.faq { max-width: 780px; }
.faq h2 { margin-bottom: 30px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 30px 18px 0;
  font-weight: 620;
  font-size: 18px;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--ink-3); transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 12px; }

/* Footer */
.footer { text-align: center; padding: 60px 20px 70px; border-top: 1px solid var(--line); }
.footer img { margin: 0 auto 14px; border-radius: 9px; }
.footer p { margin: 0 0 6px; font-size: 14px; }
.footer .fine { font-size: 12.5px; color: var(--ink-3); }

/* Small screens */
@media (max-width: 900px) {
  .hero, .split, .showcase { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; gap: 40px; }
  .lede { max-width: none; }
  .features, .steps { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .nav .button { margin-left: auto; }
  .panel { margin: 10px auto 0; }
  .shots figure:nth-child(2) { transform: none; }
  .section { padding: 70px 20px; }
  .menus span { display: none; }
}
@media (max-width: 520px) {
  .shots { grid-template-columns: 1fr; }
  .sys { display: none; }
  .pg-percent { font-size: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
