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

:root {
  --bg: #0a0a0b;
  --bg2: #0f0f10;
  --bg3: #141414;
  --border: rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.1);
  --text: #edeae4;
  --text2: #7a7570;
  --text3: #3a3835;
  --amber: #f5a020;
  --amber2: #f57818;
  --amber-dim: rgba(245,160,32,0.1);
  --amber-border: rgba(245,160,32,0.2);
  --amber-glow: rgba(245,160,32,0.06);
}

html { scroll-behavior: smooth; overflow-anchor: none;}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  /* cursor: none; */ 
}

/* ── CUSTOM CURSOR ── */
/* .cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(245,160,32,0.6);
} */
/* .cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(245,160,32,0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, border-color 0.15s ease;
} */
/* .cursor-glow {
  position: fixed;
  width: 240px; height: 240px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245,160,32,0.035) 0%, transparent 65%);
  transition: all 0.4s ease;
} */

/* ── GRAIN ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1; opacity: 0.35;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(10,10,11,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-mark { position: relative; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.nav-bloom { position: absolute; inset: -3px; border-radius: 50%; background: radial-gradient(circle at 50% 58%, rgba(245,130,20,0.22) 0%, transparent 65%); animation: breath 3s ease-in-out infinite; }
.nav-ring { position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgba(245,150,40,0.18); animation: ringBreath 3s ease-in-out infinite; }
.nav-core { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #ffe0a0, #f57010); box-shadow: 0 0 10px rgba(245,115,20,0.85), 0 0 20px rgba(245,115,20,0.22); position: relative; z-index: 2; animation: coreBreath 3s ease-in-out infinite; }
@keyframes breath { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.94)} }
@keyframes ringBreath { 0%,100%{opacity:0.45;transform:scale(1)} 50%{opacity:0.12;transform:scale(1.06)} }
@keyframes coreBreath { 0%,100%{box-shadow:0 0 10px rgba(245,115,20,0.85),0 0 20px rgba(245,115,20,0.22)} 50%{box-shadow:0 0 5px rgba(245,115,20,0.4),0 0 10px rgba(245,115,20,0.1)} }
.nav-wordmark { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text2); text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 9px 20px; background: var(--amber); color: #0a0a0b !important; border-radius: 7px; font-weight: 700 !important; transition: opacity 0.2s !important; }
.nav-cta:hover { opacity: 0.85; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 130px 24px 80px;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--amber-border);
  border-radius: 100px; background: var(--amber-glow);
  margin-bottom: 36px;
  animation: fadeUp 0.6s ease-out both;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 6px var(--amber); animation: coreBreath 2.5s ease-in-out infinite; }
.badge-text { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--amber); letter-spacing: 0.1em; }
.hero-headline { font-family: 'Instrument Serif', serif; font-size: clamp(46px, 7.5vw, 92px); font-weight: 400; line-height: 1.04; letter-spacing: -0.025em; color: var(--text); max-width: 920px; margin-bottom: 24px; animation: fadeUp 0.6s ease-out 0.1s both; }
.hero-headline em { font-style: italic; color: var(--amber); }
.hero-sub { font-size: clamp(15px, 2vw, 19px); color: var(--text2); max-width: 500px; line-height: 1.68; font-weight: 400; margin-bottom: 48px; animation: fadeUp 0.6s ease-out 0.2s both; }
.waitlist-form { display: flex; gap: 10px; max-width: 400px; width: 100%; animation: fadeUp 0.6s ease-out 0.3s both; }
.waitlist-input { flex: 1; padding: 13px 18px; background: var(--bg3); border: 1px solid var(--border2); border-radius: 8px; color: var(--text); font-size: 14px; font-family: 'Syne', sans-serif; outline: none; transition: border-color 0.2s; }
.waitlist-input::placeholder { color: var(--text3); }
.waitlist-input:focus { border-color: var(--amber-border); }
.waitlist-btn { padding: 13px 22px; background: var(--amber); color: #0a0a0b; border: none; border-radius: 8px; font-size: 14px; font-weight: 700; font-family: 'Syne', sans-serif; cursor: pointer; white-space: nowrap; transition: opacity 0.2s, transform 0.15s; letter-spacing: 0.01em; }
.waitlist-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.waitlist-note { font-size: 11px; color: var(--text3); margin-top: 14px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; animation: fadeUp 0.6s ease-out 0.4s both; }
.success-msg { display: none; align-items: center; gap: 10px; padding: 14px 22px; background: var(--amber-dim); border: 1px solid var(--amber-border); border-radius: 8px; font-size: 13px; color: var(--amber); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
.success-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: coreBreath 2s infinite; }

/* ── HERO IDE ── */
.hero-visual { margin-top: 72px; width: 100%; max-width: 820px; position: relative; animation: fadeUp 0.8s ease-out 0.5s both; }
.hero-visual-glow { position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 560px; height: 180px; background: radial-gradient(ellipse, rgba(245,160,32,0.07) 0%, transparent 70%); pointer-events: none; }

.ide { background: #111; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 40px 100px rgba(0,0,0,0.75), 0 0 80px rgba(245,160,32,0.03); }
.ide-titlebar { background: #181818; height: 32px; display: flex; align-items: center; padding: 0 14px; gap: 7px; border-bottom: 1px solid #1e1e1e; user-select: none; }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl-r{background:#ff5f57}.tl-y{background:#febc2e}.tl-g{background:#28c840}
.ide-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #303030; margin: 0 auto; }
.ide-body { display: grid; grid-template-columns: 158px 1fr 248px; height: 300px; min-width: 0; }

.ide-tree { background: #131313; border-right: 1px solid #1c1c1c; padding: 10px 0; font-family: 'JetBrains Mono', monospace; font-size: 11px; overflow: hidden; }
.tree-folder { padding: 3px 12px; color: #3a3a3a; display: flex; align-items: center; gap: 5px; }
.tree-f-icon { color: #2a2a2a; }
.tree-file { padding: 3px 12px 3px 22px; color: #353535; display: flex; align-items: center; gap: 5px; transition: background 0.15s; }
.tree-file.active { background: rgba(255,255,255,0.04); color: #666; }
.tree-ext { color: #2a2a2a; }

.ide-editor { display: flex; flex-direction: column; background: #0d0d0d; }
.ide-tabs { background: #131313; display: flex; border-bottom: 1px solid #1c1c1c; height: 32px; align-items: stretch; }
.ide-tab { padding: 0 16px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #363636; display: flex; align-items: center; gap: 7px; border-right: 1px solid #1c1c1c; }
.ide-tab.active { background: #0d0d0d; color: #aaa; border-top: 1px solid var(--amber); }
.tab-modified { width: 5px; height: 5px; border-radius: 50%; background: #555; }
.ide-code { flex: 1; display: flex; font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.72; overflow: hidden; }
.ide-nums { padding: 10px 0; min-width: 38px; text-align: right; color: #252525; font-size: 11px; padding-right: 10px; border-right: 1px solid #1a1a1a; user-select: none; flex-shrink: 0; }
.ide-nums div { padding: 0 8px; }
.ide-lines { padding: 10px 0 10px 16px; flex: 1; overflow: hidden; }
.ide-line { white-space: nowrap; transition: background 0.3s; }
.ide-line.hl { background: rgba(245,160,32,0.04); border-left: 2px solid rgba(245,160,32,0.15); padding-left: 14px; margin-left: -16px; }
.kw{color:#569cd6}.fn{color:#dcdcaa}.st{color:#ce9178}.cm{color:#3d5c3a;font-style:italic}.tp{color:#4ec9b0}.nm{color:#b5cea8}.op{color:#888}.pu{color:#ccc}

.type-cursor { display: inline-block; width: 7px; height: 13px; background: #ccc; opacity: 0.7; vertical-align: text-bottom; animation: typeBlink 1.1s step-end infinite; }
@keyframes typeBlink { 0%,100%{opacity:0.7} 50%{opacity:0} }

.ide-ember { background: #0c0b0a; border-left: 1px solid rgba(245,160,32,0.15); display: flex; flex-direction: column; overflow: hidden; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.ide-ember.visible { transform: translateX(0); }
.ep-head { padding: 10px 14px; border-bottom: 1px solid rgba(245,160,32,0.08); display: flex; align-items: center; gap: 8px; }
.ep-mark { width: 18px; height: 18px; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ep-mark-bloom { position: absolute; inset: -2px; border-radius: 50%; background: radial-gradient(circle at 50% 58%, rgba(245,130,20,0.25) 0%, transparent 65%); animation: breath 2.5s ease-in-out infinite; }
.ep-mark-core { width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #ffe0a0, #f57010); box-shadow: 0 0 7px rgba(245,115,20,0.9); position: relative; z-index: 2; animation: coreBreath 2.5s ease-in-out infinite; }
.ep-head-title { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--amber); letter-spacing: 0.07em; }
.ep-head-close { margin-left: auto; color: #2a2a2a; font-size: 14px; line-height: 1; cursor: pointer; transition: color 0.15s; }
.ep-head-close:hover { color: #555; }
.ep-body { padding: 14px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.ep-obs { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: #555; line-height: 1.65; min-height: 36px; }
.ep-obs .hl { color: var(--amber); }
.ep-obs .amber-num { color: var(--amber); font-weight: 500; }
.ep-ref { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.055); border-radius: 5px; padding: 9px 11px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #444; line-height: 1.6; opacity: 0; transform: translateY(4px); transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s; }
.ep-ref.show { opacity: 1; transform: translateY(0); }
.ep-ref-label { font-size: 9px; color: #2a2a2a; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 5px; }
.ep-ref-body { color: #555; }
.ep-ref-body span { color: #888; }
.ep-actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; opacity: 0; transform: translateY(4px); transition: opacity 0.4s ease 0.55s, transform 0.4s ease 0.55s; }
.ep-actions.show { opacity: 1; transform: translateY(0); }
.ep-btn-primary { padding: 8px 12px; background: var(--amber); color: #0a0a0b; border: none; border-radius: 5px; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; cursor: pointer; letter-spacing: 0.04em; text-align: left; transition: opacity 0.15s; }
.ep-btn-primary:hover { opacity: 0.85; }
.ep-btn-secondary { padding: 7px 12px; background: transparent; color: #3a3835; border: 1px solid rgba(255,255,255,0.06); border-radius: 5px; font-size: 10px; font-family: 'JetBrains Mono', monospace; cursor: pointer; text-align: left; transition: color 0.15s, border-color 0.15s; }
.ep-btn-secondary:hover { color: #666; border-color: rgba(255,255,255,0.1); }
.ep-foot { padding: 9px 14px; border-top: 1px solid rgba(255,255,255,0.04); display: flex; align-items: center; gap: 5px; font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #262422; }
.ep-foot .t { color: var(--amber); }
.ep-foot-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); margin-left: auto; animation: coreBreath 2.5s ease-in-out infinite; }

.ide-status { background: #007acc; height: 20px; display: flex; align-items: center; padding: 0 12px; gap: 14px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(255,255,255,0.75); }
.ide-status-right { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.ide-ember-indicator { display: flex; align-items: center; gap: 5px; }
.ide-ember-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); animation: coreBreath 2.5s ease-in-out infinite; }

.ide-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.ide-ctrl-btn { padding: 7px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text2); cursor: pointer; transition: border-color 0.2s, color 0.2s; letter-spacing: 0.05em; }
.ide-ctrl-btn:hover { border-color: var(--border2); color: var(--text); }
.ide-ctrl-btn.active { border-color: var(--amber-border); color: var(--amber); background: var(--amber-glow); }
.ide-progress { flex: 1; max-width: 200px; height: 2px; background: var(--bg3); border-radius: 1px; overflow: hidden; }
.ide-progress-fill { height: 100%; background: var(--amber); border-radius: 1px; width: 0%; transition: width 0.1s linear; }

/* ── SECTIONS ── */
.section-wrap { position: relative; z-index: 2; padding: 120px 24px; max-width: 1100px; margin: 0 auto; }
.section-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--amber); text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--amber); opacity: 0.45; }
.section-title { font-family: 'Instrument Serif', serif; font-size: clamp(32px, 4vw, 54px); font-weight: 400; letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; line-height: 1.08; }
.section-desc { font-size: 16px; color: var(--text2); max-width: 460px; line-height: 1.7; margin-bottom: 56px; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.step { padding: 36px 32px; background: var(--bg2); border: 1px solid var(--border); position: relative; overflow: hidden; transition: background 0.25s, border-color 0.25s; }
.step:first-child { border-radius: 12px 0 0 12px; }
.step:last-child { border-radius: 0 12px 12px 0; }
.step:hover { background: var(--bg3); border-color: var(--border2); }
.step::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, transparent, var(--amber), transparent); opacity: 0; transition: opacity 0.3s; }
.step:hover::after { opacity: 0.4; }
.step-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text3); letter-spacing: 0.12em; margin-bottom: 20px; }
.step-glyph { width: 28px; height: 28px; margin-bottom: 18px; }
.step-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.step-body { font-size: 14px; color: var(--text2); line-height: 1.65; }

.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.diff-card { padding: 32px; border-radius: 12px; border: 1px solid var(--border); }
.diff-card.them { background: var(--bg2); }
.diff-card.us { background: var(--amber-glow); border-color: var(--amber-border); }
.diff-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 22px; display: flex; align-items: center; gap: 8px; }
.diff-label.them-l { color: var(--text3); }
.diff-label.us-l { color: var(--amber); }
.diff-label-mark { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.diff-label-mark.dim { background: var(--text3); }
.diff-label-mark.lit { background: var(--amber); box-shadow: 0 0 6px var(--amber); animation: coreBreath 2.5s infinite; }
.diff-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.55; }
.diff-item:last-child { border-bottom: none; padding-bottom: 0; }
.diff-dash { color: var(--text3); flex-shrink: 0; font-family: 'JetBrains Mono', monospace; font-size: 12px; padding-top: 2px; }
.diff-arrow { color: var(--amber); flex-shrink: 0; font-family: 'JetBrains Mono', monospace; font-size: 12px; padding-top: 2px; }
.diff-text.muted { color: var(--text3); }
.diff-text.bright { color: var(--text2); }
.diff-text.bright strong { color: var(--text); font-weight: 500; }

.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card { padding: 28px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; transition: border-color 0.25s, transform 0.2s; }
.feature-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.feature-glyph { width: 28px; height: 28px; margin-bottom: 18px; }
.feature-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-body { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ── QUOTE CAROUSEL ── */
.quote-section {
  text-align: center;
  padding: 80px 24px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.quote-rule {
  width: 40px; height: 1px;
  background: var(--amber); opacity: 0.4;
  margin: 0 auto 32px;
}

.quote-carousel {
  position: relative;
  overflow: hidden;
  height: 220px;
  margin-bottom: 28px;
  /* prevent scroll anchoring jumps when slide content changes */
  overflow-anchor: none;
}

.quote-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  /* prevent slide content from affecting layout outside container */
  overflow: hidden;
}

.quote-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.quote-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(13px, 1.6vw, 17px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  max-width: 640px;
}

.quote-attr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.1em;
}

.quote-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.quote-nav-btn {
  background: none; border: none;
  color: var(--text3); font-size: 18px;
  cursor: pointer; padding: 4px 8px;
  transition: color 0.2s; line-height: 1;
  font-family: 'JetBrains Mono', monospace;
}

.quote-nav-btn:hover { color: var(--text2); }

.quote-dots { display: flex; gap: 7px; align-items: center; }

.quote-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text3);
  border: none; padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.quote-dot.active {
  background: var(--amber);
  transform: scale(1.3);
}

/* mobile */
@media (max-width: 768px) {
  .quote-section { padding: 56px 20px; }
  .quote-carousel { height: 280px; }
  .quote-text { font-size: 13px; }
}
/* ── CTA ── */
.cta-section { text-align: center; padding: 100px 24px 140px; position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(245,160,32,0.045) 0%, transparent 65%); pointer-events: none; }
.cta-headline { font-family: 'Instrument Serif', serif; font-size: clamp(36px,5vw,62px); font-weight: 400; letter-spacing: -0.02em; color: var(--text); line-height: 1.08; margin-bottom: 20px; }
.cta-sub { font-size: 16px; color: var(--text2); line-height: 1.65; margin-bottom: 44px; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text2); letter-spacing: -0.01em; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text3); text-decoration: none; letter-spacing: 0.07em; transition: color 0.2s; }
.footer-links a:hover { color: var(--text2); }
.footer-copy { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text3); letter-spacing: 0.05em; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.glyph { fill: none; stroke: var(--amber); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }

/* ── IDE RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1024px) {
  .ide-body { grid-template-columns: 130px 1fr 220px; }
}
@media (max-width: 860px) {
  .ide-body { grid-template-columns: 1fr 200px; }
  .ide-tree { display: none; }
}
@media (max-width: 640px) {
  .ide-body { grid-template-columns: 1fr; height: 500px; }
  .ide-tree { display: none; }
  .ide-code { font-size: 11px; }
  .ide-lines { padding: 8px 0 8px 12px; overflow: hidden; }
  .ide-line { overflow: hidden; text-overflow: ellipsis; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  body { cursor: auto; }
  .cursor,.cursor-ring,.cursor-glow { display: none; }

  nav { padding: 14px 20px; }
  .nav-links { display: none; }

  .hero { padding: 100px 20px 60px; }
  .hero-badge { margin-bottom: 24px; }
  .hero-headline { margin-bottom: 18px; }
  .hero-sub { margin-bottom: 36px; font-size: 15px; max-width: 100%; }
  .waitlist-form { flex-direction: column; max-width: 100%; gap: 8px; }
  .waitlist-btn { width: 100%; text-align: center; padding: 14px; cursor: pointer; }
  .waitlist-input { width: 100%; }

  /* IDE mobile */
  .hero-visual { margin-top: 40px; overflow: hidden; }
  .ide { overflow: hidden; border-radius: 10px; }
  .ide-titlebar { padding: 0 12px; gap: 6px; }
  .ide-title { font-size: 10px; }

  /* stack editor on top, ember panel below */
  .ide-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: 500px;
    overflow: hidden;
  }
  .ide-tree { display: none; }
  .ide-editor { grid-row: 1; min-height: 190px; }

  .ide-tabs { height: 28px; }
  .ide-tab { padding: 0 12px; font-size: 10px; }
  .ide-code { font-size: 11px; line-height: 1.6; overflow: hidden; }
  .ide-nums { min-width: 28px; font-size: 10px; padding-right: 6px; }
  .ide-nums div { padding: 0 4px; }
  .ide-lines { padding: 8px 0 8px 10px; overflow: hidden; }
  .ide-line { overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; }

  .ep-head { padding: 8px 12px; }
  .ep-body { padding: 10px 12px; gap: 8px; }
  .ep-obs { font-size: 10px; min-height: 0; }
  .ep-ref { font-size: 9.5px; padding: 7px 10px; }
  .ep-actions { flex-direction: row; margin-top: 0; }
  .ep-btn-primary { flex: 1; text-align: center; padding: 7px 10px; }
  .ep-btn-secondary { flex: 1; text-align: center; padding: 7px 10px; }
  .ep-foot { padding: 6px 12px; }

  .ide-status { padding: 0 10px; gap: 8px; font-size: 9px; height: 18px; }
  .ide-status-right { gap: 8px; }
  .ide-status-right span:last-child { display: none; }
  .ide-ember-dot { width: 4px; height: 4px; }

  /* playback controls mobile */
  .ide-controls { margin-top: 12px; gap: 8px; }
  .ide-ctrl-btn { padding: 6px 12px; font-size: 10px; }
  .ide-progress { max-width: 100px; }

  .section-wrap { padding: 72px 20px; }
  .section-title { margin-bottom: 12px; }
  .section-desc { font-size: 14px; margin-bottom: 36px; }

  .steps { grid-template-columns: 1fr; gap: 2px; }
  .step { padding: 28px 24px; }
  .step:first-child { border-radius: 12px 12px 0 0; }
  .step:last-child { border-radius: 0 0 12px 12px; }

  .diff-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .diff-card { padding: 24px 20px; }

  .features-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature-card { padding: 24px 20px; }

  /* .quote-section { padding: 56px 20px; }
  .quote-carousel { height: 280px; contain: strict; }
  .quote-text { font-size: 13px; } */

  .cta-section { padding: 72px 20px 100px; }
  .cta-sub { font-size: 14px; margin-bottom: 32px; }
  #cta-wrap .waitlist-form { flex-direction: column; max-width: 100%; gap: 8px; }
  #cta-wrap .waitlist-btn { width: 100%; text-align: center; }

  footer { flex-direction: column; gap: 16px; text-align: center; padding: 28px 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}