:root {
  color-scheme: dark;
  --background: #101010;
  --panel: #191919;
  --panel-raised: #20201f;
  --text: #f4f3ef;
  --muted: #b5b2ab;
  --border: #353432;
  --accent: #f1c675;
  --ink: #1c160c;
  --gutter: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--text); }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
h2 { font-size: clamp(35px, 5vw, 61px); font-weight: 650; letter-spacing: -.048em; text-wrap: balance; }
h3 { font-size: 23px; font-weight: 640; letter-spacing: -.035em; }
p { color: var(--muted); }
.layout, main > section, footer { width: min(calc(100% - var(--gutter) * 2), 1120px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; transform: translateY(-200%); padding: 8px 14px; background: var(--panel); }
.skip:focus { transform: translateY(0); }
.preview { padding: 8px 20px; text-align: center; color: var(--muted); background: var(--panel); font-size: .85rem; }
.hero { text-align: center; padding-top: clamp(64px, 9vw, 112px); }
.hero-copy { margin: auto; max-width: 780px; }
h1 {
  color: var(--text);
  font-size: clamp(54px, 8.4vw, 118px);
  font-weight: 680;
  line-height: .96;
  letter-spacing: -.075em;
}
.lead { font-size: clamp(17px, 2.4vw, 22px); line-height: 1.47; max-width: 650px; margin-top: 20px; }
.hero .lead { margin: 25px auto 0; max-width: 475px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 25px; margin-top: 24px; }
.hero-actions { justify-content: center; margin-top: 28px; }
.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 19px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 650;
}
.button:hover { background: var(--panel-raised); }
.primary { background: var(--accent); border-color: transparent; color: var(--ink); }
.primary:hover { background: #ffda91; color: var(--ink); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: .95rem; font-weight: 600; }
.text-link:hover { text-decoration: underline; }
.trial-note { font-size: .83rem; margin: 13px 0 0; }
.hero-actions:has([data-public-trial-signup][hidden]) + .trial-note { display: none; }
.hero-product {
  max-width: 1060px;
  margin: clamp(47px, 7vw, 83px) auto 0;
  overflow: hidden;
  border: 1px solid #47443e;
  border-radius: clamp(12px, 2.4vw, 24px);
  background: #080808;
  box-shadow: 0 22px 75px #0008;
}
.hero-product img { width: 100%; height: auto; display: block; }
main > section { margin-top: clamp(70px, 12vw, 150px); }
.walkthrough h2 { max-width: 680px; }
.demo-grid, .plan-grid, .facts, .feature-list { display: grid; gap: 18px; margin-top: 32px; }
.demo-grid, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-card { border: 1px solid var(--border); background: var(--panel); border-radius: 19px; overflow: hidden; display: flex; flex-direction: column; }
.demo-card h3 { padding: 23px 22px 0; }
.demo-card > p { padding: 9px 22px 23px; min-height: calc(3.1em + 32px); }
.demo-card video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #080808; }
.feature-section { border-top: 1px solid var(--border); padding-top: clamp(45px, 7vw, 80px); }
.intro-line { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 28px; }
.intro-line p { max-width: 320px; }
.feature-list, .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-list { margin-top: 42px; }
.feature-list article { padding: 18px 15px 0 0; border-top: 1px solid var(--border); }
.feature-list p, .fact p, .download p, #support p { margin-top: 12px; }
.fact { padding: clamp(19px, 3vw, 27px); background: var(--panel); border: 1px solid var(--border); border-radius: 17px; }
.featured-plan { border-color: #80663d; }
.plan-benefit { min-height: 3.2em; }
.plan-benefit strong { color: var(--text); }
.quiet, .plan-total { font-size: .91rem; }
.definition { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--border); font-size: .93rem; }
.definition:first-of-type { margin-top: 12px; }
.definition > :last-child { color: var(--text); white-space: nowrap; }
.launch-offer { margin-top: 24px; padding: 16px 18px; border-left: 2px solid var(--accent); background: #1d1912; }
.launch-offer strong { color: var(--accent); }
.platform-options { margin-top: 27px; }
details { border-bottom: 1px solid var(--border); }
details summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; min-height: 60px; font-weight: 620; padding: 10px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.35rem; font-weight: 400; margin-left: auto; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 18px; max-width: 700px; }
.release p { margin: 0 0 14px; }
.release .button { margin-bottom: 20px; }
.release svg { color: var(--accent); flex: none; }
.app-status { font-size: .85rem; color: var(--muted); font-weight: 400; }
main > section:has(> details) h2 { margin-bottom: 20px; }
#support h2 { font-size: clamp(31px, 4vw, 46px); }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 13px; margin-top: 65px; padding: 22px 0 max(28px, env(safe-area-inset-bottom)); color: var(--muted); border-top: 1px solid var(--border); font-size: .89rem; }
footer div:last-child { display: flex; gap: 20px; }
footer a { color: var(--muted); }
@media (max-width: 730px) {
  html { scroll-padding-top: 130px; }
  .demo-grid, .facts, .intro-line, .feature-list, .plan-grid { grid-template-columns: 1fr; }
  .plan-benefit { min-height: 0; }
  .hero-actions { gap: 5px 19px; }
  .hero-product { width: 100%; }
  .intro-line { gap: 14px; }
}
@media (max-width: 360px) {
  h1 { font-size: 46px; }
  .hero-actions { flex-direction: column; }
}
@media (max-width: 540px) {
  h1 { font-size: clamp(43px, 12.4vw, 62px); text-wrap: balance; }
  .hero-break { display: none; }
  .hero .lead { max-width: 320px; }
}

.video-chapters { display: block; margin: 0; padding: 16px 20px 20px; }
.video-chapters h4 { color: var(--text); font-size: .93rem; margin: 0 0 10px; }
.video-chapters ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0; }
.video-chapters a { display: flex; align-items: center; gap: 10px; min-height: 44px; height: 100%; padding: 7px 10px; border: 1px solid var(--border); border-radius: 9px; color: inherit; text-decoration: none; font-size: .84rem; line-height: 1.28; }
.video-chapters a:hover, .video-chapters a[aria-current] { background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: var(--accent); }
.video-chapters a:focus-visible { outline-offset: 2px; }
.video-chapters time { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.demo-card video { scroll-margin-top: 90px; }
@media (max-width: 480px) {
  .video-chapters { padding-inline: 14px; }
  .video-chapters ol { grid-template-columns: 1fr; }
}

.video-playback { display: flex; gap: 10px; align-items: center; padding: 0 16px 12px; color: var(--muted); }
.video-playback select { font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 5px 9px; }
@media (min-width: 1120px) { .demo-grid:has(> .demo-card:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
