:root {
  color-scheme: dark;
  --ink: #05080c;
  --ink-soft: #0b0f17;
  --surface: #151b26;
  --surface-raised: #1c2431;
  --paper: #f4f5f2;
  --paper-muted: #d8dcd9;
  --teal: #2dd4bf;
  --teal-dark: #0c756b;
  --amber: #f5a524;
  --green: #34d399;
  --red: #f2645a;
  --text: #f2f5f9;
  --muted: #9aa4b4;
  --line: rgba(242, 245, 249, 0.16);
  --line-dark: rgba(5, 8, 12, 0.18);
  --max: 1180px;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.is-light {
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
}

button,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 12, 0.94);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  width: min(calc(100% - 40px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 760;
  white-space: nowrap;
}

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

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

.nav-links a {
  min-height: 44px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  border-radius: 4px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(242, 245, 249, 0.08);
}

.nav-links .language-link {
  margin-left: 6px;
  border: 1px solid var(--line);
  color: var(--text);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(720px, calc(100svh - 92px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}

.hero-scene,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-scene {
  z-index: -3;
  overflow: hidden;
}

.hero-wash {
  z-index: -2;
  background: rgba(5, 8, 12, 0.58);
}

.hero-device {
  position: absolute;
  width: 350px;
  aspect-ratio: 534 / 980;
  overflow: hidden;
  border: 8px solid #252b31;
  border-radius: 46px;
  background: #000;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
}

.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-device--main {
  top: 34px;
  right: max(7vw, 72px);
  transform: rotate(3deg);
}

.hero-device--left {
  bottom: -260px;
  right: 360px;
  width: 300px;
  transform: rotate(-7deg);
}

.hero-device--edge {
  top: 170px;
  right: -170px;
  width: 270px;
  transform: rotate(8deg);
}

.hero-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: min(650px, 58%);
  padding: 72px 0 84px;
}

.status-line,
.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: 68px;
  line-height: 0.98;
  font-weight: 820;
}

.hero-kicker {
  margin: 24px 0 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
}

.hero-description {
  max-width: 590px;
  margin: 18px 0 0;
  color: #c6ced9;
  font-size: 18px;
}

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

.button {
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  text-decoration: none;
}

.button--primary {
  background: var(--teal);
  color: var(--ink);
}

.button--primary:hover {
  background: #57e1cf;
}

.button--secondary {
  border-color: var(--line);
  background: rgba(5, 8, 12, 0.72);
  color: var(--text);
}

.button--secondary:hover {
  border-color: rgba(242, 245, 249, 0.42);
}

.release-state {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.band {
  width: 100%;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.band--paper {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: var(--line-dark);
}

.band--deep {
  background: #090d12;
}

.band--amber {
  background: var(--amber);
  color: var(--ink);
  border-bottom-color: rgba(5, 8, 12, 0.26);
}

.inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
}

.section-heading p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.band--paper .section-heading p,
.band--amber .section-heading p {
  color: #3d454c;
}

.practice-loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.loop-step {
  min-width: 0;
  padding: 24px 28px 16px 0;
  border-right: 1px solid var(--line-dark);
}

.loop-step + .loop-step {
  padding-left: 28px;
}

.loop-step:last-child {
  border-right: 0;
}

.loop-number {
  display: block;
  margin-bottom: 42px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 820;
}

.loop-step h3 {
  margin: 0;
  font-size: 22px;
}

.loop-step p {
  margin: 10px 0 0;
  color: #4a5157;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: 72px;
}

.showcase-copy h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
}

.showcase-copy > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.showcase-tabs {
  width: 100%;
  margin-top: 30px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #05080c;
}

.showcase-tab {
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.showcase-tab:hover {
  color: var(--text);
}

.showcase-tab[aria-selected="true"] {
  background: var(--surface-raised);
  color: var(--teal);
  font-weight: 760;
}

.showcase-detail {
  min-height: 122px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.showcase-detail strong {
  display: block;
  color: var(--text);
  font-size: 20px;
}

.showcase-detail span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.device-stage {
  min-height: 700px;
  display: grid;
  place-items: center;
  position: relative;
}

.device-frame {
  width: min(390px, 100%);
  aspect-ratio: 534 / 980;
  overflow: hidden;
  border: 9px solid #2a3038;
  border-radius: 46px;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.device-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capture-note {
  margin: 18px 0 0;
  color: #788290;
  font-size: 13px;
  text-align: center;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
}

.tool-item {
  min-width: 0;
}

.tool-device {
  width: 100%;
  aspect-ratio: 534 / 980;
  overflow: hidden;
  border: 7px solid #242a31;
  border-radius: 40px;
  background: #000;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.36);
}

.tool-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-item h3 {
  margin: 24px 0 0;
  font-size: 24px;
}

.tool-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.roadmap-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 80px;
  align-items: start;
}

.roadmap-layout h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
}

.roadmap-copy {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.roadmap-copy p {
  margin: 0;
  color: #3d454c;
  font-size: 18px;
}

.roadmap-copy p + p {
  margin-top: 18px;
}

.roadmap-copy .roadmap-status {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 780;
}

.principle-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
}

.principle-grid h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.04;
}

.principle-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.principle-list li {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(5, 8, 12, 0.28);
  font-weight: 700;
}

.principle-list span:last-child {
  color: #5b4208;
  font-weight: 600;
  text-align: right;
}

.offer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.offer-column {
  padding: 34px 42px 38px 0;
}

.offer-column + .offer-column {
  padding-left: 42px;
  border-left: 1px solid var(--line-dark);
}

.offer-column h3 {
  margin: 0;
  font-size: 28px;
}

.offer-column ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.offer-column li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(5, 8, 12, 0.11);
}

.offer-footnote {
  margin: 20px 0 0;
  color: #555d63;
  font-size: 14px;
}

.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 62px;
  padding: 20px 40px 20px 0;
  position: relative;
  cursor: pointer;
  font-size: 19px;
  font-weight: 720;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 4px;
  color: var(--teal);
  font-size: 28px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 24px;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0 48px;
  background: #030507;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  color: var(--text);
  font-weight: 780;
}

.footer-note {
  max-width: 480px;
  margin: 8px 0 0;
  color: #717b89;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px 20px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.legal-hero {
  padding: 72px 0 46px;
  border-bottom: 1px solid var(--line-dark);
  background: var(--paper);
  color: var(--ink);
}

.legal-hero .inner {
  max-width: 900px;
}

.legal-hero h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.05;
}

.legal-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #4b5359;
  font-size: 18px;
}

.preview-notice {
  padding: 14px 0;
  border-bottom: 1px solid rgba(5, 8, 12, 0.22);
  background: var(--amber);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.preview-notice .inner {
  max-width: 900px;
}

.legal-main {
  background: var(--paper);
  color: var(--ink);
}

.legal-layout {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 56px 0 96px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
}

.legal-toc {
  align-self: start;
  position: sticky;
  top: 100px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

.legal-toc a {
  min-height: 38px;
  display: flex;
  align-items: center;
  color: #566067;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--teal-dark);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  padding: 0 0 40px;
  scroll-margin-top: 96px;
}

.legal-content section + section {
  padding-top: 40px;
  border-top: 1px solid var(--line-dark);
}

.legal-content h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.15;
}

.legal-content h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  color: #31383d;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.legal-content a {
  color: #076a61;
}

.contact-placeholder {
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: #e8eae7;
}

.contact-placeholder strong {
  display: block;
}

.contact-placeholder span {
  display: block;
  margin-top: 5px;
  color: #4e565c;
}

.not-found {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--ink);
  color: var(--text);
  text-align: center;
}

.not-found h1 {
  margin: 0;
  color: var(--amber);
  font-size: 86px;
  line-height: 1;
}

.not-found h2 {
  margin: 18px 0 0;
  font-size: 30px;
}

.not-found p {
  margin: 12px 0 26px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-copy {
    width: 68%;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-device--main {
    right: -50px;
  }

  .hero-device--left {
    right: 230px;
  }

  .hero-device--edge {
    display: none;
  }

  .practice-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loop-step:nth-child(2) {
    border-right: 0;
  }

  .loop-step:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .loop-step:nth-child(3) {
    padding-left: 0;
  }

  .showcase-layout {
    gap: 40px;
  }

  .tool-grid {
    gap: 18px;
  }

  .principle-grid {
    gap: 42px;
  }

  .roadmap-layout {
    gap: 42px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
  }

  .nav-inner {
    width: min(calc(100% - 24px), var(--max));
    gap: 8px;
  }

  .brand-link span {
    display: none;
  }

  .brand-link img {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 9px;
    font-size: 14px;
  }

  .nav-links .language-link {
    margin-left: 2px;
  }

  .hero {
    min-height: min(690px, calc(100svh - 82px));
  }

  .hero-inner,
  .inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero-inner {
    align-items: flex-end;
  }

  .hero-wash {
    background: rgba(5, 8, 12, 0.65);
  }

  .hero-device--main {
    top: -30px;
    right: -80px;
    width: 300px;
    opacity: 0.72;
  }

  .hero-device--left {
    bottom: -370px;
    left: -120px;
    right: auto;
    opacity: 0.55;
  }

  .hero-copy {
    width: 100%;
    padding: 160px 0 44px;
  }

  .status-line {
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-kicker {
    margin-top: 16px;
    font-size: 22px;
  }

  .hero-description {
    margin-top: 12px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .release-state {
    margin-top: 14px;
  }

  .band {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .showcase-copy h2 {
    font-size: 36px;
  }

  .section-heading p,
  .showcase-copy > p {
    font-size: 16px;
  }

  .practice-loop,
  .showcase-layout,
  .tool-grid,
  .roadmap-layout,
  .principle-grid,
  .offer-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .loop-step,
  .loop-step + .loop-step,
  .loop-step:nth-child(3) {
    padding: 20px 0;
    border-right: 0;
    border-top: 1px solid var(--line-dark);
  }

  .loop-number {
    margin-bottom: 12px;
  }

  .showcase-layout {
    gap: 34px;
  }

  .device-stage {
    min-height: auto;
  }

  .device-frame {
    width: min(360px, 100%);
  }

  .tool-grid {
    gap: 48px;
  }

  .tool-device {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .tool-item h3,
  .tool-item p {
    width: min(360px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .principle-grid h2 {
    font-size: 40px;
  }

  .roadmap-layout h2 {
    font-size: 36px;
  }

  .principle-list {
    margin-top: 36px;
  }

  .offer-column,
  .offer-column + .offer-column {
    padding: 28px 0;
    border-left: 0;
  }

  .offer-column + .offer-column {
    border-top: 1px solid var(--line-dark);
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    margin-top: 22px;
    justify-content: flex-start;
  }

  .legal-hero {
    padding: 50px 0 34px;
  }

  .legal-hero h1 {
    font-size: 40px;
  }

  .legal-layout {
    width: min(calc(100% - 32px), 900px);
    padding: 42px 0 72px;
    display: block;
  }

  .legal-toc {
    position: static;
    margin-bottom: 42px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-dark);
  }

  .legal-toc a {
    display: inline-flex;
    margin-right: 18px;
  }
}

@media (max-width: 390px) {
  .brand-link img {
    width: 32px;
    height: 32px;
  }

  .nav-links a {
    padding: 7px 6px;
    font-size: 13px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero-copy {
    padding-top: 132px;
  }

  .hero h1 {
    font-size: 38px;
  }

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

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

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