:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #edf4f8;
  --muted: #a7b5c1;
  --quiet: #738394;
  --void: #070b12;
  --surface: #0b1624;
  --hairline: rgba(226, 240, 255, .14);
  --cyan: #4deaff;
  --purple: #b3a8ff;
  background: var(--void);
  color: var(--ink);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--void);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }
a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--cyan);
  color: #071116;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100% - 48px, 1240px);
  min-height: 80px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 650;
  letter-spacing: .015em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

.header-actions, .site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.7vw, 34px);
}
.nav-link, .site-footer nav a, .language-link {
  color: var(--muted);
  font-size: .88rem;
  text-decoration: none;
}
.nav-link:hover, .site-footer nav a:hover, .language-link:hover { color: var(--ink); }
.language-link {
  padding-left: clamp(12px, 2vw, 24px);
  border-left: 1px solid var(--hairline);
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid rgba(77, 234, 255, .5);
  border-radius: 999px;
  background: var(--cyan);
  color: #061117;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); background: #a0f5ff; border-color: #a0f5ff; }
.button-small { min-height: 40px; padding-inline: 16px; font-size: .82rem; }
.button-primary span { font-size: 1.1rem; }

.hero {
  display: grid;
  width: min(100% - 48px, 1140px);
  min-height: 690px;
  margin-inline: auto;
  padding: 78px 0 88px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .74fr);
  align-items: center;
  gap: clamp(48px, 10vw, 148px);
}
.hero-copy { max-width: 610px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 5vw, 4.4rem);
  font-weight: 580;
  letter-spacing: -.055em;
  line-height: 1.09;
}
.hero-description {
  max-width: 510px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.8vw, 1.2rem);
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; margin-top: 34px; }
.text-link { color: var(--ink); font-size: .9rem; text-decoration-color: var(--quiet); text-underline-offset: 5px; }
.text-link span { margin-left: 5px; color: var(--cyan); }
.hero-note { margin: 24px 0 0; color: var(--quiet); font-size: .84rem; }

.device {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(211, 234, 255, .19);
  border-radius: 37px;
  background: #020407;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 31px;
  background: var(--surface);
}
.device-hero { width: min(100%, 320px); justify-self: center; }

.journey {
  padding: 108px 24px 60px;
  border-top: 1px solid var(--hairline);
  background: var(--surface);
}
.section-heading { width: min(100%, 760px); margin: 0 auto 48px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading h2, .closing h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 570;
  letter-spacing: -.04em;
  line-height: 1.2;
}
.section-heading > p:last-child { margin: 16px 0 0; color: var(--muted); }
.feature {
  display: grid;
  width: min(100%, 1000px);
  min-height: 660px;
  margin: 0 auto;
  padding: 70px 0;
  grid-template-columns: minmax(0, .9fr) minmax(240px, .65fr);
  align-items: center;
  justify-content: space-between;
  gap: clamp(60px, 12vw, 170px);
  border-top: 1px solid var(--hairline);
}
.feature:nth-of-type(even) { grid-template-columns: minmax(240px, .65fr) minmax(0, .9fr); }
.feature:nth-of-type(even) .feature-device { grid-column: 1; grid-row: 1; }
.feature:nth-of-type(even) .feature-copy { grid-column: 2; grid-row: 1; }
.feature-copy { max-width: 430px; }
.feature-label { margin: 0 0 12px; color: var(--purple); font-size: .84rem; font-weight: 650; }
.feature-copy h3 { margin: 0; font-size: clamp(1.8rem, 3.7vw, 2.7rem); font-weight: 570; letter-spacing: -.04em; line-height: 1.25; }
.feature-copy > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.85; }
.feature-device { width: min(100%, 285px); justify-self: center; }

.closing {
  display: flex;
  min-height: 400px;
  padding: 90px 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.closing .eyebrow { margin-bottom: 15px; }
.closing h2 { max-width: 780px; }
.closing .button { margin-top: 28px; }

.site-footer {
  display: grid;
  width: min(100% - 48px, 1240px);
  min-height: 115px;
  margin-inline: auto;
  padding: 24px 0;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--hairline);
}
.footer-brand { font-size: .9rem; }
.footer-brand .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.site-footer > p { margin: 0; color: var(--quiet); font-size: .79rem; text-align: center; }
.site-footer nav { justify-content: flex-end; gap: 22px; }
.site-footer nav a { font-size: .79rem; }

/* Privacy pages share the site's navigation and colour system. */
.policy-main { width: min(100% - 40px, 860px); margin: 0 auto; padding: 64px 0 100px; }
.policy-intro { margin-bottom: 38px; padding-bottom: 24px; border-bottom: 1px solid var(--hairline); }
.policy-intro .eyebrow { margin-bottom: 12px; }
.policy-intro h1 { margin: 0; font-size: clamp(2.3rem, 6vw, 3.8rem); font-weight: 580; letter-spacing: -.05em; line-height: 1.14; }
.policy-intro p { max-width: 680px; margin: 18px 0 0; color: var(--muted); }
.policy-content { color: #d0dae2; font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.policy-content h1 { margin: 0 0 22px; color: var(--ink); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; letter-spacing: -.04em; }
.policy-content h2 { margin: 52px 0 14px; padding-top: 18px; border-top: 1px solid var(--hairline); color: var(--ink); font-size: 1.55rem; line-height: 1.35; }
.policy-content h3 { margin: 32px 0 10px; color: var(--ink); font-size: 1.18rem; line-height: 1.45; }
.policy-content p { margin: 16px 0; }
.policy-content ul, .policy-content ol { padding-left: 1.5em; }
.policy-content li { margin: 7px 0; padding-left: .2em; }
.policy-content li::marker { color: var(--cyan); }
.policy-content a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.policy-content strong { color: var(--ink); font-weight: 680; }
.policy-content code { padding: .1em .32em; border-radius: 5px; background: rgba(255, 255, 255, .08); color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
.policy-content hr { height: 1px; margin: 30px 0; border: 0; background: var(--hairline); }
.policy-content blockquote { margin: 22px 0; padding: 2px 0 2px 20px; border-left: 2px solid var(--purple); color: var(--muted); }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--hairline); border-radius: 12px; }
.policy-content table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.6; }
.policy-content th, .policy-content td { min-width: 140px; padding: 12px 14px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.policy-content th { background: rgba(255, 255, 255, .045); color: var(--ink); font-weight: 650; }
.policy-content tr:last-child td { border-bottom: 0; }
.policy-content th:last-child, .policy-content td:last-child { border-right: 0; }
.contents { margin: 28px 0 36px; padding: 20px 24px; border: 1px solid var(--hairline); border-radius: 16px; background: rgba(255, 255, 255, .025); }
.contents h2 { margin: 0 0 12px; border: 0; padding: 0; font-size: 1.04rem; }
.contents ol { display: grid; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 26px; }
.contents li { margin: 0; font-size: .9rem; }
.contents a { color: var(--muted); }
.contents a:hover { color: var(--cyan); }
.policy-header { margin-bottom: 0; }
.policy-footer { margin-top: 0; }

@media (max-width: 760px) {
  .site-header { width: min(100% - 32px, 1240px); min-height: 70px; }
  .brand { gap: 8px; font-size: .87rem; }
  .brand-mark { width: 29px; height: 29px; }
  .header-actions { gap: 12px; }
  .header-actions .nav-link { display: none; }
  .language-link { padding-left: 12px; font-size: .8rem; }
  .button-small { min-height: 38px; padding-inline: 13px; font-size: .76rem; }
  .hero { width: min(100% - 40px, 540px); min-height: auto; padding: 64px 0 82px; grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: clamp(2.15rem, 9vw, 2.75rem); }
  .hero-description { margin-top: 20px; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 27px; }
  .device-hero { width: min(78%, 300px); }
  .journey { padding: 76px 20px 42px; }
  .section-heading { margin-bottom: 36px; text-align: left; }
  .feature, .feature:nth-of-type(even) {
    width: min(100%, 540px);
    min-height: auto;
    padding: 54px 0 62px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-copy, .feature:nth-of-type(even) .feature-copy { grid-column: 1; grid-row: 1; }
  .feature-device, .feature:nth-of-type(even) .feature-device { grid-column: 1; grid-row: 2; width: min(72%, 270px); }
  .closing { min-height: 340px; padding-block: 72px; align-items: flex-start; text-align: left; }
  .closing h2 { font-size: 2.2rem; }
  .site-footer { width: min(100% - 40px, 540px); padding: 25px 0 32px; grid-template-columns: 1fr auto; gap: 14px; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .site-footer nav { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; flex-wrap: wrap; gap: 10px 22px; }
  .policy-main { width: min(100% - 36px, 860px); padding: 48px 0 76px; }
  .policy-intro h1 { font-size: 2.5rem; }
  .policy-content { font-size: .97rem; }
  .policy-content h2 { margin-top: 40px; }
  .contents { padding: 18px; }
  .contents ol { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
