:root {
  --bg: #0d1014;
  --bg-alt: #12161c;
  --surface: #181d24;
  --border: #252c35;
  --text: #e7ebef;
  --muted: #9aa4af;
  --accent: #3fd4a6;
  --accent-ink: #062018;
  --red: #ef6f7b;
  --radius: 14px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd, pre { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; }
code, kbd { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 0.05em 0.35em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1280px; }
.narrow { max-width: 760px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 16, 20, 0.96);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.brand-bg { fill: var(--surface); stroke: var(--border); }
.brand-mark { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; padding: 12px 20px; border-radius: 10px;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); }
.btn-small { padding: 7px 14px; font-size: 14px; }

/* Hero */
.hero { padding: 88px 0 72px; text-align: center; background: radial-gradient(900px 420px at 50% -80px, rgba(63, 212, 166, 0.16), transparent 70%); }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 auto 20px; max-width: 900px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 8px; }
.tagline { color: var(--accent); font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -0.01em; margin: -8px 0 20px; }
.lede { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 720px; margin: 0 auto 32px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 14px; margin: 18px 0 56px; }
.caption { color: var(--muted); font-size: 13px; margin-top: 12px; }

.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}
.shot-hero { box-shadow: 0 20px 60px -20px rgba(63, 212, 166, 0.22), 0 16px 40px -12px rgba(0, 0, 0, 0.7); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section > .wrap > h2 + p { max-width: 720px; }
.section p { color: var(--muted); }
.section strong { color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card p { margin: 0; font-size: 15px; }

.shot-wide { margin-top: 40px; }
.shot-pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.shot-pair .shot:last-child { margin-top: 48px; }

/* Selling points */
.points { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.point {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}
.point:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.point-num { display: block; color: var(--accent); font-weight: 600; font-size: 13px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.point h3 { font-size: 17px; }
.point p { margin: 0; font-size: 14px; }
.points-3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.points-3 .point { padding: 28px 26px; }
.points-3 .point h3 { font-size: 20px; }
.points-3 .point p { font-size: 15px; }
.after-shot { margin-top: 40px; max-width: 720px; }
.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; font-size: 15px; }
.section .note { color: var(--text); }
.note small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.control-ai { margin-top: 96px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips span {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--text);
}

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.split-reverse { grid-template-columns: 0.95fr 1.05fr; }
.split > * { min-width: 0; }

.bot { border-left: 2px solid var(--accent); padding: 2px 0 2px 16px; margin: 24px 0; }
.bot p { margin: 0; }

.ticks { list-style: none; padding: 0; margin: 24px 0; }
.ticks li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--text); font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.code {
  background: #0a0c10;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  color: var(--text);
  line-height: 1.55;
  margin: 20px 0;
}
.code code { background: none; border: 0; padding: 0; }
.small { font-size: 15px; }

.steps { padding-left: 22px; color: var(--muted); }
.steps li { margin: 10px 0; padding-left: 4px; }
.steps li::marker { color: var(--accent); font-weight: 600; }

/* Footer */
.footer { padding: 48px 0 64px; color: var(--muted); font-size: 14px; }
.footer p { max-width: 760px; margin: 0 0 12px; }
.footer strong { color: var(--text); }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: repeat(2, 1fr); }
  .points-3 { grid-template-columns: 1fr; }
  .split, .split-reverse { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .shot, .split-reverse .chat { order: 2; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-inner .btn-small { margin-left: auto; }
  .hero { padding: 56px 0 48px; }
  .fine { margin-bottom: 36px; }
  .grid, .grid-3, .points { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .control-ai { margin-top: 64px; }
  .shot-hero { border-radius: 10px; }
  .cta .btn { flex: 1 1 100%; }
}

/* Example AI chat */
.chat {
  margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}
.msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.msg-you { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; font-weight: 500; }
.msg-ai { align-self: flex-start; background: #222932; color: var(--text); border-bottom-left-radius: 4px; }
.order {
  display: flex; flex-direction: column; gap: 2px;
  margin: 10px 0; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg);
  font-variant-numeric: tabular-nums;
}
.order span:first-child { color: var(--red); font-weight: 600; }
.order span + span { color: var(--muted); font-size: 14px; }
.chat .caption { align-self: center; margin: 4px 0 0; }
