:root {
  --bg: #f4f7fd;
  --bg-soft: #eef3fb;
  --surface: #ffffff;
  --surface-alt: #edf2fa;
  --text: #0f172a;
  --muted: #334155;
  --line: #cad7ea;
  --primary: #1157f2;
  --primary-dark: #0b45c4;
  --focus: #f59e0b;
  --success: #06725f;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 14px 44px rgba(15, 23, 42, 0.12);
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 10%, rgba(20, 87, 242, 0.08), transparent 34%),
    radial-gradient(circle at 8% 26%, rgba(6, 114, 95, 0.08), transparent 30%),
    linear-gradient(180deg, #f7faff 0%, var(--bg) 46%, #f2f6fc 100%);
  line-height: 1.6;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 0.65rem 0.9rem;
  z-index: 1000;
}

.skip-link:focus-visible {
  left: var(--space-2);
  top: var(--space-2);
  border-radius: 0.45rem;
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(820px, 92vw);
}

h1,
h2,
h3 {
  line-height: 1.17;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  max-width: 20ch;
  margin-bottom: var(--space-3);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
}

.hero {
  position: relative;
  padding: clamp(2.8rem, 6vw, 5rem) 0 var(--space-6);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a8bddb 22%, #a8bddb 78%, transparent);
}

.hero-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.brand {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

.eyebrow {
  color: var(--success);
  font-weight: 700;
  margin: 0.4rem 0 0.9rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  margin-bottom: var(--space-4);
  max-width: 60ch;
}

.hero-visual {
  margin: 0;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #cfdcf0;
}

.flow-label {
  font: 700 20px "Avenir Next", "Segoe UI", sans-serif;
  fill: #0f2557;
}

.micro-note {
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: 0.96rem;
}

.pricing-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--space-3) 0 0;
  padding: 0;
}

.pricing-chips li {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #a6b8d3;
  border-radius: 999px;
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.42rem 0.72rem;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  border: 2px solid transparent;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: linear-gradient(145deg, #1c68ff, var(--primary));
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(145deg, #195eea, var(--primary-dark));
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-color: #95aac7;
}

.btn-secondary:hover {
  border-color: #5b7498;
  background: #fff;
  transform: translateY(-1px);
}

a:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.section {
  position: relative;
  padding: clamp(2.2rem, 5vw, 3.8rem) 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b7c9e2 24%, #b7c9e2 76%, transparent);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0, rgba(255, 255, 255, 0.48) 100%),
    var(--surface-alt);
}

.grid-cards {
  display: grid;
  gap: var(--space-3);
}

.card {
  background: var(--surface);
  border: 1px solid #cfdbec;
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.card .icon {
  color: #1157f2;
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.icon-list,
.steps {
  padding: 0;
  margin: 0;
}

.icon-list {
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.icon-list li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.6rem;
  align-items: start;
}

.icon-list .icon {
  color: #0c64db;
  margin-top: 0.22rem;
}

.steps {
  padding-left: 1.2rem;
}

.steps li {
  margin-bottom: var(--space-3);
}

.steps li:last-child {
  margin-bottom: 0;
}

.section-cta {
  margin-top: var(--space-4);
}

.placeholder-note {
  margin-top: var(--space-4);
  color: var(--muted);
  background: #fff;
  border: 1px dashed #97abc8;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
}

.founding {
  background:
    radial-gradient(circle at 10% 10%, rgba(17, 87, 242, 0.34), transparent 44%),
    linear-gradient(180deg, #0f1a33 0%, #101b37 100%);
  color: #dde7f7;
}

.founding::before {
  background: linear-gradient(90deg, transparent, #5f7fb1 22%, #5f7fb1 78%, transparent);
}

.founding h2,
.founding strong {
  color: #fff;
}

.founding .muted,
.founding p {
  color: #d2def2;
}

/* keep muted paragraphs tight when used directly under headings */
.section .muted {
  margin-top: 0.35rem;
}

.founding .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #9ab3d7;
}

.founding .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

details {
  background: #fff;
  border: 1px solid #cfdbec;
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm);
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.final-cta {
  padding-top: clamp(2.4rem, 4.5vw, 3.5rem);
  padding-bottom: clamp(2.8rem, 5vw, 3.7rem);
}

.footer {
  border-top: 1px solid #cfdbec;
  padding: 1.1rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .btn {
    padding-inline: 1.35rem;
  }

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

@media (max-width: 420px) {
  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
