:root {
  --bg: #05070b;
  --bg-elev: #0b1017;
  --panel: #101823;
  --panel-2: #141f2d;
  --line: rgba(255,255,255,0.08);
  --text: #eef3fb;
  --muted: #a8b2c3;
  --soft: #d6deeb;
  --accent: #6278ff;
  --accent-soft: rgba(98,120,255,0.14);
  --ok: #15b097;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 18px 60px rgba(0,0,0,0.28);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.brand-docseal {
  --accent: #1aa089;
  --accent-soft: rgba(26,160,137,0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 28%),
    radial-gradient(circle at top right, var(--accent-soft), transparent 26%),
    linear-gradient(180deg, #04060a 0%, #060910 100%);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--soft); line-height: 1.7; }
ul, ol { margin: 0; padding-left: 1.1rem; }
li { color: var(--soft); margin: 0.38rem 0; line-height: 1.6; }
strong { color: var(--text); }
small, .small { color: var(--muted); }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(5,7,11,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}
.brand-lockup img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-meta {
  font-size: 0.82rem;
  color: var(--muted);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header-nav a {
  color: var(--muted);
  font-size: 0.96rem;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--text);
}
.header-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  border: 1px solid transparent;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)), var(--accent);
  color: white;
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}
.button-secondary {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
  color: var(--text);
}
.button-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.08);
  color: var(--muted);
}
.hero {
  padding: 5.5rem 0 3rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 1.8rem;
  align-items: stretch;
  margin-top: 1.4rem;
}
.hero-copy {
  padding: 0.6rem 0;
}
.hero h1 {
  margin: 1.1rem 0 1rem;
  font-size: clamp(2.7rem, 5vw, 4.45rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 13ch;
}
.hero p.lead {
  font-size: 1.12rem;
  max-width: 60ch;
  color: var(--soft);
}
.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.hero-aside,
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.panel h3,
.hero-aside h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.panel p:last-child,
.hero-aside p:last-child {
  margin-bottom: 0;
}
.kpi-list,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--soft);
  font-size: 0.92rem;
}
.panel-stack {
  display: grid;
  gap: 1rem;
}
.stat-block {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
}
.stat-label {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-value {
  margin-top: 0.45rem;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 650;
}
main section {
  padding: 1.4rem 0 0.4rem;
}
.section-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.section-head p {
  max-width: 70ch;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding: 1.25rem;
  border-radius: 20px;
}
.card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.08rem;
  line-height: 1.28;
}
.card p:last-child { margin-bottom: 0; }
.steps {
  display: grid;
  gap: 1rem;
}
.step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}
.step-index {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: white;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent), var(--accent);
}
.step h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}
.notice {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.15rem;
  border-radius: 0 18px 18px 0;
  background: var(--accent-soft);
  margin-top: 1rem;
}
.notice p:last-child { margin-bottom: 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.price-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  padding: 1.35rem;
  border-radius: 22px;
}
.price-card.featured {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 18px 55px rgba(0,0,0,0.28);
}
.price-tier {
  display: inline-block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
}
.price-card h3 {
  margin: 0.65rem 0 0.45rem;
  font-size: 1.32rem;
}
.price-tag {
  margin: 0.35rem 0 0.9rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
}
.faq-list {
  display: grid;
  gap: 0.9rem;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.015);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.05rem;
  font-weight: 650;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-body {
  padding: 0 1.05rem 1rem;
}
.inline-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}
.cta-band {
  margin: 2.4rem 0 0;
  padding: 1.4rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, var(--accent-soft), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.012));
}
.cta-band h3 {
  margin: 0 0 0.65rem;
  font-size: 1.42rem;
}
.cta-band p {
  max-width: 60ch;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.site-footer {
  margin-top: 4.5rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1rem;
}
.footer-card {
  padding: 0.2rem 0;
}
.footer-card h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.footer-links {
  display: grid;
  gap: 0.55rem;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover { color: var(--text); }
.callout-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}
.hr {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 1.6rem 0;
}
code.inline {
  padding: 0.18rem 0.42rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
}
.legal-copy h2 {
  font-size: 1.4rem;
  margin-top: 1.8rem;
}
.legal-copy h3 {
  font-size: 1rem;
  margin-top: 1.2rem;
}
.legal-copy p,
.legal-copy li {
  max-width: 80ch;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 980px) {
  .hero-grid,
  .card-grid,
  .card-grid.two,
  .pricing-grid,
  .callout-row,
  .footer-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .card-grid.four {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 0;
  }
  .hero {
    padding-top: 4.4rem;
  }
  .hero h1 {
    max-width: none;
  }
  .step {
    grid-template-columns: 1fr;
  }
  .card-grid.four {
    grid-template-columns: 1fr;
  }
}
