:root {
  --bg: #f3f6fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.72);
  --ink: #162235;
  --ink-soft: #58657d;
  --ink-muted: #7a859d;
  --line: rgba(92, 107, 138, 0.16);
  --accent: #5b68df;
  --accent-strong: #3c4cca;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow-lg: 0 30px 90px rgba(48, 65, 104, 0.14);
  --shadow-md: 0 18px 42px rgba(48, 65, 104, 0.1);
  --shadow-sm: 0 10px 22px rgba(48, 65, 104, 0.08);
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --page-width: min(1500px, calc(100% - 72px));
  --content-width: min(1280px, calc(100% - 72px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 0% 10%, rgba(173, 201, 240, 0.22), transparent 28%),
    radial-gradient(circle at 100% 18%, rgba(187, 190, 246, 0.18), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fb 52%, #eef2f8 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -10rem;
  left: -9rem;
  background: rgba(173, 201, 240, 0.22);
}

body::after {
  top: 9rem;
  right: -10rem;
  background: rgba(187, 190, 246, 0.18);
}

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

p,
li {
  color: var(--ink-soft);
  line-height: 1.74;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
}

.marketing-body,
.legal-body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.page-shell,
.site-header,
.section,
.site-footer,
.legal-layout {
  position: relative;
  z-index: 1;
}

.page-shell {
  width: 100%;
  margin: 0 auto;
}

.site-header,
.section,
.site-footer,
.legal-layout {
  width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 24px 0 0;
}

.site-header-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand-light .brand-text,
.brand-light .brand-subtext {
  color: #f5f8ff;
}

.brand-mark {
  width: 2.85rem;
  height: 2.85rem;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
}

.brand-text {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.brand-subtext {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.site-nav-overlay a {
  color: rgba(250, 251, 255, 0.88);
}

.site-nav a {
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 18px 38px rgba(60, 76, 202, 0.24);
}

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

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.88);
}

.hero-editorial {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 0 0 5.25rem;
}

.hero-editorial-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 26, 0.58) 0%, rgba(8, 14, 26, 0.32) 38%, rgba(8, 14, 26, 0.08) 70%, rgba(8, 14, 26, 0) 100%),
    linear-gradient(180deg, rgba(8, 14, 26, 0.2) 0%, rgba(8, 14, 26, 0) 32%, rgba(8, 14, 26, 0.1) 100%);
}

.hero-editorial-copy {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100% - 72px));
  margin: 0 auto;
  max-width: min(980px, calc(100% - 72px));
  padding-top: 8.7rem;
}

.hero-editorial-copy h1 {
  max-width: 15.7ch;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #f8fbff;
  text-shadow: 0 10px 30px rgba(8, 14, 26, 0.22);
}

.hero-text {
  margin: 1.45rem 0 0;
  max-width: 64ch;
  font-size: 1.06rem;
}

.hero-text-light {
  color: rgba(245, 248, 255, 0.84);
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.86rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(247, 250, 255, 0.88);
  font-size: 0.86rem;
  backdrop-filter: blur(12px);
}

.section {
  padding: 5.85rem 0;
  max-width: var(--content-width);
}

.section-editorial-intro {
  margin-top: 1.8rem;
  padding-top: 0;
}

.glass-card,
.feature-card,
.step-card,
.experience-card,
.trust-card,
.pricing-card,
.privacy-card,
.legal-sidebar,
.legal-content,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

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

.stat-card,
.feature-card,
.experience-card,
.trust-card,
.pricing-card,
.privacy-card,
.step-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.stat-card strong,
.feature-card h3,
.experience-card h3,
.trust-card h3,
.pricing-card h3,
.privacy-card h3,
.step-card h3 {
  font-size: 1.05rem;
}

.stat-card span {
  display: block;
  margin-top: 0.36rem;
}

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

.section-heading-compact {
  max-width: 42rem;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-heading p:last-child {
  margin: 1rem 0 0;
}

.editorial-spread {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 3.85rem;
  align-items: start;
}

.editorial-spread-reverse {
  grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
}

.editorial-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-lg);
}

.editorial-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.editorial-media-tall img {
  aspect-ratio: 4 / 5;
}

.image-caption {
  display: grid;
  gap: 0.34rem;
  padding: 1.2rem 1.25rem 1.25rem;
}

.image-caption strong {
  color: var(--ink);
  font-size: 1rem;
}

.image-caption span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.62;
}

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

.editorial-copy-stack-download {
  gap: 1.2rem;
}

.feature-grid,
.experience-grid,
.trust-grid,
.pricing-grid,
.privacy-panel {
  display: grid;
  gap: 1rem;
}

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

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: rgba(91, 104, 223, 0.12);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.step-card h3 {
  margin-top: 1rem;
}

.feature-card .icon-wrap,
.experience-card .icon-wrap,
.trust-card .icon-wrap,
.pricing-card .icon-wrap {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, #84c5f6 100%);
  box-shadow: 0 16px 32px rgba(91, 104, 223, 0.22);
  margin-bottom: 0.95rem;
}

.feature-card.accent,
.pricing-card.accent {
  background:
    linear-gradient(145deg, rgba(91, 104, 223, 0.16), rgba(132, 197, 246, 0.12)),
    rgba(255, 255, 255, 0.9);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto 0;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}

.trust-strip span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.experience-grid,
.trust-grid,
.pricing-grid,
.privacy-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-label {
  margin: 0 0 0.42rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.price-mark {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.price-mark strong {
  font-size: 2rem;
}

.contact-line {
  margin: 1rem 0 0;
}

.legal-header {
  padding-top: 20px;
}

.legal-layout {
  display: grid;
  gap: 1rem;
  padding: 2rem 0 3rem;
}

.legal-sidebar,
.legal-content {
  border-radius: 28px;
}

.legal-sidebar {
  padding: 1.4rem;
  align-self: start;
}

.legal-sidebar h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
}

.legal-meta {
  margin: 0.9rem 0 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.legal-toc {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.legal-toc a {
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.76);
}

.legal-content {
  padding: 1.35rem;
}

.legal-section + .legal-section {
  margin-top: 2rem;
}

.legal-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.legal-section h3 {
  font-size: 1.02rem;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.legal-callout {
  margin-top: 1rem;
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(91, 104, 223, 0.16);
  background: rgba(91, 104, 223, 0.08);
  color: var(--ink-soft);
}

.clean-list {
  margin: 0.95rem 0 0;
  padding-left: 1.1rem;
}

.clean-list li + li {
  margin-top: 0.42rem;
}

.site-footer {
  margin-top: 1rem;
  margin-bottom: 1.6rem;
  padding: 1.25rem 1.35rem;
  border-radius: 24px;
}

.footer-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links a {
  color: var(--ink-soft);
}

.footer-note {
  margin: 0.7rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .hero-editorial-copy {
    max-width: min(720px, calc(100% - 56px));
  }

  .editorial-spread,
  .editorial-spread-reverse {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

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

  .experience-grid,
  .trust-grid,
  .pricing-grid,
  .privacy-panel,
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --page-width: calc(100% - 28px);
    --content-width: calc(100% - 28px);
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .site-header-overlay {
    position: absolute;
    transform: translateX(-50%);
  }

  .brand {
    gap: 0.75rem;
  }

  .brand-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .brand-text {
    font-size: 0.96rem;
  }

  .brand-subtext {
    font-size: 0.78rem;
    max-width: 18rem;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.7rem;
    padding: 0.88rem 1rem;
    border-radius: 22px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .download-cta {
    display: none;
  }

  .hero-editorial {
    min-height: 92svh;
    padding-bottom: 3.4rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 14, 26, 0.34) 0%, rgba(8, 14, 26, 0.2) 34%, rgba(8, 14, 26, 0.44) 100%);
  }

  .hero-editorial-copy {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    padding-top: 10.4rem;
  }

  .hero-editorial-copy h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12vw, 4.15rem);
    line-height: 0.96;
  }

  .hero-text {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 1.35rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-badges {
    margin-top: 1.1rem;
  }

  .hero-badge {
    font-size: 0.82rem;
    padding: 0.52rem 0.8rem;
  }

  .hero-editorial-image {
    object-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 14, 26, 0.38) 0%, rgba(8, 14, 26, 0.2) 18%, rgba(8, 14, 26, 0.52) 100%),
      linear-gradient(90deg, rgba(8, 14, 26, 0.46) 0%, rgba(8, 14, 26, 0.18) 58%, rgba(8, 14, 26, 0.06) 100%);
  }

  .section {
    padding: 4.25rem 0;
  }

  .trust-strip {
    width: calc(100% - 28px);
    justify-content: flex-start;
    border-radius: 28px;
  }

  .footer-row,
  .footer-links {
    justify-content: flex-start;
  }
}
