/* GpuVM landing: the app's own design system (warm light with white surfaces, neutral graphite dark, one accent the
   visitor picks, Plus Jakarta Sans). Surfaces are told apart by tone, never by shadows or borders. */
:root {
  --bg: #f6f5f2;
  --side: #efeee9;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --hover: #e9e7e1;
  --text: #23252a;
  --muted: #5a5d64;
  --faint: #7b7e85;
  --line: #e4e2db;
  --ok: #2f9e6a;
  --accent: var(--accent-light);
  --tint-bg: color-mix(in srgb, var(--accent) 12%, #ffffff);
  --tint-fg: color-mix(in srgb, var(--accent) 80%, #000000);
  --sel: color-mix(in srgb, var(--accent) 40%, var(--bg));
  --btn-bg: #2c2c31;
  --btn-bg-hover: #38383e;
  --btn-fg: #ffffff;
  --seg-pill: #34343a;
  --seg-on-fg: #ffffff;
  --control-line: var(--line);
  --logo-part: var(--accent);
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 22px;
  --wrap: 1180px;
  color-scheme: light;
}
:root[data-mode="dark"] {
  --bg: #161616;
  --side: #1a1a1a;
  --section-alt: var(--bg);
  --surface: #1c1c1c;
  --surface-2: #1f1f1f;
  --hover: #242424;
  --text: #ebe8e1;
  --muted: #a3a3a3;
  --faint: #8a8a8a;
  --line: #2a2a2a;
  --ok: #52c08b;
  --accent: var(--accent-dark);
  --tint-bg: color-mix(in srgb, var(--accent) 16%, var(--surface));
  --tint-fg: color-mix(in srgb, var(--accent) 85%, #ffffff);
  --btn-bg: #2c2c2c;
  --btn-bg-hover: #333333;
  --btn-fg: #ebe8e1;
  --seg-pill: #262626;
  --seg-on-fg: #ebe8e1;
  --control-line: #262626;
  color-scheme: dark;
}
/* The accents the app offers: deep for light, a brighter pastel for dark (the same values as the app). */
:root, :root[data-accent="blue"] { --accent-light: #2f5bd3; --accent-dark: #7d9cf0; }
:root[data-accent="violet"] { --accent-light: #6a4fd2; --accent-dark: #a796f2; }
:root[data-accent="teal"] { --accent-light: #1d7f7c; --accent-dark: #6ccfca; }
:root[data-accent="green"] { --accent-light: #2f8550; --accent-dark: #7dd19c; }
:root[data-accent="amber"] { --accent-light: #a8650f; --accent-dark: #e7b45e; }

html[data-lang="es"] [data-l="en"], html[data-lang="en"] [data-l="es"] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--sel); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; font-weight: 800; }
h2 em, h1 .accent { font-style: normal; color: var(--accent); }
h2 em { display: block; }
.inline-em em { display: inline; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
i[data-ic] { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: none; }
i[data-ic] svg { display: block; width: 100%; height: 100%; }
.logo { flex: none; border-radius: 25%; }

/* Page scrollbar in the site's tones (Chromium); Firefox gets the standard properties only. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--faint); }
@supports (-moz-appearance: none) { html { scrollbar-color: var(--line) var(--bg); } }

.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 48px); }
.center { text-align: center; }
.lead-p { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 16px; max-width: 560px; }
.center .lead-p { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.card { background: var(--surface); border-radius: var(--r-lg); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .2s; }
/* Scrolled, the bar takes the page's background, without a line under it. */
.nav.scrolled { background: var(--bg); }
.nav-inner { width: min(var(--wrap), 100% - 32px); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 24px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 10px; color: var(--muted); background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--hover); color: var(--text); }

/* Segmented controls, as in the app: a faint outline, the chosen option a darker pill that slides. */
.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--control-line); isolation: isolate; }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 32px; padding: 0 12px; border: 0; border-radius: 8px;
  background: none; color: var(--muted); font-weight: 500; font-size: 14px; cursor: pointer; white-space: nowrap; transition: color .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-checked="true"] { color: var(--seg-on-fg); }
.seg button i { width: 16px; height: 16px; }
.seg-pill { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 8px; background: var(--seg-pill); box-shadow: inset 0 0 0 1px var(--seg-pill-line, transparent); transition: transform .28s cubic-bezier(.3, .8, .3, 1), width .28s cubic-bezier(.3, .8, .3, 1); }
:root[data-mode="dark"] .seg-pill { --seg-pill-line: #2f2f2f; }
.seg.small button { height: 28px; padding: 0 9px; font-size: 12px; font-weight: 600; }
.seg.big { margin-top: 28px; }
.seg.big button { height: 40px; padding: 0 18px; font-size: 15px; }
.no-anim .seg-pill { transition: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 20px; border: 0; border-radius: 12px; font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  background: var(--surface); color: var(--text); transition: background-color .15s; white-space: nowrap; }
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn.primary:hover { background: var(--btn-bg-hover); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--control-line); height: 38px; padding: 0 14px; font-size: 14px; font-weight: 500; }
.btn.ghost:hover { background: var(--hover); }
.btn .ver { opacity: .7; font-weight: 500; }
.btn .ver:empty { display: none; }

/* Hero */
.hero { padding: 132px 0 40px; text-align: center; }
.hero-title { font-size: clamp(40px, 6.6vw, 84px); line-height: 1; font-weight: 800; letter-spacing: -0.045em; }
.hero-title .line { display: block; }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 600px; margin: 24px auto 0; font-weight: 500; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-note { color: var(--faint); font-size: 14px; margin-top: 16px; }

/* The stage: the live cube, with the controls that change it and the page in the same panel. */
.stage { margin-top: 48px; background: var(--surface); border-radius: var(--r-xl); overflow: hidden; text-align: left; }
.stage-cube { position: relative; height: clamp(380px, 64vh, 620px); background: var(--bg); }
.stage-cube .demo { position: absolute; inset: 0; }
.stage-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 12px 14px; }
.ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
html:not([data-world="blocks"]) [data-seg="time"] { display: none; }
.swatches { display: inline-flex; gap: 6px; padding: 0 4px; }
.swatch { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: linear-gradient(135deg, var(--l) 50%, var(--d) 50%); outline: 1.5px solid transparent; outline-offset: 2px; transition: outline-color .15s; }
.swatch:hover { outline-color: var(--line); }
.swatch[aria-checked="true"] { outline-color: var(--faint); }

/* Chapters: a feature beside the app's real component or a current screenshot, alternating sides. */
.chapter, .section { padding: 104px 0; }
.chapter.alt, .section.alt { background: var(--section-alt, var(--side)); }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.chapter-grid.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter-grid.flip .chapter-text { order: 2; }
/* Wide pieces of the app (option lists, Customize): the text above in two columns, the piece at full width. */
.chapter-grid.stack { grid-template-columns: minmax(0, 1fr); gap: 48px; }
.stack .chapter-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
.stack .chapter-text > * { grid-column: 1; }
.stack .chapter-text > .points { grid-column: 2; grid-row: 1 / span 4; margin: 0; align-self: center; }
.chapter-media { min-width: 0; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--muted); font-size: 15px; }
.points li > i { width: 34px; height: 34px; border-radius: 10px; background: var(--tint-bg); color: var(--tint-fg); padding: 8px; }
.points li > span { padding-top: 5px; }
.points b { color: var(--text); font-weight: 600; }
.stats { display: flex; gap: 40px; margin-top: 28px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat b small, .metric b small { font-size: .5em; font-weight: 700; margin-left: 4px; color: var(--muted); letter-spacing: 0; }
.stat > span { color: var(--muted); font-size: 14px; max-width: 200px; }

/* Screenshots: the image whole, on a white (light) or panel (dark) frame. */
.shot { margin: 0; background: var(--surface); border-radius: var(--r-lg); padding: 8px; }
.shot img { width: 100%; aspect-ratio: 16 / 10; border-radius: 11px; background: var(--bg); }
.alt .shot { background: var(--surface); }

/* Live demos */
.demo { display: block; min-width: 0; }
.demo.tall { height: 620px; }
[data-demo="customize"].tall { height: 660px; }
[data-demo="games"].tall { height: 520px; }
.window { margin-top: 48px; background: var(--surface); border-radius: var(--r-xl); padding: 8px; }
.app-demo { border-radius: 14px; overflow: hidden; }

/* Apps */
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 14px; }
.app-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 14px; border-radius: var(--r); text-align: center; transition: background-color .15s; }
.app-tile:hover { background: var(--surface-2); }
:root[data-mode="dark"] .app-tile:hover { background: var(--hover); }
.app-tile img { width: 44px; height: 44px; object-fit: contain; }
.app-tile span { font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.3; }

/* Languages: the same page in both, side by side under a handle */
.compare { position: relative; border-radius: var(--r-lg); background: var(--surface); padding: 8px; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.compare img { width: 100%; aspect-ratio: 16 / 10; border-radius: 11px; background: var(--bg); }
.compare img + img { position: absolute; top: 8px; left: 8px; width: calc(100% - 16px); clip-path: inset(0 0 0 var(--split)); }
.compare-handle { position: absolute; top: 8px; bottom: 8px; left: calc(8px + (100% - 16px) * var(--split-n, .5)); width: 2px; margin-left: -1px; background: var(--btn-bg); outline: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); display: grid; place-items: center; }
.compare-handle:focus-visible span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Security */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.sec { padding: 28px; }
.sec .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tint-bg); color: var(--tint-fg); }
.sec .ic i { width: 20px; height: 20px; }
.sec h3 { margin: 18px 0 8px; }
.sec p { color: var(--muted); font-size: 15px; }
.sec.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: center; }
.prompt-stage { background: var(--bg); border-radius: var(--r); padding: 22px; }

/* Speed */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.metric { padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.metric b { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.metric > span { color: var(--muted); font-size: 15px; }

/* Install */
/* One card: the steps and the download on the left, what you need on the right. */
.install-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 72px; padding: 44px; align-items: start; }
.install-steps, .req { display: flex; flex-direction: column; align-items: flex-start; }
.req { padding-top: 10px; }
.steps { list-style: none; margin: 28px 0 32px; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
.steps .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--tint-bg); color: var(--tint-fg); }
.steps b { display: block; font-weight: 700; }
.steps li span span { color: var(--muted); font-size: 15px; }
.req h3 { font-size: 22px; letter-spacing: -0.02em; }
.checks { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--tint-bg); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 8px; height: 5px; border: solid var(--tint-fg); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* What's new: a bento of the release's highlights */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 48px 0 32px; }
.news { background: var(--surface); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.news.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: stretch; padding: 10px 24px 10px 10px; }
.news.wide.right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); padding: 10px 10px 10px 24px; }
.news.wide.right .news-thumb { order: 2; }
.bento[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento[data-cols="1"] { grid-template-columns: minmax(0, 1fr); }
.news-pair { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.news-pair .news { flex: 1; justify-content: center; }
.news-thumb { border-radius: 11px; overflow: hidden; background: var(--bg); }
.news-thumb img { width: 100%; aspect-ratio: 16 / 10; transform-origin: var(--ox, 50%) var(--oy, 40%); transform: scale(var(--k, 1.5)); }
/* Each screenshot cropped to what the change is about, so it reads at this size. */
.news-thumb[data-thumb="library"] { --ox: 40%; --oy: 22%; --k: 1.75; }
.news-thumb[data-thumb="games"] { --ox: 30%; --oy: 30%; --k: 1.6; }
.news-thumb[data-thumb="personalize"] { --ox: 100%; --oy: 50%; --k: 1.55; }
.news-thumb[data-thumb="home"], .news-thumb[data-thumb="home-board"] { --ox: 45%; --oy: 30%; --k: 1.45; }
.news-thumb[data-thumb="machine"] { --ox: 45%; --oy: 25%; --k: 1.5; }
.news-thumb[data-thumb="create"] { --ox: 50%; --oy: 35%; --k: 1.4; }
.news-body { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; }
.news.wide .news-thumb { min-height: 230px; }
.news.wide .news-thumb img { height: 100%; aspect-ratio: auto; object-fit: cover; }
.news-tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--tint-bg); color: var(--tint-fg); }
.news b { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.news-text { color: var(--muted); font-size: 15px; }
.news code { font-size: .9em; padding: 1px 5px; border-radius: 5px; background: var(--side); font-family: ui-monospace, Consolas, monospace; font-variant-ligatures: none; }
.more { margin-top: 0; }

/* FAQ: one column */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 44px; }
.faq details { background: var(--surface); border-radius: var(--r-lg); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--faint); transition: transform .2s; }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Closing and footer */
.closing { padding-top: 40px; }
.closing-logo { margin: 0 auto 28px; width: 64px; height: 64px; }
.footer { padding: 32px 0 44px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.footer nav { margin-left: auto; display: flex; gap: 20px; color: var(--muted); }
.footer nav a:hover { color: var(--text); }

/* Entrances: only with motion allowed, and never left invisible (the class goes on as soon as it is seen). */
.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal.in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .chapter-grid, .chapter-grid.flip { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chapter-grid.flip .chapter-text { order: 0; }
  .chapter-text { max-width: 680px; }
  .stack .chapter-text { max-width: none; grid-template-columns: minmax(0, 1fr); }
  .stack .chapter-text > .points { grid-column: 1; grid-row: auto; margin-top: 28px; }
  .sec.wide { grid-column: 1 / -1; }
  .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-pair { grid-column: 1 / -1; flex-direction: row; }
  .news-pair .news { flex: 1 1 0; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news.wide { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .nav-links { display: none; } }

/* Phone */
@media (max-width: 680px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .hero { padding-top: 104px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stage { margin-top: 36px; }
  .stage-cube { height: 380px; }
  .stage-bar { flex-direction: column; align-items: stretch; }
  .ctl { flex-direction: column; align-items: stretch; }
  .ctl .seg { display: flex; }
  .ctl .seg button { flex: 1; padding: 0 6px; }
  .ctl .seg[data-seg="world"] button i { display: none; }
  .swatches { justify-content: space-between; padding: 4px 6px; }
  .stage-bar .btn { width: 100%; }
  .chapter, .section { padding: 72px 0; }
  .stats { gap: 24px; }
  .stat b { font-size: 34px; }
  .demo.tall { height: 640px; }
  [data-demo="customize"].tall { height: 900px; }
  [data-demo="games"].tall { height: 760px; }
  .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px; }
  .sec-grid, .metrics, .bento { grid-template-columns: minmax(0, 1fr); }
  .sec.wide { grid-template-columns: minmax(0, 1fr); }
  .news.wide, .news.wide.right { grid-template-columns: minmax(0, 1fr); padding: 10px 10px 22px; }
  .news-pair { flex-direction: column; }
  .news.wide .news-thumb { min-height: 0; aspect-ratio: 16 / 10; }
  .news.wide.right .news-thumb { order: 0; }
  .news.wide .news-body { padding: 0 12px; }
  .install-grid { grid-template-columns: minmax(0, 1fr); }
  .install-grid { padding: 26px; }
  .install-steps .btn, .req .btn { width: 100%; }
  .seg.big { display: flex; }
  .seg.big button { flex: 1; }
  .faq summary { padding: 18px 20px; font-size: 16px; }
  .footer nav { margin-left: 0; }
  .more { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .seg-pill { transition: none; } }

/* The hero's last word changes on its own: what the machine is for, each word in one of the app's accents, coming
   up from below while the last one leaves upward; the width eases to the new word so the line stays centered. */
.rotor { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; transition: width 0.55s cubic-bezier(.2, .7, .2, 1); }
.rotor > span { grid-area: 1 / 1; justify-self: start; text-align: left; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform 0.6s cubic-bezier(.2, .7, .2, 1), opacity 0.4s; }
.rotor > span.on { transform: none; opacity: 1; }
.rotor > span.out { transform: translateY(-105%); opacity: 0; }
.rotor > span:nth-child(5n + 1) { color: var(--rot-1); } .rotor > span:nth-child(5n + 2) { color: var(--rot-2); }
.rotor > span:nth-child(5n + 3) { color: var(--rot-3); } .rotor > span:nth-child(5n + 4) { color: var(--rot-4); } .rotor > span:nth-child(5n + 5) { color: var(--rot-5); }
:root { --rot-1: #2f5bd3; --rot-2: #6a4fd2; --rot-3: #1d7f7c; --rot-4: #a8650f; --rot-5: #2f8550; }
:root[data-mode="dark"] { --rot-1: #7d9cf0; --rot-2: #a796f2; --rot-3: #6ccfca; --rot-4: #e7b45e; --rot-5: #7dd19c; }
@media (prefers-reduced-motion: reduce) { .rotor, .rotor > span { transition: none; } }
/* On a phone each point puts its icon above its text, which then takes the whole width. */
@media (max-width: 600px) {
  .points li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .points li > span { padding-top: 0; }
}
/* On a phone what's new is one column, whatever the number of cards. */
@media (max-width: 640px) { .bento[data-cols] { grid-template-columns: minmax(0, 1fr); } }
