:root {
  color-scheme: light dark;
  --cobalt: oklch(0.34 0.159 262.4);
  --cobalt-strong: oklch(0.29 0.15 262.4);
  --cobalt-soft: oklch(0.92 0.035 262.4);
  --ink: oklch(0.19 0.018 262.4);
  --muted: oklch(0.43 0.018 262.4);
  --surface: oklch(0.985 0.006 262.4);
  --surface-raised: oklch(1 0 0);
  --surface-dark: oklch(0.23 0.015 262.4);
  --line: oklch(0.86 0.012 262.4);
  --lcd: oklch(0.87 0.025 145);
  --radius-control: 10px;
  --radius-container: 14px;
  --page: min(1180px, calc(100% - 40px));
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in oklch, var(--line), transparent 30%);
  background: color-mix(in oklch, var(--surface), transparent 7%);
  backdrop-filter: blur(14px);
}

.nav {
  width: var(--page);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 620;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--cobalt);
}

.language-link {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 9vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.status-line::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cobalt);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7.2vw, 5.9rem);
  font-weight: 780;
}

h2 {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  font-weight: 760;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.hero-copy > p:not(.status-line),
.section-intro,
.legal-lede {
  max-width: 65ch;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: var(--radius-control);
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--cobalt);
  color: white;
}

.button-primary:hover {
  background: var(--cobalt-strong);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface-raised);
}

.button-light {
  background: white;
  color: oklch(0.2 0.015 262.4);
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cobalt);
  font-weight: 740;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link-light {
  color: white;
}

.hub-hero {
  width: var(--page);
  margin: clamp(28px, 5vw, 64px) auto 0;
  padding: clamp(58px, 9vw, 110px) clamp(28px, 7vw, 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: clamp(44px, 8vw, 110px);
  background: var(--cobalt);
  color: white;
  box-shadow: 16px 16px 0 var(--cobalt-soft);
}

.hub-hero h1 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(3.35rem, 7.5vw, 6.4rem);
}

.hub-intro p {
  max-width: 50ch;
  margin: 0 0 26px;
  color: oklch(0.94 0.016 262.4);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.hub-intro .text-link {
  color: white;
}

.app-roster {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(110px, 15vw, 190px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.section-heading h2 {
  max-width: none;
  margin-bottom: 12px;
}

.section-heading p:not(.section-number) {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-number {
  margin: 8px 0 0;
  color: var(--cobalt);
  font-size: 0.9rem;
  font-weight: 780;
}

.app-entry {
  margin-top: clamp(60px, 9vw, 104px);
  padding: clamp(44px, 7vw, 82px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 9vw, 120px);
  border-block: 1px solid var(--line);
}

.app-entry + .app-entry {
  margin-top: 0;
  border-top: 0;
}

.app-entry-copy {
  max-width: 650px;
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 22px;
}

.app-identity img {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  box-shadow: 0 7px 16px color-mix(in oklch, var(--ink), transparent 84%);
}

.app-identity h3 {
  margin: 3px 0 0;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}

.product-status,
.product-family {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.product-status::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  content: "";
}

.status-candidate::before {
  background: var(--cobalt);
}

.status-building::before {
  background: oklch(0.71 0.15 150);
}

.app-summary {
  max-width: 59ch;
  margin: 30px 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.65vw, 1.28rem);
}

.inline-facts {
  margin: 0 0 34px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  list-style: none;
}

.inline-facts li::before {
  margin-right: 8px;
  color: var(--cobalt);
  content: "—";
}

.phone-specimen {
  width: min(100%, 310px);
  margin: 0 auto;
}

.phone-frame {
  width: 100%;
  padding: 7px;
  overflow: hidden;
  border: 2px solid oklch(0.12 0.012 262.4);
  border-radius: 34px;
  background: oklch(0.12 0.012 262.4);
  box-shadow: 0 24px 48px color-mix(in oklch, var(--ink), transparent 76%);
}

.phone-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 1428;
  border-radius: 26px;
  object-fit: contain;
}

.phone-specimen figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.development-plate {
  min-height: 360px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--cobalt-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--cobalt-soft) 1px, transparent 1px);
  background-size: 32px 32px;
}

.development-plate span {
  color: var(--cobalt);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 790;
  line-height: 0.9;
}

.development-plate strong {
  max-width: 18ch;
  margin: auto 0 20px;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.12;
}

.development-plate small {
  color: var(--muted);
}

.principles-band {
  background: var(--surface-dark);
  color: white;
}

.principles-inner {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(90px, 13vw, 158px) 0;
}

.section-heading-light .section-number,
.section-heading-light p:not(.section-number) {
  color: oklch(0.78 0.08 262.4);
}

.principle-ledger {
  margin-top: 70px;
  border-top: 1px solid oklch(0.38 0.018 262.4);
}

.principle-ledger article {
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
  gap: 30px;
  border-bottom: 1px solid oklch(0.38 0.018 262.4);
}

.principle-ledger p {
  max-width: 62ch;
  margin: 0;
  color: oklch(0.78 0.015 262.4);
}

.product-hero {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 126px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}

.product-hero-copy > p:not(.availability-note) {
  max-width: 61ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.24rem);
}

.product-identity {
  margin-bottom: 34px;
}

.product-identity img {
  width: 88px;
  height: 88px;
}

.product-family {
  margin: 5px 0 0;
}

.product-hero h1 {
  max-width: 10ch;
}

.product-phone {
  width: min(100%, 390px);
}

.availability-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.compact-section {
  padding-bottom: clamp(90px, 12vw, 150px);
}

.science-hero {
  width: var(--page);
  margin: clamp(28px, 5vw, 62px) auto 0;
  padding: clamp(54px, 8vw, 94px);
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(48px, 9vw, 120px);
  background: oklch(0.17 0.015 262.4);
  color: white;
}

.science-mark img {
  width: min(100%, 320px);
  margin: 0 auto;
  border-radius: 28%;
}

.science-copy .product-status {
  color: oklch(0.77 0.018 262.4);
}

.science-copy h1 {
  max-width: 12ch;
  margin: 16px 0 24px;
}

.science-copy > p:not(.product-status) {
  max-width: 55ch;
  color: oklch(0.82 0.015 262.4);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.build-notice {
  max-width: 620px;
  margin-top: 34px;
  padding: 24px 0;
  border-block: 1px solid oklch(0.38 0.02 262.4);
}

.build-notice p {
  margin: 8px 0 0;
  color: oklch(0.75 0.014 262.4);
}

.science-roadmap {
  padding-top: clamp(100px, 13vw, 160px);
}

.support-directory {
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 clamp(100px, 13vw, 150px);
  border-top: 1px solid var(--line);
}

.support-directory > a {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 54px minmax(210px, 0.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.support-directory > a:hover strong {
  color: var(--cobalt);
}

.support-directory span,
.support-directory small {
  color: var(--muted);
}

.support-contact {
  padding-top: 64px;
}

.support-contact p {
  margin-bottom: 12px;
  color: var(--muted);
}

.product-visual {
  margin: 0;
  padding: clamp(14px, 2vw, 24px);
  border-radius: var(--radius-container);
  background: var(--surface-dark);
  box-shadow: 0 8px 0 color-mix(in oklch, var(--ink), transparent 88%);
  transform: rotate(0.6deg);
}

.product-visual img {
  width: 100%;
  border-radius: 8px;
}

.product-visual figcaption {
  padding: 13px 4px 0;
  color: oklch(0.88 0.015 262.4);
  font-size: 0.86rem;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--surface-raised);
}

.proof-list {
  width: var(--page);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  list-style: none;
}

.proof-list li::before {
  margin-right: 9px;
  color: var(--cobalt);
  content: "●";
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 144px) 0;
}

.feature-ledger {
  margin: 52px 0 0;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
}

.privacy-band {
  background: var(--cobalt);
  color: white;
}

.privacy-inner {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 136px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(42px, 8vw, 100px);
}

.privacy-inner h2 {
  margin-bottom: 0;
}

.privacy-inner p {
  max-width: 64ch;
  margin-top: 0;
  color: oklch(0.93 0.018 262.4);
}

.privacy-inner a {
  font-weight: 720;
  text-underline-offset: 4px;
}

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 auto 0 0;
}

.site-footer a {
  text-underline-offset: 3px;
}

.legal-hero {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0 52px;
}

.legal-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.legal-meta {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-layout {
  width: var(--page);
  margin: 0 auto;
  padding-bottom: 112px;
  display: grid;
  grid-template-columns: 220px minmax(0, 740px);
  gap: clamp(44px, 8vw, 100px);
}

.legal-nav {
  position: sticky;
  top: 96px;
  align-self: start;
}

.legal-nav strong {
  display: block;
  margin-bottom: 12px;
}

.legal-nav a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--cobalt);
}

.legal-content section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.legal-content section:first-child {
  border-top: 0;
}

.legal-content h2 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content li {
  max-width: 72ch;
  color: var(--muted);
}

.legal-content strong {
  color: var(--ink);
}

.support-options {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.support-option {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.support-option p {
  max-width: 70ch;
  color: var(--muted);
}

.email-link {
  display: inline-block;
  color: var(--cobalt);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-underline-offset: 5px;
}

.not-found {
  width: var(--page);
  min-height: 70vh;
  margin: 0 auto;
  display: grid;
  place-content: center;
  text-align: center;
}

.not-found h1 {
  max-width: none;
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 28px, 720px);
  }

  .nav {
    gap: 14px;
  }

  .nav-links a:not(.language-link) {
    display: none;
  }

  .hero,
  .privacy-inner,
  .hub-hero,
  .product-hero,
  .science-hero,
  .app-entry {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .product-visual {
    transform: none;
  }

  .hub-hero {
    box-shadow: 10px 10px 0 var(--cobalt-soft);
  }

  .hub-intro {
    max-width: 620px;
  }

  .phone-specimen {
    width: min(100%, 340px);
  }

  .app-entry-upcoming .development-plate {
    min-height: 300px;
  }

  .science-mark img {
    width: min(60vw, 280px);
  }

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

  .legal-nav {
    position: static;
    columns: 2;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hub-hero {
    padding-inline: 22px;
  }

  .hub-hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }

  .section-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }

  .app-identity {
    align-items: flex-start;
    gap: 16px;
  }

  .app-identity img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .product-hero h1,
  .science-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.25rem);
  }

  .science-hero {
    padding-inline: 22px;
  }

  .principle-ledger article,
  .support-directory > a {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .proof-list {
    display: grid;
    justify-content: start;
  }

  .legal-nav {
    columns: 1;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --cobalt: oklch(0.72 0.12 262.4);
    --cobalt-strong: oklch(0.78 0.11 262.4);
    --cobalt-soft: oklch(0.29 0.06 262.4);
    --ink: oklch(0.94 0.01 262.4);
    --muted: oklch(0.76 0.014 262.4);
    --surface: oklch(0.16 0.012 262.4);
    --surface-raised: oklch(0.205 0.014 262.4);
    --surface-dark: oklch(0.11 0.01 262.4);
    --line: oklch(0.33 0.018 262.4);
  }

  .button-primary {
    color: oklch(0.17 0.03 262.4);
  }

  .privacy-band {
    background: oklch(0.29 0.11 262.4);
  }
}

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

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