/* ------------------------- RoMotion — Styles -------------------------------------------------- */

/* Inter (SIL Open Font License, see assets/fonts/Inter-LICENSE.txt) */
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-style: normal; 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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-wght-italic.woff2') format('woff2-variations'); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --c-dark: #1C1D20;
  --c-dark-2: #141517;
  --c-dark-3: #26272B;
  --c-white: #FFFFFF;
  --c-blue: #455CE9;
  --c-blue-dark: #334BD3;
  --c-gray: #999D9E;
  --c-light: #E9EAEB;
  --c-paper: #F4F4F2;
  --c-orange: #FF7A45;
  --c-green: #24C958;

  --border: rgba(28, 29, 32, 0.175);
  --border-light: rgba(255, 255, 255, 0.2);

  --ease: cubic-bezier(.7, 0, .3, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --anim: all .5s var(--ease);
  --anim-fast: all .3s var(--ease);

  --gap: clamp(1.25em, 4vw, 2.5em);
  --section: clamp(5em, 21vh, 12em);
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  --vh: 1vh;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  font-weight: 450;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-dark);
  background: var(--c-white);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
html.is-waiting, html.is-waiting * { cursor: wait !important; }

h1, h2, h3, h4, h5, p { margin: 0; font-weight: 450; }
h1 { font-size: calc(clamp(3.25em, 7vw, 8em) * .875); line-height: 1.065; letter-spacing: -.02em; }
h2 { font-size: clamp(3.25em, 5vw, 4.5em); line-height: 1.065; letter-spacing: -.01em; }
h3 { font-size: clamp(2em, 3.2vw, 3em); line-height: 1.1; }
h4 { font-size: clamp(1.55em, 2.3vw, 2.5em); line-height: 1.45; letter-spacing: -.005em; }
h5 { font-size: .75em; text-transform: uppercase; letter-spacing: .08em; color: var(--c-gray); font-weight: 450; }
p { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.66; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--c-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-select { user-select: none; -webkit-user-select: none; }
.mono { font-family: var(--mono); font-size: .8em; letter-spacing: 0; }

.section { position: relative; padding: var(--section) 0; }
.container { position: relative; width: 100%; max-width: 100em; margin: 0 auto; padding: 0 calc(var(--gap) * 2); }
.container.medium { padding: 0 calc(var(--gap) * 4); }
.container.small { max-width: 68em; }
@media (max-width: 1024px) { .container, .container.medium { padding: 0 var(--gap); } }

.theme-dark { background: var(--c-dark); color: var(--c-white); }
.theme-dark h5 { color: rgba(255, 255, 255, .5); }
.stripe { height: 1px; width: 100%; background: var(--border); }
.theme-dark .stripe { background: var(--border-light); }

/* ------------------------- Reveal helpers -------------------------------------------------- */

.span-line { display: inline-flex; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.span-line-inner { display: inline-block; will-change: transform; }
.fade-in { will-change: transform, opacity; }
.once-in { will-change: transform; }

/* ------------------------- Buttons -------------------------------------------------- */

.magnetic { display: inline-flex; }
.btn-text { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .5em; }

/* Round CTA with rising fill */
.btn-round {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(9em, 12vw, 11em);
  height: clamp(9em, 12vw, 11em);
  border-radius: 50%;
  background: var(--c-dark);
  color: var(--c-white);
  overflow: hidden;
  isolation: isolate;
  font-size: 1em;
}
.btn-round.is-blue { background: var(--c-blue); }
.btn-round.is-big { width: clamp(10em, 15vw, 13.5em); height: clamp(10em, 15vw, 13.5em); font-size: 1.1em; }
.btn-fill {
  position: absolute;
  left: -25%; top: -50%;
  width: 150%; height: 200%;
  border-radius: 50%;
  background: var(--c-blue);
  transform: translateY(-76%);
  z-index: 0;
  pointer-events: none;
}
.btn-round.is-blue .btn-fill { background: var(--c-blue-dark); }

/* Pill */
.btn-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  height: 3.6em;
  padding: 0 1.8em;
  border-radius: 999px;
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  font-size: 1em;
  transition: border-color .3s var(--ease);
}
.btn-pill .btn-fill { background: var(--c-dark); }
.btn-pill:hover { border-color: var(--c-dark); }
.btn-pill:hover .btn-text { color: var(--c-white); }
.btn-pill .btn-text { transition: color .3s var(--ease) .05s; }
.btn-pill.is-solid { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.btn-pill.is-solid .btn-fill { background: var(--c-blue); }
.btn-pill.is-blue { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.btn-pill.is-blue .btn-fill { background: var(--c-blue-dark); }
.btn-pill.is-small { height: 2.75em; padding: 0 1.25em; font-size: .9em; }
.theme-dark .btn-pill { border-color: var(--border-light); }
.theme-dark .btn-pill .btn-fill { background: var(--c-blue); }
.theme-dark .btn-pill:hover { border-color: var(--c-blue); }
.btn-pill.is-active { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.btn-pill .count { font-size: .7em; opacity: .55; align-self: flex-start; margin-top: .35em; margin-left: -.2em; }

/* Text link with dot */
.btn-link { position: relative; display: inline-flex; padding: .9em .85em; }
.btn-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: .25em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, 0) scale(0);
  transition: transform .25s var(--ease);
}
.btn-link:hover::after, .btn-link.is-current::after { transform: translate(-50%, 0) scale(1); }

/* Arrow */
.arrow { display: inline-flex; width: 1em; height: 1em; }
.arrow svg { width: 100%; height: 100%; overflow: visible; }

/* ------------------------- Cursor -------------------------------------------------- */

.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 300;
  width: 0; height: 0;
  pointer-events: none;
}
.cursor-ball {
  position: absolute;
  left: 0; top: 0;
  width: 5.5em; height: 5.5em;
  margin: -2.75em 0 0 -2.75em;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform .4s var(--ease);
  font-size: 1em;
}
.cursor-ball span { opacity: 0; transition: opacity .25s ease; }
.cursor.is-active .cursor-ball { transform: scale(1); }
.cursor.is-active .cursor-ball span { opacity: 1; transition-delay: .1s; }
.cursor.is-pressed .cursor-ball { transform: scale(.85); }
.cursor.is-small .cursor-ball { transform: scale(.22); }
.cursor.is-small .cursor-ball span { opacity: 0; }
@media (hover: none) { .cursor { display: none; } }

/* Floating preview that follows the cursor over lists */
.float-preview {
  position: fixed;
  left: 0; top: 0;
  z-index: 250;
  width: clamp(18em, 26vw, 27em);
  height: clamp(13em, 19vw, 20em);
  margin: calc(clamp(13em, 19vw, 20em) / -2) 0 0 calc(clamp(18em, 26vw, 27em) / -2);
  pointer-events: none;
  transform: scale(0);
  border-radius: 8px;
  overflow: hidden;
  background: var(--c-light);
}
.float-preview canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-preview-label {
  position: absolute;
  left: 1.1em; right: 1.1em; bottom: 1em;
  z-index: 2;
  font-size: .72em;
  line-height: 1.45;
  color: #5b5d63;
}
@media (hover: none) { .float-preview { display: none; } }

/* ------------------------- Curtain (preloader + page transitions) -------------------------------------------------- */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  visibility: hidden;
}
.curtain.is-on { visibility: visible; pointer-events: all; }
.curtain-panel {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: var(--c-dark-2);
  will-change: transform;
}
.curtain-curve {
  position: absolute;
  left: -15%;
  width: 130%;
  height: 0;
  overflow: hidden;
  will-change: height;
}
.curtain-curve::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 900%;
  border-radius: 50%;
  background: var(--c-dark-2);
}
.curtain-curve.top { bottom: 100%; }
.curtain-curve.top::before { bottom: -800%; }
.curtain-curve.bottom { top: 100%; }
.curtain-curve.bottom::before { top: -800%; }
.curtain-words {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  color: var(--c-white);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: clamp(2.5em, 5vw, 4.25em);
  opacity: 0;
}
.curtain-words .dot { width: .17em; height: .17em; border-radius: 50%; background: var(--c-white); flex: none; }
.curtain-words .word { display: inline-block; min-width: 1ch; }
.curtain-frame {
  position: absolute;
  left: 50%; bottom: 2.25em;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .4);
  font-family: var(--mono);
  font-size: .75em;
  letter-spacing: .05em;
  opacity: 0;
}

/* ------------------------- Nav -------------------------------------------------- */

.nav {
  position: absolute;
  left: 0; top: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--gap) * .9) calc(var(--gap) * 1.25) 0;
}
.nav.is-light { color: var(--c-white); }
.nav-logo { display: inline-flex; align-items: center; padding: .9em 0; }
.nav-logo .btn-text { gap: .35em; }
.nav-logo .roll { position: relative; display: inline-flex; overflow: hidden; white-space: nowrap; width: var(--roll-w0, auto); transition: width .6s var(--ease); }
.nav-logo .roll-track { display: inline-flex; gap: .3em; flex: none; transition: transform .6s var(--ease); }
.nav-logo .roll .full { white-space: nowrap; }
.nav-logo:hover .roll { width: var(--roll-w1, auto); }
.nav-logo:hover .roll-track { transform: translateX(calc(-1 * var(--by-w, 4.4em))); }
.nav-logo .wordmark { font-weight: 700; letter-spacing: -.01em; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-links .menu-trigger { display: none; }
@media (max-width: 720px) {
  .nav-links li { display: none; }
  .nav-links .menu-trigger { display: inline-flex; }
}

/* Floating menu button */
.menu-btn {
  position: fixed;
  right: calc(var(--gap) * 1.1);
  top: calc(var(--gap) * 1.1);
  z-index: 520;
  transform: scale(0);
  transition: transform .4s var(--ease);
}
.menu-btn.is-visible, body.menu-open .menu-btn { transform: scale(1); }
.menu-btn .btn-round {
  width: clamp(4.5em, 6vw, 5.75em);
  height: clamp(4.5em, 6vw, 5.75em);
  background: var(--c-dark);
  box-shadow: 0 0 0 0 transparent;
}
.menu-btn .btn-round.on-dark { box-shadow: 0 0 0 1px var(--border-light); }
.menu-bars { position: relative; width: 1.75em; height: 10px; }
.menu-bars::before, .menu-bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #fff;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-bars::before { top: 0; }
.menu-bars::after { top: 100%; }
body.menu-open .menu-bars::before { top: 50%; transform: rotate(45deg); }
body.menu-open .menu-bars::after { top: 50%; transform: rotate(-45deg); }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, .1);
  opacity: 0;
  visibility: hidden;
  transition: var(--anim);
}
body.menu-open .menu-backdrop { opacity: 1; visibility: visible; }

.menu-panel {
  position: fixed;
  top: 0; right: 0;
  z-index: 510;
  height: 100%;
  width: min(36em, 100vw);
  background: var(--c-dark);
  color: var(--c-white);
  transform: translateX(calc(100% + 8vw));
  transition: transform .8s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15vh clamp(2em, 6vw, 6em) 3em;
}
body.menu-open .menu-panel { transform: none; }
.menu-curve {
  position: absolute;
  top: 0; right: 100%;
  height: 100%;
  width: 8vw;
  overflow: hidden;
  pointer-events: none;
}
.menu-curve::before {
  content: '';
  position: absolute;
  top: -25%; left: 0;
  width: 200%;
  height: 150%;
  border-radius: 50%;
  background: var(--c-dark);
  transform: translateX(0);
  transition: transform .8s var(--ease);
}
body.menu-open .menu-curve::before { transform: translateX(50%); }
.menu-panel h5 { margin-bottom: 1.5em; }
.menu-panel .stripe { margin-bottom: 2.5em; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a { position: relative; display: inline-flex; align-items: center; font-size: clamp(2.5em, 4.4vw, 3.6em); line-height: 1.25; padding: .05em 0; }
.menu-links a::before {
  content: '';
  position: absolute;
  left: -1.1em;
  width: .25em; height: .25em;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.menu-links a:hover::before, .menu-links a.is-current::before { transform: scale(1); }
.menu-socials { display: flex; flex-wrap: wrap; gap: 0 1.5em; }
.menu-socials a { padding: .4em 0; }
.menu-socials-wrap h5 { margin-bottom: 1em; }

/* ------------------------- Marquee -------------------------------------------------- */

.marquee { position: relative; display: flex; white-space: nowrap; overflow: hidden; pointer-events: none; }
.marquee-track { display: flex; flex: none; will-change: transform; }
.marquee-item { flex: none; display: flex; align-items: center; }
.marquee-item .sep { display: inline-block; padding: 0 .25em; }

/* ------------------------- Hero (home) -------------------------------------------------- */

.hero {
  position: relative;
  height: calc(var(--vh) * 100);
  min-height: 46em;
  background: var(--c-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-curves { position: absolute; left: 0; top: 12%; width: 100%; height: 62%; z-index: 0; }
.hero-center {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.5em var(--gap) clamp(9em, 15vw, 16em);
}
.hero-title { font-size: clamp(3em, 6.4vw, 6.6em); line-height: 1; letter-spacing: -.035em; margin-bottom: .55em; }
.hero-title .muted { color: rgba(28, 29, 32, .38); }
.hero-name {
  position: absolute;
  left: 0; bottom: -.18em;
  z-index: 1;
  width: 100%;
  color: var(--c-dark);
}
.hero-name .marquee-item { font-size: clamp(6em, 14vw, 16em); line-height: 1; letter-spacing: -.04em; padding-right: .15em; }
.hero-name .sep { font-weight: 300; }

.prompt {
  position: relative;
  width: min(46em, 100%);
  background: var(--c-white);
  border-radius: 1.6em;
  padding: 1.4em 1.4em 1.1em 1.6em;
  text-align: left;
  box-shadow: 0 1px 0 rgba(28, 29, 32, .04), 0 30px 60px -30px rgba(28, 29, 32, .35);
  transition: box-shadow .4s var(--ease);
}
.prompt:focus-within { box-shadow: 0 0 0 1.5px var(--c-blue), 0 30px 60px -30px rgba(28, 29, 32, .35); }
.prompt textarea {
  display: block;
  width: 100%;
  border: 0;
  outline: 0;
  resize: none;
  background: none;
  font: inherit;
  font-size: clamp(1.1em, 1.4vw, 1.3em);
  line-height: 1.45;
  color: var(--c-dark);
  min-height: 2.9em;
  padding: 0 7em 0 0;
}
.prompt textarea::placeholder { color: rgba(28, 29, 32, .35); }
.prompt-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em; margin-top: .9em; }
.prompt-opts { display: flex; flex-wrap: wrap; gap: .5em; align-items: center; }
/* centred with flex instead of translateY(-50%), which put the label on a half pixel and blurred it */
.prompt-go { position: absolute; right: 1em; top: 0; bottom: 0; display: flex; align-items: center; }
.prompt-go .btn-round { width: 6.75em; height: 6.75em; font-size: .9em; }

.seg { display: inline-flex; padding: .2em; border-radius: 999px; background: var(--c-light); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 2.1em; padding: 0 .85em; border-radius: 999px; font-size: .82em; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); user-select: none; }
.seg input:checked + span { background: var(--c-dark); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--c-blue); outline-offset: 1px; }
.theme-dark .seg { background: rgba(255, 255, 255, .08); }
.theme-dark .seg input:checked + span { background: #fff; color: var(--c-dark); }

.toggle { display: inline-flex; align-items: center; gap: .55em; font-size: .82em; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-ui { position: relative; width: 2.4em; height: 1.4em; border-radius: 999px; background: rgba(28, 29, 32, .15); transition: background .3s var(--ease); flex: none; }
.toggle-ui::after { content: ''; position: absolute; left: .2em; top: .2em; width: 1em; height: 1em; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.toggle input:checked + .toggle-ui { background: var(--c-blue); }
.toggle input:checked + .toggle-ui::after { transform: translateX(1em); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--c-blue); outline-offset: 2px; }

.prompt-examples { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4em; margin-top: 1.4em; font-size: .88em; }
.prompt-examples > span { color: var(--c-gray); margin-right: .3em; }
.prompt-examples button { height: 2.3em; padding: 0 1em; border-radius: 999px; border: 1px solid var(--border); transition: var(--anim-fast); }
.prompt-examples button:hover { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }

.hero-hanger {
  position: absolute;
  left: 0; top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.4em;
  height: 7.5em;
  padding: 0 1.25em 0 2.25em;
  background: var(--c-dark);
  color: #fff;
  border-radius: 0 999px 999px 0;
  transform: translateY(-50%);
}
.hero-hanger p { font-size: 1.05em; line-height: 1.3; }
.keyball {
  position: relative;
  width: 5.25em; height: 5.25em;
  border-radius: 50%;
  background: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.keyball svg { width: 2.2em; height: 2.2em; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-tag { position: absolute; right: calc(var(--gap) * 2); top: 50%; z-index: 3; transform: translateY(-50%); }
.hero-tag .arrow { width: 1.1em; height: 1.1em; margin-bottom: 2.2em; }
.hero-tag h4 { font-size: clamp(1.2em, 1.6vw, 1.75em); line-height: 1.3; }
@media (max-width: 1440px) { .hero-hanger, .hero-tag { top: 26%; } }
@media (max-width: 1180px) { .hero-hanger, .hero-tag { display: none; } }
@media (max-width: 720px) {
  .hero-center { padding-top: 7em; }
  .prompt { padding: 1.1em 1.1em 1em 1.2em; border-radius: 1.3em; }
  .prompt textarea { padding: 0; min-height: 4.4em; }
  .prompt-go { position: relative; right: auto; top: auto; bottom: auto; display: block; margin-top: 1em; }
  .prompt-go .btn-round { width: 100%; height: 3.4em; border-radius: 999px; }
  .prompt-bar { flex-direction: column; align-items: stretch; }
}

/* ------------------------- Intro -------------------------------------------------- */

.intro .row { display: flex; gap: 4em; }
.intro .col-text { flex: 1 1 62%; }
.intro .col-side { flex: 1 1 30%; position: relative; padding-top: .6em; }
.intro .col-side p { max-width: 20em; }
.intro .btn-round { position: absolute; right: 0; top: calc(100% + 3em); }
@media (max-width: 1024px) {
  .intro .row { flex-direction: column; gap: 2em; }
  .intro .btn-round { position: relative; top: 0; margin-top: 2.5em; }
}

/* ------------------------- Featured list -------------------------------------------------- */

.list-head { display: flex; justify-content: space-between; align-items: end; padding: 0 0 2.5em; }
.anim-list { list-style: none; margin: 0; padding: 0; }
.anim-list li { position: relative; }
.anim-list li > a {
  display: grid;
  grid-template-columns: 1fr minmax(8em, 18%) minmax(5em, 10%);
  align-items: center;
  gap: 1.5em;
  padding: clamp(2.5em, 5vw, 4.5em) clamp(1em, 4vw, 4em);
  transition: opacity .6s var(--ease), padding .6s var(--ease);
  border-top: 1px solid var(--border);
}
.anim-list li:last-child > a { border-bottom: 1px solid var(--border); }
.anim-list h3 { font-size: clamp(2.25em, 5.5vw, 5.25em); letter-spacing: -.02em; line-height: 1; transition: transform .6s var(--ease); }
.anim-list .meta { color: var(--c-dark); transition: transform .6s var(--ease); }
.anim-list .num { text-align: right; color: var(--c-gray); font-family: var(--mono); font-size: .8em; }
@media (hover: hover) {
  .anim-list:hover li > a { opacity: .3; }
  .anim-list li > a:hover { opacity: 1; }
  .anim-list li > a:hover h3 { transform: translateX(-.15em); }
  .anim-list li > a:hover .meta { transform: translateX(.6em); }
}
@media (max-width: 720px) {
  .anim-list li > a { grid-template-columns: 1fr auto; padding: 2em 0; }
  .anim-list .num { display: none; }
}
.list-more { display: flex; justify-content: center; padding-top: 4em; }

/* ------------------------- Capabilities tabs -------------------------------------------------- */

.caps { background: var(--c-paper); }
.caps-head { display: flex; justify-content: space-between; align-items: end; gap: 2em; margin-bottom: 3.5em; flex-wrap: wrap; }
.caps-head h2 { max-width: 11em; }
.tabs { display: flex; gap: .5em; flex-wrap: wrap; }
.caps-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2em, 5vw, 5em); align-items: stretch; }
.caps-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5em; padding: 1em 0; }
.caps-copy h3 { margin-bottom: .6em; }
.caps-copy ul { list-style: none; margin: 0; padding: 0; }
.caps-copy li { border-top: 1px solid var(--border); }
.caps-copy li:last-child { border-bottom: 1px solid var(--border); }
.tab-row { display: flex; justify-content: space-between; gap: 1.5em; padding: 1.1em 0; transition: padding .5s var(--ease), color .3s; }
.tab-row span:last-child { color: var(--c-gray); text-align: right; flex: none; font-family: var(--mono); font-size: .8em; padding-top: .2em; }
.tab-row:hover { padding-left: .6em; color: var(--c-blue); }
.caps-stage {
  position: relative;
  min-height: clamp(26em, 44vw, 40em);
  border-radius: 8px;
  overflow: hidden;
  background: var(--c-light);
}
.caps-stage canvas { position: absolute; left: 0; top: 8%; width: 100%; height: 80%; }
.caps-stage { cursor: pointer; }
.caps-stage .stage-label {
  position: absolute;
  left: 1.25em; top: 1.1em;
  z-index: 2;
  display: flex; gap: .5em; align-items: center;
  font-size: .85em;
}
.caps-stage .stage-label .live { width: .55em; height: .55em; border-radius: 50%; background: var(--c-orange); animation: pulse 1.6s ease infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.caps-stage .stage-cta { position: absolute; right: 1.25em; bottom: 1.25em; z-index: 2; }
.caps-stage .stage-progress { position: absolute; left: 1.25em; right: 1.25em; bottom: .7em; height: 2px; background: rgba(28, 29, 32, .1); border-radius: 2px; overflow: hidden; z-index: 2; }
.caps-stage .stage-progress i { display: block; height: 100%; width: 0; background: var(--c-dark); }
@media (max-width: 1024px) { .caps-body { grid-template-columns: 1fr; } }

/* ------------------------- Viewer promo -------------------------------------------------- */

.promo { overflow: hidden; }
.promo-head { display: grid; grid-template-columns: 1fr auto; gap: 3em; align-items: end; margin-bottom: clamp(3em, 6vw, 6em); }
.promo-head p { max-width: 26em; color: rgba(255, 255, 255, .65); margin-top: 1.5em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-light); }
.feature {
  position: relative;
  padding: 2.25em 2em 2.5em 0;
  border-bottom: 1px solid var(--border-light);
  min-height: 15em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2em;
}
.feature + .feature { padding-left: 2em; border-left: 1px solid var(--border-light); }
.feature:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.feature .icon { width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--c-blue); display: flex; align-items: center; justify-content: center; }
.feature .icon svg { width: 1.2em; height: 1.2em; }
.feature h4 { font-size: 1.45em; line-height: 1.25; margin-bottom: .4em; }
.feature p { color: rgba(255, 255, 255, .6); font-size: 1em; }
.kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 1.9em; height: 1.9em; padding: 0 .5em; border-radius: 5px; border: 1px solid var(--border-light); font-family: var(--mono); font-size: .7em; color: rgba(255, 255, 255, .8); }
.feature .keys { display: flex; gap: .35em; }
@media (max-width: 1024px) {
  .promo-head { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature + .feature { padding: 2em 1.5em 2em 0; border-left: 0; }
  .feature:nth-child(even) { padding-left: 1.5em; border-left: 1px solid var(--border-light); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ------------------------- Process -------------------------------------------------- */

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5em; }
.process-grid .step h5 { margin-bottom: 1.5em; }
.process-grid .step .stripe { margin-bottom: 2em; }
.process-grid .step h4 { font-size: 1.6em; margin-bottom: .6em; }
.process-grid .step p { color: #5b5d63; font-size: 1em; }
.process-grid .step .num { font-family: var(--mono); font-size: .75em; color: var(--c-blue); }
@media (max-width: 1024px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }

/* ------------------------- Page header -------------------------------------------------- */

.page-header { padding: calc(var(--section) * 1.35) 0 calc(var(--section) * .45); }
.page-header h1 { font-size: calc(clamp(3.25em, 7vw, 8em) * .95); max-width: 9.5em; }
.page-header .sub { display: flex; justify-content: space-between; align-items: end; gap: 2em; margin-top: 2.5em; flex-wrap: wrap; }
.page-header .sub p { max-width: 28em; color: #5b5d63; }
.page-header sup { font-size: .25em; vertical-align: top; position: relative; top: .7em; margin-left: .25em; color: var(--c-gray); letter-spacing: 0; }

/* ------------------------- Library -------------------------------------------------- */

.lib-toolbar { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 1em 2em; flex-wrap: wrap; margin-bottom: 3em; }
.lib-filters, .lib-views { display: flex; gap: .5em; flex-wrap: wrap; }
.lib-search {
  display: flex; align-items: center; gap: .6em;
  height: 3.6em; padding: 0 1.4em;
  border-radius: 999px; border: 1px solid var(--border);
  min-width: 14em;
  transition: border-color .3s var(--ease);
}
.lib-search:focus-within { border-color: var(--c-dark); }
.lib-search input { border: 0; outline: 0; background: none; font: inherit; width: 100%; color: inherit; }
.lib-search svg { width: 1em; height: 1em; flex: none; opacity: .5; }
.lib-right { display: flex; gap: .75em; align-items: center; flex-wrap: wrap; }

.lib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5em, 3vw, 3em) clamp(1.25em, 2.5vw, 2.5em); list-style: none; margin: 0; padding: 0; transition: opacity .3s var(--ease); }
.lib-grid.is-fading, .anim-list.is-fading { opacity: 0; }
.card a { display: block; }
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--c-light);
}
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.card-media .stage-host { position: absolute; inset: 0; z-index: 1; }
.card:hover .card-media img { transform: scale(1.04); }
.card-badges { position: absolute; left: .9em; top: .9em; z-index: 2; display: flex; gap: .35em; }
.badge { display: inline-flex; align-items: center; height: 1.9em; padding: 0 .75em; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); font-size: .72em; }
.badge.is-dark { background: var(--c-dark); color: #fff; }
.card-time { position: absolute; right: .9em; top: .9em; z-index: 2; }
.card-info { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; padding: 1.25em 0 .9em; border-bottom: 1px solid var(--border); }
.card-info h4 { font-size: clamp(1.4em, 1.9vw, 2em); line-height: 1.2; }
.card-foot { display: flex; justify-content: space-between; padding-top: .9em; color: var(--c-gray); font-size: .9em; }
.lib-empty { display: none; padding: 5em 0; text-align: center; color: var(--c-gray); }
.lib-empty.is-visible { display: block; }
[hidden] { display: none !important; }
@media (max-width: 1024px) { .lib-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lib-grid { grid-template-columns: 1fr; } .lib-search { width: 100%; } }

/* ------------------------- Studio -------------------------------------------------- */

.services { list-style: none; margin: 0; padding: 0; }
.service { display: grid; grid-template-columns: 5em 1.1fr 1fr auto; gap: 2em; align-items: start; padding: 2.6em 0; border-top: 1px solid var(--border); }
.service:last-child { border-bottom: 1px solid var(--border); }
.service .num { font-family: var(--mono); font-size: .8em; color: var(--c-gray); padding-top: .9em; }
.service h3 { font-size: clamp(1.8em, 3vw, 2.75em); }
.service p { color: #5b5d63; font-size: 1em; }
.service .tags { display: flex; gap: .35em; flex-wrap: wrap; justify-content: flex-end; max-width: 16em; }
.service .tags .badge { background: var(--c-light); }
@media (max-width: 1024px) { .service { grid-template-columns: 3em 1fr; } .service p, .service .tags { grid-column: 2; justify-content: flex-start; } }

.deliver { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; }
.deliver > div { background: var(--c-dark); padding: 2em 1.75em 2.25em; min-height: 13em; display: flex; flex-direction: column; justify-content: space-between; gap: 2em; }
.deliver .ext { font-family: var(--mono); font-size: .8em; color: var(--c-blue); background: rgba(69, 92, 233, .14); padding: .35em .7em; border-radius: 4px; align-self: flex-start; }
.deliver h4 { font-size: 1.35em; line-height: 1.3; }
.deliver p { color: rgba(255, 255, 255, .6); font-size: .95em; margin-top: .4em; }
@media (max-width: 1024px) { .deliver { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .deliver { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25em; }
.plan {
  position: relative;
  padding: 2.25em 2em 2em;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.75em;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(28, 29, 32, .25); }
.plan.is-featured { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.plan.is-featured .stripe { background: var(--border-light); }
.plan .plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan .price { font-size: clamp(2.6em, 4vw, 3.6em); line-height: 1; letter-spacing: -.02em; }
.plan .price small { font-size: .3em; letter-spacing: 0; color: var(--c-gray); margin-left: .3em; }
.plan ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.plan li { display: flex; gap: .75em; padding: .6em 0; font-size: .98em; }
.plan li::before { content: ''; flex: none; width: .45em; height: .45em; border-radius: 50%; background: var(--c-blue); margin-top: .55em; }
.plan .btn-pill { width: 100%; justify-content: center; }
.plan.is-featured .badge { background: var(--c-blue); color: #fff; }
.pricing-note { margin-top: 1.5em; color: var(--c-gray); font-size: .9em; }
@media (max-width: 1024px) { .pricing { grid-template-columns: 1fr; } }

.faq { list-style: none; margin: 0; padding: 0; }
.faq li { border-top: 1px solid var(--border); }
.faq li:last-child { border-bottom: 1px solid var(--border); }
.faq button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 2em; padding: 1.7em 0; text-align: left; font-size: clamp(1.15em, 1.6vw, 1.5em); }
.faq .plus { position: relative; flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; border: 1px solid var(--border); transition: var(--anim-fast); }
.faq .plus::before, .faq .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 38%; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq li.is-open .plus { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.faq li.is-open .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.faq .answer p { padding: 0 4em 2em 0; color: #5b5d63; max-width: 46em; font-size: 1.05em; }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 3em; }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; } }

/* ------------------------- Contact -------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(3em, 7vw, 8em); }
.form-row { position: relative; display: grid; grid-template-columns: 3.2em 1fr; padding: 2.75em 0 2.25em; border-top: 1px solid var(--border); }
.form-row:last-of-type { border-bottom: 1px solid var(--border); }
.form-row .num { font-family: var(--mono); font-size: .8em; color: var(--c-gray); padding-top: .55em; }
.form-row label { display: block; font-size: clamp(1.3em, 1.9vw, 1.9em); margin-bottom: .55em; }
.form-row input, .form-row textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: clamp(1.05em, 1.35vw, 1.3em);
  color: var(--c-dark);
  resize: none;
  padding: 0;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(28, 29, 32, .35); }
.form-row .line { position: absolute; left: 3.2em; right: 0; bottom: -1px; height: 1px; background: var(--c-blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.form-row:focus-within .line { transform: scaleX(1); }
.form-row.is-invalid .line { transform: scaleX(1); background: #ff4444; }
.chips { display: flex; flex-wrap: wrap; gap: .5em; }
.chip-toggle { position: relative; }
.chip-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.chip-toggle span { display: inline-flex; align-items: center; height: 2.8em; padding: 0 1.25em; border-radius: 999px; border: 1px solid var(--border); cursor: pointer; transition: var(--anim-fast); user-select: none; }
.chip-toggle span:hover { border-color: var(--c-dark); }
.chip-toggle input:checked + span { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.chip-toggle input:focus-visible + span { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.range-wrap { display: flex; align-items: center; gap: 1.25em; }
.range-wrap output { font-family: var(--mono); font-size: .9em; min-width: 6em; }
input[type=range] { -webkit-appearance: none; appearance: none; height: 2px; background: var(--border); border-radius: 2px; flex: 1; padding: 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--c-blue); cursor: pointer; box-shadow: 0 0 0 5px rgba(69, 92, 233, .15); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--c-blue); cursor: pointer; }
.form-submit { position: relative; display: flex; justify-content: flex-end; margin-top: -4.5em; padding-right: 2em; z-index: 2; }
.form-success { display: none; padding: 3em 0; }
.form-success.is-visible { display: block; }
.contact-side { display: flex; flex-direction: column; gap: 3em; }
.contact-side .portrait { width: 6.5em; height: 6.5em; border-radius: 50%; overflow: hidden; background: var(--c-light); }
.contact-side .portrait img { width: 100%; height: 100%; object-fit: cover; }
.contact-side h5 { margin-bottom: 1em; }
.contact-side p a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-side p a:hover { border-color: currentColor; }
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { order: -1; flex-direction: row; flex-wrap: wrap; }
  .form-submit { margin-top: 2em; justify-content: center; padding: 0; }
}

/* ------------------------- Footer -------------------------------------------------- */

.footer-curve {
  position: relative;
  height: 10vh;
  overflow: hidden;
  margin-top: -1px;
  z-index: 2;
}
.footer-curve::before {
  content: '';
  position: absolute;
  left: -15%; bottom: 0;
  width: 130%;
  height: 750%;
  border-radius: 50%;
  background: var(--curve-color, var(--c-white));
  box-shadow: 0 60px 50px rgba(0, 0, 0, .35);
}
.footer-curve-wrap { position: relative; background: var(--c-dark); }
.footer { position: relative; background: var(--c-dark); color: #fff; padding: calc(var(--section) * .9) 0 0; overflow: hidden; }
.footer-top { display: flex; align-items: center; gap: 1.2em; }
.footer-top .avatar { width: clamp(4em, 6vw, 6.5em); height: clamp(4em, 6vw, 6.5em); border-radius: 50%; overflow: hidden; background: var(--c-light); flex: none; }
.footer-top .avatar.mark { background: var(--c-blue); color: #fff; display: flex; align-items: center; justify-content: center; --mark-inner: var(--c-blue); }
.footer h2 { font-size: calc(clamp(3.25em, 7vw, 8em) * .78); line-height: 1.05; }
.footer-mid { position: relative; margin-top: clamp(3em, 7vw, 6em); padding-bottom: clamp(3em, 6vw, 6em); }
.footer-mid .stripe { background: var(--border-light); }
.footer-mid .btn-round { position: absolute; right: 12%; top: 0; transform: translateY(-50%); }
.footer-pills { display: flex; gap: 1em; flex-wrap: wrap; padding-top: clamp(3em, 5vw, 4.5em); }
.footer-arrow { position: absolute; right: 0; top: -9em; width: 1.4em; height: 1.4em; }
.footer-bottom { display: flex; justify-content: space-between; align-items: end; gap: 2em; padding: 2em calc(var(--gap) * 1.25) calc(var(--gap) * 1); flex-wrap: wrap; }
.footer-bottom .group { display: flex; gap: 2.5em; flex-wrap: wrap; }
.footer-bottom h5 { margin-bottom: .6em; font-size: .7em; }
.footer-bottom .links { display: flex; gap: 1.5em; flex-wrap: wrap; }
.footer-bottom .btn-link { padding: 0; }
.footer-bottom .btn-link::after { bottom: -.6em; }
@media (max-width: 720px) {
  .footer-mid .btn-round { right: 1em; }
  .footer-pills .btn-pill { width: 100%; justify-content: center; }
}

/* ------------------------- 404 -------------------------------------------------- */

.lost { position: relative; height: calc(var(--vh) * 100); min-height: 36em; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--c-light); }
.lost .stage-host { position: absolute; inset: 0; }
.lost-copy { position: relative; z-index: 2; text-align: center; pointer-events: none; margin-top: -40vh; }
.lost-copy * { pointer-events: auto; }
.lost-copy h1 { font-size: clamp(4em, 12vw, 12em); line-height: 1; }
.lost-copy p { margin: 1em 0 2em; color: #5b5d63; }

/* ------------------------- Reduced motion -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* ------------------------- Placeholders + misc -------------------------------------------------- */

.card-media { aspect-ratio: 5 / 4; }
.card-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.card-prompt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.u { border-bottom: 1px solid currentColor; }
.page-header .sub .billing { align-self: end; }
.portrait.mark { background: var(--c-blue); color: #fff; display: flex; align-items: center; justify-content: center; --mark-inner: var(--c-blue); }
.lost-curves { position: absolute; left: 0; top: 10%; width: 100%; height: 80%; }
.lost-copy { margin-top: 0; }
.lost-copy h5 { margin-bottom: 1.5em; }
.form-success h3 { margin-bottom: .6em; }
.form-success p { color: #5b5d63; }
.form-row .chip-toggle { display: inline-flex; font-size: 1rem; margin: 0; }
.form-row.is-last { border-bottom: 1px solid var(--border); }

/* ------------------------- Typed example prompts -------------------------------------------------- */

.ghost-wrap { position: relative; display: block; }
.ghost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  overflow: hidden;
  color: rgba(28, 29, 32, .38);
  opacity: 0;
  transition: opacity .3s;
}
.ghost-wrap.is-ghosting .ghost { opacity: 1; }
.ghost-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -.15em;
  background: var(--c-blue);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.ghost-tab {
  display: inline-flex;
  align-items: center;
  height: 1.55em;
  padding: 0 .5em;
  margin-left: .6em;
  border-radius: 5px;
  border: 1px solid rgba(28, 29, 32, .2);
  font-family: var(--mono);
  font-size: .62em;
  vertical-align: .2em;
  color: rgba(28, 29, 32, .55);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .3s, transform .4s var(--ease-out);
}
.ghost.is-done .ghost-tab { opacity: 1; transform: none; }
@media (hover: none) { .ghost-tab { display: none; } }

/* ------------------------- Accounts + credits (every page) -------------------------------------------------- */

.cr { display: inline-flex; align-items: center; gap: .4em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cr i { width: .62em; height: .62em; background: var(--c-blue); transform: rotate(45deg); border-radius: 1.5px; flex: none; }
.free { font-weight: 450; }

.nav-account { display: flex; align-items: center; margin-left: .4em; }
.account-pill { display: inline-flex; align-items: center; height: 2.6em; padding: 0 .55em 0 .95em; border-radius: 999px; background: rgba(28, 29, 32, .06); transition: background .3s var(--ease); }
.account-pill:hover { background: rgba(28, 29, 32, .11); }
.account-pill .btn-text { gap: .7em; }
.account-pill .who { display: inline-flex; align-items: center; height: 1.95em; padding: 0 .75em; border-radius: 999px; background: var(--c-dark); color: #fff; font-size: .85em; }
.nav.is-light .account-pill { background: rgba(255, 255, 255, .12); }
.menu-account { margin-top: 2.5em; }
.menu-account .account-pill { background: rgba(255, 255, 255, .1); gap: .8em; }
.menu-account .account-pill .who { background: #fff; color: var(--c-dark); }
.menu-account .btn-link { padding-left: 0; font-size: 1.1em; }

.rm-toast {
  position: fixed;
  left: 50%; bottom: 2em;
  z-index: 950;
  max-width: min(32em, calc(100% - 2em));
  padding: .85em 1.25em;
  border-radius: 12px;
  background: var(--c-dark);
  color: #fff;
  font-size: .9em;
  line-height: 1.45;
  transform: translate(-50%, 1em);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .5s var(--ease-out);
}
.rm-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.auth-modal { position: fixed; inset: 0; z-index: 940; display: flex; align-items: center; justify-content: center; padding: 1.25em; background: rgba(20, 21, 23, .55); }
.auth-modal[hidden] { display: none; }
body.auth-open { overflow: hidden; }
.auth-card { position: relative; width: min(25em, 100%); background: #fff; border-radius: 20px; padding: 2.2em 2em 2em; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); text-align: center; }
.auth-close { position: absolute; right: .7em; top: .55em; width: 2em; height: 2em; border-radius: 50%; font-size: 1.4em; line-height: 1; color: var(--c-gray); transition: background .2s, color .2s; }
.auth-close:hover { background: var(--c-light); color: var(--c-dark); }
.auth-mark { width: 3.2em; height: 3.2em; margin: 0 auto 1.1em; border-radius: 50%; background: var(--c-blue); color: #fff; display: flex; align-items: center; justify-content: center; --mark-inner: var(--c-blue); }
.auth-card h3 { font-size: 1.9em; margin-bottom: .3em; }
.auth-sub { font-size: .95em; color: #5b5d63; margin-bottom: 1.4em; }
.auth-tabs { margin-bottom: 1.2em; }
.auth-form { text-align: left; display: flex; flex-direction: column; gap: .8em; }
.auth-field { display: flex; flex-direction: column; gap: .35em; font-size: .82em; color: #5b5d63; }
.auth-field[hidden] { display: none; }
.auth-field input { height: 3em; padding: 0 1em; border-radius: 10px; border: 1px solid var(--border); font: inherit; font-size: 1.15em; color: var(--c-dark); outline: 0; transition: border-color .25s, box-shadow .25s; }
.auth-field input:focus { border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(69, 92, 233, .14); }
.auth-error { min-height: 1.2em; font-size: .85em; color: #e5484d; }
.auth-submit { width: 100%; justify-content: center; }
.auth-submit[disabled] { opacity: .6; pointer-events: none; }
@media (max-width: 720px) { .footer-pills { padding-top: 6.5em; } }

/* ------------------------- Brand mark (keyframe diamond) -------------------------------------------------- */

.nav-logo .copy { display: inline-block; transition: transform .8s var(--ease-out); }
.nav-logo:hover .copy { transform: rotate(360deg); }
.footer-top .avatar.mark svg { width: 46%; height: 46%; animation: spin 8s linear infinite; }
.portrait.mark svg { width: 44%; height: 44%; animation: spin 8s linear infinite; }
.auth-mark svg { width: 46%; height: 46%; }

/* ------------------------- "move" in the hero -------------------------------------------------- */

.move-word { display: inline-block; cursor: default; white-space: nowrap; transition: color .3s var(--ease); }
.move-word .ml { display: inline-block; transform-origin: 50% 85%; }
.move-word.is-moving { color: var(--c-blue); }
