:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --panel: #fffdf8;
  --panel-2: #ece8df;
  --ink: #1d1d1a;
  --muted: #746f66;
  --line: #d9d4ca;
  --green: #285f3a;
  --green-2: #e5efe4;
  --orange: #cf674e;
  --shadow: 0 24px 70px rgba(44, 40, 32, .10);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 820; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.nav nav { display: flex; align-items: center; gap: 26px; color: #5f5a51; font-size: 13px; font-weight: 680; }
.nav nav a:hover { color: var(--ink); }
.nav-github { padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.55); }

.hero {
  min-height: 680px;
  padding: 72px 0 68px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 64px;
  align-items: center;
}

.eyebrow, .section-kicker {
  color: #6b655c;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .11em;
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #4b8b5d; box-shadow: 0 0 0 5px rgba(75,139,93,.12); }

h1 {
  max-width: 710px;
  margin: 22px 0 24px;
  font-size: clamp(48px, 6.1vw, 82px);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 780;
}
h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

.button {
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 760;
}
.button.primary { background: var(--ink); color: #fff; box-shadow: 0 13px 28px rgba(0,0,0,.17); }
.button.primary:hover { transform: translateY(-1px); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.7); }
.button small { color: #c9c7c0; font-size: 10px; font-weight: 600; }
.hero-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; color: #7f796f; font-size: 11px; font-weight: 650; }

.studio-preview {
  min-width: 0;
  border: 1px solid #cbc6bb;
  border-radius: 20px;
  overflow: hidden;
  background: #fdfbf7;
  box-shadow: var(--shadow);
  transform: rotate(1.3deg);
}
.window-bar { height: 48px; padding: 0 15px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #ddd8cf; background: #f3f0e9; font-size: 10px; }
.window-bar > span { justify-self: end; color: #4d7c58; font-weight: 760; }
.traffic { display: flex; gap: 6px; }
.traffic i { width: 8px; height: 8px; border-radius: 50%; background: #c6c1b7; }
.mock-body { padding: 13px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; }
.mock-video { min-height: 270px; position: relative; overflow: hidden; border-radius: 12px; background: #181917; }
.video-grid { position: absolute; inset: 0; background:
  radial-gradient(circle at 28% 30%, rgba(98,154,108,.25), transparent 34%),
  linear-gradient(135deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 28px 28px; }
.play-disc { position: absolute; inset: 50% auto auto 50%; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); transform: translate(-50%, -50%); color: #111; font-size: 17px; }
.video-caption { position: absolute; left: 12px; bottom: 10px; padding: 5px 7px; border-radius: 6px; background: rgba(0,0,0,.52); color: #fff; font-size: 9px; }
.mock-script { padding: 14px; border: 1px solid #e1ddd4; border-radius: 12px; background: #fff; }
.mock-script small { color: #969086; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.mock-script p { margin: 13px 0 0; color: #504b43; font-size: 12px; line-height: 1.55; font-weight: 650; }
.mock-timeline { grid-column: 1 / -1; min-height: 122px; position: relative; overflow: hidden; border: 1px solid #ded9cf; border-radius: 12px; background: #f2efe8; }
.timeline-head { height: 32px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dcd7ce; color: #807a70; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.timeline-head small { letter-spacing: 0; font-weight: 650; }
.wave { position: absolute; inset: 43px 10px 11px 10px; display: flex; align-items: center; gap: 5px; opacity: .3; }
.wave i { flex: 1; min-width: 2px; border-radius: 2px; background: #746f66; }
.clip { position: absolute; top: 53px; height: 47px; padding: 8px 9px; overflow: hidden; border: 1px solid #a8c0a9; border-radius: 8px; background: rgba(229,239,228,.94); color: #33553c; font-size: 8px; }
.clip b { display: block; font-size: 7px; }
.clip span { display: block; margin-top: 5px; white-space: nowrap; font-weight: 720; }
.clip.c1 { left: 11%; width: 39%; }
.clip.c2 { left: 62%; width: 26%; }
.playhead { position: absolute; top: 32px; bottom: 0; left: 58%; width: 1px; background: var(--orange); }
.playhead::before { content:""; position:absolute; left:-4px; top:0; width:9px; height:8px; border-radius: 0 0 5px 5px; background:var(--orange); }

.proof { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof div { padding: 24px 24px 24px 0; }
.proof div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.proof strong { display: block; margin-bottom: 5px; font-size: 13px; }
.proof span { color: var(--muted); font-size: 11px; line-height: 1.5; }

.section { padding: 118px 0; }
.section-intro { max-width: 760px; }
.section-intro h2 { margin: 15px 0 14px; font-size: clamp(34px, 4.2vw, 55px); line-height: 1.05; letter-spacing: -.04em; }
.section-intro p { max-width: 670px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.section-intro.compact h2 { max-width: 650px; }

.steps { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps article { min-height: 235px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.steps article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.steps article > span, .feature-number { color: #9a9489; font-size: 10px; font-weight: 850; }
.steps h3 { margin: 55px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.steps p, .feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.feature-section { background: #1d1e1b; color: #f7f4ed; }
.feature-section .section-kicker { color: #96988f; }
.feature-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature { min-height: 230px; padding: 24px; border: 1px solid #353630; border-radius: 14px; background: #252622; }
.feature.large { grid-column: span 2; display: grid; grid-template-columns: 28px 1fr; gap: 20px; }
.feature h3 { margin: 36px 0 10px; font-size: 22px; letter-spacing: -.025em; }
.feature.large h3 { margin-top: 0; }
.feature p { color: #aaa9a2; }
.feature code { color: #d7dbc9; }
.mini-timeline { grid-column: 1 / -1; height: 86px; position: relative; overflow: hidden; border: 1px solid #3d443d; border-radius: 10px; background: #1d1e1b; }
.mini-wave { position:absolute; inset:0; opacity:.25; background:
  repeating-linear-gradient(90deg, #83977f 0 2px, transparent 2px 8px);
  mask: linear-gradient(180deg, transparent 10%, #000 26%, #000 74%, transparent 90%); }
.mini-clip { position:absolute; top:22px; height:41px; padding:12px; border:1px solid #65806a; border-radius:7px; background:#304134; color:#dfe9df; font-size:10px; font-weight:750; }
.mini-clip.a { left:8%; width:34%; }
.mini-clip.b { left:55%; width:28%; }
.mini-timeline i { position:absolute; top:0; bottom:0; left:49%; width:1px; background:#d56b54; }

.architecture { margin-top: 50px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr; gap: 14px; align-items: center; }
.architecture > i { color: #9b958b; font-style: normal; }
.arch-card, .arch-stack { min-height: 150px; padding: 20px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.57); }
.arch-card small { color: #928c82; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.arch-card strong { margin-top: 17px; font-size: 16px; }
.arch-card span, .arch-stack span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.arch-stack { gap: 18px; }
.arch-stack div { display:flex; flex-direction:column; }
.arch-stack div + div { padding-top: 16px; border-top: 1px solid var(--line); }
.local-notes { margin-top: 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.local-notes article { padding: 17px 18px; border: 1px solid var(--line); border-radius: 11px; background: #ebe7de; }
.local-notes strong, .local-notes span { display:block; font-size:11px; line-height:1.45; }
.local-notes span { margin-top:4px; color:var(--muted); }

.download-panel {
  padding: 48px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
  border: 1px solid #cfc9bd;
  border-radius: 20px;
  background: #ece8de;
  box-shadow: 0 24px 70px rgba(60,54,44,.08);
}
.download-panel h2 { margin: 13px 0 13px; font-size: 48px; letter-spacing: -.04em; }
.download-panel p { max-width: 610px; margin:0; color:var(--muted); font-size:14px; line-height:1.6; }
.requirements { margin-top: 20px; display:flex; flex-wrap:wrap; gap:8px; }
.requirements span { padding:6px 8px; border:1px solid #d0cabf; border-radius:999px; background:rgba(255,255,255,.45); color:#69635a; font-size:9px; font-weight:700; }
.download-actions { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
.button.big { min-height:64px; justify-content:space-between; padding:0 20px; }
.release-page { text-align:center; color:#605a51; font-size:11px; font-weight:700; }
.unsigned-note { text-align:center !important; font-size:9px !important; color:#8a847a !important; }

.status-section { padding-top: 40px; }
.status-grid { margin-top: 36px; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.status-grid > div { padding:22px; border-top:1px solid var(--line); }
.status-grid strong { font-size:12px; }
.status-grid p { margin:10px 0 0; color:var(--muted); font-size:11px; line-height:1.6; }

footer.shell { min-height: 170px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; border-top:1px solid var(--line); color:#6e685f; font-size:11px; }
footer p { margin:0; }
footer > div:last-child { justify-self:end; display:flex; gap:16px; }
.footer-brand img { width:28px; height:28px; }

@media (max-width: 980px) {
  .nav nav a:not(.nav-github) { display:none; }
  .hero { grid-template-columns:1fr; padding-top:52px; }
  .studio-preview { max-width:720px; transform:none; }
  .steps { grid-template-columns:repeat(2,1fr); }
  .feature-grid { grid-template-columns:1fr 1fr; }
  .architecture { grid-template-columns:1fr; }
  .architecture > i { transform:rotate(90deg); justify-self:center; }
  .local-notes { grid-template-columns:1fr; }
  .download-panel { grid-template-columns:1fr; gap:34px; }
}

@media (max-width: 680px) {
  .shell { width:min(100% - 28px, 1180px); }
  .nav { height:64px; }
  .hero { min-height:auto; padding:48px 0 54px; gap:38px; }
  h1 { font-size:48px; }
  .hero-lead { font-size:16px; }
  .hero-actions .button { width:100%; }
  .hero-meta { display:grid; }
  .mock-body { grid-template-columns:1fr; }
  .mock-video { min-height:220px; }
  .mock-script { display:none; }
  .mock-timeline { grid-column:1; }
  .proof { grid-template-columns:1fr; }
  .proof div, .proof div + div { padding:18px 0; border-left:0; border-bottom:1px solid var(--line); }
  .section { padding:82px 0; }
  .steps { grid-template-columns:1fr; }
  .steps article, .steps article + article { padding:22px 0; border-left:0; }
  .steps h3 { margin-top:30px; }
  .feature-grid { grid-template-columns:1fr; }
  .feature.large { grid-column:span 1; grid-template-columns:1fr; }
  .download-panel { padding:26px; }
  .download-panel h2 { font-size:36px; }
  .status-grid { grid-template-columns:1fr; }
  footer.shell { grid-template-columns:1fr; padding:34px 0; }
  footer > div:last-child { justify-self:start; }
}
