/* 9LMNTS Studio — High-End Cyber Creative Agency Design System
   Combines Apple HIG tactile polish, Linear/Vercel obsidian dark mode, and 9LMNTS hip-hop/urban tech energy */

:root {
  --bg: #08090C;
  --bg-2: #0C0D12;
  --bg-3: #11131A;
  --card: #101218;
  --card-2: #161922;
  --card-glass: rgba(16, 18, 26, 0.75);
  --card-hover: rgba(22, 25, 36, 0.85);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-highlight: rgba(255, 255, 255, 0.22);
  --text: #F4F2EE;
  --muted: #A3A09A;
  --dim: #6E6C68;
  --flame: #FF5500;
  --flame-2: #FF6A1A;
  --flame-soft: rgba(255, 85, 0, 0.12);
  --flame-glow: rgba(255, 85, 0, 0.35);
  --cyan: #00F0FF;
  --cyan-soft: rgba(0, 240, 255, 0.12);
  --green: #3DDC84;
  --green-soft: rgba(61, 220, 132, 0.14);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 10px;
  --max: 1240px;
  --display: "Syne", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Global Cyber Spatial Ambience */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 85% -15%, rgba(255, 85, 0, 0.15), transparent 60%),
    radial-gradient(900px 600px at -10% 35%, rgba(255, 85, 0, 0.06), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(0, 240, 255, 0.04), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, auto, 32px 32px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--muted); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; color: var(--text); }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; font-weight: 600; }
ul { padding-left: 1.1em; color: var(--muted); }
li { margin-bottom: .35em; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--flame); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 56px 0; position: relative; }
.border-top { border-top: 1px solid var(--line); }

/* ---------- Ambient Blooms ---------- */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
}
.ambient-glow.flame {
  width: 500px;
  height: 350px;
  background: radial-gradient(circle, var(--flame-glow) 0%, transparent 70%);
}
.ambient-glow.cyan {
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, transparent 70%);
}

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 90; padding: 12px 16px 16px;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.96) 0%, rgba(8, 9, 12, 0.75) 65%, transparent 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 20px;
  background: rgba(12, 14, 18, 0.78);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2); border-radius: 9999px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: border-color .25s ease;
}
.nav:hover { border-color: rgba(255, 85, 0, 0.3); }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  display: block; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--muted); border-radius: 9999px; transition: color .2s, background .2s, transform .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--text); background: rgba(255, 255, 255, 0.06);
}
.nav-links a[aria-current="page"] {
  border: 1px solid rgba(255, 85, 0, 0.3);
  color: #fff;
}
.nav-toggle {
  display: none; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2); color: var(--text); border-radius: 9999px;
  padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s cubic-bezier(0.16, 1, 0.3, 1), background .2s, border-color .2s, box-shadow .2s;
  font-family: var(--body);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--flame); color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(255, 85, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
  background: var(--flame-2);
  box-shadow: 0 12px 35px rgba(255, 85, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.btn-ghost {
  color: var(--text); border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(255, 85, 0, 0.6);
  background: rgba(255, 85, 0, 0.06);
  color: #fff;
}
.btn-pill { border-radius: 9999px; padding: 10px 22px; font-size: 14px; }
.btn .arrow { font-family: var(--mono); font-size: 13px; transition: transform .2s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Labels & Badges ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2);
  padding: 6px 14px; border-radius: 9999px; backdrop-filter: blur(10px);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: pulse-beacon 2s infinite ease-in-out;
}
@keyframes pulse-beacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--flame); margin-bottom: 16px; display: block; font-weight: 700;
}
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.accent { color: var(--flame); }
.soft { color: #A8A39A; }
.ok { color: var(--green); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 9999px; background: var(--flame-soft); color: var(--flame);
  border: 1px solid rgba(255, 85, 0, 0.3); font-weight: 600;
}
.badge.neutral {
  background: rgba(255, 255, 255, 0.04); color: var(--muted); border-color: var(--line-2);
}
.badge.cyan {
  background: var(--cyan-soft); color: var(--cyan); border-color: rgba(0, 240, 255, 0.3);
}
.badge.green {
  background: var(--green-soft); color: var(--green); border-color: rgba(61, 220, 132, 0.3);
}

/* ---------- Hero Section with Spatial Mesh Background ---------- */
.hero {
  position: relative;
  padding: 110px 0 84px;
  overflow: hidden;
}
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(8, 9, 12, 0.6) 0%, rgba(8, 9, 12, 0.88) 70%, #08090C 100%),
    radial-gradient(circle at 75% 20%, rgba(255, 85, 0, 0.18), transparent 50%),
    url('/assets/hero-spatial-mesh.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.95;
}
.hero > .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 5.8vw, 5.2rem); margin: 24px 0 24px; line-height: 1.04; }
.hero .lead { font-size: 1.15rem; max-width: 530px; line-height: 1.65; color: #CBC8C2; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 24px; }
.hero-note {
  display: flex; gap: 10px; align-items: center; font-family: var(--mono);
  font-size: 12px; color: var(--dim);
}

/* Page Hero Header (Interior Pages) */
.page-hero {
  position: relative;
  padding: 92px 0 48px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(255, 85, 0, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(16, 18, 24, 0.4), transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); max-width: 920px; margin-top: 18px; }
.page-hero .lead { font-size: 1.15rem; max-width: 720px; color: #CBC8C2; }

/* Workbench Interactive Mockup */
.workbench {
  background: linear-gradient(180deg, #13161D, #0D0F14);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  position: relative;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 85, 0, 0.15);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.wb-head, .wb-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; font-family: var(--mono); font-size: 11px;
  color: var(--dim); letter-spacing: .06em; text-transform: uppercase;
}
.wb-head { border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); }
.wb-foot { border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); }
.wb-body { padding: 22px; }
.wb-title { font-weight: 700; font-size: 1.15rem; margin: 8px 0 20px; color: var(--text); }
.wb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.wb-cell {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px;
  background: rgba(255, 255, 255, 0.02); font-family: var(--mono);
  font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .05em;
}
.wb-cell .big { font-family: var(--display); font-size: 1.6rem; color: var(--text); letter-spacing: -.02em; }
.bar { height: 4px; background: rgba(255, 255, 255, 0.06); border-radius: 4px; margin: 12px 0 8px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 78%; background: linear-gradient(90deg, var(--flame), var(--flame-2)); }
.wb-list { border: 1px solid var(--line); border-radius: 12px; padding: 6px 16px; background: rgba(0, 0, 0, 0.15); }
.wb-list div {
  display: flex; justify-content: space-between; padding: 11px 0;
  border-bottom: 1px solid var(--line); font-family: var(--mono);
  font-size: 11px; text-transform: uppercase; color: var(--muted); letter-spacing: .05em;
}
.wb-list div:last-child { border-bottom: 0; }
.wb-float {
  position: absolute; right: -12px; bottom: -20px;
  background: #151821; border: 1px solid var(--line-highlight);
  border-radius: 10px; padding: 12px 16px; font-size: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.6), 0 0 20px rgba(255,85,0,.15);
}
.wb-float b { display: block; color: var(--text); font-size: 13px; }

/* Telemetry Strip */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(16, 18, 24, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  margin: 32px 0;
}
.stat {
  display: flex; align-items: center; gap: 16px; padding: 26px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--display); font-weight: 800; font-size: 2.1rem; letter-spacing: -0.02em; }
.stat .lbl { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ---------- 3D Hardware Device Mockup Showcase ---------- */
.mockup-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #0A0B0E;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 85, 0, 0.2);
  margin-top: 40px;
}
.mockup-showcase img {
  width: 100%; height: auto; display: block; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mockup-showcase:hover img { transform: scale(1.02); }
.mockup-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 9999px;
  padding: 9px 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.mockup-chips {
  position: absolute; top: 24px; right: 24px;
  display: flex; gap: 8px; flex-wrap: wrap;
}

/* ---------- Bento Grid Architecture ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-8 { grid-column: span 8; }
.bento-col-12 { grid-column: span 12; }

.card {
  background: var(--card-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px; position: relative;
  transition: border-color .3s, transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s, background .3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.card:hover {
  border-color: rgba(255, 85, 0, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 85, 0, 0.12);
  background: var(--card-hover);
}
.card.feature {
  background: linear-gradient(180deg, rgba(255, 85, 0, 0.11), var(--card-glass) 50%);
  border-color: rgba(255, 85, 0, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 85, 0, 0.18);
}
.card .num-tag {
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  margin-bottom: 18px; display: block; letter-spacing: .08em;
}

.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); max-width: 740px; margin: 0; }
.section-head p { max-width: 440px; margin: 0; font-size: 1.05rem; }

/* ---------- Visual Case Study Showcase Cards (Rich Photography) ---------- */
.showcase-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #0E1016;
  border: 1px solid var(--line-2);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s, box-shadow .3s;
}
.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 85, 0, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 85, 0, 0.15);
}
.showcase-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #050608;
}
.showcase-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-card:hover .showcase-media img {
  transform: scale(1.06);
}
.showcase-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.1) 0%, rgba(8, 9, 12, 0.85) 90%, #0E1016 100%);
  pointer-events: none;
}
.showcase-tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: 9999px;
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
}
.showcase-score {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(61, 220, 132, 0.3);
  border-radius: 9999px;
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
}
.showcase-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.showcase-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.showcase-body p { font-size: 0.95rem; line-height: 1.55; }
.showcase-features { list-style: none; padding: 0; margin: 16px 0 24px; }
.showcase-features li {
  padding-left: 24px; position: relative; font-size: 13px; color: var(--muted); margin-bottom: 6px;
}
.showcase-features li::before {
  content: "→"; position: absolute; left: 0; color: var(--flame); font-family: var(--mono); font-size: 13px;
}
.showcase-actions { margin-top: auto; display: flex; gap: 10px; }

/* Pricing Elements */
.price { font-family: var(--display); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin: 16px 0 4px; }
.price small { font-family: var(--body); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.check { list-style: none; padding: 0; margin: 20px 0 26px; }
.check li { padding-left: 26px; position: relative; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--flame); font-family: var(--mono); font-weight: 700; font-size: 13px; top: 1px; }
.card .btn { width: 100%; justify-content: center; }

/* Comparison Table */
table.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.compare th { color: var(--text); font-weight: 700; background: rgba(255, 255, 255, 0.02); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.compare td:first-child { color: var(--text); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); padding: 8px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }

/* Steps / Roadmap Timeline */
.steps { counter-reset: step; }
.step {
  border-top: 1px solid var(--line); padding: 32px 0;
  display: grid; grid-template-columns: 140px 1fr 140px; gap: 24px; align-items: start;
}
.step .n { font-family: var(--mono); color: var(--flame); font-size: 14px; font-weight: 700; }
.step h3 { margin: 0 0 10px; font-size: 1.4rem; }
.step p { margin-bottom: 12px; font-size: 1rem; }

/* Banner / CTA Band */
.cta-band {
  background:
    radial-gradient(800px 300px at 100% 50%, rgba(255, 85, 0, 0.18), transparent 70%),
    linear-gradient(135deg, rgba(255, 85, 0, 0.12), rgba(16, 18, 24, 0.9) 60%),
    var(--card);
  border: 1px solid rgba(255, 85, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 85, 0, 0.15);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 0 0 14px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.copy-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 10px 12px 10px 16px;
  font-family: var(--mono); font-size: 13px; width: 100%; justify-content: space-between;
}
.copy-row button {
  background: var(--card-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 8px;
  padding: 7px 14px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.copy-row button:hover { background: var(--flame); border-color: var(--flame); color: #fff; }

/* FAQ Accordion */
details { border-top: 1px solid var(--line); padding: 22px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-family: var(--mono); color: var(--flame);
  font-size: 1.4rem; font-weight: 700; transition: transform .2s ease;
}
details[open] summary::after { content: "–"; transform: rotate(180deg); }
details p { margin: 14px 0 0; max-width: 800px; font-size: 1rem; line-height: 1.65; }

/* Forms */
form.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; background: #0A0B0E; border: 1px solid var(--line-2); color: var(--text);
  border-radius: 12px; padding: 14px 16px; font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.2);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hidden { display: none; }
.form-note { font-size: 12px; color: var(--dim); display: block; margin-top: 4px; }

/* Calculator */
.calc output { font-family: var(--display); font-size: 2.2rem; font-weight: 800; color: var(--text); }
input[type="range"] { accent-color: var(--flame); width: 100%; cursor: pointer; }
pre.code {
  background: #090A0D; border: 1px solid var(--line-2); border-radius: 14px;
  padding: 20px; overflow-x: auto; font-family: var(--mono); font-size: 13px;
  color: #E8E3DA; margin: 0; box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}

/* Legal / Prose */
.prose { max-width: 820px; }
.prose h2 { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.01em; font-weight: 700; margin: 2.4em 0 .6em; }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; }
.prose p, .prose li { color: #C5C1BA; font-size: 1.02rem; line-height: 1.7; }
.prose a { color: var(--flame); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.callout {
  border-left: 3px solid var(--flame); background: var(--flame-soft);
  padding: 18px 24px; border-radius: 0 14px 14px 0; margin: 24px 0;
}
.callout p { margin: 0; color: var(--text); font-weight: 500; }

/* Founder Section (About Page) */
.founder {
  display: grid; grid-template-columns: 380px 1fr; gap: 52px; align-items: start;
}
.founder-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #12141A, #0A0B0E);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 85, 0, 0.15);
}
.founder-photo {
  aspect-ratio: 4/5;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.founder-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 25% center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.founder-card:hover .founder-photo img { transform: scale(1.03); }
.founder-badge {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 16px;
}
.founder-badge .name { font-weight: 700; font-size: 15px; color: #fff; }
.founder-badge .role { font-family: var(--mono); font-size: 11px; color: var(--flame); }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line); margin-top: 60px; padding: 80px 0 36px;
  background: linear-gradient(180deg, transparent, rgba(12, 14, 18, 0.8));
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--dim); font-weight: 600; margin-bottom: 18px;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li a { color: var(--muted); font-size: 14px; transition: color .2s ease; display: inline-block; padding: 3px 0; }
.foot-grid li a:hover { color: var(--text); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--dim);
}

/* Reveal Transitions */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1), transform .6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive Viewports ---------- */
@media (max-width: 1080px) {
  .hero-grid, .cta-band, .founder { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .bento-col-4, .bento-col-6, .bento-col-8 { grid-column: span 12; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 90px 1fr; }
  .step > div:last-child { grid-column: 2; margin-top: -6px; }
  .founder-card { max-width: 420px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 16px; right: 16px;
    flex-direction: column; background: #101218; border: 1px solid var(--line-2);
    border-radius: 18px; padding: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.8);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 14px; }
  .nav .btn-pill.desktop { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .hero { padding: 90px 0 60px; }
  .g2, .g3, .g4, .row2, .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .cta-band { padding: 36px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .wb-float { right: 8px; bottom: -12px; }
}
