/* OsoftAI — design system
   Brand: deep forest green + acid lime, kept from the original site and refined. */
:root {
  color-scheme: dark;
  --bg: #06140f;
  --bg-2: #0a1d16;
  --panel: rgba(19, 42, 35, 0.62);
  --panel-solid: #10261e;
  --line: rgba(160, 210, 180, 0.14);
  --line-strong: rgba(190, 240, 200, 0.28);
  --text: #f2f7ee;
  --muted: #a9bfb2;
  --dim: #7d968a;
  --acid: #d3f88b;
  --acid-2: #9be15d;
  --teal: #3ee0b0;
  --danger: #ff8a7a;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* subtle film grain for depth */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--acid); color: var(--bg); }

h1, h2, h3 { font-family: var(--display); margin: 0 0 0.6em; letter-spacing: -0.035em; line-height: 1.05; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 6.6vw, 5.8rem); letter-spacing: -0.05em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
h1 em, h2 em { font-style: normal; background: linear-gradient(100deg, var(--acid) 10%, var(--teal) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0 0 1em; color: var(--muted); }
ul, ol { margin: 0; padding: 0; }

.wrap { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; position: relative; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 200; background: var(--acid); color: var(--bg); padding: 0.75rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 1rem; }

.eyebrow { font: 600 0.78rem/1.4 var(--font); letter-spacing: 0.16em; color: var(--acid); margin-bottom: 1rem; text-transform: uppercase; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); max-width: 38rem; color: var(--muted); }
.text-link { color: var(--acid); border-bottom: 1px solid rgba(211, 248, 139, 0.35); transition: border-color .2s; }
.text-link:hover { border-color: var(--acid); }
.text-link.big { font-size: 1.15rem; font-weight: 600; }
.note { font-size: 0.9rem; color: var(--dim); }

/* Buttons */
.button {
  --pad: 0.85rem 1.35rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font: 600 0.98rem/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.small { --pad: 0.6rem 1.05rem; font-size: 0.9rem; }
.button.wide { width: 100%; --pad: 1.05rem 1.35rem; }
.primary { background: linear-gradient(135deg, var(--acid), var(--acid-2)); color: #07170f; box-shadow: 0 10px 30px -10px rgba(211, 248, 139, 0.55); }
.primary:hover { box-shadow: 0 16px 40px -10px rgba(211, 248, 139, 0.75); color: #07170f; }
.ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(8px); }
.ghost:hover { border-color: var(--acid); color: var(--acid); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(6, 20, 15, 0.72); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { font: 700 1.5rem/1 var(--display); letter-spacing: -0.05em; display: inline-flex; align-items: center; }
.brand span { color: var(--acid); }
.brand .mark { margin-right: 0.35rem; display: inline-block; transition: transform .6s var(--ease); }
.brand:hover .mark { transform: rotate(180deg); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.button) { color: var(--muted); font-weight: 500; font-size: 0.96rem; position: relative; padding: 0.25rem 0; transition: color .2s; }
.nav-links a:not(.button)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:not(.button):hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:not(.button):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: -76px; padding-top: 76px; min-height: min(100vh, 900px); display: flex; align-items: center; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: 0.5; }
.glow-a { width: 520px; height: 520px; background: radial-gradient(circle, rgba(62, 224, 176, 0.45), transparent 65%); top: -140px; right: -80px; animation: float 16s ease-in-out infinite; }
.glow-b { width: 420px; height: 420px; background: radial-gradient(circle, rgba(211, 248, 139, 0.32), transparent 65%); bottom: -120px; left: -120px; animation: float 20s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 40px); } }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(4rem, 9vw, 7rem); position: relative; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 0.85rem; font-weight: 500; backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(211, 248, 139, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(211, 248, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(211, 248, 139, 0); } }
.hero h1 { margin-top: 1.4rem; }
.rotator { display: inline-block; color: var(--text); position: relative; }
.rotator.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(0.35em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; color: var(--dim); font-size: 0.92rem; }
.hero-points li::before { content: "✓"; color: var(--acid); margin-right: 0.45rem; font-weight: 700; }

/* Hero console card */
.console { border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(160deg, rgba(23, 52, 42, 0.85), rgba(9, 25, 19, 0.9)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06); backdrop-filter: blur(14px); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .6s var(--ease); }
.console:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.console-bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--dim); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c4a3e; }
.console-bar i:first-child { background: #ff7b6b; } .console-bar i:nth-child(2) { background: #f5c451; } .console-bar i:nth-child(3) { background: #5fd08a; }
.console-bar span:not(.tag) { margin-left: 0.5rem; font-family: ui-monospace, Consolas, monospace; }
.tag { margin-left: auto; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.1rem 0.55rem; font-size: 0.72rem; }
.console-body { padding: 1.5rem; }
.console-label { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; height: 170px; align-items: end; margin: 1rem 0 1.6rem; }
.bars div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 0.5rem; }
.bars span { width: 100%; height: var(--h); border-radius: 10px 10px 4px 4px; background: linear-gradient(to top, rgba(120, 160, 140, 0.25), rgba(160, 200, 180, 0.5)); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bars div:nth-child(2) span { animation-delay: .15s; } .bars div:nth-child(3) span { animation-delay: .3s; } .bars div:nth-child(4) span { animation-delay: .45s; }
.bars span.accent { background: linear-gradient(to top, var(--acid-2), var(--acid)); box-shadow: 0 0 30px rgba(211, 248, 139, 0.45); }
.bars small { color: var(--dim); font-size: 0.75rem; }
@keyframes grow { from { transform: scaleY(0); } }
.console-steps { list-style: none; display: grid; gap: 0.7rem; counter-reset: s; }
.console-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 0.2rem 0.75rem; font-size: 0.9rem; counter-increment: s; }
.console-steps li::before { content: counter(s); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(211, 248, 139, 0.12); color: var(--acid); font-weight: 700; font-size: 0.8rem; }
.console-steps b { color: var(--text); font-weight: 600; }
.console-steps span { color: var(--dim); }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 600 1.05rem var(--display); color: var(--dim); letter-spacing: -0.01em; white-space: nowrap; transition: color .2s; }
.marquee span:hover { color: var(--acid); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split.top { align-items: start; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.card, .case, .plan, .value, .feature, .panel, .detail-panel {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); backdrop-filter: blur(10px); padding: 1.75rem;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover, .case:hover, .plan:hover, .value:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card p:last-child, .case p:last-child, .value p:last-child, .feature p:last-child { margin-bottom: 0; }
.spotlight { overflow: hidden; display: block; }
.spotlight::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(211, 248, 139, 0.12), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spotlight:hover::before { opacity: 1; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.25rem; background: linear-gradient(135deg, rgba(211, 248, 139, 0.18), rgba(62, 224, 176, 0.08)); border: 1px solid rgba(211, 248, 139, 0.25); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--acid); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.more { display: inline-block; margin-top: 0.5rem; color: var(--acid); font-weight: 600; font-size: 0.92rem; transition: transform .25s var(--ease); }
.card:hover .more { transform: translateX(4px); }

/* Timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--acid), rgba(62, 224, 176, 0.5), transparent); }
.timeline li { position: relative; }
.step-no { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 1.4rem; background: var(--bg); border: 1px solid var(--acid); color: var(--acid); font: 700 1rem var(--display); box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(211, 248, 139, 0.25); }

/* Features */
.feature { padding: 1.5rem; }
.feature h3 { display: flex; align-items: center; gap: 0.6rem; }
.feature h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--acid); transform: rotate(45deg); flex: none; }

/* Use cases */
.case-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); background: rgba(62, 224, 176, 0.1); border: 1px solid rgba(62, 224, 176, 0.25); padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 1rem; }
.metric { font-size: 0.86rem; color: var(--acid); border-top: 1px dashed var(--line-strong); padding-top: 0.9rem; margin-top: 1rem; }

/* Quiz */
.panel { padding: clamp(1.5rem, 3vw, 2.25rem); }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font: 600 1.1rem var(--display); margin-bottom: 1rem; color: var(--text); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: block; height: 100%; padding: 0.85rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02); font-size: 0.93rem; transition: border-color .2s, background .2s, color .2s; }
.choices label:hover span { border-color: var(--acid); }
.choices input:checked + span { border-color: var(--acid); background: rgba(211, 248, 139, 0.1); color: var(--acid); }
.choices input:focus-visible + span { outline: 2px solid var(--acid); outline-offset: 2px; }
.recommendation { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); animation: swap .5s var(--ease); }
.recommendation dl { display: grid; gap: 0.75rem; margin: 0 0 1.25rem; }
.recommendation dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.recommendation dd { margin: 0.15rem 0 0; color: var(--muted); }

/* Plans */
.plan { display: flex; flex-direction: column; }
.plan-sub { color: var(--dim); font-size: 0.9rem; }
.plan ul { list-style: none; display: grid; gap: 0.6rem; margin: 0.5rem 0 1.75rem; flex: 1; }
.plan li, .checks li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.plan li::before, .checks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 2px solid var(--acid); border-bottom: 2px solid var(--acid); transform: rotate(-45deg) translateY(-3px); }
.plan.featured { border-color: rgba(211, 248, 139, 0.45); background: linear-gradient(160deg, rgba(211, 248, 139, 0.1), rgba(19, 42, 35, 0.7)); }
.badge { position: absolute; top: -12px; right: 1.5rem; background: var(--acid); color: var(--bg); font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 999px; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); transition: border-color .25s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.25rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--acid); font-size: 1.4rem; font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.2rem; margin: 0; }

/* CTA band */
.cta-band { padding-block: clamp(3rem, 6vw, 5rem); }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 28px; border: 1px solid rgba(211, 248, 139, 0.3); background: radial-gradient(600px circle at 0% 0%, rgba(211, 248, 139, 0.16), transparent 60%), radial-gradient(500px circle at 100% 100%, rgba(62, 224, 176, 0.14), transparent 60%), var(--panel-solid); overflow: hidden; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.cta-inner p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 4rem; background: #040e0a; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1rem; max-width: 26rem; font-size: 0.93rem; }
.site-footer h3 { font: 600 0.85rem var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.6rem; }
.site-footer li, .site-footer li a { color: var(--muted); font-size: 0.93rem; transition: color .2s; overflow-wrap: anywhere; }
.site-footer li a:hover { color: var(--acid); }
.socials { display: flex; gap: 0.6rem; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--muted); font-weight: 700; font-size: 0.85rem; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--acid); color: var(--acid); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.86rem; }
.footer-bottom a:hover { color: var(--acid); }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; margin-top: -76px; padding: calc(76px + clamp(4rem, 9vw, 7rem)) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); background: radial-gradient(800px circle at 85% 0%, rgba(62, 224, 176, 0.12), transparent 60%), var(--bg); }
.page-hero.compact { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero .wrap { z-index: 2; }
.not-found { min-height: 70vh; display: flex; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chips a { padding: 0.5rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 0.9rem; transition: border-color .2s, color .2s, background .2s; }
.chips a:hover { border-color: var(--acid); color: var(--acid); background: rgba(211, 248, 139, 0.06); }

/* Service details */
.service-no { display: block; font: 700 4.5rem/1 var(--display); letter-spacing: -0.06em; background: linear-gradient(180deg, rgba(211, 248, 139, 0.6), rgba(211, 248, 139, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.5rem; }
.detail-panel h3 { font-size: 1rem; letter-spacing: 0.02em; margin-bottom: 1rem; }
.detail-panel h3:not(:first-child) { margin-top: 1.75rem; }
.checks { list-style: none; display: grid; gap: 0.7rem; }
.detail-panel .metric { margin: 0; border: 0; padding: 0; }

/* About */
.prose p { font-size: 1.06rem; }
.prose.narrow { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.mission .card { padding: clamp(1.75rem, 4vw, 2.75rem); }
.mission h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.value-no { font: 700 0.9rem var(--display); color: var(--acid); display: block; margin-bottom: 1rem; }
.person { text-align: center; }
.person img, .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1.25rem; object-fit: cover; }
.avatar { display: grid; place-items: center; background: linear-gradient(135deg, var(--acid), var(--teal)); color: var(--bg); font: 700 1.8rem var(--display); }
.role { color: var(--acid); font-size: 0.9rem; font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; text-align: center; }
.facts span { display: block; color: var(--dim); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.facts strong { font: 600 1.5rem var(--display); }

/* Contact */
.contact-section { padding-top: clamp(3rem, 6vw, 5rem); }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: start; }
.contact-aside { display: grid; gap: 1.25rem; position: sticky; top: 96px; }
.contact-aside .card:hover { transform: none; }
.contact-aside h3 { font-size: 1rem; }
.card.subtle { background: transparent; }
.next-steps { list-style: none; display: grid; gap: 1rem; counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 0 0.8rem; counter-increment: n; font-size: 0.93rem; }
.next-steps li::before { content: counter(n); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(211, 248, 139, 0.12); color: var(--acid); font-weight: 700; font-size: 0.82rem; }
.next-steps b { color: var(--text); }
.next-steps span { color: var(--muted); }

.contact-form { display: grid; gap: 1.1rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; align-content: start; }
label { font-weight: 500; font-size: 0.92rem; color: var(--text); }
label span[aria-hidden] { color: var(--acid); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--text);
  background: rgba(4, 14, 10, 0.6); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23d3f88b' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
select option { background: var(--panel-solid); }
textarea { resize: vertical; min-height: 150px; }
input::placeholder, textarea::placeholder { color: var(--dim); }
input:hover, select:hover, textarea:hover { border-color: rgba(211, 248, 139, 0.4); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--acid); box-shadow: 0 0 0 4px rgba(211, 248, 139, 0.12); background: rgba(4, 14, 10, 0.85); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.error { color: var(--danger); font-size: 0.84rem; margin: 0; min-height: 0; }
.error:empty { display: none; }
.hint { font-size: 0.8rem; color: var(--dim); margin: 0; text-align: right; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 0.9rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 0.15rem; accent-color: var(--acid); padding: 0; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(7, 23, 15, 0.3); border-top-color: #07170f; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { border-radius: var(--radius-sm); padding: 1rem 1.15rem; font-size: 0.95rem; }
.form-status.ok { background: rgba(155, 225, 93, 0.12); border: 1px solid rgba(155, 225, 93, 0.45); color: var(--acid); }
.form-status.err { background: rgba(255, 138, 122, 0.1); border: 1px solid rgba(255, 138, 122, 0.4); color: var(--danger); }
.success-card { text-align: center; padding: 2rem 1rem; animation: swap .6s var(--ease); }
.success-card .check { width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--acid), var(--teal)); color: var(--bg); font-size: 2rem; font-weight: 700; box-shadow: 0 0 50px rgba(211, 248, 139, 0.4); }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--acid), var(--teal)); z-index: 60; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem 1.5rem; background: rgba(6, 20, 15, 0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a:not(.button) { padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a:not(.button)::after { display: none; }
  .nav-cta { margin-top: 1rem; }
  .site-header:has(.nav-links.open) { background: rgba(6, 20, 15, 0.97); }
  .hero { min-height: 0; }
  .hero-grid, .split, .section-head, .cta-inner { grid-template-columns: 1fr; }
  .console { transform: none; }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 2.5rem); }
  .grid-2, .grid-3, .timeline, .choices, .pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
