/* ==========================================================================
   defAInder — design system
   ========================================================================== */

:root {
  /* palette */
  --bg-0: #05070f;
  --bg-1: #0a0f1e;
  --bg-2: #0e1526;
  --bg-3: #121a30;
  --line: rgba(148, 178, 224, 0.14);
  --line-strong: rgba(148, 178, 224, 0.28);

  --text-0: #f3f6fc;
  --text-1: #c3cee3;
  --text-2: #8a97b5;
  --text-3: #5c6785;

  --cyan: #00e5ff;
  --cyan-dim: #0891a8;
  --green: #39ff9c;
  --green-dim: #1f9c62;
  --red: #ff4d6a;
  --amber: #ffb020;

  --grad-brand: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  --grad-bg: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 229, 255, 0.14), transparent 60%),
             radial-gradient(ellipse 60% 50% at 90% 10%, rgba(57, 255, 156, 0.08), transparent 60%);

  /* type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* metrics */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-glow-cyan: 0 0 0 1px rgba(0, 229, 255, 0.25), 0 8px 40px -8px rgba(0, 229, 255, 0.35);
  --shadow-glow-green: 0 0 0 1px rgba(57, 255, 156, 0.25), 0 8px 40px -8px rgba(57, 255, 156, 0.3);
  --shadow-card: 0 20px 60px -30px rgba(0, 0, 0, 0.7);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 600ms;
}

/* ---- reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-0);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---- utility ---------------------------------------------------------- */
.mono { font-family: var(--font-mono); }
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; top: -48px; left: 16px; z-index: 200;
  background: var(--bg-2); color: var(--text-0);
  padding: 10px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 14px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 255, 0.06);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px 2px rgba(57, 255, 156, 0.8);
}

.section { padding: 108px 0; position: relative; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-top: 16px; }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---- buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-brand);
  color: #04141a;
  box-shadow: var(--shadow-glow-cyan);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(0,229,255,.4), 0 12px 50px -10px rgba(0,229,255,.55); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text-0);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0,229,255,0.06); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---- header ---------------------------------------------------------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  padding: 18px 0;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), padding var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 7, 15, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text-0); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #04141a; font-weight: 800; font-size: 0.95rem;
  box-shadow: var(--shadow-glow-cyan);
}
.brand small { color: var(--cyan); font-family: var(--font-mono); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-1);
  font-size: 0.94rem;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--text-0); background: rgba(255,255,255,0.05); }
.nav-links a[aria-current="page"] { color: var(--cyan); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--text-0);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

/* ---- hero ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 140px;
  padding-bottom: 96px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-0);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--grad-bg);
  pointer-events: none;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,15,0.2) 0%, rgba(5,7,15,0.55) 62%, var(--bg-0) 100%),
              radial-gradient(ellipse 60% 50% at 50% 40%, transparent 30%, rgba(5,7,15,0.5) 100%);
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  max-width: 15ch;
}
.hero-copy .lede {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--text-1);
  max-width: 52ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; gap: 28px;
}
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--text-0); }
.hero-meta span { font-size: 0.82rem; color: var(--text-2); }

/* terminal card decoration */
.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(14,21,38,0.9), rgba(10,15,30,0.85));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.hero-panel-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.hero-panel-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); }
.hero-panel-bar span:nth-child(1) { background: var(--red); }
.hero-panel-bar span:nth-child(2) { background: var(--amber); }
.hero-panel-bar span:nth-child(3) { background: var(--green); }
.hero-panel-bar em {
  font-style: normal; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-2); margin-left: 8px;
}
.hero-panel-body { padding: 20px 20px 24px; font-family: var(--font-mono); font-size: 0.86rem; }
.hero-panel-body .line { display: flex; gap: 10px; padding: 6px 0; color: var(--text-2); border-bottom: 1px dashed var(--line); }
.hero-panel-body .line:last-child { border-bottom: 0; }
.hero-panel-body .tag { color: var(--green); }
.hero-panel-body .tag.alert { color: var(--red); }
.hero-panel-body .tag.warn { color: var(--amber); }
.hero-panel-body .val { color: var(--text-0); }
.hero-panel-footer {
  padding: 16px 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0, 229, 255, 0.04);
}
.hero-panel-footer .status { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--green); }
.hero-panel-footer .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px 2px rgba(57,255,156,.8); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---- hero hooded figure ---------------------------------------------------------- */
.hero-figure {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: min(48%, 560px);
  z-index: 1;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(0, 229, 255, 0.25));
}
.hero-figure .glow-line { stroke: url(#figureGrad); }
.hero-figure.is-animated .flicker { animation: flicker 3.4s ease-in-out infinite; }
.hero-figure.is-animated .scan { animation: scan 5.5s linear infinite; }
@keyframes flicker {
  0%, 19%, 21%, 100% { opacity: 1; }
  20% { opacity: 0.4; }
  55% { opacity: 0.85; }
  56% { opacity: 1; }
}
@keyframes scan {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(480%); opacity: 0; }
}
@media (max-width: 980px) {
  .hero-figure { width: min(60%, 340px); opacity: 0.45; right: -8%; bottom: -2%; }
}

/* ---- trust bar ---------------------------------------------------------- */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-1); }
.trust-bar .container {
  display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center;
  padding-block: 28px;
}
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 0.92rem; }
.trust-item svg { color: var(--cyan); flex-shrink: 0; }

/* ---- grid layouts ---------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---- cards ---------------------------------------------------------- */
.card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(0,229,255,0.35); box-shadow: var(--shadow-glow-cyan); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--cyan);
  margin-bottom: 22px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 0.95rem; }
.card .tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card .tag-list span {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-1);
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 4px 10px;
}

/* about split */
.about-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  overflow: hidden;
}
.about-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-1); }
.about-list svg { flex-shrink: 0; color: var(--green); margin-top: 3px; }

/* ---- stats ---------------------------------------------------------- */
.stats-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: radial-gradient(ellipse 100% 100% at 0% 0%, rgba(0,229,255,0.08), transparent 60%), var(--bg-2);
  padding: 56px 48px;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--text-0);
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: 10px; color: var(--text-2); font-size: 0.9rem; }
.stats-source { margin-top: 36px; text-align: center; color: var(--text-3); font-size: 0.8rem; }

/* ---- process ---------------------------------------------------------- */
.process-list { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-item { position: relative; padding: 30px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-1); }
.process-item::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--cyan);
  display: block; margin-bottom: 16px;
}
.process-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-item p { color: var(--text-2); font-size: 0.9rem; }
.process-item:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -22px; width: 22px; height: 1px;
  background: var(--line-strong); display: none;
}

/* ---- FAQ ---------------------------------------------------------- */
.faq-list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-1); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-family: var(--font-display); font-weight: 600; color: var(--text-0);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; position: relative;
  transition: transform var(--dur) var(--ease), border-color var(--dur);
}
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: ""; position: absolute; background: var(--cyan);
}
.faq-item summary .plus::before { width: 10px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 10px; }
.faq-item[open] summary .plus { transform: rotate(45deg); border-color: var(--cyan); }
.faq-item .faq-answer { padding: 0 24px 22px; color: var(--text-2); font-size: 0.95rem; max-width: 68ch; }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-2);
}
.cta-band::before {
  content: ""; position: absolute; inset: -40%; z-index: 0;
  background: conic-gradient(from 0deg, rgba(0,229,255,0.16), transparent 30%, rgba(57,255,156,0.14), transparent 70%);
  animation: spin 14s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .cta-band::before { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 24ch; margin-inline: auto; }
.cta-band p { margin-top: 14px; color: var(--text-2); }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }

/* ---- footer ---------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-1); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-about p { margin-top: 16px; color: var(--text-2); font-size: 0.92rem; max-width: 36ch; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-1); font-size: 0.92rem; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--text-1);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.82rem; color: var(--text-3);
}

/* ---- page hero (inner pages) ---------------------------------------------------------- */
.page-hero { padding: 170px 0 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-bg); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 18px; }
.page-hero p { margin-top: 18px; color: var(--text-2); font-size: 1.05rem; max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-3); }
.breadcrumb a:hover { color: var(--cyan); }

/* ---- forms ---------------------------------------------------------- */
.form-shell {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: flex-start;
}
.form-sidebar {
  position: sticky; top: 120px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  padding: 32px 28px;
}
.form-sidebar h3 { font-size: 1.1rem; margin-bottom: 14px; }
.form-sidebar ul { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.form-sidebar li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 0.9rem; }
.form-sidebar svg { flex-shrink: 0; color: var(--cyan); margin-top: 2px; }
.form-progress { margin-top: 28px; }
.form-progress-track { height: 6px; border-radius: var(--radius-pill); background: var(--bg-3); overflow: hidden; }
.form-progress-fill { height: 100%; width: 20%; background: var(--grad-brand); transition: width var(--dur) var(--ease); }
.form-progress-label { margin-top: 10px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-2); }

.card-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-1);
  padding: 40px;
}
.form-step { display: none; flex-direction: column; gap: 22px; }
.form-step.is-active { display: flex; }
.form-step-title { font-size: 1.3rem; margin-bottom: 4px; }
.form-step-hint { color: var(--text-2); font-size: 0.9rem; margin-top: -14px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.88rem; color: var(--text-1); font-weight: 500; }
.field .req { color: var(--cyan); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-0);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,255,0.15);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox-item {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 0.88rem; color: var(--text-1);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.checkbox-item:has(input:checked) { border-color: var(--cyan); background: rgba(0,229,255,0.06); color: var(--text-0); }
.checkbox-item input { accent-color: var(--cyan); width: 16px; height: 16px; }

.form-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 8px; }
.form-message { display: none; padding: 16px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; }
.form-message.is-success { display: block; border: 1px solid rgba(57,255,156,0.35); background: rgba(57,255,156,0.08); color: var(--green); }
.form-message.is-error { display: block; border: 1px solid rgba(255,77,106,0.35); background: rgba(255,77,106,0.08); color: var(--red); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---- contact page ---------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card { display: flex; flex-direction: column; gap: 16px; }
.contact-card a.value { font-family: var(--font-mono); font-size: 1.05rem; color: var(--text-0); }
.contact-card a.value:hover { color: var(--cyan); }
.map-frame {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  filter: grayscale(0.4) invert(0.92) contrast(0.9);
  aspect-ratio: 16/6.5;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-panel { max-width: 480px; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-shell { grid-template-columns: 1fr; }
  .form-sidebar { position: static; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 16px; right: 16px;
    background: var(--bg-1); border: 1px solid var(--line-strong); border-radius: var(--radius-md);
    padding: 12px; margin-top: 10px;
  }
  .section { padding: 76px 0; }
  .grid-3, .grid-4, .process-list, .footer-grid, .checkbox-grid, .field-row, .contact-grid { grid-template-columns: 1fr; }
  .stats-panel { padding: 40px 24px; }
  .cta-band { padding: 48px 26px; }
  .form-shell { gap: 24px; }
  .card-form { padding: 26px; }
}
