/* ==========================================================================
   SLU Software — landing styles
   Palette: deep navy / charcoal + single teal accent
   ========================================================================== */

:root {
  --bg: #0A0F1A;
  --bg-2: #0D1422;
  --surface: #111A2B;
  --surface-2: #152036;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);
  --text: #E7ECF3;
  --text-2: #B4BFCE;
  --muted: #8A97AB;
  --accent: #2DD4BF;
  --accent-strong: #5EEAD4;
  --accent-ink: #042F2B;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --warn: #F5B84B;
  --danger: #F87171;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --header-h: 72px;
  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 50px -20px rgba(0,0,0,0.6);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--font-mono); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -10px rgba(45,212,191,.6); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: rgba(45,212,191,.5); background: var(--accent-soft); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 26, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 15, 26, 0.88); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.02em; }
.brand-name span { color: var(--muted); font-weight: 500; }

.nav-links { display: none; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; transition: color .2s var(--ease); position: relative; }
.nav-links a:hover, .nav-links a.is-current { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { display: none; }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.02); }
.lang-btn { background: none; border: 0; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--muted); cursor: pointer; transition: color .2s, background-color .2s; }
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { background: var(--accent-soft); color: var(--accent); }
.lang-sep { color: var(--line-strong); font-size: 12px; }

.nav-toggle { width: 42px; height: 42px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile menu */
@media (max-width: 959px) {
  .nav-links.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    padding: 12px 20px 24px; background: rgba(10,15,26,.98); border-bottom: 1px solid var(--line);
    animation: dropIn .25s var(--ease);
  }
  .nav-links.is-open a:not(.btn) { display: block; padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta-mobile { margin-top: 14px; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; align-items: center; gap: 30px; }
  .nav-links .nav-cta-mobile { display: none; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, rgba(148,163,184,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148,163,184,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
}
.glow {
  position: absolute; width: 720px; height: 720px; right: -200px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.16), rgba(45,212,191,0) 62%);
  filter: blur(10px);
}
.hero-inner { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .hero { padding: 96px 0 104px; }
  .hero-inner { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--text-2); background: rgba(255,255,255,.02);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(45,212,191,.14); } 50% { box-shadow: 0 0 0 7px rgba(45,212,191,.04); } }

.hero h1 { margin-top: 22px; font-size: clamp(2.2rem, 5.2vw, 3.75rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; max-width: 15ch; }
.hero h1 .accent { color: var(--accent); }
.lead { margin-top: 22px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--text-2); max-width: 58ch; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { margin-top: 32px; display: grid; gap: 10px; color: var(--text-2); font-size: 14.5px; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
@media (min-width: 640px) { .hero-points { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 22px; } }

/* Console visual */
.console {
  position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(21,32,54,.92), rgba(13,20,34,.96));
  box-shadow: var(--shadow), 0 40px 80px -40px rgba(45,212,191,.25);
  overflow: hidden;
}
.console::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(45,212,191,.5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.console-dots { display: flex; gap: 6px; }
.console-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(148,163,184,.25); }
.console-title { font-size: 12.5px; color: var(--text-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-badge { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.console-body { padding: 14px 10px; display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: 22px 1fr auto; align-items: start; gap: 12px; padding: 10px; border-radius: 10px; font-size: 14px; color: var(--text); }
.step .txt { line-height: 1.45; }
.step .tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; white-space: nowrap; margin-top: 1px; }
.step .ico { width: 20px; height: 20px; border-radius: 50%; margin-top: 1px; position: relative; }
.step.done .ico { background: var(--accent-soft); border: 1px solid rgba(45,212,191,.45); }
.step.done .ico::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.step.warn .ico { background: rgba(245,184,75,.12); border: 1px solid rgba(245,184,75,.5); }
.step.warn .ico::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 12px/1 var(--font-sans); color: var(--warn); }
.step.pending { grid-template-columns: 22px 1fr; color: var(--text-2); background: rgba(255,255,255,.025); border: 1px dashed var(--line-strong); margin-top: 6px; }
.step.pending .ico { border: 2px solid rgba(45,212,191,.25); border-top-color: var(--accent); animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.console-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.metric { display: flex; flex-direction: column; }
.metric-val { font-size: 22px; font-weight: 500; color: var(--text); letter-spacing: -0.02em; }
.metric-lbl { font-size: 12.5px; color: var(--muted); }
.bar { grid-column: 1 / -1; height: 6px; margin-top: 10px; border-radius: 99px; background: rgba(148,163,184,.12); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, rgba(45,212,191,.5), var(--accent)); transform-origin: left; }

/* Console step-in animation (only when JS + motion allowed) */
.js .console .step, .js .console .console-foot { opacity: 0; transform: translateY(6px); }
.js .console.is-playing .step, .js .console.is-playing .console-foot { animation: stepIn .5s var(--ease) forwards; }
.js .console.is-playing .step:nth-child(1) { animation-delay: .15s; }
.js .console.is-playing .step:nth-child(2) { animation-delay: .45s; }
.js .console.is-playing .step:nth-child(3) { animation-delay: .75s; }
.js .console.is-playing .step:nth-child(4) { animation-delay: 1.05s; }
.js .console.is-playing .step:nth-child(5) { animation-delay: 1.35s; }
.js .console.is-playing .step:nth-child(6) { animation-delay: 1.65s; }
.js .console.is-playing .console-foot { animation-delay: 1.95s; }
.js .console.is-playing .bar span { animation: grow 1.2s var(--ease) 2.1s both; }
@keyframes stepIn { to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-inner { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.trust-label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-list li { font-family: var(--font-display); font-size: 13.5px; font-weight: 500; color: var(--text-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.015); }
@media (min-width: 1024px) {
  .trust-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .trust-list { justify-content: flex-end; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .section { padding: 120px 0; } }
.section-head { max-width: 720px; margin-bottom: 48px; }
.kicker { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; }
.section-lead { margin-top: 16px; color: var(--text-2); font-size: 1.08rem; max-width: 60ch; }

/* Cards */
.cards { display: grid; gap: 18px; }
@media (min-width: 720px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(17,26,43,.6));
  transition: border-color .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
.card:hover { border-color: rgba(45,212,191,.4); transform: translateY(-3px); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(45,212,191,.3); color: var(--accent); }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.2rem; margin-top: 6px; }
.card p { color: var(--text-2); font-size: 15px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chips li { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }

/* Steps */
.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step-card { position: relative; padding: 26px 24px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.step-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); border-radius: 2px; opacity: .8; }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.step-num { font-size: 13px; color: var(--accent); font-weight: 500; }
.step-meta { font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.step-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step-card p { color: var(--text-2); font-size: 15px; }

/* Tabs + use cases */
.tabs { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 28px; }
@media (max-width: 520px) { .tabs { display: flex; flex-wrap: wrap; width: 100%; } .tab { flex: 1 1 auto; text-align: center; } }
.tab { position: relative; z-index: 1; background: none; border: 0; padding: 10px 18px; font-weight: 600; font-size: 14.5px; color: var(--muted); border-radius: 9px; cursor: pointer; transition: color .2s; }
.tab.is-active { color: var(--accent-ink); }
.tab-indicator { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 9px; background: var(--accent); transition: transform .3s var(--ease), width .3s var(--ease); }
.no-js .tab.is-active { background: var(--accent); }
.uc-grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .uc-grid { grid-template-columns: repeat(3, 1fr); } }
.uc-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(21,32,54,.7), rgba(17,26,43,.4)); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.uc-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.uc-tag { display: inline-block; font-size: 11.5px; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 6px; margin-bottom: 14px; }
.uc-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.uc-card p { color: var(--text-2); font-size: 15px; }
.uc-panel.is-entering .uc-card { animation: stepIn .45s var(--ease) both; }
.uc-panel.is-entering .uc-card:nth-child(2) { animation-delay: .04s; }
.uc-panel.is-entering .uc-card:nth-child(3) { animation-delay: .08s; }
.uc-panel.is-entering .uc-card:nth-child(4) { animation-delay: .12s; }
.uc-panel.is-entering .uc-card:nth-child(5) { animation-delay: .16s; }
.uc-panel.is-entering .uc-card:nth-child(6) { animation-delay: .2s; }
.uc-panel.is-entering .uc-card { opacity: 0; transform: translateY(6px); }

/* Why */
.why-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-col { padding: 32px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.why-col-accent { background: linear-gradient(160deg, rgba(45,212,191,.08), rgba(17,26,43,1) 45%); border-color: rgba(45,212,191,.28); }
.why-col > h3 { font-size: 1.35rem; margin-bottom: 22px; }
.why-list { display: grid; gap: 20px; }
.why-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.why-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.why-ico svg { width: 16px; height: 16px; }
.why-list h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
.why-list p { color: var(--text-2); font-size: 15px; }

/* About */
.about { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .about { grid-template-columns: 1.25fr 0.75fr; gap: 72px; } }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p:not(.kicker) { color: var(--text-2); font-size: 1.06rem; margin-top: 14px; max-width: 62ch; }
.facts { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.fact dd { margin: 0; font-weight: 500; text-align: right; }
.fact-domain dd { color: var(--accent); font-family: var(--font-mono); font-size: 15px; }

/* Contact */
.section-contact { background: radial-gradient(ellipse 60% 60% at 15% 0%, rgba(45,212,191,.08), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.contact { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.contact-meta { margin-top: 32px; display: grid; gap: 14px; }
.contact-meta li { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.015); }
.contact-meta span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-meta a { color: var(--accent); font-weight: 500; }
.contact-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-wrap { padding: 28px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-wrap { padding: 36px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--text-2); padding: 0; }
.field legend { margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(10,15,26,.6); color: var(--text); font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #66748A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45,212,191,.18); background: rgba(10,15,26,.85); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(248,113,113,.14); }
.field-error { min-height: 0; font-size: 13px; color: var(--danger); }
.field-error:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select select option { background: var(--surface); color: var(--text); }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 1.6px 1.6px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.segmented { display: inline-flex; gap: 6px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(10,15,26,.6); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: inline-block; padding: 8px 16px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s; }
.segmented input:checked + span { background: var(--accent-soft); color: var(--accent); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-top: 18px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(248,113,113,.4); background: rgba(248,113,113,.08); color: #FECACA; font-size: 14px; }
.form-foot { margin-top: 24px; display: flex; flex-direction: column-reverse; gap: 16px; align-items: stretch; }
.form-note { font-size: 13px; color: var(--muted); }
@media (min-width: 640px) { .form-foot { flex-direction: row; align-items: center; justify-content: space-between; } .form-note { max-width: 46ch; } }

.form-success { text-align: center; padding: 32px 8px; outline: none; }
.success-icon { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(45,212,191,.45); color: var(--accent); animation: pop .5s var(--ease); }
.success-icon svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--text-2); margin-bottom: 24px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #080C15; padding-top: 64px; }
.footer-inner { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 40ch; }
.footer-domain { color: var(--accent) !important; font-size: 13.5px !important; }
.footer-nit { color: var(--muted) !important; font-size: 12.5px !important; margin-top: 6px; }
.footer-bottom-left { display: grid; gap: 4px; }
.footer-bottom .footer-nit { margin-top: 0; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 28px; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.disclaimer { font-size: 12px; color: #6B788C; max-width: 90ch; }
@media (min-width: 900px) { .footer-bottom { grid-template-columns: auto 1fr; gap: 32px; } .disclaimer { text-align: right; justify-self: end; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }
.hero-copy .reveal:nth-child(2) { transition-delay: .06s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .12s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .18s; }
.hero-copy .reveal:nth-child(5) { transition-delay: .24s; }

/* i18n swap fade */
.i18n-swapping [data-i18n], .i18n-swapping [data-i18n-html] { transition: opacity .15s; opacity: .35; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .console .step, .js .console .console-foot { opacity: 1 !important; transform: none !important; }
}

/* ---------- Overflow guards (grid items default to min-width:auto) ---------- */
.hero-inner > *, .contact > *, .about > *, .why-grid > *, .uc-grid > *, .cards > *, .steps > * { min-width: 0; }
.eyebrow { max-width: 100%; }
.eyebrow span:last-child { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .hero { padding-top: 40px; }
  .hero-ctas .btn { width: 100%; }
  .step { grid-template-columns: 22px 1fr; }
  .step .tag { display: none; }
  .console-badge { display: none; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 10px 8px; }
  .fact { flex-direction: column; gap: 4px; }
  .fact dd { text-align: left; }
}
