/* WorkMade for Startups: shared by every page. No build step.
   The look: a white page framed by hairline rails with small corner marks, WorkMade's own
   regular-weight sans for headlines in two tones, a serif for reading, mono for labels,
   black 8px buttons, and the archive film wherever the story is about building something.
   Greys are black at an opacity; the one colour is the violet signal. */

@font-face { font-family: "Regola"; src: url("/startups/fonts/FTRegolaNeue-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Geist, self-hosted (was a render-blocking fonts.googleapis.com stylesheet).
   Latin subset of the geist package's variable font (OFL), ~32 KB. */
@font-face { font-family: "Geist"; src: url("/startups/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #fff;
  --ink: #0a0a0b;
  --ink2: #4d4d4d;
  --muted: #6e6e6e;
  --faint: #a3a3a3;
  --line: #ededed;
  --line2: #e2e2e2;
  --hover: #f3f3f3;
  --soft: #f6f6f6;
  --signal: #5b4bdb;
  --night: #0b0b0c;
  /* One sans for everything, as OpenAI does: medium headlines, regular text. */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--sans);
  --mono: var(--sans);
  --max: 1240px;
  --pad: 40px;
  --out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 0 0 1px rgba(10,10,11,.06), 0 1px 2px rgba(10,10,11,.04), 0 12px 32px -14px rgba(10,10,11,.12), 0 48px 100px -48px rgba(10,10,11,.26);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3'/%3E%3C/svg%3E");
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); letter-spacing: -.006em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video { display: block; }
h1, h2, h3, h4 { font-weight: 500; }
p { font-weight: 400; }
.num { font-variant-numeric: tabular-nums; }

/* ---- the frame: rails down both sides, sections ruled across, a mark at each crossing ---- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.frame { position: relative; max-width: var(--max); margin: 0 auto; }
.rule { position: relative; }
.rule::before, .rule::after { display: none; content: ""; position: absolute; top: -5px; width: 9px; height: 9px; background:
  linear-gradient(var(--line2), var(--line2)) center / 9px 1px no-repeat, linear-gradient(var(--line2), var(--line2)) center / 1px 9px no-repeat; }
.rule::before { left: -5px; }
.rule::after { right: -5px; }
.sec { padding: 140px var(--pad); }
.sec.tight { padding-top: 88px; padding-bottom: 88px; }

/* ---- type ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 400; letter-spacing: -.005em; color: var(--ink2); }
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); flex: none; }
.eyebrow.plain::before { display: none; }
.h1 { font-size: clamp(46px, 5.8vw, 86px); line-height: 1.04; letter-spacing: -.054em; font-weight: 500; text-wrap: balance; }
.h2 { font-size: clamp(34px, 3.1vw, 50px); line-height: 1.06; letter-spacing: -.054em; font-weight: 500; text-wrap: balance; }
.h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.2; letter-spacing: -.04em; font-weight: 500; }
.dim { color: var(--muted); }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); letter-spacing: -.008em; text-wrap: pretty; }
.small { font-size: 14px; color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: #f0f0f0; font-size: 15px; font-weight: 500; white-space: nowrap; transition: transform .14s, background .2s, opacity .2s, box-shadow .2s; }
.btn:hover { background: #e8e8e8; }
.btn:active { transform: scale(.98); }
.btn.pri { background: var(--ink); color: #fff; box-shadow: none; }
.btn.pri:hover { opacity: .88; background: var(--ink); }
.btn.white { background: #fff; color: #000; box-shadow: none; }
.btn.white:hover { opacity: .92; }
.btn.ghost-white { background: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.ghost-white:hover { background: rgba(255,255,255,.18); }
.btn .ar { width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform .3s var(--out); }
.btn:hover .ar { transform: translateX(3px); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; transition: opacity .2s; }
.link:hover { opacity: .6; }
.link .ar { width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; }

/* ---- nav ---- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .35s, color .35s; color: var(--ink); background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); }
.nav .in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); height: 60px; display: flex; align-items: center; gap: 21px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.brand img { height: 21px; width: auto; filter: brightness(0); transition: filter .35s; }
.brand span { color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line2); line-height: 1; transition: color .35s, border-color .35s; }
.nav nav { display: flex; gap: 17px; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav nav a { transition: color .2s; display: inline-flex; align-items: center; gap: 7px; }
.nav nav a:hover { opacity: .6; }
.nav nav a.here { color: var(--ink); }
.nav nav a .tag, .nav nav .mm-t .tag { font-size: 11px; font-weight: 500; padding: 2px 7px; border-radius: 999px; background: #f0f0f0; color: var(--muted); }
.nav .end { white-space: nowrap; margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 14px; }
.nav .end > a:not(.btn) { padding: 0 14px; height: 36px; display: inline-flex; align-items: center; border-radius: 999px; font-weight: 500; color: var(--ink); background: #f0f0f0; }
body.over-film .nav:not(.solid) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; }
body.over-film .nav:not(.solid) .brand img { filter: brightness(0) invert(1); }
body.over-film .nav:not(.solid) .brand span { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.35); }
body.over-film .nav:not(.solid) nav { color: #fff; }
body.over-film .nav:not(.solid) nav a:hover, body.over-film .nav:not(.solid) nav a.here { color: #fff; }
body.over-film .nav:not(.solid) nav a .tag, body.over-film .nav:not(.solid) nav .mm-t .tag { background: rgba(255,255,255,.16); color: #fff; }
body.over-film .nav:not(.solid) .end > a:not(.btn) { color: #fff; background: rgba(255,255,255,.14); }
body.over-film .nav:not(.solid) .btn.pri { background: #fff; border-color: #fff; color: #000; box-shadow: none; }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line2); background: #fff; place-items: center; }
.menu-btn i, .menu-btn i::before { display: block; width: 15px; height: 1.5px; background: #000; position: relative; }
.menu-btn i::before { content: ""; position: absolute; top: 5px; }
.menu-btn i { transform: translateY(-2.5px); }
.sheet { position: fixed; inset: 0; z-index: 70; background: #fff; padding: 20px 24px; display: none; flex-direction: column; }
.sheet.open { display: flex; }
.sheet .top { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.sheet nav { margin-top: 28px; display: grid; }
.sheet nav a { font-size: 26px; letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: 24px; height: 50px; }

/* ---- film: the archive footage, soft and a little grainy ---- */
.film { position: absolute; inset: 0; overflow: hidden; background: var(--night); }
.film > img, .film > video { position: absolute; inset: -2%; width: 104%; height: 104%; object-fit: cover; filter: grayscale(.2) contrast(1.05) brightness(.9); }
.film .grain { position: absolute; inset: -10%; opacity: .18; mix-blend-mode: overlay; background-image: var(--grain); animation: grain .5s steps(4) infinite; pointer-events: none; }
.film .shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.28) 0%, rgba(0,0,0,.42) 50%, rgba(0,0,0,.8) 100%); }
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(-3%,2%) } 50% { transform: translate(2%,-3%) } 75% { transform: translate(-2%,-1%) } 100% { transform: translate(0,0) } }
.still { position: relative; overflow: hidden; border-radius: 14px; background: var(--night); }
.still img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.04); }
.still::after { content: ""; position: absolute; inset: -10%; opacity: .14; mix-blend-mode: overlay; background-image: var(--grain); pointer-events: none; }
figure figcaption, .still figcaption, .cap-line { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---- cards and lists ---- */
.card { position: relative; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cell { padding: 28px var(--pad) 32px 0; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink2); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--ink); -webkit-mask: var(--tick) center/contain no-repeat; mask: var(--tick) center/contain no-repeat; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: #f0f0f0; color: var(--muted); white-space: nowrap; }
.pill.live { color: #1a7f45; background: #e9f7ee; }
.pill.soon { color: #8a5a00; background: #fbf2de; }
.pill.next { color: #4a3fc4; background: #efedfc; }

/* ---- FAQ ---- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .3s var(--out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 46rem; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---- the close: the film plate ---- */
.close-plate { padding: 14px; }
/* The close of every page: a light grey panel in the house look. */
.plate { border-radius: 8px; background: #f6f6f5; color: var(--ink); padding: clamp(56px, 7vw, 104px) clamp(24px, 4vw, 64px); }
.plate .in { max-width: var(--max); margin: 0 auto; }
.plate h2 { margin-top: 14px; font-size: clamp(46px, 5.8vw, 86px); line-height: 1.04; letter-spacing: -.054em; font-weight: 500; max-width: 16ch; }
.plate h2 + p { margin-top: 22px; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); }
.plate .acts { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.plate .btn:not(.pri) { background: #fff; }

/* ---- footer: white, rounded at the bottom, over the big wordmark on the space film ---- */
main, .above { position: relative; z-index: 2; background: var(--bg); }
footer.site { position: relative; z-index: 2; background: #fff; border-radius: 0 0 28px 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
footer.site .top { max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 0; display: grid; grid-template-columns: 280px 1fr; gap: 56px; }
footer.site .rail img { height: 12.5px; width: auto; filter: brightness(0); }
footer.site .rail p { margin-top: 20px; max-width: 240px; font-family: var(--serif); font-size: 16px; line-height: 1.4; color: var(--ink2); }
footer.site .rail .btn { margin-top: 22px; }
footer.site .cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; font-size: 14.5px; }
footer.site .cols span { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 16px; }
footer.site .cols a { display: block; margin-bottom: 10px; color: var(--muted); transition: color .2s; }
footer.site .cols a:hover { color: var(--ink); }
footer.site .colophon { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 44px; }
footer.site .legal { max-width: 54rem; font-size: 12px; line-height: 1.6; color: var(--muted); display: grid; gap: 7px; }
footer.site .legal-mono { margin-top: 24px; font-size: 13px; color: var(--muted); }
footer.site .legal-mono + .legal-mono { margin-top: 6px; }
.signoff { position: sticky; bottom: 0; z-index: 1; margin-top: -28px; height: clamp(300px, 46vw, 680px); overflow: hidden; background: var(--night); display: flex; align-items: flex-end; }
/* Hidden until the visitor nears the bottom (site.js adds .near); see site.js. */
.signoff { visibility: hidden; }
.signoff.near { visibility: visible; }
.signoff .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.05); }
.signoff::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45)); }
.signoff .mark { position: relative; z-index: 1; width: 100%; height: auto; padding: 0 32px; margin-bottom: 32px; filter: brightness(0) invert(1); }

/* ---- the mega menu: three panels under the nav, in the house look ---- */
.nav nav .mm-t { display: inline-flex; align-items: center; gap: 7px; font: inherit; color: inherit; background: none; border: 0; padding: 0; height: 60px; cursor: pointer; transition: opacity .2s; }
.nav nav > a { height: 60px; }
.nav nav .mm-t:hover { opacity: .6; }
.nav nav .mm-t.on { opacity: 1; }
.mm-chev { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); opacity: .5; transition: transform .25s; }
.mm-t.on .mm-chev { transform: translateY(1px) rotate(225deg); }
.mm-t.here::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--signal, #5b4bdb); order: -1; }
.mega { position: absolute; left: 0; right: 0; top: 60px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 2px 4px rgba(22,20,26,.02), 0 24px 48px -28px rgba(23,18,26,.3); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .35s cubic-bezier(.16,1,.3,1), visibility 0s .25s; }
.nav.mm-open { background: #fff; }
.nav.mm-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s cubic-bezier(.16,1,.3,1); }
.mm-panel { display: none; }
.mm-panel.on { display: block; }
.mm-in { max-width: var(--max); margin: 0 auto; padding: 26px var(--pad) 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; color: var(--ink); }
.mm-l { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; padding: 0 12px; }
.mm-l.dot { display: inline-flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 10px; }
.mm-l.dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--signal, #5b4bdb); }
.mm-col a { display: block; padding: 10px 12px; border-radius: 8px; transition: background .2s; }
.mm-col a:hover, .mm-col a:focus-visible { background: #f6f6f5; outline: none; }
.mm-col a.here b::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-radius: 50%; background: var(--signal, #5b4bdb); vertical-align: middle; }
.mm-col b, .mm-feat b { display: block; font-weight: 500; letter-spacing: -.02em; }
.mm-col b { font-size: 15.5px; }
.mm-col small, .mm-feat small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--muted); white-space: normal; }
.mm-feat { position: relative; display: block; min-height: 190px; padding: 20px 22px; border-radius: 8px; background: #f6f6f5; overflow: hidden; white-space: normal; }
.mm-feat b { font-size: 26px; letter-spacing: -.045em; line-height: 1.1; }
.mm-feat small { max-width: 220px; margin-top: 6px; }
.mm-feat img { position: absolute; right: 14px; bottom: 6px; width: 120px; height: 120px; object-fit: contain; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.mm-feat:hover img { transform: translateY(-4px); }
.mm-feat .ar { position: absolute; left: 22px; bottom: 20px; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform .3s; }
.mm-feat:hover .ar { transform: translateX(4px); }
.mm-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.mm-scrim.on { opacity: 1; pointer-events: auto; }
/* the phone sheet, grouped the same way */
.sheet { overflow-y: auto; }
.sheet nav { margin-top: 20px; gap: 22px; }
.sheet nav .grp { display: grid; }
.sheet nav .grp span { font-size: 13px; color: var(--muted); padding-bottom: 4px; }
.sheet nav .grp a { font-size: 22px; letter-spacing: -.03em; padding: 9px 0; border-bottom: 0; }
.sheet nav .grp a.here { color: var(--muted); }
.sheet .btn { flex: none; margin-bottom: 12px; }
@media (max-width: 1180px) { .mega, .mm-scrim { display: none; } }
@media (prefers-reduced-motion: reduce) { .mega, .mm-scrim, .mm-chev { transition: none; } }

/* ---- things arriving: only hidden once the script is running ---- */
html.js [data-in] { opacity: 0; }

@media (max-width: 1180px) {
  .nav nav, .nav .end > a:not(.btn) { display: none; }
  .menu-btn { display: grid; }
  .nav .in { gap: 12px; }
}
@media (max-width: 1000px) {
  :root { --pad: 24px; }
  .sec { padding: 88px var(--pad); }
  footer.site .top { grid-template-columns: 1fr; gap: 40px; }
  footer.site .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  :root { --pad: 18px; }
  .nav .end .btn span { display: none; }
  .nav .end .btn { padding: 0 11px; }
  .close-plate { padding: 8px; }
  .signoff .mark { padding: 0 14px; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  html.js [data-in] { opacity: 1; }
}

/* The film, opened over the page by Start your journey. */
.film-over { position: fixed; inset: 0; z-index: 1000; background: #000; opacity: 0; transition: opacity .5s cubic-bezier(.22,1,.36,1); }
.film-over.on { opacity: 1; }
.film-over video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-over[open] { width:100%; height:100%; max-width:none; max-height:none; margin:0; border:0; padding:0; }
/* The films are backgrounds, not players: no controls, no play button, no picture-in-picture. */
.film-over video { object-fit: contain; pointer-events: none; }
.film-tour:focus { outline: none; }
.film-over video::-webkit-media-controls, .film-over video::-webkit-media-controls-enclosure, .film-over video::-webkit-media-controls-panel, .film-over video::-webkit-media-controls-start-playback-button, .film-over video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; opacity: 0 !important; }
.film-tour { position: absolute; left: 50%; top: 66%; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.film-tour.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

.film-x { position: absolute; top: 18px; left: 18px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer; }
.film-x:hover { background: rgba(255,255,255,.2); }
.film-x i::before, .film-x i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: rgba(255,255,255,.8); }
.film-x i::before { transform: translate(-50%,-50%) rotate(45deg); } .film-x i::after { transform: translate(-50%,-50%) rotate(-45deg); }
html.filming { overflow: hidden; }

/* Principles: a heading that stays put on the left, the list going by on the right. */
.principles { margin-top: 64px; display: grid; gap: 96px; }
.pgroup { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; }
.phead { position: sticky; top: 110px; align-self: start; }
.phead h3 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.phead p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.plist { display: grid; }
.pr { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 30px 0; border-top: 1px solid var(--line); }
.pr:first-child { border-top: 0; padding-top: 0; }
.pr small { font-size: 14px; color: var(--faint); font-variant-numeric: tabular-nums; padding-top: 7px; }
.pr h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.pr p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--ink2); max-width: 36rem; }
@media (max-width: 860px) {
  .pgroup { grid-template-columns: 1fr; gap: 28px; }
  .phead { position: static; }
  .pr { grid-template-columns: 40px minmax(0, 1fr); }
}

h1, .h2, .h3 { text-wrap: balance; }
:where(a, button, summary, audio):focus-visible { outline: 3px solid #608fe2; outline-offset: 4px; }
.voice-sample details { max-width: 60ch; line-height: 1.55; }
.voice-sample { margin: 24px 0; }
.voice-sample figcaption { color: var(--ink); margin-bottom: 8px; }
.voice-sample audio { display: block; width: min(100%, 360px); }
.voice-sample summary { cursor: pointer; font-size: 14px; margin-top: 8px; }

/* "Start your journey" asks who it is for: one small white menu beside the button. */
:root { --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E"); }
.btn .chev { width: 12px; height: 12px; background: currentColor; -webkit-mask: var(--chev) center/contain no-repeat; mask: var(--chev) center/contain no-repeat; transition: transform .3s var(--out); }
.btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.start-menu { position: fixed; z-index: 900; padding: 6px; border-radius: 14px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 48px -12px rgba(0,0,0,.22); opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top center; pointer-events: none; transition: opacity .18s, transform .22s var(--out); }
.start-menu.on { opacity: 1; transform: none; pointer-events: auto; }
.start-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 11px 14px; border-radius: 8px; cursor: pointer; font: inherit; color: inherit; }
.start-menu button:hover, .start-menu button:focus-visible { background: #f4f4f4; outline: none; }
.start-menu b { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.start-menu span { display: block; margin-top: 1px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 639px) { .start-menu { padding: 8px; border-radius: 14px; } .start-menu button { padding: 14px 16px; } .start-menu b { font-size: 17px; } }

/* ---- the house panel: a grey scene holding white cards (used by Compare, Operator, Mobile) ---- */
.panel { background: #f6f6f5; border-radius: 8px; padding: clamp(24px, 4vw, 48px); color: var(--ink); }
.panel .card, .card.flat { border: 0; border-radius: 14px; box-shadow: 0 2px 4px rgba(22,20,26,.02), 0 14px 38px -24px rgba(23,18,26,.24); }
.ok-green { color: #1f8a4c; } .ok-green-bg { background: #e9f7ee; }

/* ---- shared by more than one page (was repeated in each page's own styles) ---- */
.frame-ui iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #f5f5f3; }

/* Moving between pages: a short cross-fade where the browser supports it. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---- the Research panel: big links like a research lab's menu, then the latest papers ---- */
.mm-in.mm-rs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); }
.mm-big a { padding: 6px 12px; }
.mm-big b { font-size: 26px; letter-spacing: -.045em; line-height: 1.2; }
.mm-latest a { padding: 7px 12px; }
.mm-latest b { font-size: 14.5px; }
.mm-latest small { font-size: 12.5px; }
/* the Research panel's featured paper shows its cover */
.mm-feat.mm-art { padding: 0; display: grid; grid-template-columns: 150px 1fr; gap: 0 18px; align-content: center; min-height: 0; background: #f6f6f5; }
.mm-feat.mm-art picture { grid-row: span 4; width: 150px; height: 100%; min-height: 190px; overflow: hidden; border-radius: 8px 0 0 8px; }
.mm-feat.mm-art img { position: static; width: 100%; height: 100%; object-fit: cover; transform: none; }
.mm-feat.mm-art .mm-l { margin: 22px 0 8px; align-self: end; }
.mm-feat.mm-art b { font-size: 21px; padding-right: 18px; }
.mm-feat.mm-art small { padding-right: 18px; }
.mm-feat.mm-art .ar { position: static; margin: 14px 0 22px; }
