/*
 * CodeCrafters marketing site, built from the approved redesign boards (Main, MktMentor, MktFaq,
 * CrewBurst, Header, Footer). Brand: a white page, grey text, Byte violet as the one action colour,
 * Nunito only, cards with 24px corners, a 2px border and a 4px lip, controls that press down.
 */
@font-face { font-family: Nunito; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("/fonts/nunito-latin-ext.woff2") format("woff2"); unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Nunito; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("/fonts/nunito-latin.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Nunito Fallback; src: local(Arial); ascent-override: 99.71%; descent-override: 34.82%; line-gap-override: 0%; size-adjust: 101.39%; }

:root {
  --font-brand: "Nunito", "Nunito Fallback", ui-rounded, system-ui, sans-serif;
  --font-code: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --surface: #ffffff;
  --surface-muted: #f7f7f7;
  --ink: #4b4b4b;
  --muted: #737373;
  --border: #e5e5e5;
  --indigo: #7c4dff;
  --primary-bright: #8b62ff;
  --primary-lip: #5a2fd6;
  --primary-deep: #3d1fa3;
  --primary-soft: #f3eeff;
  --primary-line: #c4b0ff;
  --on-violet: #e4dbff;
  --teal: #0e7c71;
  --turquoise: #26c2b0;
  --mint: #e3f8f5;
  --mint-line: #b8e9e2;
  --sun: #ffc23d;
  --sun-deep: #e09a00;
  --sun-soft: #fff6dc;
  --coral-ink: #c2410c;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 82px;
  color-scheme: light;
}

* { box-sizing: border-box; }
/* No browser scroll anchoring: site.js keeps things in place itself, and two adjusters fight. */
html { -webkit-text-size-adjust: 100%; overflow-anchor: none; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Same-site page changes animate natively; the header stays put while the page changes under it. */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: page-out .18s ease-in both; }
  ::view-transition-new(root) { animation: page-in .38s cubic-bezier(.22, 1, .36, 1) both; }
}
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; translate: 0 14px; } }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-brand); font-weight: 500; line-height: 1.6; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, pre, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; }
code, pre, samp { font-family: var(--font-code); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
::selection { background: var(--primary-soft); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
main > section[id] { scroll-margin-top: var(--header-h); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 12px 16px; border-radius: 16px; background: var(--indigo); color: #fff; font-weight: 800; }
.skip-link:focus { top: 16px; }
.wrap { width: 100%; max-width: 1176px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-line { position: relative; }
.section-line::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--border); }
@media (prefers-reduced-motion: no-preference) {
  .js .section-line::before { scale: 0 1; transition: scale .6s cubic-bezier(.22, 1, .36, 1); }
  .js .section-line.is-lined::before { scale: 1 1; }
}
.band-mint { --muted: #616161; background: var(--mint); }
.band-mint .text-action, .band-mint .price-link { color: var(--primary-lip); }

/* Type */
.marker { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 800; }
.marker > [aria-hidden] { color: var(--turquoise); font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.title { color: var(--indigo); font-size: clamp(34px, 4vw, 48px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.marker + .title { margin-top: 22px; }
.lede { max-width: 440px; color: var(--muted); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.kicker { font-size: 18px; font-weight: 800; }
.kicker-teal { color: var(--teal); }
.fineprint { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.chip { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-sun { background: var(--sun); color: var(--ink); }
.t-violet { color: var(--indigo); }
.t-teal { color: var(--teal); }
.t-coral { color: var(--coral-ink); }
.t-muted { color: var(--muted); }
/* Code sits on light grey too: these shades keep 4.5:1 there. */
.code .t-violet { color: #7448f8; }
.code .t-muted { color: #6b6b6b; }
i[lang] { font-style: italic; }

/* Actions: filled primary and white secondary, pressing down onto a lip. Labels uppercase. */
.brand-action, .outline-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 16px; cursor: pointer;
  font: 800 14px/1.15 var(--font-brand); letter-spacing: .06em; text-align: center; text-transform: uppercase;
  transition: translate 90ms ease-out, box-shadow 90ms ease-out, background-color 120ms ease-out;
}
.brand-action { border: 0; background: var(--indigo); color: #fff; box-shadow: 0 4px 0 var(--primary-lip); }
.brand-action:hover { background: var(--primary-bright); }
.outline-action { border: 2px solid var(--border); background: var(--surface); color: var(--indigo); box-shadow: 0 4px 0 var(--border); }
.outline-action:hover { background: var(--surface-muted); }
.brand-action:active, .outline-action:active { translate: 0 4px; box-shadow: none; }
.action-lg { min-height: 52px; }
.action-xl { min-height: 56px; padding-inline: 28px; font-size: 15px; }
.text-action { display: inline-flex; align-items: center; min-height: 44px; color: var(--indigo); font-weight: 800; text-decoration: underline 2px transparent; text-underline-offset: 5px; transition: text-decoration-color 120ms; }
.text-action:hover { text-decoration-color: currentColor; }
.price-link { color: var(--indigo); font-weight: 900; }
.price-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 2px solid var(--border); background: var(--surface); }
.header-inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); min-height: 80px; padding: 12px clamp(16px, 4vw, 64px); }
.logo { display: flex; flex-shrink: 0; align-items: center; gap: 10px; color: var(--indigo); font-size: 22px; font-weight: 900; line-height: 1.05; }
.logo img { width: 40px; height: 40px; }
.header-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.header-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: color 120ms; }
.header-nav a:hover, .header-nav a[aria-current] { color: var(--indigo); }
.language-switch { display: flex; flex-shrink: 0; gap: 0; margin-left: auto; padding: 3px; border: 2px solid var(--border); border-radius: 14px; background: var(--surface-muted); }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 0 8px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 800; transition: color .2s; }
.language-switch a[aria-current] { background: var(--surface); box-shadow: 0 3px 0 var(--border); color: var(--indigo); }
.language-switch::before { border-radius: 10px; background: var(--surface); box-shadow: 0 3px 0 var(--border); }
.header-cta { white-space: nowrap; }
.menu-button { display: none; flex-shrink: 0; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 3px 0 var(--border); color: var(--ink); cursor: pointer; }
.menu-button:active { translate: 0 3px; box-shadow: none; }
/* Between 960 and 1200px the longer Indonesian labels need a tighter nav to fit on one row. */
@media (max-width: 1199px) { .header-nav { margin-left: 4px; gap: 0; } .header-nav a { padding: 0 8px; font-size: 13px; letter-spacing: .04em; } }
@media (max-width: 959px) { .header-nav { display: none; } .js .menu-button { display: inline-grid; } }
@media (max-width: 519px) { .header-cta { display: none; } }
@media (max-width: 399px) { .logo { font-size: 19px; gap: 8px; } .logo img { width: 34px; height: 34px; } .header-inner { gap: 8px; } .language-switch a { min-width: 38px; padding: 0 6px; } .menu-button { width: 44px; height: 44px; } }
@media (max-width: 339px) { .logo { gap: 6px; } .logo span { font-size: 16px; } .language-switch a { min-width: 34px; padding: 0 4px; } }

/* The menu: a modal sheet from the top, as tall as its links. The browser keeps focus inside it,
   closes it on Escape and returns focus to the menu button. */
.menu-drawer { position: fixed; inset: 0 0 auto; width: 100%; max-width: none; max-height: 100dvh; margin: 0; padding: 12px var(--gutter) 24px; border: 0; border-bottom: 2px solid var(--border); border-radius: 0 0 24px 24px; background: var(--surface); color: var(--ink); box-shadow: 0 12px 32px #0000001f; flex-direction: column; gap: 16px; overflow-y: auto; }
.menu-drawer[open] { display: flex; }
.menu-drawer::backdrop { background: #4b4b4b73; }
@media (prefers-reduced-motion: no-preference) {
  .menu-drawer { transition: translate .3s cubic-bezier(.22, 1, .36, 1), overlay .3s allow-discrete, display .3s allow-discrete; translate: 0 -100%; }
  .menu-drawer[open] { translate: 0 0; }
  .menu-drawer::backdrop { transition: opacity .3s, overlay .3s allow-discrete, display .3s allow-discrete; opacity: 0; }
  .menu-drawer[open]::backdrop { opacity: 1; }
  @starting-style { .menu-drawer[open] { translate: 0 -100%; } .menu-drawer[open]::backdrop { opacity: 0; } }
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.drawer-title { color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.drawer-close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 3px 0 var(--border); color: var(--ink); cursor: pointer; }
.drawer-nav { display: grid; }
.drawer-nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 2px solid var(--border); font-size: 18px; font-weight: 800; }
.drawer-nav a:last-child { border-bottom: 0; }
.drawer-nav a[aria-current] { color: var(--indigo); }
.drawer-cta { width: 100%; min-height: 56px; }
@media (min-width: 520px) { .drawer-cta { display: none; } }

/* Segmented controls (language switches, the mentor band tabs): a thumb slides under the current
   item. site.js places it with --x/--w; without JS the current item is styled directly. */
.segmented { position: relative; isolation: isolate; }
.js .segmented.is-placed::before { content: ""; position: absolute; z-index: -1; top: var(--pad, 3px); bottom: var(--pad, 3px); left: 0; width: var(--w); translate: var(--x) 0; transition: translate .26s cubic-bezier(.22, 1, .36, 1), width .26s cubic-bezier(.22, 1, .36, 1); }
.js .segmented.is-placed > a { background: transparent !important; box-shadow: none !important; }

/* Carousels share one shape: a native scroll-snap track that bleeds into the page gutter. */
[data-track] { display: flex; align-items: flex-start; overflow: auto hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
[data-track]::-webkit-scrollbar { display: none; }
[data-track] > * { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
[data-track]:focus-visible { outline-offset: -3px; }
[data-track][data-fit]:not([data-anchor]) { transition: height .3s cubic-bezier(.22, 1, .36, 1); }
.is-dragging { scroll-snap-type: none !important; cursor: grabbing !important; user-select: none; }
@media (hover: hover) and (pointer: fine) { [data-track] { cursor: grab; } }
html:not(.js) :is([data-prev], [data-next], [data-counter]) { visibility: hidden; }
.pill-tabs { position: relative; display: flex; flex: 0 1 auto; gap: 10px; min-width: 0; padding: 2px 2px 6px; }
.pill-tab { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 2px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: 0 4px 0 var(--border); color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: color 120ms, background-color 120ms, border-color 120ms; }
.pill-tab[aria-selected="true"] { border-color: var(--primary-line); background: var(--primary-soft); box-shadow: 0 4px 0 var(--primary-line); color: var(--primary-lip); }
.pill-tab:active { translate: 0 4px; box-shadow: none; }
.round-arrow { display: grid; flex-shrink: 0; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--border); border-radius: 50%; background: var(--surface); box-shadow: 0 4px 0 var(--border); color: var(--ink); cursor: pointer; }
.round-arrow:disabled { color: #c9c9c9; box-shadow: none; cursor: default; }
.round-arrow:not(:disabled):active { translate: 0 4px; box-shadow: none; }
.arrow-group { display: flex; align-items: center; gap: 12px; }
.arrow-group-center { justify-content: center; margin-top: 16px; }
.counter { min-width: 44px; font-size: 15px; font-weight: 800; text-align: center; }
@media (max-width: 719px) { .pill-tabs { overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } .pill-tabs::-webkit-scrollbar { display: none; } .pill-tab { padding: 0 14px; font-size: 13px; } }

/* Hero: the crew burst and the intro video, two slides. */
.hero { max-width: 1280px; margin-inline: auto; padding-block: clamp(24px, 4vw, 48px) clamp(40px, 5vw, 64px); }
.hero-slide { padding-inline: var(--gutter); }
.hero-crew, .hero-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero-crew { gap: clamp(16px, 3vw, 40px); }
.hero-intro { gap: 40px clamp(32px, 5vw, 72px); }
.hero-art { flex: 1 1 360px; max-width: 580px; }
.hero-copy { display: flex; flex: 1 1 420px; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 540px; }
.hero-copy .chip { padding: 6px 14px; font-size: 14px; }
.hero-copy .chip::before { width: 7px; height: 7px; background: var(--ink); }
.hero-title { color: var(--ink); font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1.04; letter-spacing: -.02em; }
.hero-title .accent { color: var(--indigo); }
.hero-eyebrow { display: block; margin-bottom: 18px; color: var(--teal); font-size: 18px; font-weight: 800; line-height: 1.4; letter-spacing: 0; }
.caret { display: inline-block; width: .14em; height: .8em; margin-left: .04em; border-radius: 3px; background: var(--indigo); vertical-align: -.05em; animation: caret 1s linear 8; } /* blinks 8 s, then rests solid: an idle page runs nothing */
.hero-lede { max-width: 30em; color: var(--muted); font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-price { color: var(--muted); font-size: 15px; }
.hero-intro-copy { flex: 1 1 300px; max-width: 400px; }
.hero-intro-copy .kicker { color: var(--teal); }
.hero-intro-copy .title { margin-top: 14px; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; }
.hero-intro-copy .lede { margin-top: 18px; font-size: 19px; line-height: 1.55; }
.hero-video { flex: 2 1 460px; max-width: 720px; }
.video-frame { position: relative; overflow: hidden; border: 2px solid var(--border); border-radius: 20px; box-shadow: 0 4px 0 var(--border); background: #ffffff; }
.video-play { display: none; position: absolute; left: 50%; top: 50%; translate: -50% -50%; place-items: center; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 50%; background: var(--indigo); box-shadow: 0 5px 0 var(--primary-lip); cursor: pointer; transition: scale .15s ease-out, background-color .15s; }
.video-play svg { translate: 3px 0; }
.video-play:hover { background: var(--primary-bright); scale: 1.06; }
.video-play:active { translate: -50% calc(-50% + 5px); box-shadow: none; }
.js .video-frame:not(.is-playing) .video-play { display: grid; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-video figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
.hero-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; padding-inline: var(--gutter); }
@media (min-width: 960px) { .hero-crew { min-height: 620px; } }
@media (max-width: 559px) { .code { font-size: 15px; } .hero-controls .round-arrow { display: none; } .hero-title { font-size: 38px; } .hero-lede { font-size: 17px; } .hero-actions { display: grid; width: 100%; } }
/* A near-instant switch with linear timing: steps() would keep the blink on the main thread. */
@keyframes caret { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
.hero-rise { animation: rise .6s cubic-bezier(.22, 1, .36, 1) both; }
.rise-1 { animation-delay: .2s; } .rise-2 { animation-delay: .3s; } .rise-3 { animation-delay: .4s; } .rise-4 { animation-delay: .5s; } .rise-5 { animation-delay: .6s; }

/* Crew burst. 8 s cycle × 2.2, resting on the settled scene (20%). Every animated property is a
   transform or opacity, except the ribbons' stroke-dashoffset. The stretch is split over three
   wrappers (rotate, scale, rotate back) so it stays on the compositor. */
.cb-stage { position: relative; width: 100%; aspect-ratio: 680 / 660; container-type: inline-size; contain: layout paint; animation: cb-enter .7s cubic-bezier(.34, 1.56, .64, 1) both; }
.cb-scene, .cb-crew { position: absolute; inset: 0; }
.cb-scene, .cb-crew, .cb-ribbons { pointer-events: none; }
.cb-disc { position: absolute; left: 10.3%; top: 9.1%; width: 82.4%; aspect-ratio: 1; border-radius: 50%; background: var(--sun-soft); }
.cb-disc-small { left: 70.6%; top: 66.7%; width: 22%; background: var(--mint); }
.cb-phone { position: absolute; left: 33.8%; top: 22.7%; z-index: 3; width: 33.8%; height: 60.6%; animation: cb-bob 4s ease-in-out infinite; }
.cb-phone-tilt, .cb-phone-lip, .cb-phone-screen { position: absolute; inset: 0; }
.cb-phone-tilt { rotate: -14deg; }
.cb-phone-lip { translate: -7% 4%; border-radius: 19% / 11%; background: var(--primary-lip); }
.cb-phone-screen { overflow: hidden; border: 1.2cqw solid var(--primary-line); border-radius: 19% / 11%; background: var(--surface); }
.cb-ripple, .cb-ring, .cb-face { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.cb-ripple { width: 66%; aspect-ratio: 1; border: .8cqw solid var(--c); border-radius: 50%; opacity: 0; animation: cb-ripple 8s var(--d) 2.2 both; }
.cb-rp-byte { --c: #7c4dff; --d: 0s; } .cb-rp-pixel { --c: #26c2b0; --d: .15s; } .cb-rp-volt { --c: #ff7a45; --d: .3s; } .cb-rp-mem { --c: #ff6fae; --d: .45s; } .cb-rp-py { --c: #3f8be0; --d: .6s; }
.cb-ring { width: 61%; aspect-ratio: 1; border: .9cqw solid var(--primary-line); border-radius: 50%; opacity: 0; animation: cb-ring 8s ease-out 2.2 both; }
.cb-face { z-index: 1; width: 54%; height: auto; animation: cb-face 8s 2.2 both; }
.cb-ribbons { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; overflow: visible; }
/* Ribbons are hidden (dash past the end) except while they travel, so their paint-bound dash
   animation runs only then: out at 0–14% and in at 72–81% of each 8 s cycle, over 2.2 cycles. */
.cb-thread { stroke-dashoffset: -102px; animation: cb-thread-out 1.12s var(--d), cb-thread-in .72s calc(var(--d) + 5.76s), cb-thread-out 1.12s calc(var(--d) + 8s), cb-thread-in .72s calc(var(--d) + 13.76s), cb-thread-out 1.12s calc(var(--d) + 16s); }
.cb-head { --L: 7px; } .cb-mid { --L: 16px; } .cb-tail { --L: 30px; }
.cb-coin-head { --L: 6px; } .cb-coin-mid { --L: 14px; } .cb-coin-tail { --L: 24px; }
.cb-r-byte { --d: 0s; } .cb-r-pixel { --d: .15s; } .cb-r-volt { --d: .3s; } .cb-r-mem { --d: .45s; } .cb-r-py { --d: .6s; } .cb-r-coin1 { --d: .75s; } .cb-r-coin2 { --d: .85s; }
.cb-who, .cb-axis, .cb-stretch, .cb-unaxis { position: absolute; width: 0; height: 0; }
.cb-who { animation: cb-pop 8s var(--d) 2.2 both; }
.cb-axis { transform: rotate(var(--a)); }
.cb-stretch { animation: cb-stretch 8s var(--d) 2.2 both; }
.cb-unaxis { transform: rotate(calc(-1 * var(--a))); }
.cb-pet { position: absolute; left: 0; top: 0; translate: -50% -50%; }
.cb-art { animation: cb-art 8s var(--d) 2.2 both; }
.cb-art img { display: block; width: 100%; height: auto; }
.cb-blob { position: absolute; inset: 0; opacity: 0; background: var(--c); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; animation: cb-blob 8s var(--d) 2.2 both; }
.cb-at-byte { left: 47.1%; top: 15.9%; z-index: 5; --a: -96deg; --d: 0s; }
.cb-at-pixel { left: 16.9%; top: 42.4%; z-index: 5; --a: -163deg; --d: .15s; }
.cb-at-volt { left: 79.4%; top: 30.3%; z-index: 5; --a: -38deg; --d: .3s; }
.cb-at-mem { left: 74.3%; top: 73.5%; z-index: 6; --a: 40deg; --d: .45s; }
.cb-at-py { left: 27.2%; top: 78.8%; z-index: 6; --a: 133deg; --d: .6s; }
.cb-at-coin1 { left: 77.2%; top: 10.6%; z-index: 5; --a: -57deg; --d: .75s; }
.cb-at-coin2 { left: 89%; top: 20.5%; z-index: 5; --a: -40deg; --d: .85s; }
.cb-at-print { left: 21.3%; top: 15.2%; z-index: 4; --a: -129deg; --d: .95s; }
.cb-at-brace { left: 88.2%; top: 51.5%; z-index: 4; --a: -2deg; --d: 1.05s; }
.cb-pet-byte { width: 35.3cqw; rotate: -8deg; } .cb-m-byte { --c: #7c4dff; --m: url(/crew/crowd-byte.svg); }
.cb-pet-pixel { width: 25.7cqw; rotate: 12deg; } .cb-m-pixel { --c: #26c2b0; --m: url(/crew/crowd-pixel.svg); }
.cb-pet-volt { width: 27.9cqw; rotate: -16deg; } .cb-m-volt { --c: #ff7a45; --m: url(/crew/crowd-volt.svg); }
.cb-pet-mem { width: 20.6cqw; rotate: 12deg; } .cb-m-mem { --c: #ff6fae; --m: url(/crew/crowd-mem.svg); }
.cb-pet-py { width: 36cqw; rotate: -4deg; } .cb-m-py { --c: #3f8be0; --m: url(/crew/crowd-py.svg); }
.cb-pet-coin1 { width: 11.2cqw; } .cb-pet-coin2 { width: 7.9cqw; }
.coin { position: relative; }
.coin svg { display: block; width: 100%; height: auto; overflow: visible; }
.coin .coin-shine { position: absolute; inset: 0; opacity: 0; }
.cb-wobble .coin-shine, .ft-wobble .coin-shine { animation: coin-shine 3.2s ease-in-out infinite; animation-delay: inherit; }
.cb-pet-print { rotate: -10deg; } .cb-pet-brace { rotate: 10deg; }
.cb-chip { padding: 1.8cqw 2.6cqw; border: .45cqw solid var(--border); border-radius: 2.6cqw; box-shadow: 0 .6cqw 0 var(--border); background: var(--surface); font: 700 2.9cqw/1 var(--font-code); white-space: nowrap; }
.cb-chip-print { color: var(--indigo); } .cb-chip-brace { color: var(--teal); }
.cb-float { animation: cb-float 3.6s ease-in-out infinite; }
.cb-tilt { animation: cb-tilt 3.2s ease-in-out infinite; }
.cb-jiggle { animation: cb-jiggle 2.6s ease-in-out infinite; }
.cb-hop { transform-origin: 50% 100%; animation: cb-hop 2.4s ease-in-out infinite; }
.cb-sway { transform-origin: 30% 100%; animation: cb-sway 4s ease-in-out infinite; }
.cb-wobble { animation: cb-wobble 3.2s ease-in-out infinite; }
.cb-wobble-late { animation-delay: -1.3s; }
.cb-replay { position: absolute; left: 33.8%; top: 22.7%; z-index: 7; width: 33.8%; height: 60.6%; padding: 0; border: 0; border-radius: 19% / 11%; background: none; rotate: -14deg; cursor: pointer; }
.cb-replay:focus-visible { outline-offset: 6px; }
/* Only while a cycle plays: the compositor gets layers for the moving parts, then lets them go. */
.cb-running :is(.cb-who, .cb-stretch, .cb-art, .cb-blob, .cb-face, .cb-ripple, .cb-ring) { will-change: transform, opacity; }
@keyframes cb-thread-out { 0% { stroke-dashoffset: var(--L); opacity: 0; animation-timing-function: cubic-bezier(.4, .1, .3, 1); } 14.3% { opacity: 1; } 100% { stroke-dashoffset: -102px; opacity: 1; } }
@keyframes cb-thread-in { 0% { stroke-dashoffset: -102px; opacity: 1; animation-timing-function: cubic-bezier(.55, 0, .5, 1); } 66.7% { opacity: 1; } 100% { stroke-dashoffset: var(--L); opacity: 0; } }
@keyframes cb-pop { 0%, 9% { scale: 0; opacity: 0; } 10% { scale: .3; opacity: 1; animation-timing-function: cubic-bezier(.3, 1.6, .5, 1); } 14% { scale: 1.12; } 17% { scale: .95; } 20%, 71% { scale: 1; opacity: 1; animation-timing-function: cubic-bezier(.6, 0, .9, .5); } 79% { scale: .2; opacity: 1; } 80%, 100% { scale: 0; opacity: 0; } }
@keyframes cb-stretch { 0%, 10% { transform: scale(1.7, .588); } 14% { transform: scale(.86, 1.163); } 17% { transform: scale(1.06, .943); } 20%, 71% { transform: scale(1, 1); } 76% { transform: scale(1.45, .69); } 80%, 100% { transform: scale(1.9, .526); } }
@keyframes cb-art { 0%, 12% { opacity: 0; } 18%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes cb-blob { 0%, 12% { opacity: 1; } 18%, 70% { opacity: 0; } 72%, 100% { opacity: 1; } }
@keyframes cb-ripple { 0% { scale: .6; opacity: 1; } 8% { scale: 1.7; opacity: 0; } 80% { scale: 1.5; opacity: 0; } 81% { scale: 1.4; opacity: 1; } 89%, 100% { scale: .7; opacity: 0; } }
@keyframes cb-face { 0% { scale: 1; } 3% { scale: 1.16; } 7% { scale: .95; } 11%, 88% { scale: 1; } 92% { scale: 1.2 .82; } 96% { scale: .95 1.05; } 100% { scale: 1; } }
@keyframes cb-ring { 0% { scale: .5; opacity: .9; } 14%, 100% { scale: 2.4; opacity: 0; } }
@keyframes cb-enter { from { opacity: 0; scale: .6; translate: 0 6%; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes cb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2cqw); } }
@keyframes cb-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6%) rotate(2deg); } }
@keyframes cb-tilt { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(6deg); } }
@keyframes cb-jiggle { 0%, 100% { transform: translateY(0) rotate(0deg); } 25% { transform: translateY(-4%) rotate(-3deg); } 75% { transform: translateY(-2%) rotate(3deg); } }
@keyframes cb-hop { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 62% { transform: scale(1.12, .86); } 78% { transform: translateY(-14%) scale(.94, 1.08); } 92% { transform: scale(1.06, .94); } }
@keyframes cb-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes cb-wobble { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-14%) rotate(8deg); } }
@keyframes coin-shine { 0%, 60% { opacity: 0; translate: -18% 0; } 70% { opacity: 1; } 90%, 100% { opacity: 0; translate: 21% 0; } }

/* 01: two free ways to start */
.offer-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; margin-top: 40px; }
.offer-card { display: flex; flex-direction: column; overflow: hidden; border: 2px solid var(--border); border-radius: 24px; box-shadow: 0 4px 0 var(--border); background: var(--surface); }
.offer-head { display: flex; align-items: flex-end; gap: 12px; padding: 22px 18px 0 26px; color: #fff; }
.offer-head-violet { background: var(--indigo); }
.offer-head-teal { background: var(--teal); }
.offer-head-text { flex: 1 1 auto; min-width: 0; padding-bottom: 22px; }
.offer-head-text p { font-size: 15px; font-weight: 800; }
.offer-head-text h3 { margin-top: 6px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 900; line-height: 1.15; }
.offer-art { flex: 0 0 auto; width: clamp(76px, 22%, 108px); height: auto; margin-bottom: -4px; pointer-events: none; }
.offer-body { display: flex; flex: 1; flex-direction: column; gap: 20px; padding: 24px 26px; }
.checks { display: grid; gap: 12px; font-size: 17px; line-height: 1.45; }
.checks li { display: flex; gap: 12px; }
.checks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; background: var(--indigo); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks-teal li::before { background: var(--teal); }
.offer-actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.offer-actions > a { width: 100%; }
.offer-price { color: var(--muted); font-size: 15px; text-align: center; }

/* 02: what children practise */
.practise-head { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 6vw, 96px); }
.practise-head > div:first-child { flex: 1 1 340px; max-width: 480px; }
.practise-text { display: flex; flex: 1 1 400px; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.65; }
.practise-note { color: var(--muted); font-size: 16px; }
.learn { margin-top: 48px; }
.learn-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.learn-track { margin: 24px calc(-1 * var(--gutter)) 0; }
.learn-slide { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(32px, 5vw, 72px); padding: 0 var(--gutter) 8px; }
.learn-lesson { align-items: flex-start; }
.learn-copy { flex: 1 1 300px; max-width: 420px; }
.slide-title { font-size: clamp(28px, 3vw, 36px); font-weight: 900; line-height: 1.1; }
.slide-lede { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.meet-print { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; font-size: 15px; line-height: 1.6; }
.meet-print svg { flex-shrink: 0; }
.meet-print strong { font-weight: 900; }
.code-window { flex: 1 1 420px; min-width: 0; max-width: 640px; overflow: hidden; border: 2px solid var(--border); border-radius: 20px; box-shadow: 0 4px 0 var(--mint-line); background: var(--surface); }
.code-window-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 14px 20px; border-bottom: 2px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 800; }
.file-name { color: var(--ink); font: 700 14px var(--font-code); }
.code-window-body { padding: 24px; }
.code { overflow-x: auto; font-size: 18px; line-height: 1.7; tab-size: 4; }
.code-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.output { position: relative; overflow: hidden; min-height: 96px; margin-top: 20px; padding: 16px 120px 16px 18px; border: 2px solid var(--border); border-radius: 16px; background: var(--surface-muted); }
.output-label { font-size: 13px; font-weight: 800; }
.output-text { margin-top: 8px; color: var(--muted); font: 15px/1.5 var(--font-code); }
.is-printed .output-text { color: var(--teal); font-size: 18px; font-weight: 700; }
.output-py { position: absolute; right: 10px; bottom: -14px; width: 104px; height: auto; opacity: 0; translate: 0 40%; pointer-events: none; }
.is-printed .output-py { opacity: 1; translate: 0 0; animation: peek .5s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes peek { from { opacity: 0; translate: 0 40%; } to { opacity: 1; translate: 0 0; } }
.variable-figure { margin-top: 24px; padding: 22px; border: 2px solid var(--border); border-radius: 24px; box-shadow: 0 4px 0 var(--border); background: var(--surface); }
.variable-figure figcaption { color: var(--muted); font-size: 14px; font-weight: 800; }
.variable-pair { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0; font-family: var(--font-code); }
.variable-name { color: var(--indigo); font-size: 20px; font-weight: 800; }
.variable-value { padding: 6px 14px; border-radius: 12px; background: var(--mint); color: var(--teal); font-size: 26px; font-weight: 800; }
.variable-figure > p { font-size: 14px; line-height: 1.6; }
.steps { display: grid; flex: 1 1 420px; gap: 4px; min-width: 0; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
.step-rail { display: flex; flex-direction: column; align-items: center; }
.step-number { color: var(--muted); font-size: 36px; font-weight: 900; line-height: 1.2; }
.step-line { flex: 1; width: 3px; margin-top: 6px; border-radius: 3px; background: var(--indigo); }
.step-body { min-width: 0; padding-bottom: 24px; }
.step-label { color: var(--teal); font-size: 14px; font-weight: 800; }
.step-body h4 { margin-top: 4px; font-size: 24px; font-weight: 900; }
.step-body > p:not(.step-label) { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.code-sample { margin-top: 12px; padding: 12px 16px; border-radius: 16px; background: var(--surface); font-size: 15px; }
.code-sample .code { font-size: 15px; }
.sample-output-label { margin-top: 8px; padding-top: 8px; border-top: 2px solid var(--mint); font-size: 13px; font-weight: 800; }
.sample-output { margin-top: 2px; font: 15px var(--font-code); }
.question legend { margin-top: 10px; padding: 0; font-size: 16px; font-weight: 800; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 2px solid var(--border); border-radius: 16px; box-shadow: 0 4px 0 var(--border); background: var(--surface); font: 800 16px var(--font-code); cursor: pointer; transition: background-color 120ms, border-color 120ms; }
.choice input { appearance: none; display: grid; place-items: center; width: 18px; height: 18px; margin: 0; border: 2px solid #a3a3a3; border-radius: 50%; }
.choice input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.choice:has(input:checked) { border-color: var(--primary-line); box-shadow: 0 4px 0 var(--primary-line); background: var(--primary-soft); }
.choice:has(input:checked) input { border-color: var(--indigo); }
.choice:has(input:checked) input::after { background: var(--indigo); }
.choice:has(input:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 3px; }
.feedback-text { max-width: 30rem; min-height: 72px; margin-top: 12px; color: var(--muted); font-size: 15px; font-weight: 700; line-height: 1.55; }
.feedback-text[data-state] { font-weight: 600; }
.verdict { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; font-size: 17px; font-weight: 900; }
.verdict::before { content: ""; display: grid; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: currentColor center / 14px no-repeat; }
[data-state="right"] .verdict { color: var(--teal); }
[data-state="right"] .verdict::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
[data-state="wrong"] .verdict { color: var(--primary-lip); }
[data-state="wrong"] .verdict::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.4-5.7M4 4v4h4'/%3E%3C/svg%3E"); }
.learn-curriculum { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: start; gap: 20px; }
.poster { display: flex; flex-direction: column; gap: 12px; }
.poster-card { overflow: hidden; border: 2px solid var(--border); border-radius: 20px; box-shadow: 0 4px 0 var(--mint-line); background: var(--surface); }
.poster-result { padding: 20px 22px; }
.poster-result > p:first-child { font-size: 14px; font-weight: 800; }
.poster-result > p:last-child { font-size: 12px; font-weight: 800; }
.poster-output { margin: 14px 0; font: 800 26px/1.2 var(--font-code); }
.poster-pattern { margin: 10px 0; font-size: 20px; line-height: 1.25; white-space: pre; }
.poster-teal { background: var(--teal); color: #fff; }
.poster-sun { background: var(--sun); color: var(--ink); }
.poster-violet { background: var(--primary-lip); color: #fff; }
.poster-file { padding: 10px 22px; border-bottom: 2px solid var(--border); background: var(--surface-muted); color: var(--muted); font: 700 13px var(--font-code); }
.poster-code { padding: 12px 22px 16px; font-size: 14px; }
.poster-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pchip { padding: 3px 10px; border: 2px solid; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.pchip-free { border-color: var(--mint-line); background: var(--mint); color: var(--teal); }
.pchip-premium { border-color: #ffc9b0; background: #ffeee6; color: var(--coral-ink); }
.pchip-soon { border-color: var(--border); background: #f0f0f0; color: #616161; }
.poster h4 { font-size: 24px; font-weight: 900; }
.poster-text { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Mentor & pricing: the violet band carousel */
.mentor-band { background: var(--primary-lip); color: #fff; }
.mentor-band > .wrap { padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.mentor-band :focus-visible, .trial-band :focus-visible, .site-footer :focus-visible, .ask-card :focus-visible { outline-color: var(--sun); }
.mentor-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.band-tabs { --pad: 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 440px); padding: 4px; border-radius: 999px; background: #ffffff1f; box-shadow: inset 0 2px 0 #0000001a; }
.band-tabs::before { border-radius: 999px; background: #fff; box-shadow: 0 3px 0 var(--primary-deep); }
.band-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: 999px; color: var(--on-violet); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-align: center; text-transform: uppercase; transition: color .2s; }
.band-tab[aria-selected="true"] { background: #fff; box-shadow: 0 3px 0 var(--primary-deep); color: var(--primary-lip); }
.band-tab:not([aria-selected="true"]):hover { color: #fff; }
.carousel-play .icon-play, .carousel-play[data-playing="true"] .icon-pause { display: block; }
.carousel-play .icon-pause, .carousel-play[data-playing="true"] .icon-play { display: none; }
@media (max-width: 559px) { .band-tab { padding: 0 8px; font-size: 12px; letter-spacing: .03em; } }
.round-arrow-band { border-color: transparent; box-shadow: 0 3px 0 #00000033; }
.round-arrow-band:disabled { opacity: .4; color: var(--ink); }
.mentor-band .counter { min-width: 56px; color: var(--on-violet); font-size: 14px; }
.mentor-track { margin: 16px calc(-1 * var(--gutter)) 0; }
/* Room above for Pixel, who sits on the example card's corner. */
.mentor-slide { padding: 24px var(--gutter) 8px; }
.mentor-sessions { display: flex; flex-wrap: wrap; align-items: center; gap: 40px clamp(32px, 5vw, 72px); }
.mentor-copy { flex: 1 1 380px; max-width: 520px; }
.mentor-copy .marker > [aria-hidden] { color: var(--sun); }
.mentor-copy .title { color: #fff; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.06; }
.mentor-copy .lede { max-width: none; margin-top: 18px; color: #ece6ff; font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px 24px; margin-top: 24px; font-size: 16px; font-weight: 800; }
.facts li { display: flex; gap: 10px; }
.facts li::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-top: 7px; border-radius: 3px; background: var(--sun); }
.mentor-example { flex: 1 1 400px; min-width: 0; max-width: 520px; }
.example-label { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-right: 100px; font-size: 15px; font-weight: 800; }
.example-label > [aria-hidden] { width: 32px; height: 3px; border-radius: 3px; background: var(--sun); }
.mentor-card { position: relative; padding: 28px; border-radius: 20px; box-shadow: 0 6px 0 var(--primary-deep); background: var(--surface); color: var(--ink); }
.mentor-card-art { position: absolute; right: -12px; top: -44px; width: 104px; height: auto; transform-origin: 50% 100%; pointer-events: none; animation: mentor-peek 3.2s ease-in-out infinite; }
@keyframes mentor-peek { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
.mentor-card-kicker { padding-right: 84px; color: var(--muted); font-size: 14px; font-weight: 800; }
.mentor-card-quote { max-width: 15em; margin-top: 6px; padding-right: 76px; font-size: 26px; font-weight: 900; line-height: 1.2; }
.mentor-card .code { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--surface-muted); font-size: 16px; }
.note { margin-top: 18px; }
.note summary { list-style: none; }
.note summary::-webkit-details-marker { display: none; }
.note p { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--border); font-size: 16px; line-height: 1.6; }
.note[open] p { animation: note-open .3s ease-out both; }
.note code { color: var(--teal); font-weight: 800; }
@keyframes note-open { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
.meet-mentor { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: center; gap: clamp(40px, 6vw, 80px); }
.photo-track { overflow: auto hidden; border: 2px solid var(--border); border-radius: 24px; box-shadow: 0 4px 0 var(--border); background: var(--surface); }
.photo-slide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface-muted); }
.photo-slide .photo-top { object-position: 50% 40%; }
.photo-slide .photo-low { object-position: 50% 72%; }
.photo-slide figcaption { padding: 14px 20px 16px; color: var(--muted); font-size: 15px; font-weight: 700; }
.profile .title { color: #fff; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; }
.profile .lede { max-width: 38rem; margin-top: 16px; color: var(--on-violet); font-weight: 600; }
.credentials { display: grid; gap: 10px; margin-top: 20px; }
.credentials li { padding: 10px 16px; border-left: 4px solid var(--sun); border-radius: 0 16px 16px 0; background: #ffffff1a; color: var(--on-violet); font-size: 15px; font-weight: 600; line-height: 1.5; }
.credentials strong { color: #fff; font-weight: 900; }
.credentials strong::after { content: " · "; }
.profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.profile-actions .brand-action { background: #fff; box-shadow: 0 4px 0 #00000033; color: var(--indigo); }
.profile-actions .brand-action:hover { background: var(--primary-soft); }
.profile-actions .text-action { color: #fff; font-size: 16px; }

/* Pricing */
/* Four plans: one row on wide screens, two by two in between, never three and an orphan. */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 32px 20px; margin-top: 36px; }
@media (min-width: 560px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 24px 20px 20px; border: 2px solid var(--border); border-radius: 24px; box-shadow: 0 4px 0 var(--border); background: var(--surface); }
.plan-recommended { border-color: var(--primary-line); box-shadow: 0 4px 0 var(--primary-line); }
.plan-best { border-color: var(--sun); box-shadow: 0 4px 0 var(--sun-deep); }
.plan-badge { position: absolute; top: 0; left: 24px; translate: 0 -50%; padding: 5px 13px; border-radius: 999px; background: var(--indigo); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.plan-best .plan-badge { background: var(--sun); color: var(--ink); }
.plan h3 { font-size: 24px; font-weight: 900; }
.plan-meetings { margin-top: 4px; color: var(--muted); font-size: 15px; font-weight: 600; }
.plan-normal { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 16px; color: var(--muted); font-weight: 700; }
.plan-price { margin-top: 4px; color: var(--indigo); font-size: clamp(28px, 2.6vw, 34px); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; }
.plan-monthly { margin: 4px 0 20px; color: var(--teal); font-size: 15px; font-weight: 800; }
.plan-cta { width: 100%; margin-top: auto; padding-inline: 16px; }
.pricing-trial { margin-top: 32px; font-size: 16px; font-weight: 800; }
.pricing-trial .text-action { margin-left: 8px; font-weight: 900; }
.pricing-note { max-width: 32rem; font-size: 14px; line-height: 1.6; }

/* Free trial band */
.trial-band { background: var(--primary-lip); color: #fff; }
.trial-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 24px clamp(32px, 5vw, 72px); max-width: 1000px; }
.trial-art { flex-shrink: 0; width: min(220px, 50vw); height: auto; pointer-events: none; }
.trial-grid > div { flex: 1 1 380px; }
.trial-band .title { color: #fff; font-size: clamp(32px, 4vw, 48px); }
.trial-band .lede { max-width: none; margin-top: 16px; color: #ece6ff; font-size: 18px; }
.trial-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.trial-actions .brand-action { background: #fff; box-shadow: 0 4px 0 var(--primary-deep); color: var(--primary-lip); }
.trial-actions .brand-action:hover { background: var(--primary-soft); }
.trial-contacts { margin-top: 18px; color: #ece6ff; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.trial-contacts a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 479px) { .trial-actions { display: grid; } }

/* FAQ */
.faq-page { padding-block: clamp(56px, 7vw, 104px) clamp(32px, 4vw, 56px); }
.faq-grid { display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 6vw, 96px); }
.faq-side { flex: 1 1 300px; max-width: 400px; }
.faq-side .kicker { font-size: 17px; }
.faq-side .title { margin-top: 14px; font-size: clamp(38px, 4.6vw, 56px); line-height: 1.05; }
.ask-card { margin-top: 32px; padding: 26px 24px 24px; border-radius: 24px; box-shadow: 0 6px 0 var(--primary-deep); background: var(--primary-lip); color: #fff; }
.ask-card h2 { font-size: clamp(26px, 2.4vw, 30px); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.ask-card > p { margin-top: 8px; color: var(--on-violet); font-size: 17px; line-height: 1.5; }
.channels { display: grid; gap: 10px; margin-top: 22px; }
.channel { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 10px 14px; border: 2px solid #fff; border-radius: 16px; box-shadow: 0 4px 0 var(--primary-deep); background: #fff; color: var(--indigo); transition: border-color .15s, background-color .15s, translate .1s; }
.channel:hover { border-color: var(--primary-line); background: #faf8ff; }
.channel:active { translate: 0 3px; box-shadow: none; }
.channel-icon { display: grid; flex-shrink: 0; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.channel-wa { background: #e3f8ea; color: #1a7f45; }
.channel-mail { background: var(--primary-soft); color: var(--primary-lip); }
.channel-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.channel-title { color: var(--ink); font-size: 16px; font-weight: 800; }
.channel-detail { color: var(--muted); font-size: 14px; font-weight: 700; overflow-wrap: break-word; }
.channel-go { flex-shrink: 0; margin-left: auto; transition: translate .15s; }
.channel:hover .channel-go { translate: 3px 0; }
.faq-groups { display: flex; flex: 2 1 460px; flex-direction: column; gap: 36px; min-width: 0; }
.faq-group h2 { margin-bottom: 8px; color: var(--teal); font-size: 15px; font-weight: 800; }
.faq-list { border-top: 2px solid var(--border); }
.faq-list details { border-bottom: 2px solid var(--border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 10px 0; font-size: 18px; font-weight: 800; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-chev { flex-shrink: 0; transition: rotate .2s; }
.faq-list details[open] .faq-chev { rotate: 180deg; }
.faq-list details p { max-width: 40em; padding-bottom: 22px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Footer: one closing call to action, Byte's phone in a white bowl cut into the violet band. */
.footer-cta { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(40px, 6vw, 72px) 16px clamp(12px, 2vw, 24px); text-align: center; }
.footer-cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; }
.footer-cta .brand-action { width: min(100%, 380px); }
.site-footer { position: relative; background: var(--primary-lip); color: #fff; }
.footer-bowl { display: block; width: 100%; height: clamp(150px, 21vw, 300px); }
.footer-art { position: absolute; left: 50%; top: 0; width: min(100%, 820px); aspect-ratio: 820 / 330; container-type: inline-size; translate: -50% 0; pointer-events: none; }
.footer-art > * { position: absolute; height: auto; }
.ft-phone { left: 37.6%; top: 4%; z-index: 1; width: 24.9%; height: 88% !important; rotate: -4deg; }
.ft-phone-lip, .ft-phone-screen { position: absolute; inset: 0; border-radius: 19% / 13.5%; }
.ft-phone-lip { translate: -6% 4%; background: var(--primary-deep); }
.ft-phone-screen { display: grid; place-items: center; border: 1cqw solid var(--primary-line); background: #fff; }
.ft-phone-screen img { width: 51%; height: auto; }
.ft-pixel { left: 2%; top: 18%; width: 16%; rotate: -12deg; animation-delay: -1.2s; }
.ft-mem { left: 85%; top: 26%; width: 11%; rotate: 14deg; animation-delay: -.4s; }
.ft-chip { padding: 1.2cqw 2cqw; border: .37cqw solid var(--border); border-radius: 2cqw; box-shadow: 0 .5cqw 0 var(--border); background: #fff; font: 700 2.2cqw/1 var(--font-code); }
.ft-chip-print { left: 19%; top: 6%; rotate: -8deg; color: var(--indigo); }
.ft-chip-brace { left: 79%; top: 3%; rotate: 9deg; color: var(--teal); animation-delay: -1.4s; }
.ft-coin-big { left: 26%; top: 47%; width: 9.3%; }
.ft-coin-small { left: 66%; top: 11%; width: 6.6%; animation-delay: -1.4s; }
.ft-check { left: 69%; top: 46%; display: grid; place-items: center; width: 7.8%; aspect-ratio: 1; border-radius: 50%; background: var(--turquoise); box-shadow: 0 .6cqw 0 #13968a; animation-delay: -2s; }
.ft-check svg { width: 47%; }
.ft-star { left: 13%; top: 62%; width: 5.4%; animation-delay: -2.2s; }
.ft-star svg, .ft-check svg { display: block; }
.ft-float { animation: ft-float 3.4s ease-in-out infinite; }
.ft-wobble { animation: ft-wobble 3.2s ease-in-out infinite; }
.ft-puff { animation: ft-puff 5s ease-in-out infinite; }
@keyframes ft-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6%) rotate(3deg); } }
@keyframes ft-wobble { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-14%) rotate(8deg); } }
@keyframes ft-puff { 0%, 86%, 100% { scale: 1; } 90% { scale: 1.14; } 95% { scale: .96; } }
/* The art is 820:330 and its phone reaches 92% down; the links start below it at every width. */
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: 1080px; margin: max(clamp(8px, 3vw, 40px), calc(min(100vw, 820px) * .3702 - clamp(150px, 21vw, 300px) + 16px)) auto 0; padding: 0 20px; }
.footer-links > div { display: flex; flex-direction: column; gap: 2px; }
.footer-links h2 { margin-bottom: 8px; font-size: 19px; font-weight: 900; }
.footer-links a, .footer-links > div > span { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--on-violet); font-size: 16px; font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-soon { padding: 2px 8px; border-radius: 999px; background: var(--indigo); color: #fff; font-size: 12px; font-weight: 800; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; max-width: 1080px; margin: 40px auto 0; padding: 28px 20px 44px; border-top: 2px solid var(--indigo); }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 900; }
.footer-logo img { width: 36px; height: 36px; }
.footer-base > p { flex: 1 1 260px; color: var(--on-violet); font-size: 14px; font-weight: 600; }
.footer-language { --pad: 0px; display: flex; gap: 6px; }
.footer-language::before { border-radius: 12px; background: #fff; }
.footer-language a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--on-violet); font-size: 13px; font-weight: 800; }
.footer-language a[aria-current] { background: #fff; color: var(--primary-lip); }
.footer-base > .footer-copy { flex: 0 0 auto; font-size: 13px; }
@media (max-width: 719px) { .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; } .footer-base { flex-direction: column; align-items: flex-start; } .footer-base > p { flex: none; } }

/* Not found: the same layout as study's, with this site's header and footer. */
.not-found-page { padding-block: clamp(48px, 7vw, 96px); }
.not-found { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
.not-found-code { color: var(--indigo); font-size: clamp(64px, 12vw, 128px); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.not-found-code span { color: var(--turquoise); }
.not-found-title { margin-top: 20px; font-size: clamp(36px, 4.4vw, 48px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.not-found-lede { max-width: 32rem; margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.not-found-action { margin-top: 32px; }
.not-found-art { width: clamp(180px, 22vw, 288px); height: auto; }
@media (max-width: 639px) { .not-found { grid-template-columns: minmax(0, 1fr); gap: 32px; } .not-found-art { grid-row: 1; justify-self: end; width: 140px; margin-bottom: -32px; } }

/* Sections reveal once, as they enter. Visible without JS and under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal > .wrap { transition: opacity .45s ease-out, translate .45s cubic-bezier(.22, 1, .36, 1); }
  .js .reveal:not(.is-revealed) > .wrap { opacity: 0; translate: 0 16px; }
}
/* No content-visibility: with any animation running, Chrome re-checks skipped sections every
   frame, which cost more than skipping saved on pages this size. */
/* Idle loops stop while off screen (site.js toggles .is-paused). */
.is-paused, .is-paused * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
