@font-face { font-family: Geist; src: url('assets/Geist.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: dark;
  --ground: #1e1e2e;
  --ink: #cdd6f4;
  --accent: #fab387;
  --book: #cba6f7;
  --surface: #313244;
  --deep: #181825;
  --margin: clamp(20px, 3vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 18px/1.55 Geist, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
::selection { background: var(--accent); color: var(--ground); }
.frame { margin-inline: var(--margin); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-weight: 750; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(56px, 6.4vw, 100px); }
h2 { font-size: clamp(38px, 4vw, 64px); }
h3 { font-size: 18px; font-weight: 700; line-height: 1.5; }
p { text-wrap: pretty; }
kbd { font: inherit; white-space: nowrap; }
.skip { position: absolute; top: 12px; left: var(--margin); transform: translateY(-180%); background: var(--accent); color: var(--ground); padding: 12px 20px; z-index: 5; }
.skip:focus { transform: none; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; }
.nav nav { display: flex; gap: clamp(16px, 3vw, 48px); }
.nav a { text-decoration: none; padding-block: 8px; }
.nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 46% 54%; align-items: center; min-height: 760px; padding-block: 32px; }
.hero-copy { padding-block: 40px; padding-right: 32px; }
.lead { font-size: 20px; max-width: 37ch; margin-top: 36px; }
.button { display: inline-block; padding: 17px 28px; margin-top: 32px; background: var(--accent); color: var(--ground); font-weight: 700; text-decoration: none; border-radius: 3px 14px 14px 3px; }
.note { margin-top: 16px; font-size: 16px; }
.tome { border-radius: 3px 28px 28px 3px; position: relative; background: var(--book); padding: 28px 24px 28px 40px; }
.tome::before { content: ''; position: absolute; top: 0; bottom: 0; left: 14px; width: 6px; background: var(--ground); opacity: .6; }
.hero-stage { padding-right: 24px; }
.hero-stage img { width: 100%; height: 565px; object-fit: cover; object-position: left top; }
.hero-stage figcaption { color: var(--ground); margin-top: 16px; font-size: 16px; font-weight: 600; }
.shutter { overflow: clip; }
.tools { display: grid; grid-template-columns: 33% 67%; align-items: center; gap: 0; padding-block: 150px; }
.tools-index { padding-right: 32px; }
.tools-index > p { max-width: 29ch; margin-top: 32px; }
.picker { margin-top: 36px; }
.picker:not([hidden]) { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.picker button { font: 600 clamp(24px, 2.8vw, 42px)/1.2 Geist, sans-serif; color: var(--ink); border: 0; padding: 10px 16px; background: transparent; cursor: pointer; border-radius: 3px 14px 14px 3px; }
.picker button[aria-pressed=true] { color: var(--ground); background: var(--accent); }
.previews { background: var(--accent); }
.preview + .preview { margin-top: 40px; }
.preview[hidden] { display: none; }
.previews.enhanced .preview { margin: 0; }
.preview img { width: 100%; height: 520px; object-fit: contain; background: var(--ground); }
.preview figcaption { color: var(--ground); padding-top: 20px; max-width: 60ch; min-height: 84px; }
.files { display: grid; grid-template-columns: 43% 51%; gap: 6%; align-items: start; padding-block: 60px 150px; }
.file-picture { margin-top: 8px; background: var(--book); }
.file-picture img { height: auto; width: 100%; }
.command-picture { margin-top: 40px; }
.file-picture p { color: var(--ground); font-size: 24px; font-weight: 650; line-height: 1.3; padding-top: 28px; }
.files-intro { margin-top: 32px; max-width: 52ch; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.points h3::before { content: ''; display: inline-block; height: .75em; width: .55em; margin-right: .45em; background: var(--accent); border-radius: 1px 3px 3px 1px; }
.points p { margin-top: 10px; font-size: 16px; }
.install { padding-block: 30px 150px; }
.install h2 { margin-bottom: 56px; }
.questions { width: 100%; }
details { padding: 28px 32px; background: var(--surface); border-radius: 3px 22px 22px 3px; margin-top: 12px; }
details:nth-child(even) { background: var(--deep); }
details[open] { background: var(--book); color: var(--ground); }
details[open] :focus-visible { outline-color: var(--ground); }
summary { font-size: 20px; font-weight: 600; cursor: pointer; min-height: 44px; align-content: center; }
details p { margin-top: 20px; max-width: 65ch; padding-bottom: 8px; }
.download { background: var(--accent); color: var(--ground); border-radius: 3px 28px 28px 3px; }
.download a { display: block; text-decoration: none; padding: 40px 28px 20px; }
.download p { display: flex; justify-content: space-between; gap: 28px; }
.download h2 { font-size: clamp(58px, 15vw, 240px); margin-top: 90px; line-height: 1; }
.download a:focus-visible { outline-offset: -8px; outline-color: var(--ground); }
footer { padding-block: 100px 40px; }
.footer-wordmark { width: min(100%, 1000px); margin: 0 auto 64px; }
.footer-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; font-size: 16px; }
@media (hover: hover) { .button:hover, .picker button:hover { background: var(--ink); color: var(--ground); } .download a:hover { background: var(--ink); border-radius: inherit; } summary:hover { text-decoration: underline; text-underline-offset: .2em; } }
@media (prefers-reduced-motion: no-preference) {
  .button, .picker button { transition: transform 140ms var(--ease); }
  .button:active, .picker button:active { transform: scale(.97); }
  .hero-copy { animation: arrive 800ms var(--ease) both; }
  .shutter { animation: open-book 1100ms var(--ease) both; }
  .shutter img { animation: settle 1100ms var(--ease) both; }
  [data-enter].arriving { animation: arrive 800ms var(--ease) both; }
}
@keyframes arrive { from { opacity: .3; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes open-book { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 650px; }
  h1 { font-size: 7.1vw; }
  .hero-stage img { height: 470px; }
  .tools { grid-template-columns: 36% 64%; }
  .preview img { height: 420px; }
  .files { grid-template-columns: 38% 56%; }
  .points { gap: 28px 20px; }
}
@media (max-width: 650px) {
  body { font-size: 16px; }
  .nav { align-items: start; padding-block: 16px; }
  .nav img { width: 145px; }
  .nav nav { gap: 4px 16px; flex-wrap: wrap; justify-content: end; max-width: 160px; font-size: 16px; }
  .hero { display: block; padding-top: 16px; min-height: 0; }
  .hero-copy { padding: 16px 0 44px; }
  h1 { font-size: clamp(48px, 13vw, 76px); }
  h2 { font-size: 38px; }
  .lead { font-size: 18px; margin-top: 32px; max-width: 36ch; }
  .hero-stage { margin-left: 0; padding: 20px 20px 20px 34px; }
  .hero-stage img { height: 350px; object-position: top left; }
  .tome::before { left: 10px; width: 5px; }
  .tools { display: flex; flex-direction: column; padding-block: 96px; align-items: stretch; }
  .tools-index { padding-right: 0; }
  .tools-index > p { max-width: none; margin-top: 24px; }
  .picker:not([hidden]) { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
  .picker button { font-size: 20px; margin-left: 0; padding: 12px; }
  .previews { margin-top: 32px; padding: 20px 16px 20px 30px; }
  .preview img { height: 340px; }
  .preview figcaption { min-height: 100px; }
  .files { display: flex; flex-direction: column; gap: 40px; padding-block: 0 96px; }
  .file-picture { padding: 20px 16px 24px 30px; width: 100%; }
  .file-picture img { height: auto; }
  .file-picture p { font-size: 24px; }
  .points { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .install { padding-block: 0 96px; }
  .install h2 { margin-bottom: 36px; }
  details { padding: 20px; }
  summary { font-size: 18px; }
  .download a { padding: 24px 16px; }
  .download h2 { font-size: 15vw; margin-top: 72px; }
  footer { padding-top: 64px; }
  .footer-wordmark { margin-bottom: 40px; }
  .footer-links { gap: 20px; }
  .footer-links p { flex-basis: 100%; }
}
