/* Console slate, signal blue, meter amber: the colours of the program itself. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F,
    U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --slate: #141920;
  --panel: #1c222b;
  --steel: #2b333f;
  --text: #e9edf2;
  --dim: #98a2b3;
  --signal: #5aa2ff;
  --amber: #ffb547;
  --clip: #ff5d5d;
  --wide: 125%;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--slate);
}
a { color: var(--signal); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }

/* Type scale: 18 / 22 / 30 / 44 / 76, wide cuts for headings as on a console's faceplate. */
h1, h2, h3 { font-stretch: var(--wide); line-height: 1.02; margin: 0 0 0.45em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); font-weight: 850; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 750; line-height: 1.2; }
.lead { font-size: 1.25rem; color: var(--dim); max-width: 34em; }
.lead.wide { max-width: none; }
.dim { color: var(--dim); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font-stretch: var(--wide); font-weight: 800; font-size: 1.05rem; }
.bar nav, .foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.bar nav a, .foot nav a { color: var(--dim); text-decoration: none; }
.bar nav a:hover, .foot nav a:hover { color: var(--text); }
@media (max-width: 700px) { .bar nav > a:not(.button) { display: none; } }

.button {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 8px;
  font: inherit; font-weight: 700; font-stretch: 112%; text-decoration: none; cursor: pointer;
  background: var(--signal); color: #071222; border: 0;
}
.button:hover { background: #7ab4ff; }
.button.quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--steel); }
.button.quiet:hover { box-shadow: inset 0 0 0 1px var(--dim); }
.bar .button { padding: 8px 18px; color: #071222; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Hero: the headline, and a session you can play. */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 56px 0 88px; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; } }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--dim); }
.hero h1 span:nth-child(3) { color: var(--signal); }

/* Chapters of the tour */
.chapter { padding: 72px 0; border-top: 1px solid var(--steel); }
.chapter .head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 36px; }
@media (max-width: 860px) { .chapter .head { grid-template-columns: 1fr; gap: 12px; } }
.chapter .head p { color: var(--dim); margin: 0; max-width: 36em; }
.screen { border-radius: 12px; overflow: hidden; border: 1px solid var(--steel); background: #0f1318;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 40px; margin: 40px 0 0; }
.details dt { font-weight: 750; font-stretch: 112%; margin-bottom: 4px; }
.details dd { margin: 0; color: var(--dim); font-size: 0.98rem; }
.pair { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.pair.flip { grid-template-columns: 1fr 1.15fr; }
.pair.flip > :first-child { order: 2; }
@media (max-width: 860px) { .pair, .pair.flip { grid-template-columns: 1fr; } .pair.flip > :first-child { order: 0; } }
.pair ul { padding-left: 1.1em; color: var(--dim); }
.pair li { margin: 6px 0; }
.pair li::marker { color: var(--signal); }

/* The rack of effects, scrolled sideways. */
.rack { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 82vw); gap: 22px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 4px 0 22px; scrollbar-color: var(--steel) transparent; }
.rack figure { margin: 0; scroll-snap-align: start; }
.rack figcaption { margin-top: 12px; }
.rack figcaption b { display: block; font-stretch: 112%; }
.rack figcaption span { color: var(--dim); font-size: 0.95rem; }

.stack { display: grid; gap: 22px; }

/* Closing: price and source */
.closing { padding: 88px 0 40px; border-top: 1px solid var(--steel); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
@media (max-width: 860px) { .closing { grid-template-columns: 1fr; } }
.price { font-stretch: var(--wide); font-size: 3.4rem; font-weight: 850; line-height: 1; margin: 6px 0 10px; }
.price small { font-size: 1.05rem; font-weight: 500; font-stretch: 100%; color: var(--dim); }

/* Inner pages */
.page { padding: 48px 0 24px; }
.plan { border: 1px solid var(--steel); border-radius: 14px; background: var(--panel); padding: 36px; max-width: 560px; margin-top: 36px; }
.plan ul { padding-left: 1.1em; color: var(--dim); }
.plan li { margin: 7px 0; }
.plan li::marker { color: var(--signal); }
.plan.account .button { margin: 10px 0 20px; }
.plan.account p:last-child { margin-bottom: 0; }
.faq { max-width: 760px; margin-top: 64px; }
details { border-bottom: 1px solid var(--steel); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; font-stretch: 108%; }
details p { color: var(--dim); margin: 10px 0 0; }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 40px; }
.downloads section { border: 1px solid var(--steel); border-radius: 14px; padding: 26px; background: var(--panel);
  display: flex; flex-direction: column; gap: 12px; }
.downloads section p { color: var(--dim); margin: 0 0 6px; }
.downloads .button { justify-content: center; }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--dim); }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 40px 0 56px;
  border-top: 1px solid var(--steel); margin-top: 56px; font-size: 0.92rem; }
.foot p { color: var(--dim); margin: 10px 0 0; max-width: 30em; }
.foot nav { max-width: 560px; }
/* The two-screen picture runs wider than the text column. */
.studio { display: block; width: min(1600px, 100vw - 32px); margin-left: 50%; transform: translateX(-50%); }
.studio img { width: 100%; }

/* ---------- Home page, second version ---------- */

.intro { padding: 72px 0 40px; text-align: center; }
.intro .lead { margin: 22px auto 0; }
.intro .actions { justify-content: center; }
.intro h1 { font-size: clamp(3.2rem, 10vw, 7.2rem); line-height: 0.95; }
.intro h1 span { display: inline-block; margin: 0 0.12em; }
.intro h1 span:nth-child(2) { color: var(--dim); }
.intro h1 span:nth-child(3) { color: var(--signal); }

/* The one orchestrated moment: the title, then the text, then the program. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-title span { animation: rise 0.9s cubic-bezier(.2, .8, .2, 1) both; }
  .reveal-title span:nth-child(2) { animation-delay: 0.12s; }
  .reveal-title span:nth-child(3) { animation-delay: 0.24s; }
  .reveal { animation: rise 0.9s 0.45s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-shot { animation: arrive 1.4s 0.55s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(8px); } }
@keyframes arrive { from { opacity: 0; translate: 0 80px; } }

.stage { perspective: 1800px; padding: 24px 16px 40px; overflow: hidden; }
.hero-shot {
  position: relative; margin: 0 auto; width: min(1320px, 100%);
  border-radius: 14px; overflow: hidden; border: 1px solid var(--steel);
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.65), 0 0 120px rgba(90, 162, 255, 0.12);
  transform-origin: 50% 0;
}
/* Tilted back at first, the program straightens as you scroll to it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-shot img, .hero-shot video { animation: straighten linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .stage .hero-shot { transform-style: preserve-3d; }
  }
}
@keyframes straighten { from { transform: rotateX(22deg) scale(0.92); } to { transform: none; } }
.hero-shot img, .hero-shot video { display: block; width: 100%; height: auto; transform-origin: 50% 0; }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 36px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 10px; } }
.section-head p { margin: 0; }
.features, .rack-section { padding: 80px 0 40px; }
.studio-section { padding: 80px 0 0; }

/* Feature cards */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tile {
  --x: 50%; --y: 0%;
  position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(90, 162, 255, 0.14), transparent 60%), var(--panel);
  border: 1px solid var(--steel); transition: border-color 0.25s, transform 0.25s;
}
.tile:hover { border-color: #3f5d86; transform: translateY(-3px); }
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--steel);
  filter: saturate(0.9); transition: transform 0.6s cubic-bezier(.2, .8, .2, 1), filter 0.3s; }
.tile:hover img { transform: scale(1.06); filter: saturate(1.1); }
.tile h3 { margin: 18px 20px 6px; }
.tile p { margin: 0 20px; color: var(--dim); font-size: 0.97rem; flex: 1; }
.tile button { align-self: flex-start; margin: 16px 20px 20px; padding: 7px 16px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 0.9rem; font-weight: 700; color: var(--signal); background: rgba(90, 162, 255, 0.1);
  border: 1px solid rgba(90, 162, 255, 0.35); transition: background 0.2s; }
.tile button:hover { background: rgba(90, 162, 255, 0.2); }
@media (prefers-reduced-motion: no-preference) {
  .tile { opacity: 0; translate: 0 24px; transition: opacity 0.6s, translate 0.6s cubic-bezier(.2, .8, .2, 1), border-color 0.25s, transform 0.25s; }
  .tile.in { opacity: 1; translate: 0 0; }
}

/* Panels opened by "More" */
dialog.feature {
  width: min(980px, 100% - 32px); max-height: min(88vh, 100% - 32px); padding: 34px 36px 30px; border-radius: 16px;
  border: 1px solid var(--steel); background: var(--panel); color: var(--text); overflow: auto;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.7);
}
dialog.feature::backdrop { background: rgba(8, 10, 14, 0.7); backdrop-filter: blur(6px); }
dialog.feature img { width: 100%; border-radius: 10px; border: 1px solid var(--steel); margin: 18px 0 6px; }
dialog.feature .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 700px) { dialog.feature .duo { grid-template-columns: 1fr; } }
dialog.feature ul { padding-left: 1.1em; color: var(--dim); columns: 2 260px; column-gap: 40px; }
dialog.feature li { margin: 6px 0; break-inside: avoid; }
dialog.feature li::marker { color: var(--signal); }
dialog.feature .close { position: sticky; top: 0; float: right; margin: -14px -16px 0 0; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--steel); background: #232a35; color: var(--text); font-size: 1.4rem;
  line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  dialog.feature, dialog.feature::backdrop { transition: opacity 0.35s, transform 0.45s cubic-bezier(.2, .8, .2, 1), display 0.45s allow-discrete, overlay 0.45s allow-discrete; }
  dialog.feature { opacity: 0; transform: translateY(24px) scale(0.97); }
  dialog.feature[open] { opacity: 1; transform: none; }
  dialog.feature::backdrop { opacity: 0; }
  dialog.feature[open]::backdrop { opacity: 1; }
  @starting-style {
    dialog.feature[open] { opacity: 0; transform: translateY(24px) scale(0.97); }
    dialog.feature[open]::backdrop { opacity: 0; }
  }
}

/* The two-screen picture, wider than the text. */
.studio { display: block; width: min(1680px, 100% - 32px); margin: 0 auto; transform: none; }
.studio img { width: 100%; border-radius: 12px; border: 1px solid var(--steel); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55); }

.rack figure img { border-radius: 12px; border: 1px solid var(--steel); }
.intro h1 { font-size: clamp(3rem, 8.2vw, 6.1rem); }
@media (min-width: 1180px) { .tiles { grid-template-columns: repeat(5, 1fr); } }
dialog.feature:focus { outline: none; }

/* ---------- Graphic layer ---------- */

/* Sticky, translucent header. */
.bar { position: sticky; top: 0; z-index: 20; width: 100%; max-width: none; padding: 14px max(16px, calc((100% - 1180px) / 2));
  background: rgba(20, 25, 32, 0.72); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(43, 51, 63, 0.6); }

/* Film grain over everything, too fine to notice, enough to take the flatness away. */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-zone { position: relative; isolation: isolate; }
.hero-zone::before { content: ""; position: absolute; inset: -80px 0 auto; height: 900px; z-index: -2;
  background: radial-gradient(60% 50% at 50% 30%, rgba(90, 162, 255, 0.16), transparent 70%),
    radial-gradient(30% 30% at 70% 55%, rgba(255, 181, 71, 0.07), transparent 70%); }
canvas.field { position: absolute; left: 0; top: 0; width: 100%; height: 700px; z-index: -1; pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 60%, transparent 100%); }

.stage { position: relative; }
.hero-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 22%); }
/* Light pooling under the program, as on a lit desk. */
.floor { height: 140px; margin: -40px auto 0; width: min(1200px, 90%);
  background: radial-gradient(50% 60% at 50% 0, rgba(90, 162, 255, 0.28), transparent 70%); filter: blur(10px); }


/* The wall of effects: two rows sliding in opposite directions on a tilted plane. */
.wall { position: relative; height: 640px; overflow: hidden; perspective: 1400px; margin-top: -10px;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); mask-composite: intersect; }
.wall-plane { position: absolute; left: 50%; top: 50%; width: 2600px; translate: -50% -50%;
  transform: rotateX(28deg) rotateZ(-7deg); display: grid; gap: 26px; }
.wall .row { display: flex; gap: 26px; width: max-content; animation: slide 70s linear infinite; }
.wall .row.reverse { animation-direction: reverse; animation-duration: 85s; margin-left: -300px; }
.wall:hover .row { animation-play-state: paused; }
.wall img { height: 270px; width: auto; border-radius: 12px; border: 1px solid var(--steel);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wall .row { animation: none; } }
.rack-section { padding-bottom: 0; }

/* A thin light line on top of each card, brighter under the pointer. */
.tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; z-index: 1;
  background: radial-gradient(180px circle at var(--x) 0, rgba(140, 196, 255, 0.9), transparent 70%); }

/* Footer in columns */
.foot { align-items: flex-start; }
.foot nav { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 40px; }
@media (max-width: 600px) { .foot nav { grid-template-columns: repeat(2, auto); } }
.intro .lead { text-shadow: 0 1px 12px rgba(20, 25, 32, 0.9); }

/* ---------- Sound backgrounds across the page ---------- */
canvas.hero-field { height: 1150px; mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 55%, transparent 92%); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    canvas.hero-field { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 1100px; }
  }
}
@keyframes drift { to { transform: translateY(260px); opacity: 0.4; } }

.features { position: relative; isolation: isolate; }
canvas.spectrum { position: absolute; left: 50%; bottom: -40px; width: 100vw; height: 300px; translate: -50% 0; z-index: -1;
  pointer-events: none; mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent); opacity: 0.9; }

.closing { position: relative; isolation: isolate; }
canvas.closing-field { position: absolute; left: 50%; top: 40px; width: 100vw; height: 560px; translate: -50% 0; z-index: -1;
  pointer-events: none; mask-image: radial-gradient(60% 60% at 50% 50%, #000 40%, transparent 100%); opacity: 0.8; }
body { overflow-x: hidden; }
/* A pool of quiet behind the text, so the waves never fight the words. */
.intro { background: radial-gradient(38% 30% at 50% 66%, rgba(20, 25, 32, 0.92), rgba(20, 25, 32, 0.6) 55%, transparent 80%); }

/* Download cards: buttons on one line at the bottom. */
.downloads section > .button, .downloads .dropdown { margin-top: auto; }
.downloads section p { margin-bottom: 18px; }
.dropdown { position: relative; border: 0; padding: 0; }
.dropdown summary { list-style: none; width: 100%; justify-content: center; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s; }
.dropdown[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.dropdown .menu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 10; padding: 6px; border-radius: 10px;
  background: #222935; border: 1px solid var(--steel); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.dropdown .menu a { display: block; padding: 10px 12px; border-radius: 7px; color: var(--text); text-decoration: none; }
.dropdown .menu a:hover, .dropdown .menu a:focus-visible { background: rgba(90, 162, 255, 0.14); }
.dropdown .menu b { display: block; font-weight: 700; }
.dropdown .menu span { color: var(--dim); font-size: 0.88rem; }
@media (prefers-reduced-motion: no-preference) {
  .dropdown[open] .menu { animation: drop 0.18s ease-out; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
/* The title: two lines, the second in signal blue. */
.intro h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; }
.intro h1 span { display: block; margin: 0; }
.intro h1 span:nth-child(2) { color: var(--signal); }
.intro h1 span:nth-child(3) { color: var(--amber); }
@media (max-width: 560px) { .intro h1 { font-size: 2rem; font-stretch: 108%; } }

/* ---------- The ring of effects ---------- */
.carousel { --card: min(540px, 76vw); --radius: calc(var(--card) * 1.6); position: relative; height: calc(var(--card) * 0.95);
  perspective: 1700px; perspective-origin: 50% 30%; cursor: grab; touch-action: pan-y; user-select: none; overflow: hidden;
  margin-top: 8px; mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
.carousel:active { cursor: grabbing; }
.carousel:focus-visible { outline: none; }
.carousel:focus-visible .front img { outline: 2px solid var(--amber); outline-offset: 4px; }
.ring { position: absolute; left: 50%; top: 45%; transform-style: preserve-3d;
  transform: translateZ(calc(var(--radius) * -1)) rotateY(var(--angle, 0deg)); }
.ring figure { position: absolute; margin: 0; width: var(--card); left: calc(var(--card) / -2); top: 0; translate: 0 -50%;
  transform: rotateY(calc(var(--i) * 36deg)) translateZ(var(--radius)); transition: filter 0.4s, opacity 0.4s;
  filter: brightness(0.45) saturate(0.7); }
.ring figure img { width: 100%; border-radius: 12px; border: 1px solid var(--steel); pointer-events: none;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6); -webkit-box-reflect: below 10px linear-gradient(transparent 70%, rgba(255, 255, 255, 0.12)); }
.ring figure.front { filter: none; }
.ring figure.front img { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(90, 162, 255, 0.22); border-color: #3f5d86; }
.carousel-bar { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 6px auto 0;
  width: min(640px, 100% - 32px); text-align: center; }
.carousel-bar p { margin: 0; flex: 1; min-height: 3.2em; }
.carousel-bar b { display: block; font-stretch: var(--wide); font-size: 1.25rem; }
.carousel-bar span { color: var(--dim); }
.carousel-bar button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--steel); background: var(--panel);
  color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; flex: none; transition: border-color 0.2s, background 0.2s; }
.carousel-bar button:hover { border-color: var(--signal); background: #222c3a; }
.carousel-bar { margin-bottom: 40px; }

/* ---------- The cover flow of effects, past the edges ---------- */
.carousel { --card: min(560px, 74vw); width: 100%; height: calc(var(--card) * 0.92); overflow: hidden; mask-image: none;
  perspective: 1500px; perspective-origin: 50% 40%; }
.ring { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform: none; transform-style: preserve-3d; }
.ring figure { position: absolute; width: var(--card); left: calc(var(--card) / -2); top: 0; translate: 0 -50%;
  transform-origin: 50% 50%; transition: none; will-change: transform; filter: none; }

/* Audio clips in the Groove session, drawn as in the program. */
.intro .hint { margin: 16px 0 0; color: var(--dim); font-size: 0.95rem; }
.tm-note { margin: 18px 0 0; color: var(--dim); font-size: 0.82rem; line-height: 1.5; }
.build-note { margin: 22px 0 0; color: #7d8798; font-size: 0.92rem; max-width: 46em; }
.build-note a { color: var(--dim); }

/* GitHub links */
.gh { display: block; fill: currentColor; }
.bar nav a.github { display: inline-flex; padding: 6px; border-radius: 8px; color: var(--dim); }
.bar nav a.github:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.github-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 14px; border-radius: 8px;
  color: var(--text); text-decoration: none; border: 1px solid var(--steel); font-size: 0.9rem; }
.github-link:hover { border-color: var(--dim); }
@media (max-width: 700px) { .bar nav a.github { display: inline-flex; } }

/* Two plans side by side */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 36px; max-width: 980px; }
.plans .plan { margin-top: 0; max-width: none; display: flex; flex-direction: column; }
.plans .plan ul { flex: 1; }
.plans .plan .button { align-self: center; white-space: nowrap; }
.plans .plan.featured { border-color: #3f5d86; box-shadow: 0 0 0 1px rgba(90, 162, 255, 0.25), 0 30px 70px rgba(0, 0, 0, 0.35); }
.plans-note { margin-top: 18px; max-width: 980px; }
.plans { max-width: none; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plans-note { max-width: none; }
.plans .plan.free { background: transparent; }
.page h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.plans .plan h2 { font-size: 1.7rem; }
.plans .price { font-size: 3rem; }
.plans .price small { display: block; margin-top: 8px; font-size: 0.95rem; }

/* Language menu in the header */
.bar .dropdown.lang summary { cursor: pointer; color: var(--dim); padding: 6px 8px; border-radius: 8px; width: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: inherit; font-stretch: inherit; }
.bar .dropdown.lang summary:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.bar .dropdown.lang .menu { left: auto; right: 0; min-width: 160px; }
.bar .dropdown.lang .menu a[aria-current] { color: var(--signal); }
.bar .dropdown.lang .short { display: none; text-transform: uppercase; }
@media (max-width: 700px) {
  .bar nav { flex-wrap: nowrap; gap: 8px; }
  .bar .dropdown.lang .long { display: none; }
  .bar .dropdown.lang .short { display: inline; }
}
@media (max-width: 440px) {
  .bar { gap: 10px; }
  .bar .brand { font-stretch: 100%; font-size: 1rem; gap: 8px; flex-shrink: 0; }
  .bar .button { padding: 6px 11px; font-size: 0.875rem; font-stretch: 100%; }
  .bar nav { gap: 2px; }
}
@media (max-width: 350px) { .bar .brand { font-size: 0.9rem; gap: 6px; } .bar .brand img { width: 24px; height: 24px; } }
@media (max-width: 380px) { .bar nav a.github { display: none; } }

/* ---------- Product chapters ---------- */
/* Each chapter: its title and lead, a large view of the program, then what makes it work. */
.chapter { padding: 110px 0 0; border-top: 0; }
.chapter .section-head { margin-bottom: 40px; }
.chapter .section-head h2 { max-width: 14em; }
.chapter .section-head p { font-size: 1.12rem; }
.shot-wide { position: relative; margin: 0 auto; width: min(1560px, 100% - 32px); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--steel); background: #0f1318;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6), 0 0 100px rgba(90, 162, 255, 0.08); }
.shot-wide img, .shot-wide video { width: 100%; display: block; }
.shot-wide.narrow { width: min(1180px, 100% - 32px); }
.express-styles .ticks b { color: var(--text); }
.shot-wide::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%); }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 48px; margin: 52px 0 0; }
@media (max-width: 960px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .points { grid-template-columns: 1fr; } }
.points h3 { font-size: 1.08rem; margin-bottom: 8px; padding-top: 14px; border-top: 1px solid var(--steel); }
.points p { margin: 0; color: var(--dim); font-size: 0.98rem; line-height: 1.55; }

/* The families of processors, under the ring. */
.families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 26px 0 0; background: var(--steel);
  border: 1px solid var(--steel); border-radius: 14px; overflow: hidden; }
@media (max-width: 860px) { .families { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .families { grid-template-columns: 1fr; } }
.families > div { background: var(--panel); padding: 22px 24px; }
.families h3 { font-size: 1rem; margin-bottom: 6px; color: var(--amber); }
.families p { margin: 0; color: var(--dim); font-size: 0.95rem; }

/* Four machines, each with its name. */
.quad { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .quad { grid-template-columns: 1fr; } }
.quad figure { margin: 0; }
.quad img { width: 100%; aspect-ratio: 964 / 640; object-fit: cover; object-position: 50% 12%; border-radius: 12px;
  border: 1px solid var(--steel); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.quad figcaption { margin-top: 12px; }
.quad figcaption b { display: block; font-stretch: 112%; }
.quad figcaption span { color: var(--dim); font-size: 0.95rem; }

/* Two instruments side by side. */
.duo-shots { display: grid; grid-template-columns: 1.18fr 1fr; gap: 22px; align-items: start; margin-bottom: 22px; }
@media (max-width: 860px) { .duo-shots { grid-template-columns: 1fr; } }
.duo-shots img { width: 100%; border-radius: 12px; border: 1px solid var(--steel); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }

.features { padding-top: 110px; }
@media (min-width: 1180px) { .tiles { grid-template-columns: repeat(3, 1fr); } }


/* ---------- Site, third version: a short home, a page per feature ---------- */

.more { display: inline-block; margin-top: 14px; font-weight: 700; font-stretch: 112%; text-decoration: none;
  border-bottom: 1px solid rgba(90, 162, 255, 0.45); padding-bottom: 2px; }
.more:hover { border-bottom-color: var(--signal); }
/* Inline, after a no-break space: the arrow never wraps alone. */
.more::after { content: "\00a0"; padding-right: 1.25em; transition: background-position 0.2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235aa2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") right 0.25em center / 0.95em no-repeat; }
.more:hover::after { background-position: right 0 center; }
.intro h1 span:nth-child(2) { color: var(--signal); }

/* The features menu in the header, as the language one. */
.bar .dropdown.features-menu summary { cursor: pointer; color: var(--dim); padding: 6px 8px; border-radius: 8px; width: auto;
  display: inline-flex; align-items: center; gap: 4px; }
.bar .dropdown.features-menu summary:hover, .bar .dropdown.features-menu[open] summary { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.bar .dropdown.features-menu .menu { right: auto; min-width: 210px; display: grid; }
.bar .dropdown.features-menu .menu a[aria-current] { color: var(--signal); }
@media (max-width: 700px) { .bar .dropdown.features-menu { display: none; } }
.foot-features { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }

/* The tour: tabs over the views, each view a frame of the program. */
.tour { padding: 96px 0 24px; }
/* Several views of the program in one frame. */
.mosaic { height: 100%; display: grid; gap: 6px; background: #0b0e12; }
.mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.mosaic img.strip { object-fit: cover; object-position: 0 50%; }
.rack-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; }
.rack-mosaic .strip { grid-column: 1 / -1; height: auto; aspect-ratio: 1855 / 399; }
.duo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
.duo-mosaic .strip { grid-column: 1 / -1; height: auto; aspect-ratio: 1855 / 300; object-position: 0 60%; }
.trio-mosaic { grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; }
.trio-mosaic .big { grid-row: 1 / -1; }

.fx-section { padding: 110px 0 0; }
.highlights { padding: 120px 0 0; }
.feature-demo { padding-top: 88px; }
.feature-demo h3 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 0.2em; }
.demo-sub { margin: 0 0 28px; font-size: 1.15rem; color: var(--dim); max-width: 60ch; }
.demo-media { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--steel); background: #0f1318;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.demo-media img, .demo-media video { display: block; width: 100%; height: auto; }
.feature-demo h2 { margin-bottom: 0.2em; }
.demo-list { margin: 26px 0 0; columns: 2; column-gap: 48px; }
.demo-list li { break-inside: avoid; }
.demo-narrow { max-width: 1000px; margin: 0 auto 40px; }
@media (max-width: 760px) { .demo-list { columns: 1; } }
.demo-copy { display: grid; grid-template-columns: minmax(0, 62ch) auto; gap: 16px 48px; align-items: end; justify-content: space-between; margin-top: 26px; }
.demo-copy p { margin: 0; color: var(--dim); }
.demo-copy .more { margin-top: 0; white-space: nowrap; }
@media (max-width: 760px) { .demo-copy { grid-template-columns: 1fr; } .demo-copy .more { white-space: normal; } }
.fx-section .section-head p { margin: 0; }
.trust { padding: 60px 0 40px; }
.trust .section-head { align-items: end; }
.trust .section-head .more { justify-self: start; }
.points.four { grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
@media (max-width: 960px) { .points.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .points.four { grid-template-columns: 1fr; } }

/* A feature page: its title over a quiet field, then the program, then what makes it work. */
.page-zone { position: relative; isolation: isolate; }
.feature-hero { padding: 56px 0 44px; max-width: 46em; }
.feature-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.02; margin-bottom: 0.35em; }
.feature-hero .lead { margin: 0; }
.crumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; font-size: 0.95rem; color: var(--dim); }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span:last-child { color: var(--signal); }
.feature-pair { padding: 110px 0 0; }
.feature-pair h2 { margin-bottom: 0.4em; }
.feature-pair .media img { width: 100%; border-radius: 12px; border: 1px solid var(--steel); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.feature-pair .media img.small { width: auto; max-width: min(360px, 100%); margin-inline: auto; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 2px; border-radius: 2px; background: var(--signal); }
.ticks.inline { grid-template-columns: repeat(3, 1fr); gap: 10px 32px; margin-top: 26px; }
@media (max-width: 860px) { .ticks.inline { grid-template-columns: 1fr; } }
.groove-section { padding: 110px 0 0; }
.stack-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.duo-shots { margin-top: 64px; }

/* The thirty processors, by family, on shelves. */
.families-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; padding: 24px 0 0; }
.family-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px 48px; align-items: end; margin-bottom: 22px; }
.family-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.family-head p { margin: 0; }
@media (max-width: 760px) { .family-head { grid-template-columns: 1fr; } }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 3 * 18px) / 4)); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-color: var(--steel) transparent; }
.shelf figure { margin: 0; scroll-snap-align: start; }
.shelf img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 0; border-radius: 10px; border: 1px solid var(--steel);
  background: #0f1318; transition: border-color 0.2s; }
.shelf figure:hover img { border-color: #3f5d86; }
.shelf figcaption { margin-top: 10px; font-weight: 700; font-stretch: 112%; font-size: 0.98rem; }
.character { padding: 110px 0 0; }

/* The other features, at the foot of each page. */
.explore { padding: 120px 0 20px; }
.explore h2 { margin-bottom: 28px; }
.explore-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.explore-grid a[aria-current] { display: none; }
.explore-grid a { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; text-decoration: none;
  background: var(--panel); border: 1px solid var(--steel); transition: border-color 0.2s, transform 0.2s; }
.explore-grid a:hover { border-color: #3f5d86; transform: translateY(-2px); }
.explore-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--steel); }
.explore-grid b { padding: 14px 16px 2px; color: var(--text); font-stretch: 112%; }
.explore-grid span { padding: 0 16px 16px; color: var(--dim); font-size: 0.92rem; line-height: 1.4; }
@media (max-width: 1100px) { .explore-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .explore-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .explore-grid { grid-template-columns: 1fr; } }
.foot { display: grid; grid-template-columns: 1fr auto auto; gap: 32px 64px; }
.foot .foot-features { grid-template-columns: repeat(2, auto); align-content: start; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }
.shelf { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
@media (max-width: 860px) { .shelf { grid-auto-columns: 46%; } }
@media (max-width: 520px) { .shelf { grid-auto-columns: 78%; } }
.quad.trio { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .quad.trio { grid-template-columns: 1fr; } }
.ticks.inline.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .ticks.inline.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ticks.inline.four { grid-template-columns: 1fr; } }
.page-zone + .wrap .points { margin-top: 8px; }
.shelf img { object-position: 0 0; }
.bar .dropdown.features-menu .short { display: none; }
@media (max-width: 700px) {
  .bar .dropdown.features-menu { display: block; order: -1; }
  .bar .dropdown.features-menu .long, .bar .dropdown.features-menu summary::after { display: none; }
  .bar .dropdown.features-menu .short { display: block; }
  .bar .dropdown.features-menu .menu { left: auto; right: -120px; }
  .bar nav a.github { display: none; }
}
.feature-hero .lead { text-shadow: 0 1px 12px rgba(20, 25, 32, 0.95); }
.page-zone canvas.field { opacity: 0.55; }
.feature-pair.wide-media { grid-template-columns: 1.5fr 1fr; }
.feature-pair.wide-media.flip { grid-template-columns: 1fr 1.5fr; }
@media (max-width: 960px) { .feature-pair.wide-media, .feature-pair.wide-media.flip { grid-template-columns: 1fr; } }
.points.spaced { margin-top: 96px; }

/* A running promotion, written in by the server: a band over every page, the prices. */
.promo-banner { position: relative; z-index: 2; color: #fff7e8;
  background: linear-gradient(100deg, #6b3d0c 0%, #8a4f12 30%, #24476f 100%); border-bottom: 1px solid rgba(255, 181, 71, 0.45);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.promo-banner .wrap { display: flex; align-items: center; gap: 14px 18px; min-height: 68px; padding: 12px 0; }
.promo-badge { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--amber); color: #3a2205; box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.22); }
.promo-icon { width: 24px; height: 24px; }
.promo-text { flex: 1; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 1.02rem; line-height: 1.35; }
.promo-text b { font-size: 1.12rem; font-stretch: var(--wide); color: var(--amber); }
.promo-ends { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.28); font-size: 0.92rem; font-weight: 700; white-space: nowrap; }
.promo-clock { width: 17px; height: 17px; color: var(--amber); }
.promo-cta { flex: none; padding: 9px 18px; border-radius: 8px; background: var(--amber); color: #2a1803; font-weight: 800;
  font-stretch: 112%; text-decoration: none; white-space: nowrap; }
.promo-cta:hover { background: #ffc66e; }
@media (max-width: 860px) {
  .promo-banner .wrap { flex-wrap: wrap; justify-content: center; gap: 10px; text-align: center; padding: 12px 0 14px; }
  .promo-badge { display: none; }
  .promo-text { flex-basis: 100%; justify-content: center; font-size: 0.95rem; }
  .promo-ends { padding: 5px 10px; font-size: 0.85rem; }
  .promo-cta { padding: 7px 14px; font-size: 0.92rem; }
}
.price s { color: var(--dim); font-size: 0.55em; font-weight: 600; margin-right: 0.15em; text-decoration-thickness: 2px; }
.promo-note { margin: -4px 0 14px; color: var(--amber); font-size: 0.92rem; }

/* The AI assistants page: a conversation, as an assistant shows it. */
.chat-demo { padding: 8px 0 24px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 56px; align-items: start; }
@media (max-width: 900px) { .chat-demo { grid-template-columns: 1fr; } }
.chat-head h2 { margin-bottom: 0.4em; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--steel); font-size: 0.8rem; color: var(--dim); }
.chat { display: grid; gap: 10px; padding: 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--steel); }
.bubble { margin: 0; padding: 12px 16px; border-radius: 14px; max-width: 88%; line-height: 1.5; }
.bubble.user { justify-self: end; background: #2a3a52; border-bottom-right-radius: 4px; }
.bubble.ai { justify-self: start; background: #222a35; border-bottom-left-radius: 4px; }
.bubble.tool { justify-self: start; padding: 0; background: none; display: flex; gap: 6px; flex-wrap: wrap; }
.bubble.tool code { font-size: 0.78rem; color: var(--dim); background: #1a2029; border: 1px solid var(--steel); border-radius: 6px; padding: 3px 8px; }
.ai-teaser { padding-top: 96px; }
.explore-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .explore-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .explore-grid { grid-template-columns: 1fr; } }

/* The manual: chapters beside their list and their contents, read like a book on a desk. */
.manual-home .lead { margin-bottom: 26px; }
.manual-downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.manual-note { color: var(--dim); font-size: 0.95rem; margin: 14px 0 0; }
.manual-chapters-title { font-size: 1.5rem; margin: 56px 0 18px; }
.manual-chapters { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.manual-chapters a { display: grid; grid-template-columns: 2.4em 1fr; align-content: start; gap: 2px 10px; padding: 16px 18px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--steel); color: var(--text); text-decoration: none; height: 100%; box-sizing: border-box; }
.manual-chapters a:hover { box-shadow: inset 0 0 0 1px var(--signal); }
.manual-chapters .num { grid-row: span 2; font-weight: 800; font-stretch: var(--wide); color: var(--signal); font-size: 1.3rem; }
.manual-chapters b { font-stretch: 110%; font-size: 1.08rem; }
.manual-chapters .subs { color: var(--dim); font-size: 0.86rem; line-height: 1.45; }

.manual { display: grid; grid-template-columns: 230px minmax(0, 1fr) 200px; gap: 48px; padding: 40px 0 80px; align-items: start; }
.manual-nav, .manual-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; font-size: 0.9rem; }
.manual-nav .home { display: block; font-weight: 800; font-stretch: var(--wide); color: var(--text); text-decoration: none; margin-bottom: 12px; font-size: 1.05rem; }
.manual-nav ol { list-style: none; padding: 0; margin: 0 0 20px; }
.manual-nav li a { display: flex; gap: 8px; padding: 5px 8px; border-radius: 7px; color: var(--dim); text-decoration: none; line-height: 1.3; }
.manual-nav li a:hover { color: var(--text); background: var(--panel); }
.manual-nav li a[aria-current] { color: var(--text); background: var(--panel); box-shadow: inset 2px 0 0 var(--signal); }
.manual-nav .num { width: 1.4em; flex: none; color: var(--signal); font-variant-numeric: tabular-nums; }
.manual-nav .manual-downloads { flex-direction: column; }
.manual-nav .manual-downloads .button { padding: 8px 14px; font-size: 0.85rem; justify-content: center; }
.manual-toc b { display: block; color: var(--dim); font-size: 0.78rem; letter-spacing: 0.06em; margin-bottom: 10px; }
.manual-toc a { display: block; color: var(--dim); text-decoration: none; padding: 4px 0 4px 12px; border-left: 1px solid var(--steel); line-height: 1.3; }
.manual-toc a:hover { color: var(--text); border-left-color: var(--signal); }

.manual-body { max-width: 760px; line-height: 1.65; }
.manual-body h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-bottom: 0.6em; }
.manual-body h2 { font-size: 1.6rem; margin: 2.2em 0 0.6em; padding-top: 0.8em; border-top: 1px solid var(--steel); scroll-margin-top: 20px; }
.manual-body h3 { font-size: 1.22rem; margin: 1.8em 0 0.5em; scroll-margin-top: 20px; }
.manual-body p, .manual-body li { color: #cdd4de; }
.manual-body strong { color: var(--text); }
.manual-body a { color: var(--signal); }
.manual-body ul, .manual-body ol { padding-left: 1.3em; }
.manual-body li { margin: 0.3em 0; }
.manual-body li::marker { color: var(--signal); }
.manual-body figure { margin: 1.6em 0; }
.manual-body figure img { display: block; max-width: 100%; max-height: 520px; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px var(--steel), 0 18px 40px rgba(0, 0, 0, 0.35); }
.manual-body figcaption { color: var(--dim); font-size: 0.85rem; margin-top: 10px; }
.manual-body table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.93rem; display: block; overflow-x: auto; }
.manual-body th { text-align: left; color: var(--dim); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; border-bottom: 1px solid var(--dim); padding: 8px 12px 8px 0; }
.manual-body td { border-bottom: 1px solid var(--steel); padding: 8px 12px 8px 0; vertical-align: top; color: #cdd4de; }
.manual-body code { font-size: 0.86em; background: var(--panel); border: 1px solid var(--steel); border-radius: 5px; padding: 0.05em 0.35em; }
.manual-body pre { background: var(--panel); border-radius: 10px; padding: 14px 16px; overflow-x: auto; }
.manual-body pre code { border: 0; padding: 0; }
.manual-body kbd { font: 600 0.8em/1 "Archivo", sans-serif; display: inline-block; padding: 0.28em 0.5em; border-radius: 5px; background: #232a35; border: 1px solid #3a4452; border-bottom-width: 2px; color: var(--text); white-space: nowrap; }
.manual-body .plus { color: var(--dim); margin: 0 0.15em; font-size: 0.8em; }
.manual-body aside { margin: 1.4em 0; padding: 14px 18px; border-radius: 10px; background: var(--panel); border-left: 3px solid var(--signal); }
.manual-body aside.warning { border-left-color: var(--amber); }
.manual-body aside p:last-child { margin-bottom: 0; }
.manual-body details.params { margin: 1em 0; border-radius: 10px; background: var(--panel); padding: 2px 16px; }
.manual-body details.params summary { cursor: pointer; padding: 10px 0; font-weight: 600; color: var(--text); }
.manual-body details.params table { margin-top: 0; }
.manual-body .presets h4 { color: var(--dim); font-size: 0.8rem; letter-spacing: 0.06em; margin: 1.2em 0 0.4em; }
.manual-body .presets p { font-size: 0.92rem; margin: 0.25em 0; }
.manual-body .presets strong { color: var(--signal); font-weight: 600; }
.manual-body .manual-note { margin: 0 0 1.4em; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 64px; }
.pager a { display: block; padding: 14px 18px; border-radius: 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--steel); color: var(--text); text-decoration: none; font-weight: 600; }
.pager a:hover { box-shadow: inset 0 0 0 1px var(--signal); }
.pager a span { display: block; color: var(--dim); font-size: 0.8rem; font-weight: 500; margin-bottom: 2px; }
.pager .next { text-align: right; grid-column: 2; }
@media (max-width: 1180px) { .manual { grid-template-columns: 220px minmax(0, 1fr); } .manual-toc { display: none; } }
@media (max-width: 820px) {
  .manual { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .manual-nav { position: static; max-height: none; order: 2; }
}

/* ---------- Sister of the plugins' site: same type and rhythm, dark with light inserts ---------- */
:root { --slate: #121419; --panel: #1a1e25; --steel: #2a303a; --paper: #f6f5f2; --paper2: #eeece7; --ink: #141518; --ink2: #474b53;
  --head: 88%; --orange: #f08a1c; }
body { font-size: 17px; background: var(--slate); }
h1, h2 { font-stretch: var(--head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; }
h3 { font-stretch: 100%; letter-spacing: -0.005em; }
.kicker { margin: 0 0 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); font-stretch: 100%; }
.button { border-radius: 10px; font-stretch: 100%; font-weight: 650; padding: 13px 22px; }
.button.quiet { box-shadow: inset 0 0 0 1px #3a414d; }
.button.orange { background: var(--orange); color: #1a1206; }
.button.orange:hover { background: #ffa143; }

/* Header: quieter, the buy button in signal blue */
.bar { background: rgba(18, 20, 25, 0.82); border-bottom: 1px solid rgba(42, 48, 58, 0.8); }
.brand { font-stretch: var(--head); font-size: 1.15rem; letter-spacing: 0.02em; }
.bar nav { gap: 4px 20px; }
.bar nav a { font-size: 0.95rem; }
.bar .button { border-radius: 9px; padding: 8px 16px; font-size: 0.92rem; }
.tag-new { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 5px; font-size: 0.66rem; font-weight: 750; letter-spacing: 0.06em;
  text-transform: uppercase; vertical-align: 2px; background: var(--orange); color: #1a1206; }
.bar nav a.plugins-link { color: var(--text); }
@media (max-width: 700px) { .bar nav a.plugins-link { display: inline-flex; align-items: center; } .bar nav a.plugins-link .tag-new, .bar nav a.github { display: none; } .bar nav { gap: 4px 10px; flex-wrap: nowrap; } .bar { gap: 8px; } .brand { font-size: 1rem; gap: 7px; } .bar .button { padding: 7px 12px; } }

/* Hero */
.intro { padding: 88px 0 36px; }
.intro .kicker { display: inline-block; }
.intro h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; }
.intro h1 span:nth-child(1) { color: var(--text); }
.intro h1 span:nth-child(2) { color: var(--signal); }
.intro .lead { max-width: 38em; font-size: clamp(1.06rem, 1.4vw, 1.2rem); }

/* Section heads in the new type */
.section-head h2, .closing h2, .pair h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }

/* Light inserts: the same components on paper */
.insert-light { --text: var(--ink); --dim: var(--ink2); --panel: #ffffff; --steel: #e2dfd8; position: relative; isolation: isolate;
  background: var(--paper); color: var(--ink); padding: 96px 0; margin: 96px 0; }
.insert-light a:not(.button) { color: var(--ink); }
.insert-light .kicker { color: #1b63c2; }
.insert-light .button.quiet { color: var(--ink); box-shadow: inset 0 0 0 1px #cfcbc2; }
.insert-light .button.quiet:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.insert-light canvas.field { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.85;
  mask-image: linear-gradient(to bottom, transparent 40%, #000 75%, transparent); }

/* Plugins insert */
.plugins-promo .kicker { color: #c8640a; display: flex; align-items: center; gap: 10px; }
.plugins-promo .tag-new { margin: 0; vertical-align: 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .promo-grid { grid-template-columns: 1fr; gap: 40px; } }
.promo-grid h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; color: var(--ink2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 12px; height: 7px; border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.promo-stack { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: 18px; background: #121317; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(20, 18, 12, 0.55); transition: transform 0.3s; }
.promo-stack:hover { transform: translateY(-3px); }
.promo-stack img { position: absolute; border-radius: 6px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55); transition: transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.promo-stack .s0 { left: 5%; top: 7%; width: 58%; }
.promo-stack .s1 { right: 5%; top: 14%; width: 50%; z-index: 1; }
.promo-stack .s2 { left: 18%; bottom: 6%; width: 56%; z-index: 2; }
.promo-stack:hover .s0 { transform: translate(-6px, -4px); }
.promo-stack:hover .s1 { transform: translate(6px, -4px); }
.promo-stack:hover .s2 { transform: translateY(4px); }

/* Team */
.team-section { padding: 0; }
.team-head { max-width: 860px; }
.team-head h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.team-head .lead { color: var(--ink2); max-width: 44em; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.values > div { padding-top: 18px; border-top: 2px solid var(--ink); }
.values b { display: block; font-stretch: var(--head); font-size: 2rem; font-weight: 800; line-height: 1; color: #1f6fd6; margin-bottom: 12px; }
.values h3 { font-size: 1.08rem; margin-bottom: 6px; }
.values p { margin: 0; color: var(--ink2); font-size: 0.96rem; }
.team-links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.insert-light .more { color: var(--ink); }
.insert-light + .wrap > section { border-top: 0; }
.menu-plugins { display: none !important; }
@media (max-width: 440px) { .bar nav a.plugins-link { display: none; } .menu-plugins { display: block !important; border-bottom: 1px solid var(--steel); }
  .bar nav { gap: 2px; } .bar .button { padding: 6px 10px; } .bar .dropdown.lang summary { padding: 6px; } }
@media (max-width: 350px) { .bar { gap: 4px; } .bar .button { padding: 5px 8px; font-size: 0.8rem; } .bar .dropdown.lang summary { padding: 6px 4px; } .bar .dropdown.features-menu .menu { right: -100px; } }

/* Highlights on paper, the waves held behind them while they scroll by */
.hl-light { padding-top: 0; margin-bottom: 0; overflow: clip; }
.hl-light .highlights { padding-top: 96px; }
.hl-field { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; z-index: -1; pointer-events: none; }
.insert-light .hl-field canvas.field { opacity: 0.7; mask-image: linear-gradient(to bottom, transparent 8%, #000 35%, #000 65%, transparent 92%); }
.insert-light .demo-media { border-color: #d9d5cc; box-shadow: 0 40px 80px -40px rgba(20, 18, 12, 0.55); }
.insert-light .demo-sub { color: var(--ink2); }

/* The tour, as the plugins' carousel: a wide row of views, the middle one in front */
.tour { padding: 112px 0 24px; }
.tour .section-head { margin-bottom: 36px; }
.slides { --w: min(1720px, 100vw - 160px); }
.sl-stage { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 8px calc((100vw - var(--w)) / 2) 12px; scroll-padding-inline: calc((100vw - var(--w)) / 2); cursor: grab; outline: none; }
.sl-stage::-webkit-scrollbar { display: none; }
.sl-stage.dragging { cursor: grabbing; scroll-snap-type: none; }
.sl-stage.dragging * { pointer-events: none; }
.sl-slide { flex: 0 0 var(--w); scroll-snap-align: center; display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); border-radius: 18px; overflow: hidden;
  background: #151a21; border: 1px solid var(--steel); transition: opacity 0.4s; }
.sl-slide:not(.on) { opacity: 0.4; cursor: pointer; }
.sl-media { display: flex; align-items: center; justify-content: center; padding: 3%; aspect-ratio: 16 / 9; min-height: 0;
  background: radial-gradient(70% 60% at 50% 100%, rgba(90, 162, 255, 0.16), transparent 70%), #0d1116; }
.sl-media > img, .sl-media > video { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; box-shadow: 0 26px 50px rgba(0, 0, 0, 0.6); -webkit-user-drag: none; }
.sl-media .mosaic { width: 100%; height: 100%; border-radius: 8px; overflow: hidden; }
.sl-info { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 48px 40px 40px; }
.sl-info .kicker { color: var(--signal); }
.sl-info h3 { font-stretch: var(--head); font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 800; line-height: 1.08; margin: 0 0 14px; }
.sl-info p { margin: 0; color: var(--dim); }
.sl-info .more { align-self: flex-start; margin: 0; }
.sl-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: var(--w); margin: 22px auto 0; }
.sl-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--steel); background: transparent; cursor: pointer; display: grid; place-items: center; }
.sl-arrow:hover:not(:disabled) { border-color: var(--text); }
.sl-arrow:disabled { opacity: 0.3; cursor: default; }
.sl-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sl-pills { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--steel); overflow-x: auto; scrollbar-width: none; }
.sl-pills::-webkit-scrollbar { display: none; }
.sl-pills button { flex: none; padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--dim); cursor: pointer; font: inherit; font-weight: 650; }
.sl-pills button:hover { color: var(--text); }
.sl-pills button[aria-selected="true"] { background: var(--text); color: #0b0e12; }
@media (max-width: 900px) {
  .slides { --w: calc(100vw - 48px); }
  .sl-stage { gap: 12px; }
  .sl-slide { grid-template-columns: minmax(0, 1fr); }
  .sl-info { padding: 22px 22px 24px; gap: 16px; }
  .sl-arrow { display: none; }
  .sl-nav { width: auto; padding-inline: 24px; justify-content: center; }
}

/* Captions over the hero video, each shown during its part of the story */
.hero-captions { position: absolute; left: 3%; bottom: 6%; z-index: 2; margin: 0; pointer-events: none; }
.hero-captions p { position: absolute; left: 0; bottom: 0; margin: 0; display: flex; align-items: center; gap: 12px; width: max-content; max-width: 80vw;
  padding: 11px 20px 11px 11px; border-radius: 14px; background: rgba(10, 13, 18, 0.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; font-weight: 700; font-size: clamp(0.85rem, 1.6vw, 1.35rem); line-height: 1.25;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); opacity: 0; translate: 0 10px; transition: opacity 0.45s, translate 0.45s; }
.hero-captions p.on { opacity: 1; translate: 0 0; }
.hero-captions b { flex: none; width: 1.9em; height: 1.9em; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: #0b0e12; font-size: 0.78em; }
@media (max-width: 600px) { .hero-captions { left: 10px; bottom: 10px; } .hero-captions p { padding: 7px 12px 7px 7px; gap: 8px; border-radius: 10px; max-width: calc(100vw - 60px); } }

/* Before the launch: a band over every page, and the launch list's form. */
.preview-band { position: relative; z-index: 21; background: #24476f; color: #eef4ff; border-bottom: 1px solid rgba(90, 162, 255, 0.45); }
.preview-band .wrap { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding: 10px 0; text-align: center; }
.preview-band p { margin: 0; font-size: 0.95rem; }
.preview-band a { flex: none; padding: 5px 14px; border-radius: 999px; background: var(--amber); color: #2a1803; font-weight: 800; font-size: 0.9rem; text-decoration: none; }
.preview-band a.ghost { background: transparent; color: #eef4ff; box-shadow: inset 0 0 0 1px rgba(238, 244, 255, 0.55); font-weight: 700; }
.notify-page { max-width: 720px; }
.notify-form { display: grid; gap: 18px; max-width: 520px; margin-top: 32px; }
.notify-form[hidden] { display: none; }
.notify-field { display: grid; gap: 6px; font-weight: 700; }
.notify-field input { padding: 11px 13px; border-radius: 8px; border: 1px solid var(--steel); background: var(--panel); color: var(--text); font: inherit; font-weight: 400; }
.notify-field input:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
.notify-field textarea { padding: 11px 13px; border-radius: 8px; border: 1px solid var(--steel); background: var(--panel); color: var(--text); font: inherit; font-weight: 400; resize: vertical; }
.notify-field textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
.notify-field input::placeholder { color: var(--dim); opacity: 0.7; }
.notify-choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.notify-choice legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.notify-choice label, .notify-consent { display: flex; gap: 9px; align-items: baseline; color: var(--dim); }
.notify-consent { font-size: 0.95rem; line-height: 1.45; }
.notify-form button { justify-self: start; cursor: pointer; border: 0; font: inherit; }
.notify-note { margin: 0; color: var(--dim); font-size: 0.88rem; }
.notify-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify-state { margin-top: 28px; padding: 16px 18px; border-radius: 10px; border: 1px solid #3f5d86; background: rgba(90, 162, 255, 0.1); }
.notify-state.bad { border-color: #8a3d3d; background: rgba(255, 90, 90, 0.08); }
