:root {
  --bg: #f5f1e7;
  --bg-soft: #fffdf8;
  --bg-tint: #eef8f4;
  --ink: #10202a;
  --muted: #60707a;
  --line: rgba(16, 32, 42, 0.12);
  --line-strong: rgba(16, 32, 42, 0.2);
  --panel: rgba(255, 255, 255, 0.8);
  --panel-strong: #ffffff;
  --accent: #09936f;
  --accent-strong: #067257;
  --accent-soft: rgba(9, 147, 111, 0.1);
  --blue: #2867f0;
  --blue-soft: rgba(40, 103, 240, 0.11);
  --amber: #c58020;
  --amber-soft: rgba(197, 128, 32, 0.12);
  --shadow-lg: 0 28px 70px rgba(15, 32, 42, 0.12);
  --shadow-md: 0 18px 45px rgba(15, 32, 42, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(40, 103, 240, 0.12), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(9, 147, 111, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf8f1 0%, #f3efe4 44%, #f8f7f3 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(245, 241, 231, 0.76);
  border-bottom: 1px solid rgba(16, 32, 42, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
}

.brand-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(16, 32, 42, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 0 1rem;
}

.mobile-panel.is-open {
  display: grid;
  gap: 0.75rem;
}

.mobile-panel a {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.button,
.button-ghost,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button-ghost:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, #0ea789 100%);
  box-shadow: 0 16px 35px rgba(9, 147, 111, 0.25);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.button-ghost {
  color: var(--ink);
  border: 1px solid rgba(16, 32, 42, 0.1);
  background: transparent;
}

.hero {
  padding: 4.75rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(16, 32, 42, 0.08);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(9, 147, 111, 0.14);
}

.hero h1,
.page-hero h1 {
  margin: 1rem 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero p,
.page-hero p {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.65rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-row span::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
}

.hero-stage {
  position: relative;
}

.stage-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(238, 248, 244, 0.95) 42%, rgba(255, 255, 255, 0.88) 100%);
  border: 1px solid rgba(16, 32, 42, 0.08);
  box-shadow: var(--shadow-lg);
  padding: 1.3rem;
}

.stage-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -36% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 103, 240, 0.2), transparent 68%);
}

.stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 32, 42, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.stage-pill.is-live::before,
.status-dot {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.workspace-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.workspace-main,
.workspace-side,
.workspace-stat,
.spotlight,
.content-card,
.feature-card,
.policy-card,
.timeline-step,
.contact-card,
.legal-card,
.faq-item,
.surface-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 32, 42, 0.08);
  box-shadow: var(--shadow-md);
}

.workspace-main,
.workspace-side {
  padding: 1rem;
}

.workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.workspace-header strong,
.section-title,
.card-title,
.stat-number,
.surface-title,
.timeline-title,
.contact-card h3,
.legal-card h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.mini-kicker,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
}

.queue-list,
.panel-list,
.check-list,
.policy-list,
.mini-list,
.metric-list,
.footer-links {
  display: grid;
  gap: 0.8rem;
}

.queue-row,
.panel-row,
.metric-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(245, 248, 250, 0.9);
  border: 1px solid rgba(16, 32, 42, 0.06);
}

.queue-row strong,
.panel-row strong,
.metric-item strong {
  display: block;
  margin-bottom: 0.22rem;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
}

.workspace-side {
  display: grid;
  gap: 1rem;
}

.workspace-stat {
  padding: 1rem;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.stat-number {
  font-size: 2rem;
  margin: 0;
}

.surface-chip-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(9, 147, 111, 0.1);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 600;
}

.chip.is-blue {
  background: var(--blue-soft);
  color: #16479d;
}

.chip.is-amber {
  background: var(--amber-soft);
  color: #8c5812;
}

.section {
  padding: 2.6rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.section-title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.7;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1rem;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.surface-card,
.policy-card,
.contact-card,
.legal-card,
.content-card,
.spotlight,
.faq-item {
  padding: 1.3rem;
}

.feature-card p,
.surface-card p,
.policy-card p,
.content-card p,
.contact-card p,
.legal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-icon,
.surface-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(40, 103, 240, 0.16), rgba(9, 147, 111, 0.12));
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.surface-card {
  min-height: 100%;
}

.surface-title,
.card-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.spotlight {
  padding: 1.6rem;
  background: linear-gradient(145deg, rgba(16, 32, 42, 0.96), rgba(17, 63, 66, 0.95));
  color: #f7fbfa;
  overflow: hidden;
  position: relative;
}

.spotlight::after {
  content: "";
  position: absolute;
  inset: auto -6rem -5rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 103, 240, 0.38), transparent 68%);
}

.spotlight p,
.spotlight li {
  color: rgba(247, 251, 250, 0.74);
}

.spotlight .chip {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem;
}

.timeline-number {
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

.timeline-title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.check-list {
  margin-top: 1rem;
}

.check-list span,
.policy-list span,
.mini-list span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  color: var(--muted);
  line-height: 1.6;
}

.check-list span::before,
.policy-list span::before,
.mini-list span::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  margin-top: 0.45rem;
  background: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(9, 147, 111, 0.12);
}

.policy-card.is-highlight {
  background: linear-gradient(155deg, rgba(9, 147, 111, 0.08), rgba(255, 255, 255, 0.95));
}

.stats-band {
  padding: 1rem 0 0.4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1rem 1.15rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 32, 42, 0.08);
  box-shadow: var(--shadow-md);
}

.stat-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.comparison {
  display: grid;
  gap: 0.85rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 32, 42, 0.08);
}

.comparison-row.is-head {
  background: rgba(16, 32, 42, 0.92);
  color: #ffffff;
}

.comparison-row strong {
  display: block;
}

.page-hero {
  padding: 4.3rem 0 2.4rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.84fr);
  gap: 1.4rem;
  align-items: start;
}

.page-hero-card {
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 32, 42, 0.08);
  box-shadow: var(--shadow-lg);
}

.faq {
  display: grid;
  gap: 1rem;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: var(--ink);
}

.faq-item h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.faq-item.is-open .faq-body {
  max-height: 14rem;
  margin-top: 0.8rem;
}

.contact-layout,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: 1rem;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-card a,
.legal-card a,
.footer-links a {
  color: var(--blue);
}

.contact-card .button,
.contact-card .button-secondary {
  width: 100%;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background: rgba(16, 32, 42, 0.96);
  color: #f5f7f8;
  box-shadow: var(--shadow-lg);
}

.footer-copy p,
.footer-links a {
  color: rgba(245, 247, 248, 0.74);
}

.footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links a:hover {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.utility-note {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(16, 32, 42, 0.16);
  color: var(--muted);
}

.fine-print {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .contact-layout,
  .legal-layout,
  .workspace-shell {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions .button-secondary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .grid-3,
  .grid-2,
  .grid-4,
  .stats-grid,
  .comparison-row,
  .footer-shell,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .comparison-row.is-head {
    display: none;
  }

  .section-head,
  .stage-topbar,
  .workspace-header {
    align-items: start;
    flex-direction: column;
  }

  .hero {
    padding-top: 3.4rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.3rem, 13vw, 3.3rem);
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .brand-subtitle {
    display: none;
  }

  .stage-card,
  .page-hero-card,
  .feature-card,
  .surface-card,
  .policy-card,
  .content-card,
  .contact-card,
  .legal-card,
  .spotlight,
  .faq-item {
    padding: 1.05rem;
  }
}
