:root {
  --bg: #ffffff;
  --bg-subtle: #f5f5f7;
  --text: #111111;
  --text-secondary: #6e6e73;
  --border: #d2d2d7;
  --border-subtle: #e8e8ed;
  --max: 1220px;
  --measure: 40rem;
  --header-h: 4.5rem;
  --ease: 180ms ease;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.cookie-dismissed .cookie-notice {
  display: none;
}

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

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--text);
  color: #fff;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(calc(100% - 2.5rem), 50rem);
  margin-inline: auto;
  text-align: left;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}

.wordmark-brand {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.wordmark-product {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--text-secondary);
  transition: color var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--text);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.86rem !important;
  transition: opacity var(--ease), transform var(--ease);
}

.nav-cta:hover {
  opacity: 0.82;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: 5px auto;
  background: var(--text);
  transition: transform var(--ease), opacity var(--ease);
}

body.nav-open .nav-toggle-bar:first-child {
  transform: translateY(3px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid var(--text);
  background: var(--text);
  color: #fff;
  cursor: pointer;
  transition: opacity var(--ease), transform var(--ease), background var(--ease), color var(--ease);
}

.btn:hover {
  opacity: 0.84;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--text);
  color: #fff;
  opacity: 1;
}

.btn--small {
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Typography helpers */

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.lede {
  font-size: clamp(1.1rem, 1.4vw, 1.28rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 40rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section h1,
.section h2,
.hero h1 {
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.section h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  max-width: 14ch;
}

.section-copy {
  max-width: 38rem;
  color: var(--text-secondary);
}

.section-copy p + p {
  margin-top: 1rem;
}

.section--flush {
  padding-top: 0;
}

.mt-xl {
  margin-top: 4.5rem;
}

.mt-m {
  margin-top: 1.25rem;
}

.hairline {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
}

/* Hero */

.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  max-width: 10ch;
}

.hero .lede {
  margin: 0 0 2rem;
}

.hero-art {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  min-height: 28rem;
  padding: 1.25rem;
}

.hero-art svg {
  width: 100%;
  height: auto;
}

/* Intro */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.intro-quote {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 16ch;
}

/* Worlds mosaic */

.worlds {
  background: var(--bg);
}

.worlds-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  align-items: end;
}

.worlds-head .section-copy {
  margin: 0;
}

.worlds-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

.panel {
  background: var(--bg);
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.panel--muted {
  background: var(--bg-subtle);
}

.panel--feature {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 26rem;
}

.panel--wide {
  grid-column: span 8;
}

.panel--five {
  grid-column: span 5;
}

.panel--four {
  grid-column: span 4;
}

.panel--six {
  grid-column: span 6;
}

.panel h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
  font-weight: 600;
}

.panel p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 28ch;
}

.panel-art {
  width: min(100%, 18rem);
  opacity: 0.92;
}

.panel-art svg {
  width: 100%;
}

/* Steps */

.steps {
  background: var(--bg-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.step {
  padding: 2rem 2rem 0 0;
}

.step + .step {
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}

.step-index {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.step h3 {
  margin: 0 0 0.75rem;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 28ch;
}

/* Marketing band / about */

.band {
  background: var(--text);
  color: #fff;
}

.band .eyebrow,
.band .section-copy,
.band .lede {
  color: rgba(255, 255, 255, 0.72);
}

.band .btn {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}

.band .btn:hover {
  opacity: 0.88;
}

.band .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.band .btn--ghost:hover {
  background: #fff;
  color: var(--text);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.about-details p {
  margin: 0 0 0.25rem;
  color: var(--text-secondary);
}

.about-details a {
  text-decoration: none;
}

.about-details a:hover {
  text-decoration: underline;
}

/* Page heroes for interior pages */

.page-hero {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.stack {
  display: grid;
  gap: 1.1rem;
  color: var(--text-secondary);
  max-width: 40rem;
}

.stack p,
.stack li {
  margin: 0;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--border-subtle);
}

.offer-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.offer-list strong {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.offer-list span {
  color: var(--text-secondary);
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  margin-top: 2.5rem;
}

.process article {
  background: var(--bg);
  padding: 1.8rem;
}

.process span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}

.process h2 {
  font-size: 1.35rem;
  margin: 0 0 0.7rem;
  max-width: none;
}

.process p {
  margin: 0;
  color: var(--text-secondary);
}

.note {
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 42rem;
}

/* Legal */

.legal {
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  text-align: left;
}

.legal .effective {
  color: var(--text-secondary);
  margin: 0 0 2.5rem;
}

.legal h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  max-width: none;
  margin: 2.4rem 0 0.8rem;
}

.legal p,
.legal li {
  color: var(--text-secondary);
}

.legal ul {
  padding-left: 1.15rem;
}

.legal address {
  font-style: normal;
  color: var(--text-secondary);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  background: var(--bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 2rem 2.5rem;
}

.footer-tagline {
  margin: 1rem 0 0;
  color: var(--text-secondary);
  max-width: 22ch;
}

.footer-label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li + li,
.footer-contact p + p,
.footer-company p + p {
  margin-top: 0.4rem;
}

.footer-nav a,
.footer-contact a {
  text-decoration: none;
  color: var(--text);
}

.footer-nav a:hover,
.footer-contact a:hover {
  opacity: 0.65;
}

.footer-company p,
.footer-contact p {
  margin: 0;
  color: var(--text-secondary);
}

.footer-legal {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Cookie notice */

.cookie-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: min(calc(100% - 2rem), 28rem);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.cookie-notice-inner {
  width: auto;
  margin: 0;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cookie-notice p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.cookie-notice a {
  color: var(--text);
}

/* Marketing split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.inset {
  background: var(--bg-subtle);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--border-subtle);
}

.inset h2 {
  font-size: 1.4rem;
  max-width: none;
  margin-bottom: 0.8rem;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero-grid,
  .intro-grid,
  .about-grid,
  .worlds-head,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .panel--feature,
  .panel--wide,
  .panel--five,
  .panel--four,
  .panel--six {
    grid-column: span 6;
    grid-row: auto;
    min-height: 14rem;
  }

  .panel--feature {
    min-height: 18rem;
  }
}

@media (max-width: 768px) {
  .wrap,
  .wrap--narrow {
    width: min(calc(100% - 1.75rem), var(--max));
  }

  .nav-toggle {
    display: block;
    z-index: 60;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1.25rem 1.25rem;
    gap: 0.35rem;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.7rem 0;
    font-size: 1.05rem;
  }

  .nav-cta {
    width: auto;
    margin-top: 0.35rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-art {
    min-height: 0;
    padding: 1rem;
  }

  .steps-grid,
  .process,
  .offer-list li {
    grid-template-columns: 1fr;
  }

  .step + .step {
    padding-left: 0;
    padding-top: 1.5rem;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .panel--feature,
  .panel--wide,
  .panel--five,
  .panel--four,
  .panel--six {
    grid-column: span 12;
  }

  .cookie-notice {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }

  .cookie-notice-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 1rem;
  }

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