:root {
  color-scheme: light;
  --ink: #17151c;
  --muted: #5b6372;
  --line: #e3e7ef;
  --surface: #f6f7f9;
  --card: #fafbfd;
  --white: #fff;
  --soft: #ecf0f5;
  --purple: #7644e8;
  --purple-dark: #6330ca;
  --accent: #6831d0;
  --deep: #18152b;
  --deep-card: #25213a;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
}

body,
button,
a {
  font: inherit;
}

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

a:focus-visible,
video:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

p {
  color: var(--muted);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.page {
  min-height: 100vh;
  overflow: hidden;
}

.shell {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-180%);
  box-shadow: 0 10px 30px rgb(20 18 30 / 20%);
}

.skip-link:focus {
  transform: translateY(0);
}

.header {
  position: relative;
  z-index: 10;
}

.promo {
  min-height: 60px;
  display: grid;
  place-items: center;
  padding: 10px 32px;
  color: #fff;
  background: linear-gradient(100deg, #8855ee, #6924d8);
  text-align: center;
  font-size: 13px;
}

.promo p {
  margin: 0;
  color: inherit;
}

.promo a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-shell {
  width: min(1180px, calc(100% - 64px));
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 38px auto 0;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 16px 48px rgb(32 28 48 / 8%);
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
}

.brand strong {
  font-size: 17px;
  letter-spacing: -0.04em;
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.nav-links > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links > a:hover,
.footer a:hover {
  color: var(--accent);
}

.primary-button {
  min-height: 48px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 13px;
  color: #fff;
  background: var(--purple);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgb(118 68 232 / 24%);
}

.primary-button:hover {
  color: #fff !important;
  background: var(--purple-dark);
}

.nav-links .primary-button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 12px;
}

.hero {
  padding: 88px 0 72px;
}

.hero-grid,
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: stretch;
}

.hero-copy,
.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.story-copy h2,
.cta-panel h2,
.legal-hero h1 {
  margin-bottom: 22px;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(46px, 5.4vw, 76px);
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 30px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.video-frame,
.story-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 30px;
  background: #16131f;
  box-shadow: 0 26px 72px rgb(29 23 52 / 18%);
}

.video-frame video,
.story-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.section {
  padding: 104px 0;
  scroll-margin-top: 24px;
}

.white-section {
  background: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 46px;
}

.section-heading.centred {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.story-copy h2,
.cta-panel h2,
.legal-hero h1 {
  font-size: clamp(36px, 4vw, 58px);
}

.section-heading > p:last-child,
.story-copy > p:not(.eyebrow),
.cta-panel p {
  font-size: 18px;
  line-height: 1.7;
}

.three-grid,
.workflow-grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 48px rgb(29 23 52 / 6%);
}

.card h3 {
  margin-bottom: 14px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.card p {
  margin-bottom: 0;
}

.accent,
.step {
  color: var(--accent);
  font-weight: 850;
}

.step {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: #fff;
  background: var(--purple);
  font-size: 13px;
}

.benefits {
  display: grid;
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}

.benefits li > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-size: 13px;
  font-weight: 900;
}

.benefits p {
  margin: 0;
}

.reverse .story-copy {
  order: 2;
}

.reverse .story-image {
  order: 1;
}

.lane-divider {
  height: 22px;
  background: repeating-linear-gradient(
    -45deg,
    #7544e8 0 12px,
    #17151c 12px 24px
  );
}

.ticker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 42px;
  padding: 24px 32px;
  color: #fff;
  background: #17151c;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.deep-section {
  color: #fff;
  background: var(--deep);
}

.deep-section .eyebrow {
  color: #bd9cff;
}

.deep-section .card {
  border-color: #3d3658;
  background: var(--deep-card);
  box-shadow: none;
}

.deep-section .card p {
  color: #c8c1d9;
}

.contact-section {
  background: linear-gradient(135deg, #efe9ff, #f7f8fb 64%);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: 58px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 24px 70px rgb(63 36 120 / 12%);
}

.cta-panel h2 {
  max-width: 18ch;
}

.cta-panel p {
  max-width: 710px;
  margin-bottom: 0;
}

.footer {
  padding: 72px 0 28px;
  color: #f7f4ff;
  background: #15121d;
}

.footer p,
.footer a {
  color: #bdb7cb;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) repeat(2, minmax(150px, 1fr));
  gap: 58px;
}

.footer-brand p {
  max-width: 390px;
  margin-top: 14px;
}

.footer h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer nav,
.footer-grid > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer nav h2,
.footer-grid > div:last-child h2 {
  margin-bottom: 4px;
}

.footer a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #332d40;
  color: #8f889e;
  font-size: 12px;
}

.compact-header .nav-shell {
  margin-top: 28px;
}

.compact-footer {
  padding-top: 12px;
}

.compact-footer .footer-bottom {
  align-items: center;
  margin-top: 0;
  border-top: 0;
}

.compact-footer a {
  color: #c9c3d4;
}

.not-found {
  min-height: calc(100vh - 96px);
  display: grid;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.not-found .shell {
  max-width: 720px;
}

.not-found h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.not-found p:not(.eyebrow) {
  margin-bottom: 30px;
  font-size: 19px;
}

.not-found .primary-button {
  margin-inline: auto;
}

.legal-main {
  padding: 70px 0 100px;
}

.legal-hero {
  max-width: 850px;
  margin-bottom: 48px;
}

.legal-hero .lead {
  font-size: 19px;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.legal-nav strong {
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.legal-nav a {
  min-height: 36px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.legal-card h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.legal-card h3 {
  margin-top: 28px;
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .reverse .story-copy,
  .reverse .story-image {
    order: initial;
  }

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

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

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

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

  .legal-nav strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .shell,
  .nav-shell {
    width: min(100% - 32px, 1180px);
  }

  .promo {
    padding-inline: 18px;
  }

  .nav-shell {
    margin-top: 18px;
    padding: 14px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
  }

  .nav-links .primary-button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    padding: 58px 0 54px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .section {
    padding: 76px 0;
  }

  .hero-grid,
  .story-grid {
    gap: 38px;
  }

  .video-frame,
  .story-image,
  .video-frame video,
  .story-image img {
    min-height: 300px;
  }

  .three-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .cta-panel {
    padding: 32px 24px;
  }

  .cta-panel .primary-button {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .legal-main {
    padding-top: 50px;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 26px 22px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
