:root {
  --bg: #07111f;
  --panel: rgba(8, 18, 35, 0.84);
  --panel-solid: #0e1b31;
  --text: #e7eef9;
  --muted: #a9bdd8;
  --line: rgba(169, 189, 216, 0.16);
  --accent: #5bd0ff;
  --accent-2: #7cf2c6;
  --accent-3: #ffd166;
  --danger: #ff9f8f;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(91, 208, 255, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(124, 242, 198, 0.12), transparent 24%),
    linear-gradient(180deg, #06101d 0%, #091728 48%, #06101d 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0 0 1rem; line-height: 1.15; }
ul, ol { margin: 0; padding-left: 1.2rem; }
img { max-width: 100%; }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
.narrow { width: min(860px, calc(100% - 2rem)); }
.section-space { padding: 5rem 0; }
.alt-bg { background: rgba(255,255,255,0.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 12, 23, 0.78);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.brand strong { display: block; font-size: 1rem; }
.brand small { display: block; color: var(--muted); font-size: 0.8rem; }
.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91, 208, 255, 0.22), rgba(124, 242, 198, 0.18));
  border: 1px solid rgba(91, 208, 255, 0.24);
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.header-nav a:hover { color: var(--text); }

.hero { padding: 4.75rem 0 3rem; }
.hero-grid, .tool-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.5rem;
  align-items: start;
}
.eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 208, 255, 0.24);
  background: rgba(91, 208, 255, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); max-width: 12ch; }
.lead { font-size: 1.1rem; max-width: 66ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 1rem;
}
.support-line { font-size: 0.95rem; max-width: 62ch; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}
.subtle { background: rgba(255, 255, 255, 0.04); box-shadow: none; }
.panel-title { font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.trust-list, .result ul, .prose-block ul { display: grid; gap: 0.8rem; color: var(--muted); }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #3ca4ff);
  color: #031321;
}
.btn-secondary {
  border: 1px solid rgba(169, 189, 216, 0.26);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.btn-full { width: 100%; border: 0; cursor: pointer; font-size: 1rem; }

.problem { padding: 1rem 0 0; }
.split-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
  align-items: start;
}
.section-heading { margin-bottom: 2rem; }
.section-heading p { max-width: 66ch; }
.feature-grid, .scenario-grid, .steps-grid, .result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card, .scenario-card { min-height: 100%; }
.feature-card h3, .scenario-card h3 { font-size: 1.1rem; }

.tool-form {
  background: linear-gradient(180deg, rgba(14, 27, 49, 0.98), rgba(10, 21, 39, 0.96));
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
label { display: grid; gap: 0.45rem; }
label span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
input, select, textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(169, 189, 216, 0.16);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  padding: 0.92rem 1rem;
  font: inherit;
}
textarea { min-height: 180px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(91, 208, 255, 0.4);
  border-color: rgba(91, 208, 255, 0.4);
}
.form-note { margin: 0.9rem 0 0; font-size: 0.9rem; }
.warning-card { border-color: rgba(255, 209, 102, 0.24); background: rgba(255, 209, 102, 0.07); }

.hidden { display: none !important; }
.result { margin-top: 2rem; }
.result-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.3rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(124, 242, 198, 0.12);
  border: 1px solid rgba(124, 242, 198, 0.24);
  color: var(--accent-2);
  font-weight: 700;
}
.result-grid article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.next-steps, .message-box {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.message-box textarea { min-height: 210px; }
.steps-grid article span {
  width: 2.3rem;
  height: 2.3rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(91, 208, 255, 0.12);
  color: var(--accent);
  font-weight: 800;
}
.faq-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-page summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
.faq-page details p { margin-top: 0.9rem; }
.faq-list { display: grid; gap: 1rem; }
.prose-block h2 { margin-top: 2rem; }
.prose-block p, .prose-block li { color: var(--muted); }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  background: rgba(0,0,0,0.18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.6fr 0.7fr;
  gap: 1rem;
  align-items: start;
}
.footer-grid a { display: block; margin-bottom: 0.55rem; color: var(--muted); }
.footer-grid a:hover { color: var(--text); }

@media (max-width: 980px) {
  .hero-grid, .tool-layout, .split-section, .footer-grid, .faq-strip,
  .feature-grid, .scenario-grid, .steps-grid, .result-grid {
    grid-template-columns: 1fr 1fr;
  }
  .faq-strip, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header-inner, .header-nav, .hero-actions { align-items: flex-start; }
  .header-inner, .header-nav, .hero-grid, .tool-layout, .split-section,
  .feature-grid, .scenario-grid, .steps-grid, .result-grid, .form-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .header-nav { gap: 0.6rem; }
  .hero { padding-top: 3.5rem; }
  .section-space { padding: 3.8rem 0; }
  .hero h1 { max-width: none; }
  .result-head { flex-direction: column; }
}
