:root {
  --navy: #0d1728;
  --ink: #13213a;
  --muted: #5d6b82;
  --purple: #7c3aed;
  --purple-deep: #6d28d9;
  --purple-text: #5b21b6;
  --lavender: #ede9fe;
  --line: #dbe4f0;
  --ice: #f5f8fc;
  --white: #fff;
  --dark-text: #f4f7ff;
  --dark-line: #5b6d91;
  --secondary-border: #8b5cf6;
  --secondary-border-hover: #c4b5fd;
  --video-bg: #07111f;
  --radius: 9px;
  --space-section: 64px;
  --text-small: 0.9375rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: var(--muted) var(--ice);
}
body {
  margin: 0;
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
::selection {
  color: var(--ink);
  background: var(--lavender);
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:where(a, button, video, summary, .video-shell):focus-visible {
  outline: 3px solid var(--purple-deep);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--white);
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 20px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--purple-deep);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.top {
  background: var(--navy);
  color: var(--white);
  padding-block: 12px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 216px;
  max-width: 100%;
  height: auto;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dark-text);
  font-weight: 600;
}
section {
  padding: var(--space-section) 0;
}
.hero {
  background: var(--navy);
  color: var(--white);
  padding-block: 44px 56px;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  max-width: 22ch;
  margin: 0 0 24px;
  font-size: clamp(2.125rem, 4.6vw, 4.125rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.hero p {
  max-width: 65ch;
  margin: 0;
  color: var(--dark-text);
  font-size: 1.125rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--purple);
  border-radius: var(--radius);
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}
.button:hover {
  background: var(--purple-deep);
}
.button:active {
  background: var(--purple-text);
}
.button.secondary {
  background: transparent;
  border-color: var(--secondary-border);
  color: var(--dark-text);
}
.button.secondary:hover,
.button.secondary:active {
  background: var(--ink);
  border-color: var(--secondary-border-hover);
}
.hero .review-note {
  margin-top: 14px;
  font-size: var(--text-small);
}
.privacy-note {
  margin: 8px 0 0;
  font-size: var(--text-small);
}
.privacy-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.hero .privacy-note {
  font-size: var(--text-small);
}
h2 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
}
h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  line-height: 1.4;
}
.section-head {
  max-width: 70ch;
  margin-bottom: 24px;
}
.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.125rem;
}
.demo {
  background: var(--ice);
}
.video-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  scroll-margin-top: 16px;
}
.video-options button {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--purple-deep);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--purple-text);
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.video-options button:hover {
  background: var(--lavender);
}
.video-options button[aria-pressed="true"] {
  background: var(--purple-deep);
  color: var(--white);
}
.video-options button[aria-pressed="true"]:hover {
  background: var(--purple-text);
}
.video-options button:disabled {
  color: var(--muted);
  border-color: var(--line);
  background: var(--ice);
  cursor: not-allowed;
}
.duration {
  display: block;
  font-size: var(--text-small);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.video-shell {
  border-radius: 14px;
  background: var(--video-bg);
  scroll-margin-top: 16px;
}
.video-shell.is-short {
  width: min(100%, 360px);
  margin-inline: auto;
}
.video-shell.is-short video {
  aspect-ratio: 9 / 16;
}
video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--video-bg);
  color: var(--white);
  border-radius: inherit;
}
.note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: var(--text-small);
}
.demo .note {
  max-width: 75ch;
}
.video-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  color: var(--purple-text);
  font-weight: 600;
}
.media-error {
  max-width: 75ch;
  padding: 16px;
  border: 1px solid var(--purple-deep);
  background: var(--lavender);
  color: var(--ink);
}
.demo-details {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  max-width: 75ch;
  color: var(--muted);
}
summary {
  min-height: 48px;
  padding: 12px 8px;
  color: var(--purple-text);
  font-weight: 600;
  cursor: pointer;
}
summary:hover {
  background: var(--lavender);
}
.demo-details p {
  margin: 12px 0;
}
.demo-details a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.demo-steps {
  margin: 16px 0;
  padding-left: 28px;
}
.demo-steps li {
  padding-left: 8px;
  margin-bottom: 16px;
}
.demo-steps strong {
  color: var(--ink);
}
.principles {
  background: var(--navy);
  color: var(--white);
}
.principles .section-head p,
.principle p {
  color: var(--dark-text);
}
.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.principle {
  padding-block: 20px 0;
  border-top: 1px solid var(--dark-line);
}
.principle p {
  margin: 0;
  max-width: 65ch;
}
.cta .section-head {
  max-width: 65ch;
}
.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin-top: 24px;
  color: var(--muted);
  font-size: var(--text-small);
}
.contact-options p {
  margin: 0;
}
.contact-options a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--purple-text);
  overflow-wrap: anywhere;
}
.contact-options .note {
  display: block;
  margin: 0;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  color: var(--muted);
  font-size: var(--text-small);
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.legal {
  max-width: 64ch;
  padding-block: 40px 64px;
  overflow-wrap: anywhere;
}
.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.legal h2 {
  margin-top: 40px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  scroll-margin-top: 24px;
}
.legal p,
.legal li {
  max-width: 60ch;
}
.legal li {
  margin-bottom: 12px;
}
.legal a {
  color: var(--purple-text);
}
.legal p a,
.legal li a {
  display: inline-block;
  padding-block: 10px;
}
.legal .back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 16px;
}
.draft-notice {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--lavender);
}
.draft-notice p {
  margin-bottom: 0;
}
.legal-contents {
  margin-block: 24px 32px;
  border-block: 1px solid var(--line);
}
.legal-contents ul {
  margin: 4px 0 16px;
  padding-left: 28px;
}
.legal-contents li {
  margin: 0;
}
.legal-contents a {
  min-height: 44px;
}
.back-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
}
@media (max-width: 720px) {
  :root {
    --space-section: 40px;
  }
  .brand-logo {
    width: 180px;
  }
  .nav-link {
    display: none;
  }
  .hero {
    padding-block: 24px 32px;
  }
  h1 {
    margin-bottom: 18px;
  }
  .hero p,
  .section-head p {
    font-size: 1rem;
  }
  .hero .review-note,
  .hero .privacy-note {
    font-size: var(--text-small);
  }
  .actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }
  .button {
    width: 100%;
  }
  .section-head {
    margin-bottom: 20px;
  }
  .video-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }
  .video-options button {
    padding: 12px 8px;
  }
  .principle-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-options {
    display: grid;
    gap: 20px;
  }
  .foot {
    display: grid;
    gap: 8px;
  }
  .legal {
    padding-block: 24px 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
