/* Aģentu operators: the sales page, second prototype. The funnel's look first (its roles, unchanged), then the page.
   Every colour below is a role or a mix of roles; motion lives at the end, inside the reduced-motion guards. */
:root {
  --tf-field: #fdfbf5;
  --tf-field-deep: #f6f0e3;
  --tf-on-field: #1a1f2e;
  --tf-on-field-soft: #3c4458;
  --tf-paper: #f7e8d5;
  --tf-card: #ffffff;
  --tf-ink: #1a1f2e;
  --tf-ink-soft: #3c4458;
  --tf-action: #ff6b4a;
  --tf-action-hover: #f25a38;
  --tf-action-ink: #1a1f2e;
  --tf-highlight: #2d5a3d;
  --tf-warning: #b8401f;
  --tf-focus: #1a1f2e;
  --tf-glow: #f6d95c;
  --tf-secondary: #2f6d4c;
  --tf-font-display: 'Geist', Arial, sans-serif;
  --tf-font-body: 'Geist', Arial, sans-serif;
}

body {
  --sage: color-mix(in srgb, var(--tf-secondary) 11%, var(--tf-card));
  --sage-2: color-mix(in srgb, var(--tf-secondary) 22%, var(--tf-card));
  --peach: color-mix(in srgb, var(--tf-action) 12%, var(--tf-card));
  --peach-2: color-mix(in srgb, var(--tf-action) 24%, var(--tf-card));
  --butter: color-mix(in srgb, var(--tf-glow) 28%, var(--tf-card));
  --sand: color-mix(in srgb, var(--tf-paper) 58%, var(--tf-card));
  --band: color-mix(in srgb, var(--tf-paper) 36%, var(--tf-field));
  --forest: color-mix(in srgb, var(--tf-highlight) 74%, black);
  --hair: color-mix(in srgb, var(--tf-ink) 10%, transparent);
  --mute: color-mix(in srgb, var(--tf-ink-soft) 82%, var(--tf-card));
  --lift-1: 0 1px 2px color-mix(in srgb, var(--tf-ink) 5%, transparent), 0 12px 28px -16px color-mix(in srgb, var(--tf-ink) 22%, transparent);
  --lift-2: 0 2px 6px color-mix(in srgb, var(--tf-ink) 6%, transparent), 0 28px 60px -28px color-mix(in srgb, var(--tf-ink) 34%, transparent);
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gut: clamp(20px, 5vw, 40px);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  background: var(--tf-field);
  color: var(--tf-ink);
  font: 400 1.0625rem/1.6 var(--tf-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
img { display: block; }
b, strong { font-weight: 600; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--tf-font-display); margin: 0; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nw { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--tf-focus); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 60; padding: 12px 16px; border-radius: 12px; background: var(--tf-ink); color: var(--tf-card); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(1160px + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

/* Buttons: one filled action, the rest quiet. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px; border: 0; border-radius: 999px; font: 700 1.0625rem/1.2 var(--tf-font-display); letter-spacing: -.01em; text-decoration: none; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.btn-primary { background: var(--tf-action); color: var(--tf-action-ink); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--tf-card) 45%, transparent), 0 14px 26px -14px color-mix(in srgb, var(--tf-action) 80%, transparent); }
.btn-primary:hover { background: var(--tf-action-hover); }
.btn-quiet { background: var(--tf-card); color: var(--tf-ink); box-shadow: var(--lift-1); }
.btn-ink { background: transparent; color: var(--tf-ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tf-ink) 78%, transparent); }
.btn-ink:hover { background: var(--tf-ink); color: var(--tf-card); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 1rem; }
.btn-lg { min-height: 60px; padding: 16px 34px; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--sand); color: var(--tf-ink-soft); box-shadow: none; cursor: default; }

/* Header: the mark, the countdown as one quiet strip, a way to the programmes. */
.top { position: relative; z-index: 30; background: var(--tf-field); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 1.25rem/1 var(--tf-font-display); letter-spacing: -.035em; color: var(--tf-ink); text-decoration: none; }
.brand-mark { width: 22px; height: 22px; flex: none; border-radius: 6px; background-color: var(--tf-ink); background-image: radial-gradient(var(--tf-card) 1.1px, transparent 1.5px); background-size: 5.5px 5.5px; }
.count { order: 3; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 16px; border-radius: 18px; background: var(--tf-card); box-shadow: var(--lift-1); }
.count-label { font: 500 .875rem/1.35 var(--tf-font-body); color: var(--tf-ink-soft); }
.count-label time { color: var(--tf-ink); font-weight: 600; white-space: nowrap; }
.count-clock { display: flex; gap: 4px; flex: none; }
.count-unit { min-width: 42px; padding: 7px 2px 6px; border-radius: 12px; background: var(--sand); text-align: center; line-height: 1; }
.count-unit b { display: block; font: 700 1.0625rem/1 var(--tf-font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.count-unit span { display: block; margin-top: 4px; font: 600 .625rem/1 var(--tf-font-body); color: var(--tf-ink-soft); }
.count-clock[data-passed] { opacity: .5; }

/* Type. */
.eyebrow { font: 600 .875rem/1.3 var(--tf-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--tf-highlight); }
.eyebrow time { white-space: nowrap; }
h1 { font-size: clamp(2.375rem, 1.42rem + 4.15vw, 3.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.18rem + 2.4vw, 2.625rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h1 em, h2 em, .band-line em, .next-line em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.14em; line-height: .9; letter-spacing: -.015em; color: var(--tf-highlight); }
h1 s { font-weight: 600; color: color-mix(in srgb, var(--tf-ink) 36%, transparent); text-decoration-color: var(--tf-action); text-decoration-thickness: .09em; }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); line-height: 1.6; color: var(--tf-ink-soft); max-width: 62ch; }
.lede b { color: var(--tf-ink); }
.micro { font-size: .875rem; line-height: 1.5; color: var(--mute); }

/* Sections ride the frame's rhythm; a band is a tint, never a border. */
main > section { position: relative; }
.sec--paper { background: var(--band); }
.sec--sage { background: linear-gradient(180deg, var(--sage) 0%, color-mix(in srgb, var(--sage) 45%, var(--tf-field)) 100%); }
.sec-head { max-width: 760px; }
.sec-head h2 { margin-top: 12px; }
.sec-head .lede { margin-top: 16px; }
.center-row { display: flex; justify-content: center; margin-top: 40px; }

/* Ornaments: the quarter circles of the course's own pictures. They never carry words. */
.orn { position: absolute; pointer-events: none; }

/* Hero. */
main > .hero { padding-top: clamp(20px, 3.5vw, 48px); overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(56% 48% at 96% 0%, var(--peach) 0%, transparent 72%), radial-gradient(44% 46% at 0% 100%, var(--sage) 0%, transparent 70%); }
.hero-in { position: relative; display: grid; gap: 32px; align-items: center; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .9375rem; line-height: 1.3; color: var(--tf-ink-soft); margin-bottom: 20px; }
.hero-proof b { color: var(--tf-ink); font-weight: 700; }
.hero-proof .sep { width: 4px; height: 4px; border-radius: 50%; background: color-mix(in srgb, var(--tf-ink) 30%, transparent); }
.stars { display: inline-flex; gap: 1px; color: color-mix(in srgb, var(--tf-glow) 78%, var(--tf-warning)); }
.stars svg { width: 1rem; height: 1rem; }
.hero h1 { margin: 14px 0 20px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: var(--tf-card); box-shadow: var(--lift-1); font: 600 .9375rem/1.2 var(--tf-font-body); white-space: nowrap; }
.facts svg { color: var(--tf-highlight); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .micro { margin-top: 16px; }
.hero-visual { position: relative; }

/* Proof: who has learned with the team, then four numbers. */
main > .proof { padding-block: 40px 48px; background: var(--tf-card); }
.proof-label { text-align: center; font: 600 .875rem/1.3 var(--tf-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.orgs { margin-top: 20px; overflow: hidden; }
.orgs-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; }
.orgs-track li { font: 600 1.0625rem/1.3 var(--tf-font-display); letter-spacing: -.02em; color: color-mix(in srgb, var(--tf-ink) 62%, var(--tf-card)); white-space: nowrap; }
.orgs.is-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.orgs.is-marquee .orgs-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 0; }
.orgs.is-marquee .orgs-track li { padding-right: 40px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.stats li { padding: 20px 16px; border-radius: var(--r-md); background: var(--band); }
.stats b { display: block; font: 700 clamp(1.75rem, 1.3rem + 2vw, 2.5rem)/1 var(--tf-font-display); letter-spacing: -.04em; color: var(--tf-highlight); }
.stats span { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.35; color: var(--tf-ink-soft); }

/* The everyday user beside the operator. */
.versus { display: grid; gap: 16px; margin-top: 40px; }
.versus-card { position: relative; overflow: hidden; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-lg); background: var(--tf-card); box-shadow: var(--lift-1); }
.versus-card--before h3 { color: var(--tf-ink-soft); }
.versus-card--after { background: linear-gradient(165deg, var(--sage-2) 0%, var(--sage) 46%, var(--tf-card) 100%); box-shadow: var(--lift-2); }
.versus-card h3 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.625rem); letter-spacing: -.03em; margin-bottom: 12px; }
.orn-c { top: 0; right: 0; width: 88px; height: 88px; border-radius: 0 0 0 100%; background: var(--tf-action); }
.marks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 10px 0; line-height: 1.45; }
.marks li + li { border-top: 1px solid var(--hair); }
.marks svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; }
.marks--minus svg { background: var(--sand); color: var(--mute); }
.marks--minus span { color: var(--tf-ink-soft); }
.marks--check svg { background: var(--tf-highlight); color: var(--tf-card); stroke-width: 2.4; }
.marks--check span { font-weight: 500; }
.marks--tight li { padding: 8px 0; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 32px; padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 40px); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--peach) 0%, var(--butter) 100%); }
.band-line { font: 700 clamp(1.25rem, 1.05rem + 1.1vw, 1.75rem)/1.2 var(--tf-font-display); letter-spacing: -.03em; text-wrap: balance; }

/* In short: nine facts as one sheet. */
.brief { display: grid; gap: 28px; }
.brief-list { padding: 8px clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--tf-card); box-shadow: var(--lift-1); }
.brief-list > div { display: grid; gap: 6px; padding: 18px 0; }
.brief-list > div + div { border-top: 1px solid var(--hair); }
.brief-list dt { display: flex; align-items: center; gap: 10px; font: 600 .9375rem/1.3 var(--tf-font-body); color: var(--tf-highlight); }
.brief-list dd { color: var(--tf-ink); line-height: 1.55; }

/* What you get. */
.kit { margin-top: 40px; padding: clamp(8px, 2vw, 28px); border-radius: var(--r-lg); background: var(--tf-card); box-shadow: var(--lift-1); }
.kit img { width: 100%; height: auto; max-height: 50vh; object-fit: contain; }
.tile { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r-md); background: var(--sand); }
.tile img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.tile--sage { background: var(--sage); }
.tile--peach { background: var(--peach); }
.tile--sand { background: var(--sand); }
.tile--card { background: var(--tf-card); }
.tile--photo img { mix-blend-mode: normal; object-position: 50% 42%; }
.tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--tf-highlight); color: var(--tf-card); font: 600 .875rem/1.2 var(--tf-font-body); }
.tag--ink { background: var(--tf-ink); }
.live { display: grid; gap: 24px; margin-top: 16px; padding: clamp(16px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--tf-card); box-shadow: var(--lift-1); }
.live-copy h3 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.625rem); letter-spacing: -.03em; }
.live-copy > p { margin-top: 8px; color: var(--tf-ink-soft); }
.live-copy > p b { color: var(--tf-ink); }
.live-list { display: grid; gap: 4px; margin-top: 16px; }
.live-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; padding: 14px 0; }
.live-list li + li { border-top: 1px solid var(--hair); }
.num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sage); color: var(--tf-highlight); font: 400 1.375rem/1 var(--serif); }
.live-item { display: grid; gap: 2px; }
.live-meta { font-size: .875rem; color: var(--mute); }
.live-item b { font: 700 1.0625rem/1.3 var(--tf-font-display); letter-spacing: -.015em; }
.live-item span:last-child { color: var(--tf-ink-soft); line-height: 1.5; }
.rail { display: grid; gap: 16px; }
.gets { margin-top: 16px; }
.get { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 20px; border-radius: var(--r-lg); background: var(--tf-card); box-shadow: var(--lift-1); }
.get .tile { border-radius: 18px; margin-bottom: 10px; }
.get h3, .get p { padding-inline: 8px; }
.get p { color: var(--tf-ink-soft); line-height: 1.5; }
.get p b { color: var(--tf-ink); }
.tile--cert { display: grid; place-items: center; padding: 14px; }

/* The certificate, drawn in the page so it stays sharp. */
.cert { container-type: inline-size; width: 100%; background: var(--tf-field); border-radius: 4px; box-shadow: var(--lift-1); color: var(--forest); }
.cert-in { position: relative; overflow: hidden; display: grid; justify-items: center; align-content: center; gap: 1.4cqi; aspect-ratio: 1.414 / 1; padding: 5cqi 6cqi; text-align: center; box-shadow: inset 0 0 0 .5cqi var(--tf-field), inset 0 0 0 .8cqi color-mix(in srgb, var(--tf-highlight) 55%, transparent); }
.cert-in::before, .cert-in::after { content: ""; position: absolute; width: 13cqi; height: 13cqi; }
.cert-in::before { top: 0; right: 0; border-radius: 0 0 0 100%; background: var(--tf-action); }
.cert-in::after { left: 0; bottom: 0; border-radius: 0 100% 0 0; background: var(--tf-highlight); }
.cert-kicker { font: 400 5.4cqi/1 var(--serif); letter-spacing: .16em; }
.cert-sub { font: 500 2.2cqi/1.2 var(--tf-font-body); color: var(--tf-ink-soft); }
.cert-to { margin-top: 2cqi; font: 600 1.7cqi/1 var(--tf-font-body); letter-spacing: .2em; color: var(--tf-ink-soft); }
.cert-name { font: italic 400 7.4cqi/1.05 var(--serif); color: var(--tf-ink); }
.cert-course { font: 700 3.2cqi/1.2 var(--tf-font-display); letter-spacing: -.01em; }
.cert-signs, .cert-meta { display: flex; justify-content: center; gap: 6cqi; width: 100%; }
.cert-signs { margin-top: 2.4cqi; }
.cert-signs span, .cert-meta span { display: grid; gap: .5cqi; }
.cert-signs span { min-width: 22cqi; padding-top: 1.2cqi; border-top: .25cqi solid color-mix(in srgb, var(--tf-ink) 30%, transparent); }
.cert-signs b { font: 600 2.1cqi/1.2 var(--tf-font-body); color: var(--tf-ink); }
.cert-signs i, .cert-meta i { font: normal 500 1.6cqi/1.2 var(--tf-font-body); color: var(--tf-ink-soft); }
.cert-meta { margin-top: 1.6cqi; }
.cert-meta b { font: 600 1.8cqi/1.2 var(--tf-font-body); color: var(--tf-ink); }

/* The programme as a road of five stops. */
.steps { position: relative; display: grid; gap: 20px; margin-top: 40px; }
.step { position: relative; display: grid; gap: 12px; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--tf-card); box-shadow: var(--lift-1); color: var(--tf-highlight); font: 400 2rem/1 var(--serif); }
.step-card { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--tf-card); box-shadow: var(--lift-1); }
.step--prep .step-card { background: linear-gradient(150deg, var(--sage-2) 0%, var(--sage) 60%); }
.step--demo .step-card { background: linear-gradient(150deg, var(--peach-2) 0%, var(--peach) 60%); }
.step-top { display: grid; gap: 20px; }
.step-meta { font-size: .9375rem; line-height: 1.4; color: var(--tf-ink-soft); }
.step-meta b { color: var(--tf-highlight); font-weight: 700; }
.step-copy h3 { margin: 8px 0 14px; font-size: clamp(1.375rem, 1.12rem + 1.2vw, 1.875rem); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.step-copy > p:last-child { color: var(--tf-ink-soft); max-width: 60ch; }
.step-copy > p:last-child b { color: var(--tf-ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tags li { padding: 7px 12px; border-radius: 999px; background: var(--band); font: 500 .875rem/1.2 var(--tf-font-body); }
.step--prep .tags li { background: var(--tf-card); }
.learn { margin-top: 20px; padding-top: 4px; border-top: 1px solid var(--hair); }
.learn summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; cursor: pointer; list-style: none; font: 700 1rem/1.3 var(--tf-font-display); letter-spacing: -.01em; color: var(--tf-highlight); }
.learn summary::-webkit-details-marker { display: none; }
.learn[open] summary svg { transform: rotate(180deg); }
.learn-list { display: grid; gap: 14px 32px; padding: 4px 0 6px; }
.learn-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1rem; line-height: 1.55; color: var(--tf-ink-soft); }
.learn-list svg { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--sage); color: var(--tf-highlight); stroke-width: 2.4; }
.learn-list b { color: var(--tf-ink); }
.howto { display: grid; gap: 16px; margin-top: 20px; }
.howto-card { padding: 24px; border-radius: var(--r-md); background: var(--tf-card); box-shadow: var(--lift-1); }
.howto-card b { display: block; font: italic 400 1.75rem/1 var(--serif); color: var(--tf-highlight); }
.howto-card p { margin-top: 8px; color: var(--tf-ink-soft); }

/* Safety. */
.split { display: grid; gap: 28px; align-items: center; }
.tile--wide { aspect-ratio: 3 / 2; }
.rules { margin-top: 32px; }
.rule { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-content: start; padding: 24px; border-radius: var(--r-md); background: var(--tf-card); box-shadow: var(--lift-1); }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sage); color: var(--tf-highlight); }
.rule b { display: block; font: 700 1.0625rem/1.3 var(--tf-font-display); letter-spacing: -.015em; }
.rule p { margin-top: 6px; font-size: 1rem; line-height: 1.5; color: var(--tf-ink-soft); }

/* Certificate. */
.certgrid { display: grid; gap: 32px; margin-top: 40px; align-items: center; }
.viewer { padding: 12px; border-radius: var(--r-md); background: color-mix(in srgb, var(--tf-ink) 8%, var(--tf-card)); box-shadow: var(--lift-2); }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 6px 12px; font: 500 .875rem/1.2 var(--tf-font-body); color: var(--tf-ink-soft); }
.viewer-file { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-type { flex: none; padding: 3px 8px; border-radius: 6px; background: var(--tf-ink); color: var(--tf-card); font-weight: 700; letter-spacing: .04em; }
.viewer-page { padding: clamp(10px, 2.4vw, 24px); border-radius: 12px; background: var(--tf-card); }
.certside { display: grid; gap: 20px; }
.verify { padding: 24px; border-radius: var(--r-md); background: var(--tf-card); box-shadow: var(--lift-1); }
.verify h3 { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; }
.verify h3 svg { width: 28px; height: 28px; color: var(--tf-highlight); }
.verify dl { margin-top: 12px; }
.verify dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 1rem; }
.verify dt { color: var(--tf-ink-soft); }
.verify dd { font-weight: 600; text-align: right; }
.verify-dl { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 14px; border-radius: 999px; background: var(--sage); color: var(--tf-highlight); font: 600 .9375rem/1.2 var(--tf-font-body); }
.certside-title { font-size: 1.25rem; }
.certside .btn { justify-self: start; }

/* Graduates' cases. */
.cases { margin-top: 40px; }
.case { display: flex; flex-direction: column; padding: 12px 12px 20px; border-radius: var(--r-lg); background: var(--tf-card); box-shadow: var(--lift-1); }
.case-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--sand); }
.case-media img, .case-media video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--tf-card); color: var(--tf-ink); box-shadow: var(--lift-2); }
.play svg { width: 26px; height: 26px; margin-left: 2px; }
.dur { position: absolute; right: 10px; bottom: 10px; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--tf-ink) 82%, transparent); color: var(--tf-card); font: 600 .875rem/1.2 var(--tf-font-body); font-variant-numeric: tabular-nums; }
.case h3 { margin: 16px 8px 0; font-size: 1.125rem; line-height: 1.25; }
.case-who { margin: 6px 8px 0; font: 600 .9375rem/1.3 var(--tf-font-body); color: var(--tf-highlight); }
.case p:last-child { margin: 8px 8px 0; font-size: 1rem; line-height: 1.5; color: var(--tf-ink-soft); }
.next-line { margin-top: 32px; text-align: center; font: 700 clamp(1.25rem, 1.05rem + 1.1vw, 1.75rem)/1.2 var(--tf-font-display); letter-spacing: -.03em; }

/* Trainers. */
.trainers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
.trainer { overflow: hidden; border-radius: var(--r-lg); background: var(--tf-card); box-shadow: var(--lift-1); }
.trainer-photo { aspect-ratio: 4 / 5; background: var(--peach); }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.trainer-copy { padding: 16px 16px 20px; }
.trainer-copy h3 { font-size: clamp(1.0625rem, .95rem + .8vw, 1.5rem); }
.trainer-role { margin-top: 4px; font-size: .9375rem; line-height: 1.35; color: var(--tf-ink-soft); }
.trainer-topic { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--sage); color: var(--tf-highlight); font: 600 .875rem/1.25 var(--tf-font-body); }

/* Reviews. */
.quotes { margin-top: 40px; }
.quote { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-md); background: var(--tf-card); box-shadow: var(--lift-1); }
.quote blockquote { font: 500 1.0625rem/1.5 var(--tf-font-body); letter-spacing: -.01em; }
.quote figcaption { display: grid; gap: 2px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hair); font-size: .9375rem; line-height: 1.35; }
.quote figcaption b { font-weight: 700; }
.quote figcaption span { color: var(--tf-ink-soft); }

/* Platform bonus: a glow under the whole section, cards on it. */
#platforma { background: radial-gradient(70% 60% at 100% 0%, var(--peach) 0%, transparent 70%), radial-gradient(60% 60% at 0% 100%, var(--sage) 0%, transparent 72%); }
.perks { margin-top: 32px; }
.perk { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-md); background: var(--tf-card); box-shadow: var(--lift-1); }
.perk-n { font: 600 .875rem/1.3 var(--tf-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--tf-highlight); }
.perk h3 { margin-top: 12px; font-size: 1.1875rem; }
.perk > p:not(.perk-n) { margin-top: 8px; font-size: 1rem; line-height: 1.5; color: var(--tf-ink-soft); }
.perk ol { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); }
.perk ol li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 1rem; line-height: 1.4; }
.perk ol li span:first-child { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sage); color: var(--tf-highlight); font: 700 .875rem/1 var(--tf-font-body); }
.panel-foot { display: grid; gap: 8px; margin-top: 24px; padding: 20px 24px; border-radius: var(--r-md); background: var(--tf-card); box-shadow: var(--lift-1); }
.panel-foot p { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.panel-foot p span { color: var(--tf-ink-soft); }
.panel-foot small { font-size: .875rem; line-height: 1.5; color: var(--mute); }

/* The two programmes. */
.sec--price { background: radial-gradient(60% 40% at 50% 0%, var(--butter) 0%, transparent 70%), var(--band); }
.plans { display: grid; gap: 20px; margin-top: 40px; align-items: stretch; scroll-margin-top: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(14px, 2.2vw, 24px); border-radius: 32px; background: var(--tf-card); box-shadow: var(--lift-1); }
.plan--featured { background: linear-gradient(180deg, var(--peach) 0%, var(--tf-card) 34%); box-shadow: var(--lift-2); }
.plan-visual { padding: 14px 10px 0; border-radius: 22px; background: linear-gradient(180deg, var(--sage) 0%, var(--sand) 100%); }
.plan-visual--peach { background: linear-gradient(180deg, var(--butter) 0%, var(--peach-2) 100%); }
.plan-visual img { width: 100%; height: auto; filter: drop-shadow(0 14px 14px color-mix(in srgb, var(--tf-ink) 16%, transparent)); }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 20px 8px 0; }
.plan-head h3 { font-size: 1.75rem; letter-spacing: -.035em; }
.plan-flag { padding: 6px 12px; border-radius: 999px; background: var(--tf-highlight); color: var(--tf-card); font: 600 .875rem/1.2 var(--tf-font-body); white-space: nowrap; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 8px 8px 20px; }
.plan-price b { font: 700 clamp(2.75rem, 2.1rem + 2.8vw, 3.75rem)/1 var(--tf-font-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.plan-price span { font: 500 1rem/1.2 var(--tf-font-body); color: var(--tf-ink-soft); }
.plan-hero { margin: 0 0 20px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(120deg, var(--peach-2) 0%, var(--butter) 100%); }
.plan-hero > p:last-child { margin-top: 6px; font-size: 1rem; line-height: 1.5; color: var(--tf-ink-soft); }
.plan-extra-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.plan-extra-head b { font: 700 1.0625rem/1.3 var(--tf-font-display); letter-spacing: -.015em; }
.value { padding: 4px 10px; border-radius: 999px; background: var(--tf-card); color: var(--tf-highlight); font: 700 .875rem/1.3 var(--tf-font-body); white-space: nowrap; }
.ticks, .pluses { display: grid; gap: 10px; padding-inline: 8px; }
.ticks li, .pluses li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1rem; line-height: 1.45; }
.ticks svg { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--tf-highlight); color: var(--tf-card); stroke-width: 2.6; }
.pluses svg { width: 22px; height: 22px; padding: 4px; margin-top: 1px; color: var(--tf-highlight); stroke-width: 2.4; }
.plan-extra { margin-top: 20px; padding: 20px 0 0; border-top: 1px solid var(--hair); }
.plan-extra .plan-extra-head { margin: 0 8px 12px; }
.plan-extra .value { background: var(--sage); }
.pluses li { color: var(--tf-ink-soft); }
.plan-buy { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }
.plan-price--sm { margin: 0 8px; }
.plan-price--sm b { font-size: 1.75rem; letter-spacing: -.035em; }
.plan-buy .micro { text-align: center; }
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.trust li { display: flex; align-items: center; gap: 10px; font: 600 .9375rem/1.3 var(--tf-font-body); }
.trust svg { width: 22px; height: 22px; color: var(--tf-highlight); }
.price-note { margin-top: 20px; font-size: .9375rem; line-height: 1.5; color: var(--mute); }
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 32px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--tf-card); box-shadow: var(--lift-1); }
.seal { display: grid; place-items: center; align-content: center; width: 88px; height: 88px; border-radius: 50%; background: var(--sage-2); color: var(--tf-highlight); }
.seal b { font: 400 2.5rem/.9 var(--serif); }
.seal span { font: 700 .6875rem/1 var(--tf-font-body); letter-spacing: .14em; }
.guarantee h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); letter-spacing: -.03em; }
.guarantee p { margin-top: 8px; color: var(--tf-ink-soft); max-width: 68ch; }

/* Questions. */
.faq { display: grid; gap: 28px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 0 20px; border-radius: 18px; background: var(--tf-card); box-shadow: var(--lift-1); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 0; cursor: pointer; list-style: none; font: 600 1.0625rem/1.35 var(--tf-font-display); letter-spacing: -.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--sage); color: var(--tf-highlight); stroke-width: 2.2; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding: 0 44px 20px 0; color: var(--tf-ink-soft); }

/* The last word. */
.final { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 20px; padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 64px); border-radius: 36px; background: linear-gradient(135deg, var(--butter) 0%, var(--peach) 55%, var(--peach-2) 100%); text-align: center; }
.final h2 { max-width: 18ch; font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); }
.final-date { font: 600 1.125rem/1.4 var(--tf-font-body); }
.final-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font: 500 .9375rem/1.3 var(--tf-font-body); color: var(--tf-ink-soft); }
.final-notes li { display: inline-flex; align-items: center; gap: 6px; }
.final-notes svg { width: 18px; height: 18px; color: var(--tf-highlight); stroke-width: 2.4; }
.final > * { position: relative; }
.final > .orn { position: absolute; }
.orn-e { top: 0; left: 0; width: clamp(72px, 12vw, 148px); height: clamp(72px, 12vw, 148px); border-radius: 0 0 100% 0; background: var(--tf-highlight); }
.orn-f { right: 0; bottom: 0; width: clamp(88px, 15vw, 190px); height: clamp(88px, 15vw, 190px); border-radius: 100% 0 0 0; background: var(--tf-action); }

/* Footer, on the frame's own ground. */
body > footer.foot { background: var(--tf-field-deep); }
.foot-in { display: grid; justify-items: center; gap: 12px; }
.foot-brand { max-width: 56ch; color: var(--tf-on-field-soft); }
.foot-brand .brand-mark { display: inline-block; vertical-align: -4px; margin-right: 8px; }
.foot-brand b { color: var(--tf-on-field); font-weight: 700; letter-spacing: -.02em; }
.foot a { color: var(--tf-on-field); text-underline-offset: 3px; }
.foot-note, .foot-legal { max-width: 72ch; font-size: .875rem; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.foot-links a, .foot-links button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--tf-on-field); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* The phone's join bar: it stands aside while a join button is already on screen. */
.mobile-join { position: fixed; inset: auto 0 0 0; z-index: 40; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--tf-field) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--hair), 0 -16px 32px -20px color-mix(in srgb, var(--tf-ink) 30%, transparent); transform: translateY(110%); visibility: hidden; }
.mobile-join.is-on { transform: none; visibility: visible; }
.mobile-join.hidden { display: none; }

/* The sign-up dialog (the kit's form, in the page's look). */
dialog#signup { width: min(520px, calc(100vw - 24px)); padding: 36px 28px 28px; border: 0; border-radius: var(--r-lg); background: var(--tf-card); color: var(--tf-ink); font-family: var(--tf-font-body); box-shadow: var(--lift-2); }
dialog#signup::backdrop { background: color-mix(in srgb, var(--tf-ink) 46%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog#signup .close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--band); color: var(--tf-ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.signup-plan { display: inline-flex; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: var(--sage); color: var(--tf-highlight); font: 700 .9375rem/1.3 var(--tf-font-body); }
.signup-plan[hidden] { display: none; }
dialog#signup h2 { margin: 0 44px 20px 0; font-size: 1.75rem; }
#signup-form label { display: block; margin-bottom: 8px; font-weight: 600; }
#signup-form input[type="email"] { width: 100%; min-height: 56px; padding: 14px 16px; border: 1.5px solid color-mix(in srgb, var(--tf-ink-soft) 60%, transparent); border-radius: var(--r-sm); background: var(--tf-card); color: var(--tf-ink); font: inherit; }
#signup-form input[type="email"]:focus { border-color: var(--tf-highlight); outline: 3px solid color-mix(in srgb, var(--tf-highlight) 26%, transparent); outline-offset: 0; }
#signup-form .btn.primary { width: 100%; min-height: 56px; margin-top: 14px; background: var(--tf-action); color: var(--tf-action-ink); font-size: 1.125rem; }
#signup-form .btn.primary:hover { background: var(--tf-action-hover); }
#signup-form .tf-consent { margin-top: 14px; font-size: .875rem; line-height: 1.5; color: var(--tf-ink-soft); }
#signup-form .form-status[hidden] { display: none; }

/* Wider screens. */
@media (max-width: 759px) {
  body > footer.foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .rail--cards { grid-auto-flow: column; grid-auto-columns: min(82%, 320px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 24px; scrollbar-width: none; }
  .rail--cards::-webkit-scrollbar { display: none; }
  .rail--cards > * { scroll-snap-align: start; }
  .cta-row .btn { flex: 1 1 100%; }
  .band .btn, .certside .btn { width: 100%; }
  .guarantee { grid-template-columns: 1fr; }
  .seal { width: 72px; height: 72px; }
  .seal b { font-size: 2rem; }
}
@media (min-width: 560px) {
  .count { width: auto; order: 0; flex: 1 1 auto; max-width: 520px; border-radius: 999px; }
  .top-in { flex-wrap: nowrap; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats li { padding: 24px 20px; }
  .brief-list > div { grid-template-columns: 210px 1fr; gap: 24px; align-items: baseline; }
  .trainer-copy { padding: 20px 24px 24px; }
  .trainers { gap: 20px; max-width: 760px; margin-inline: auto; }
}
@media (min-width: 760px) {
  .mobile-join { display: none; }
  .sec-head--center { margin-inline: auto; text-align: center; }
  .sec-head--center .lede { margin-inline: auto; }
  .versus { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gets, .cases { grid-template-columns: repeat(2, 1fr); }
  .rules, .perks { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .howto { grid-template-columns: 1fr 1fr; }
  .step-top { grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
  .learn summary { pointer-events: none; }
  .learn summary svg { display: none; }
  .trust { grid-template-columns: repeat(4, auto); justify-content: center; gap: 12px 32px; }
  .price-note { text-align: center; }
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  html { scroll-padding-top: 96px; }
  .top { position: sticky; top: 0; background: color-mix(in srgb, var(--tf-field) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
  .hero-in { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 64px; }
  .brief { grid-template-columns: .78fr 1.6fr; gap: 64px; align-items: start; }
  .brief-head { position: sticky; top: 120px; }
  .live { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .gets, .cases, .rules { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .perks, .quotes { grid-template-columns: repeat(4, 1fr); }
  .steps { gap: 24px; }
  .steps::before { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--sage-2) 0%, var(--peach-2) 100%); }
  .step { grid-template-columns: 64px 1fr; gap: 24px; align-items: start; }
  .step-n { width: 64px; height: 64px; font-size: 2.25rem; }
  .learn-list { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .certgrid { grid-template-columns: 1.12fr .88fr; gap: 64px; }
  .faq { grid-template-columns: .78fr 1.6fr; gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: 120px; }
  .plans { gap: 24px; }
}

/* Motion: transform and opacity only, one ease-out curve, and none of it for a reader who asked for less. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn { transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
  .btn-primary:hover, .btn-quiet:hover { transform: translateY(-2px); }
  .btn:active { transform: scale(.98); }
  .learn summary svg, .faq-list summary svg { transition: transform .25s var(--ease); }
  .mobile-join { transition: transform .32s var(--ease), visibility .32s; }
  html.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
  html.js [data-reveal].is-in { opacity: 1; transform: none; }
  .orgs.is-marquee .orgs-track { animation: ao-marquee 60s linear infinite; }
  .orgs.is-marquee:hover .orgs-track { animation-play-state: paused; }
  dialog#signup[open] { animation: ao-dialog .28s var(--ease); }
  @keyframes ao-marquee { to { transform: translateX(-50%); } }
  @keyframes ao-dialog { from { opacity: 0; transform: translateY(12px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .mobile-join, .top .btn { display: none !important; }
}

/* Refinements after the first look at 390 px and 1280 px. */
.count-label { text-wrap: balance; }
.count-unit { min-width: 38px; }
.step-n { font: 700 1.25rem/1 var(--tf-font-display); letter-spacing: -.02em; }
.trainer-topic { border-radius: 12px; }
.tile--cert .cert { width: 84%; }
@media (max-width: 419px) {
  .hero-proof .sep { display: none; }
}
@media (max-width: 759px) {
  .step { gap: 0; }
  .step-n { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; background: var(--sage); box-shadow: none; font-size: 1.0625rem; }
  .step--prep .step-n, .step--demo .step-n { background: var(--tf-card); }
  .step-meta { padding-right: 52px; }
  .step-top .tile { display: none; }
  .brief-list > div { padding: 14px 0; gap: 2px; }
  .marks li { padding: 8px 0; }
  .final { padding: 80px 20px 76px; }
  .final-notes { flex-direction: column; align-items: center; }
}
@media (min-width: 560px) {
  .count-unit { min-width: 44px; }
}
@media (min-width: 960px) {
  .step-n { font-size: 1.5rem; }
}

/* On a phone the join button follows the lede at once, so it shares the first screen with the headline. */
@media (max-width: 759px) {
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .cta-row { order: 3; margin-top: 24px; }
  .hero-copy .micro { order: 4; }
  .hero-copy .facts { order: 5; margin: 20px 0 0; }
  .hero-proof { margin-bottom: 14px; }
  .hero h1 { margin: 10px 0 16px; }
}
@media (max-width: 479px) {
  .count { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
  .count-label { text-align: center; }
  .count-clock { display: grid; grid-template-columns: repeat(4, 1fr); }
  .count-unit { display: flex; align-items: baseline; justify-content: center; gap: 4px; min-width: 0; padding: 9px 2px; }
  .count-unit span { margin-top: 0; }
}

/* The mark is timefor.ai's own logo, as a picture. */
.brand img { width: auto; height: 30px; }
.foot-logo { width: auto; height: 28px; margin-bottom: 4px; }
.hero-proof { margin-bottom: 16px; }
.hero h1 { margin-top: 0; }
@media (max-width: 479px) {
  .brand img { height: 26px; }
}

/* The hero picture: a telephone on which the agent reports while its operator is away, and one tap approves.
   It is drawn in the page, not a photograph, and it is whole without motion: the motion lives in the block below. */
.scene { position: relative; width: 100%; max-width: 540px; height: 564px; margin-inline: auto; }
.halo { position: absolute; left: 50%; top: 50%; width: min(96%, 480px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 50% 36%, var(--butter) 0%, var(--peach) 52%, var(--sage) 100%); }
.wave { position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--tf-highlight) 34%, transparent); opacity: 0; }
.phone { position: absolute; left: 50%; top: 50%; z-index: 2; width: 262px; height: 528px; translate: -50% -50%; rotate: -3deg; padding: 9px; border-radius: 46px; background: var(--tf-ink); box-shadow: var(--lift-2), 0 46px 70px -40px color-mix(in srgb, var(--tf-ink) 66%, transparent); }
.phone-in { position: relative; height: 100%; overflow: hidden; border-radius: 37px; background: linear-gradient(172deg, var(--sage-2) 0%, var(--sage) 30%, var(--peach) 74%, var(--peach-2) 100%); }
.island { position: absolute; left: 50%; top: 10px; width: 76px; height: 22px; translate: -50% 0; border-radius: 999px; background: var(--tf-ink); }
/* The top of the screen is a lock screen: the status marks beside the island, the date, and the time under it. */
.status { position: absolute; right: 21px; top: 16px; display: flex; align-items: center; gap: 4px; color: var(--forest); }
.status svg { width: auto; height: 9px; stroke-width: 1.7; }
.clock-date { position: absolute; inset: 45px 0 auto; margin: 0; text-align: center; font: 600 .875rem/1 var(--tf-font-body); letter-spacing: -.01em; color: var(--forest); }
.clock { position: absolute; inset: 61px 0 auto; margin: 0; text-align: center; font: 600 4rem/1 var(--tf-font-display); font-variant-numeric: tabular-nums; letter-spacing: -.035em; color: var(--forest); }
.clock-colon { position: relative; top: -.075em; }
.stack { position: absolute; inset: 144px 9px auto; --nh: 68px; --nh3: 112px; --ng: 7px; height: calc(var(--nh3) + var(--nh) * 2 + var(--ng) * 2); }
.note { position: absolute; inset: 0 0 auto; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 9px; align-content: start; height: var(--nh); padding: 10px 11px 10px 10px; border-radius: 17px; background: color-mix(in srgb, var(--tf-card) 90%, transparent); box-shadow: 0 10px 20px -14px color-mix(in srgb, var(--tf-ink) 50%, transparent); }
.n1 { transform: translateY(calc(var(--nh3) + var(--nh) + var(--ng) * 2)); }
.n2 { transform: translateY(calc(var(--nh3) + var(--ng))); }
.n3 { height: var(--nh3); }
.app { position: relative; grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--tf-highlight); color: var(--tf-field); }
.app svg { width: 15px; height: 15px; stroke-width: 2.8; }
.app--wait { background: var(--tf-action); color: var(--tf-action-ink); }
.app--wait > svg { stroke-width: 2; }
.app-ok { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: var(--tf-highlight); color: var(--tf-field); opacity: 0; }
.note-h { position: relative; margin: 0; font: 700 .78125rem/1.25 var(--tf-font-body); color: var(--tf-ink); }
.note-b { margin: 1px 0 0; font: 500 .75rem/1.3 var(--tf-font-body); color: var(--tf-ink-soft); }
.st-ok { position: absolute; left: 0; top: 0; opacity: 0; color: var(--tf-highlight); }
.note-act { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 9px; }
.approve, .quiet { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 8px 6px; border-radius: 11px; font: 700 .75rem/1.2 var(--tf-font-body); white-space: nowrap; }
.approve { background: var(--tf-action); color: var(--tf-action-ink); }
.quiet { background: color-mix(in srgb, var(--tf-ink) 8%, transparent); color: var(--tf-ink); }
.note-ok { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 11px; background: var(--tf-highlight); color: var(--tf-field); font: 700 .75rem/1.2 var(--tf-font-body); opacity: 0; }
.note-ok svg { width: 14px; height: 14px; stroke-width: 3; }
.tap { position: absolute; left: 25%; top: 50%; width: 36px; aspect-ratio: 1; margin: -18px 0 0 -18px; border-radius: 50%; background: color-mix(in srgb, var(--tf-ink) 36%, transparent); opacity: 0; }
.homebar { position: absolute; left: 50%; bottom: 8px; width: 96px; height: 4px; translate: -50% 0; border-radius: 4px; background: color-mix(in srgb, var(--tf-ink) 50%, transparent); }
.fl { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 20px; background: var(--tf-card); box-shadow: var(--lift-2); font: 600 .875rem/1.3 var(--tf-font-body); letter-spacing: -.005em; color: var(--tf-ink); }
.tk { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sage-2); color: var(--tf-highlight); }
.tk svg { width: 15px; height: 15px; stroke-width: 2.8; }
.tk--n { background: var(--tf-highlight); color: var(--tf-field); }
.tk--n svg { width: 13px; height: 13px; margin-left: 1px; }
.fl-l2 { left: -14px; top: 13%; max-width: 168px; }
.fl-tel { right: 0; bottom: 14%; max-width: 180px; align-items: flex-start; }
/* The marker under the headline's last two words. */
.hero h1 em { background: linear-gradient(transparent 60%, var(--butter) 60%, var(--butter) 92%, transparent 92%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

@media (max-width: 959px) {
  .hero-visual { margin-top: 8px; }
  .scene { height: 540px; }
  .halo, .wave { top: 54%; }
  .phone { top: 42px; translate: -50% 0; transform-origin: 50% 0; scale: .88; }
  .fl { font-size: .8125rem; }
  .fl-l2 { left: 0; top: 0; max-width: none; }
  .fl-tel { bottom: 0; max-width: 250px; align-items: center; }
}

/* The narrowest phones: the countdown's number stands over its word, so the four units never touch. */
@media (max-width: 359px) {
  .count-unit { display: block; padding: 7px 2px 6px; }
  .count-unit span { margin-top: 4px; }
}

@media (prefers-reduced-motion: no-preference) {
  /* The first screen arrives in order: proof, the headline word by word, the marker under its last two words,
     then the text, the button and the picture. Nothing here is hidden unless this motion is running. */
  .hero-proof { animation: ao-rise .7s var(--ease) both; }
  .hero h1 .w { display: inline-block; animation: ao-word .8s var(--ease) both; }
  .hero h1 > .w:nth-child(1) { animation-delay: .06s; }
  .hero h1 > .w:nth-child(2) { animation-delay: .13s; }
  .hero h1 > .w:nth-child(3) { animation-delay: .2s; }
  .hero h1 > .w:nth-child(4) { animation-delay: .27s; }
  .hero h1 em .w:nth-child(1) { animation-delay: .38s; }
  .hero h1 em .w:nth-child(2) { animation-delay: .46s; }
  .hero h1 em { animation: ao-mark .8s var(--ease) 1s both; }
  .hero .lede { animation: ao-rise .7s var(--ease) .5s both; }
  .hero .cta-row { animation: ao-rise .7s var(--ease) .62s both; }
  .hero .micro { animation: ao-rise .7s var(--ease) .72s both; }
  .hero .facts { animation: ao-rise .7s var(--ease) .8s both; }
  .hero-visual { animation: ao-show 1s var(--ease) .2s both; }
  .hero::before { animation: ao-aurora 16s ease-in-out infinite alternate; }

  /* The join button catches the light now and then. */
  .hero .btn-primary { position: relative; overflow: hidden; isolation: isolate; }
  .hero .btn-primary::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 42%; background: linear-gradient(100deg, transparent 0%, color-mix(in srgb, var(--tf-card) 60%, transparent) 50%, transparent 100%); transform: translateX(-130%) skewX(-18deg); animation: ao-shine 6.5s var(--ease) 2.4s infinite; pointer-events: none; }

  /* The telephone floats, its signal spreads, and the notices arrive, are approved and clear in one 14 s loop. */
  .halo { animation: ao-breathe 9s ease-in-out infinite; }
  .wave { animation: ao-wave 4.8s ease-out infinite; }
  .wave.w2 { animation-delay: 1.6s; }
  .wave.w3 { animation-delay: 3.2s; }
  .phone { animation: ao-phone 7s ease-in-out infinite; }
  .n1 { animation: ao-n1 14s var(--ease) infinite; }
  .n2 { animation: ao-n2 14s var(--ease) infinite; }
  .n3 { animation: ao-n3 14s var(--ease) infinite; }
  .note-ok, .st-ok, .app-ok { animation: ao-ok 14s var(--ease) infinite; }
  .st-wait { animation: ao-ok-out 14s var(--ease) infinite; }
  .tap { animation: ao-tap 14s linear infinite; }
  /* The ring calls for the tap only while the notice waits: twice, then it is gone before the approved bar covers the row. */
  .approve::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--tf-action); opacity: 0; animation: ao-ring 14s ease-out infinite; pointer-events: none; }
  .fl { animation: ao-in .7s var(--ease) 1.1s both, ao-bob 6s ease-in-out 1.8s infinite; }
  .fl-tel { animation-delay: 1.4s, 2.1s; animation-duration: .7s, 6.8s; }

  /* Out of sight, the first screen rests. */
  html.hero-off .hero, html.hero-off .hero *, html.hero-off .hero *::before, html.hero-off .hero *::after { animation-play-state: paused; }

  @keyframes ao-rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes ao-word { from { opacity: 0; transform: translateY(.45em) rotate(2deg); } }
  @keyframes ao-mark { from { background-size: 0% 100%; } }
  @keyframes ao-show { from { opacity: 0; transform: translateY(22px) scale(.97); } }
  @keyframes ao-aurora { to { transform: scale(1.12) translate(-2.5%, 3%); } }
  @keyframes ao-shine { 0% { transform: translateX(-130%) skewX(-18deg); } 16%, 100% { transform: translateX(360%) skewX(-18deg); } }
  @keyframes ao-breathe { 50% { transform: scale(1.07); } }
  @keyframes ao-in { from { opacity: 0; scale: .82; } }
  @keyframes ao-bob { 50% { transform: translateY(-7px); } }
  @keyframes ao-ring {
    0%, 39% { opacity: 0; transform: scale(1); }
    39.4% { opacity: .75; transform: scale(1); }
    46% { opacity: 0; transform: scale(1.28, 1.7); }
    46.4% { opacity: 0; transform: scale(1); }
    46.8% { opacity: .75; transform: scale(1); }
    53.4%, 100% { opacity: 0; transform: scale(1.28, 1.7); }
  }
  @keyframes ao-wave { 0% { opacity: 0; transform: scale(.62); } 18% { opacity: .75; } 100% { opacity: 0; transform: scale(1.75); } }
  @keyframes ao-phone { 50% { transform: translateY(-11px) rotate(1.4deg); } }
  @keyframes ao-n1 {
    0%, 6% { opacity: 0; transform: translateY(-18px) scale(.92); }
    10%, 20% { opacity: 1; transform: translateY(0) scale(1); }
    24%, 34% { opacity: 1; transform: translateY(calc(var(--nh) + var(--ng))) scale(1); }
    38%, 89% { opacity: 1; transform: translateY(calc(var(--nh3) + var(--nh) + var(--ng) * 2)) scale(1); }
    94%, 100% { opacity: 0; transform: translateY(calc(var(--nh3) + var(--nh) + var(--ng) * 2)) scale(.94); }
  }
  @keyframes ao-n2 {
    0%, 20% { opacity: 0; transform: translateY(-18px) scale(.92); }
    24%, 34% { opacity: 1; transform: translateY(0) scale(1); }
    38%, 90% { opacity: 1; transform: translateY(calc(var(--nh3) + var(--ng))) scale(1); }
    95%, 100% { opacity: 0; transform: translateY(calc(var(--nh3) + var(--ng))) scale(.94); }
  }
  @keyframes ao-n3 {
    0%, 34% { opacity: 0; transform: translateY(-18px) scale(.92); }
    38%, 91% { opacity: 1; transform: translateY(0) scale(1); }
    96%, 100% { opacity: 0; transform: translateY(0) scale(.94); }
  }
  @keyframes ao-ok { 0%, 57% { opacity: 0; } 59.5%, 100% { opacity: 1; } }
  @keyframes ao-ok-out { 0%, 55.5% { opacity: 1; } 57%, 100% { opacity: 0; } }
  @keyframes ao-tap { 0%, 52% { opacity: 0; transform: scale(.3); } 54.5% { opacity: .6; transform: scale(1); } 58%, 100% { opacity: 0; transform: scale(1.9); } }
}

/* First screen: the course video in place of the phone scene, as on the Copilot page. */
.hero-visual .tf-video { box-shadow: 0 24px 56px color-mix(in srgb, var(--tf-ink) 20%, transparent); }

/* One column (phone, tablet): the headline, then the video, then the join button, then the lede, so the video and
   the button share the first screen with the headline (Kristiāns, 26.11). The markup is the desktop's; only the
   order moves. */
@media (max-width: 959px) {
  .hero-in { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { display: contents; }
  .hero-proof { order: 1; }
  .hero h1 { order: 2; margin: 10px 0 18px; }
  .hero-visual { order: 3; margin-top: 0; }
  .hero-copy .cta-row { order: 4; margin-top: 20px; }
  .hero .lede { order: 5; margin-top: 22px; }
  .hero-copy .micro { order: 6; }
  .hero-copy .facts { order: 7; margin: 20px 0 0; }
}

/* A phone shows the two programmes one under the other, the cheaper first, never behind a switch (Kristiāns, 26.11:
   one under the other, not next to each other, with the cheapest at the top). The markup's order is Pamata, then
   Personīgā, so the one column keeps it; the cards keep the desktop's type. */
@media (max-width: 759px) {
  .plans { gap: 16px; margin-top: 28px; }
}
