:root {
  --paper: #F6F4EF;
  --paper-2: #ECE9E1;
  --ink: #15151A;
  --ink-2: #3A3934;
  --muted: #55534E;
  --line: #3A3A42;
  --accent: #FF6A3D;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --display: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; }
a:hover { opacity: .75; }
img, video { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.dark { background: var(--ink); color: var(--paper); }
.tint { background: var(--paper-2); }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dark .eyebrow.accent { color: var(--accent); }
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; margin: 16px 0 20px; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 12px 0 16px; }
.h3 { font-family: var(--display); font-size: 22px; margin: 10px 0 16px; }
.lead { margin: 0 0 40px; max-width: 640px; color: var(--ink-2); }
.dark .lead { color: #C9C7C0; }

/* Placeholders: replace each with a real <img>, <video> or embed */
.ph {
  border: 2px dashed #A8A49B; border-radius: 16px; background: var(--paper-2);
  display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center;
  text-align: center; padding: 16px; font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.dark .ph { border-color: #5A5A62; background: #1F1F26; color: #C9C7C0; }

.chip { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 500; }
.card { background: #fff; border: 1.5px solid var(--ink); border-radius: 20px; padding: 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--ink);
}
.btn.primary { background: var(--accent); }
.btn.dark-fill { background: var(--ink); color: var(--paper); }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid.wide { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.logo { font-family: var(--mono); font-weight: 600; font-size: 20px; text-decoration: none; }
.logo span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; font-weight: 500; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-copy p { margin: 0 0 28px; max-width: 560px; color: var(--ink-2); }
.hero-photo { flex: 1 1 360px; min-width: 0; position: relative; }
.hero-photo .ph, .hero-photo img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; border-radius: 16px; display: block; }
.sticker { position: absolute; left: -12px; bottom: 28px; background: var(--ink); color: var(--paper); border-radius: 14px; padding: 12px 16px; transform: rotate(-3deg); font-weight: 600; font-size: 15px; }

.voice {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 20px 8px 8px; margin-bottom: 24px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; font: inherit; color: var(--ink);
}
.play { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.wave { display: flex; gap: 3px; align-items: center; height: 24px; }
.wave i { width: 3px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.voice.playing .wave i { animation: bounce .8s ease-in-out infinite alternate; }
.voice.playing .wave i:nth-child(2n) { animation-delay: .2s; }
.voice.playing .wave i:nth-child(3n) { animation-delay: .4s; }
@keyframes bounce { to { transform: scaleY(.4); } }
@media (prefers-reduced-motion: reduce) { .voice.playing .wave i { animation: none; } html { scroll-behavior: auto; } }

/* Demo */
.demo-row { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 48px; }
.demo-video { flex: 2 1 520px; min-width: 0; aspect-ratio: 16 / 9; }
.big-play { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.chapters { flex: 1 1 280px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.chapters li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; }
.chapters span:last-child { font-family: var(--mono); color: #A8A49B; }

.terminal { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #0E0E12; }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: #A8A49B; }
.terminal-bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.terminal-bar span { margin-left: 8px; }
.terminal-body { padding: 24px; font-family: var(--mono); font-size: 14px; line-height: 2; overflow-x: auto; }
.terminal-body .cmd, .terminal-body .status { color: #A8A49B; }
.terminal-body .line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.terminal-body .id { color: var(--accent); }

/* Stats */
.stat { flex: 1 1 220px; }
.stat strong { display: block; font-family: var(--display); font-size: 48px; line-height: 1; }
.stat span { display: block; color: var(--ink-2); margin-top: 8px; }
.photo-43 { aspect-ratio: 4 / 3; }
.stage-img { width: 100%; height: auto; object-fit: cover; border-radius: 16px; display: block; }

/* Deals */
.timeline { list-style: none; margin: 32px 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.timeline li { flex: 1 1 260px; border-top: 3px solid var(--ink); padding-top: 14px; }
.timeline .role { color: var(--ink-2); }
.facts { margin: 0 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.lesson { margin: 0; padding-top: 14px; border-top: 1px solid #D6D2C8; }
.track { gap: 16px; margin-top: 14px; }
.track-yr { flex: 1 1 260px; }
.track-nums { display: flex; gap: 32px; margin-top: 10px; }
.track-nums strong { display: block; font-family: var(--display); font-size: 44px; line-height: 1; }
.track-nums span { display: block; color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.note.track-note { margin: 12px 0 40px; }
.note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
#deals .card { display: flex; flex-direction: column; }
#deals .card .note { margin: 0 0 16px; font-style: italic; }
#deals .lesson { margin-top: auto; }

/* Builds */
.build { display: flex; flex-direction: column; gap: 14px; }
.build .ph { aspect-ratio: 16 / 9; }
.demo-gif { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; border: 1.5px solid var(--ink); background: #0A0A0A; }
.build-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.build-head h3 { font-family: var(--display); font-size: 24px; margin: 0; }
.status-pill { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); }
.build p { margin: 0; color: var(--ink-2); }
.links { display: flex; gap: 16px; font-weight: 600; font-size: 15px; }

/* Working with me */
.quote { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 20px; }
.quote blockquote { margin: 0 0 20px; font-size: 19px; line-height: 1.5; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.avatar { width: 44px; height: 44px; padding: 0; border-radius: 50%; font-size: 10px; }
.quote small { color: #A8A49B; font-size: 15px; }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.meta dt { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #A8A49B; }
.meta dd { margin: 6px 0 0; }

/* Contact */
.contact { background: var(--accent); }
.contact .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.contact .eyebrow { color: var(--ink); }
.contact h2 { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 8vw, 96px); line-height: 1; margin: 12px 0 0; }

.site-footer { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.site-footer .mono { font-family: var(--mono); }

/* Spacing helpers (kept out of inline styles so the CSP can block them) */
.stats { margin: 32px 0; }
.cities { gap: 10px; margin-bottom: 32px; }
.spaced { margin-top: 32px; }
.tight { gap: 12px; }
.wave i:nth-child(1) { height: 10px; } .wave i:nth-child(2) { height: 20px; } .wave i:nth-child(3) { height: 14px; }
.wave i:nth-child(4) { height: 22px; } .wave i:nth-child(5) { height: 8px; }  .wave i:nth-child(6) { height: 16px; }
