:root {
  --bg: #f6f4fb;
  --bg-soft: #fbfaff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: #141728;
  --surface-dark-soft: #1f2340;
  --surface-dark-muted: rgba(31, 35, 64, 0.82);
  --ink: #181726;
  --ink-soft: #5b5970;
  --ink-muted: #86839a;
  --line: rgba(24, 23, 38, 0.1);
  --line-strong: rgba(255, 255, 255, 0.12);
  --primary: #5742ff;
  --primary-strong: #4526ff;
  --primary-soft: rgba(87, 66, 255, 0.1);
  --accent-coral: #ff8c70;
  --accent-mint: #82d9be;
  --accent-sky: #8bc1ff;
  --accent-violet: #9d8cff;
  --shadow-lg: 0 32px 80px rgba(19, 16, 42, 0.16);
  --shadow-md: 0 18px 48px rgba(19, 16, 42, 0.12);
  --shadow-sm: 0 12px 28px rgba(19, 16, 42, 0.08);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --container-narrow: 1024px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(130, 217, 190, 0.12), transparent 34rem),
    radial-gradient(circle at top right, rgba(87, 66, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #13162c 0, #14172e 25rem, var(--bg) 25rem, var(--bg) 100%);
  min-height: 100vh;
}

body.subpage-body {
  background:
    radial-gradient(circle at top left, rgba(130, 217, 190, 0.12), transparent 26rem),
    radial-gradient(circle at top right, rgba(87, 66, 255, 0.08), transparent 22rem),
    linear-gradient(180deg, #f9f8fd 0, #f4f1fb 30rem, var(--bg) 100%);
}

body.subpage-dark {
  background: linear-gradient(180deg, #1a1835 0%, #0a0c1a 40rem, #0d0f1c 100%);
  color: #ffffff;
}

body.subpage-dark .subpage-topbar .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

body.subpage-dark .subpage-topbar .nav-link:hover,
body.subpage-dark .subpage-topbar .nav-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

body.subpage-dark .subpage-topbar .nav-cta {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

body.subpage-dark .subpage-topbar .nav-cta:hover,
body.subpage-dark .subpage-topbar .nav-cta:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18);
}

body.subpage-dark .legal-hero h1 {
  color: #ffffff;
}

body.subpage-dark .legal-hero p {
  color: rgba(255, 255, 255, 0.7);
}

body.subpage-dark .footer-row,
body.subpage-dark .footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

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

body.subpage-dark .legal-surface {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

body.subpage-dark .contact-label {
  color: rgba(255, 255, 255, 0.85);
}

body.subpage-dark .contact-field {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.subpage-dark .contact-field::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

body.subpage-dark .contact-info-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

body.subpage-dark .contact-info-card h3 {
  color: #ffffff;
}

body.subpage-dark .contact-info-card p {
  color: rgba(255, 255, 255, 0.7);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  overflow: clip;
}

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

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

.section {
  padding: 5.5rem 0;
}

.section.compact {
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.hero-shell {
  position: relative;
  padding-bottom: 4.25rem;
  background:
    linear-gradient(180deg, #1a1835 0%, #0a0c1a 62%, #0a0c1a 100%);
  border-bottom-left-radius: 42px;
  border-bottom-right-radius: 42px;
  box-shadow: var(--shadow-lg);
}

.hero-shell::before,
.hero-shell::after {
  display: none;
}

.site-nav {
  position: relative;
  z-index: 2;
  padding: 1.3rem 0;
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 150px;
  height: auto;
}

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

.nav-link {
  padding: 0.6rem 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.subpage-topbar .nav-link {
  color: var(--ink-soft);
}

.subpage-topbar .nav-link:hover,
.subpage-topbar .nav-link:focus-visible {
  color: var(--ink);
  background: rgba(87, 66, 255, 0.06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18);
}


.hero {
  position: relative;
  z-index: 2;
  padding-top: 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.hero-copy {
  max-width: 880px;
  text-align: center;
  color: #ffffff;
}

.hero-copy h1,
.feature-copy h2,
.section-heading h2,
.cta-copy h2,
.legal-hero h1 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.nowrap {
  white-space: nowrap;
}

.hero-copy h1 {
  font-size: clamp(3.7rem, 8vw, 6.6rem);
  white-space: nowrap;
}

.hero-copy p {
  max-width: 690px;
  margin: 1.35rem auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.button-primary,
.button-secondary,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.6rem;
  padding: 0.95rem 1.45rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button-primary,
.submit-button {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 140, 112, 0.96), rgba(87, 66, 255, 0.98));
  box-shadow: 0 22px 48px rgba(77, 54, 181, 0.28);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-2px);
}

.hero-art {
  width: min(100%, 1120px);
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hero-art img {
  width: 100%;
  border-radius: 24px;
}

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

.step-card,
.legal-surface,
.faq-item,
.cta-shell,
.logo-chip,
.subpage-topbar {
  backdrop-filter: blur(14px);
}

.step-card {
  display: grid;
  gap: 1.2rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.step-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.step-card h3,
.faq-title,
.integration-copy strong,
.cta-copy h3,
.legal-prose h2,
.legal-prose h3 {
  font-family: "Bricolage Grotesque", sans-serif;
}

.step-card h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.step-card p,
.section-heading p,
.feature-copy p,
.feature-list li,
.integration-copy p,
.cta-copy p,
.legal-prose p,
.legal-prose li,
.legal-prose td,
.legal-prose th,
.footer-row,
.subtle-copy {
  color: var(--ink-soft);
  line-height: 1.7;
}

.step-card figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(24, 23, 38, 0.08);
  background: #f8f8ff;
}

.step-card img {
  width: 100%;
}

.section-heading h2,
.feature-copy h2,
.cta-copy h2,
.legal-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 1rem auto 0;
  max-width: 650px;
  font-size: 1.08rem;
}

.integration-stage {
  position: relative;
  overflow: visible;
  padding: 2rem 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.integration-stage::before,
.integration-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.integration-stage::before {
  display: none;
}

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

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee 60s linear infinite;
}

.marquee-track.reverse {
  animation-direction: reverse;
  animation-duration: 70s;
}

.logo-chip {
  flex: 0 0 auto;
  min-width: min(14rem, calc(100vw - 4rem));
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.logo-chip img {
  width: auto;
  height: 100px;
}

.feature-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 40px;
  padding: 3rem;
  background:
    radial-gradient(circle at top left, rgba(87, 66, 255, 0.12), transparent 26rem),
    radial-gradient(circle at bottom right, rgba(130, 217, 190, 0.12), transparent 22rem),
    linear-gradient(180deg, #121624 0, #0d101a 100%);
  box-shadow: var(--shadow-lg);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 2rem;
  align-items: stretch;
}

.feature-copy {
  color: #ffffff;
}

.feature-copy p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.74);
}

.feature-copy em {
  font-family: "Lora", serif;
  font-style: italic;
  font-weight: 500;
}

.feature-list {
  display: grid;
  gap: 1.2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.76);
}

.feature-list strong {
  display: block;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.feature-visual {
  padding: 3rem;
  padding-left: 2rem;
  margin: -3rem;
  margin-left: 0;
  border-radius: 0 40px 40px 0;
  background: rgba(220, 215, 245, 0.3);
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
}

.feature-visual img {
  width: 100%;
  border-radius: 26px;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.faq-title {
  font-size: 1.12rem;
  font-weight: 600;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--primary-soft);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.95rem;
  height: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  min-height: 0;
}

.faq-panel-content {
  padding: 0 1.35rem 1.35rem;
}

.cta-shell {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  background:
    linear-gradient(180deg, #262347 0, #141728 100%);
  box-shadow: var(--shadow-lg);
}

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

.cta-copy {
  color: #ffffff;
}

.cta-copy p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.74);
}

.form-card {
  padding: 1.3rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.text-field {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.text-field:focus {
  outline: 2px solid rgba(139, 193, 255, 0.62);
  outline-offset: 2px;
}

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

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.96rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}

.subpage-topbar {
  padding: 1.3rem 0;
}

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

.subpage-topbar .nav-cta {
  color: var(--ink);
  background: rgba(87, 66, 255, 0.08);
  border-color: rgba(87, 66, 255, 0.12);
}

.legal-hero {
  padding-top: 4rem;
  padding-bottom: 0;
  text-align: center;
}

.legal-hero p {
  margin: 1rem auto 0;
  max-width: 700px;
  color: var(--ink-soft);
}

.legal-surface {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.legal-prose {
  display: grid;
  gap: 1.75rem;
}

.legal-prose h2,
.legal-prose h3 {
  margin: 0 0 0.8rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.legal-prose h2 {
  font-size: 1.7rem;
}

.legal-prose h3 {
  font-size: 1.15rem;
  margin-top: 1.6rem;
}

.legal-prose h2 + h3 {
  margin-top: 0;
}

.legal-prose p,
.legal-prose ul,
.legal-prose ol {
  margin: 0.7rem 0 0;
}

.legal-prose ul,
.legal-prose ol {
  padding-left: 1.25rem;
}

.legal-block {
  border-top: 1px solid rgba(24, 23, 38, 0.08);
  padding-top: 1.6rem;
}

.legal-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.policy-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(24, 23, 38, 0.08);
}

.policy-table th,
.policy-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(24, 23, 38, 0.08);
}

.policy-table tr:last-child td {
  border-bottom: 0;
}

.policy-table th {
  background: rgba(87, 66, 255, 0.06);
  color: var(--ink);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

  .marquee-track {
    animation: none !important;
  }
}

/* Hamburger button */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  position: relative;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
}

.subpage-topbar .nav-toggle span,
.subpage-body .nav-toggle span {
  background: var(--ink);
}

body.subpage-dark .subpage-topbar .nav-toggle span {
  background: #ffffff;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Increase tap target without changing visual size */
.nav-toggle::after {
  content: "";
  position: absolute;
  inset: -0.5rem;
}

@media (max-width: 1100px) {
  .feature-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .feature-visual {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 28px;
    padding: 2rem;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 4.5rem 0;
  }

  .section.compact {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-shell,
  .feature-shell,
  .legal-surface {
    padding: 2rem;
  }

  .hero-shell {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding-bottom: 2rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-grid {
    overflow: visible;
  }

  .hero-art {
    position: relative;
    width: 140%;
    margin-left: -20%;
    margin-right: -20%;
  }

  .hero-art::before,
  .hero-art::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%;
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
  }

  .hero-art::before {
    left: 8%;
    background: linear-gradient(to right, #0a0c1a 0%, rgba(10, 12, 26, 0.7) 30%, transparent 100%);
  }

  .hero-art::after {
    right: 8%;
    background: linear-gradient(to left, #0a0c1a 0%, rgba(10, 12, 26, 0.7) 30%, transparent 100%);
  }

  .hero-art img {
    width: 100%;
    border-radius: 24px;
  }

  .legal-hero + .section.compact {
    padding-top: 2rem;
  }

  /* Show hamburger, hide nav links */
  .nav-toggle {
    display: flex;
  }

  .site-nav,
  .subpage-topbar {
    position: relative;
    z-index: 50;
  }

  .site-nav-inner,
  .subpage-topbar .site-nav-inner {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1.5rem;
    background: #141728;
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 0;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border-radius: 14px;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  /* Subpage light nav menu background */
  .subpage-topbar .nav-links {
    background: #f9f8fd;
    border-color: var(--line);
  }

  .subpage-topbar .nav-links .nav-link {
    color: var(--ink-soft);
  }

  .subpage-topbar .nav-links .nav-link:hover {
    color: var(--ink);
    background: rgba(87, 66, 255, 0.06);
  }

  .subpage-topbar .nav-links .nav-cta {
    color: var(--ink);
    background: rgba(87, 66, 255, 0.08);
    border-color: rgba(87, 66, 255, 0.12);
  }

  /* Subpage dark nav menu background */
  body.subpage-dark .subpage-topbar .nav-links {
    background: #1a1835;
    border-color: rgba(255, 255, 255, 0.08);
  }

  body.subpage-dark .subpage-topbar .nav-links .nav-link {
    color: rgba(255, 255, 255, 0.8);
  }

  body.subpage-dark .subpage-topbar .nav-links .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }

  body.subpage-dark .subpage-topbar .nav-links .nav-cta {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .feature-shell {
    padding: 2rem;
  }

  .feature-copy h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
  }

  .section-heading h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

  .logo-chip img {
    height: 80px;
  }

  .logo-chip {
    min-width: 11rem;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 3.5rem 0;
  }

  .section.compact {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .legal-hero + .section.compact {
    padding-top: 1.25rem;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 136px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 10vw, 3.7rem);
    white-space: normal;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-shell {
    padding-bottom: 3rem;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .hero-art {
    width: 200%;
    margin-left: -50%;
    margin-right: -50%;
    padding: 0;
    border-radius: 0;
  }

  .hero-art::before,
  .hero-art::after {
    width: 30%;
  }

  .hero-art::before {
    left: 15%;
  }

  .hero-art::after {
    right: 15%;
  }

  .hero-art img {
    border-radius: 18px;
  }

  .feature-visual img,
  .step-card figure {
    border-radius: 18px;
  }

  .cta-shell,
  .feature-shell {
    padding: 1.4rem;
    border-radius: 26px;
  }

  .legal-surface {
    padding: 1.4rem;
    border-radius: 22px;
  }

  .step-card,
  .faq-item {
    border-radius: 22px;
  }

  .step-card h3 {
    font-size: 1.5rem;
  }

  .logo-chip img {
    height: 70px;
  }

  .logo-chip {
    min-width: 9rem;
    border-radius: 16px;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-heading h2,
  .feature-copy h2,
  .cta-copy h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .feature-visual {
    max-width: 100%;
    padding: 1.4rem;
    border-radius: 20px;
  }

  .feature-list li {
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-amount {
    font-size: 2.4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .faq-title {
    font-size: 1rem;
  }

  .legal-hero {
    padding-top: 2.5rem;
  }

  .legal-hero h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}

/* Pricing */

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

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--surface-dark);
  color: #ffffff;
}

.pricing-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.pricing-icon {
  font-size: 1.4rem;
}

.pricing-name {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.pricing-amount {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.pricing-period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  align-content: start;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.pricing-features li::before {
  content: "\2713";
  flex-shrink: 0;
  color: #4ade80;
  font-weight: 700;
}

.pricing-features li.pricing-includes {
  font-weight: 600;
  color: #ffffff;
}

.pricing-features li.pricing-includes::before {
  content: "\2713";
  visibility: hidden;
}

/* Pricing tooltips */

.tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.3rem;
  vertical-align: middle;
}

.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  flex-shrink: 0;
  padding-top: 0.5px;
  transition: border-color 180ms ease, color 180ms ease;
}

.tooltip-wrap:hover .tooltip-icon {
  border-color: rgba(255, 255, 255, 0.7);
  color: rgba(255, 255, 255, 0.85);
}

.tooltip-bubble {
  display: none;
}

.tooltip-popup {
  position: fixed;
  width: max-content;
  max-width: 15rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #1e2030;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  animation: tooltip-in 150ms ease;
}

.tooltip-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  border: 5px solid transparent;
  border-top-color: #1e2030;
}

@keyframes tooltip-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pricing-features {
  min-height: 0;
}

.pricing-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #5742ff, #4526ff);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.pricing-button:hover,
.pricing-button:focus-visible {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.contact-form-grid {
  display: grid;
  gap: 1.2rem;
}

.contact-label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.contact-field {
  border-color: var(--line);
  background: var(--bg-soft);
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info {
  display: grid;
  gap: 1.2rem;
}

.contact-info-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
}

.contact-info-card h3 {
  margin: 0 0 0.4rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-info-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    padding: 1.2rem;
  }
}

@media (max-width: 700px) {
  .pricing-card {
    padding: 1.5rem;
    border-radius: 22px;
  }

  .pricing-amount {
    font-size: 2.4rem;
  }

  .pricing-name {
    font-size: 1.3rem;
  }

  .contact-form-grid {
    gap: 1rem;
  }

  .contact-textarea {
    min-height: 120px;
  }

  .policy-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
