/* DOCLUB FZ-LLC — visual system
   Ubuntu display · Inter text · black on white · 16px gutter · sharp media corners */

:root {
  --ink: #141414;
  --text: #363636;
  --grey: #8c8c88;
  --line: #e3e2de;
  --off: #f2f1ed;
  --white: #fff;
  --signal: #ff5b2e;
  --night: #0b0b0c;
  --gutter: 16px;
  --display: "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }

.only-mobile, .only-mobile-flex { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 32px; border-radius: 30px; border: 1px solid var(--ink);
  font-size: 18px; letter-spacing: -.18px; line-height: 22px; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn > span[aria-hidden] { transition: transform .25s var(--ease); letter-spacing: 0; }
.btn:hover > span[aria-hidden] { transform: translateX(4px); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #2b2b2b; border-color: #2b2b2b; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 12px 24px; font-size: 17px; letter-spacing: -.17px; line-height: 21px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn[disabled] { opacity: .55; cursor: progress; }

.link-arrow { font-size: 18px; letter-spacing: -.18px; white-space: pre; }
.link-arrow:hover, .film__caption a:hover, .footer a:hover, .nav__links a:hover, .nav__mail:hover { opacity: .6; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 var(--gutter);
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: baseline; gap: 10px; }
.brand__mark { font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -1.68px; line-height: 32px; }
.nav__links { display: flex; gap: 36px; font-size: 17px; letter-spacing: -.17px; position: absolute; left: 33.333%; }
.nav__links a, .nav__mail, .footer a, .link-arrow, .film__caption a { transition: opacity .2s; }
.nav__actions { display: flex; align-items: center; gap: 28px; font-size: 17px; letter-spacing: -.17px; }
.nav__lang { color: var(--grey); }
.burger { display: none; width: 32px; height: 24px; position: relative; }
.burger span { position: absolute; left: 0; width: 32px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 7px; }
.burger span:nth-child(2) { top: 16px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 11px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px var(--gutter) 32px; overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--display); font-size: 40px; letter-spacing: -2px; line-height: 1; padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu__foot { display: flex; flex-direction: column; gap: 20px; font-size: 20px; }
.menu__foot a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Shared type ---------- */
.eyebrow { display: flex; font-size: 14px; line-height: 17px; font-weight: 500; letter-spacing: .84px; text-transform: uppercase; color: var(--grey); }
.eyebrow > span:first-child { min-width: 184px; }
.eyebrow--ink > span:first-child { color: var(--ink); }
.eyebrow--signal > span:first-child { color: var(--signal); }
.eyebrow__num, .eyebrow__note { font-weight: 400; letter-spacing: 0; text-transform: none; }
.eyebrow__note { letter-spacing: -.14px; }

.h1 { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 6.667vw, 112px); line-height: .98; letter-spacing: -.05em; margin-left: -4px; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.556vw, 96px); line-height: 1; letter-spacing: -.05em; margin-left: -4px; }
.h2--sm { font-size: clamp(36px, 4.444vw, 76px); margin-left: -2px; }
.lead { font-size: 20px; line-height: 1.45; letter-spacing: -.2px; color: var(--text); max-width: 560px; }

.split { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
.section { padding: 140px var(--gutter) 0; position: relative; }
.section__head { margin-top: 33px; align-items: start; }
.section__head .lead { margin-top: 12px; }

/* line-mask reveal */
.lines .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.lines .line > span { display: block; }
.js .lines .line > span { transform: translateY(115%); transition: transform .6s var(--ease); }
.js .lines.is-in .line > span { transform: none; }
.lines .line:nth-child(2) > span { transition-delay: 80ms; }
.lines .line:nth-child(3) > span { transition-delay: 160ms; }
.lines .line:nth-child(4) > span { transition-delay: 240ms; }
.lines .line:nth-child(5) > span { transition-delay: 320ms; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 46.023%; padding: 8px var(--gutter); overflow: clip; }
.hero__copy { display: flex; flex-direction: column; padding: 56px 4.86vw 23px 0; min-width: 0; }
.hero__copy .h1 { margin-top: 47px; }
.hero__lead { margin-top: 56px; max-width: 540px; }
.hero__cta { display: flex; align-items: center; gap: 32px; margin-top: 63px; flex-wrap: wrap; }
.hero__foot { display: flex; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 17px; color: var(--grey); }
.hero__copy .hero__foot { margin-top: auto; }
.hero__panel { --sw: 648; --sh: 904; background: var(--off); }

/* ---------- Scaled product-UI stages ---------- */
[data-stage] { position: relative; aspect-ratio: var(--sw) / var(--sh); }
.stage { position: absolute; left: 0; top: 0; width: calc(var(--sw) * 1px); height: calc(var(--sh) * 1px); transform-origin: 0 0; transform: scale(var(--s, 1)); }
.stage > * { position: absolute; }

.pos-portal { left: 64px; top: 88px; }
.pos-lesson { left: -52px; top: 344px; }
.pos-keypoints { left: 288px; top: 622px; }

.ui { font-family: var(--body); color: var(--ink); line-height: normal; }
.ui p, .ui div, .ui img { position: absolute; white-space: nowrap; }
.ui .wrap { white-space: normal; }
.ui .cover { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ui .clip { overflow: hidden; }
.card { background: #fff; border: 1px solid #e4e3df; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px rgba(20,18,13,.12); }
.card--soft { box-shadow: 0 12px 32px rgba(20,18,13,.1); }
.s10 { font-size: 10px; } .s11 { font-size: 11px; } .s12 { font-size: 12px; } .s13 { font-size: 13px; }
.s14 { font-size: 14px; } .s15 { font-size: 15px; } .s20 { font-size: 20px; letter-spacing: -.4px; }
.w5 { font-weight: 500; } .w6 { font-weight: 600; }
.grey { color: var(--grey); } .text { color: var(--text); } .white { color: #fff; } .dim { color: #5e5d59; }
.ui .chip { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 20px; }
.ui .chip > * { position: static; }
.chip span { font-size: 10px; font-weight: 500; text-transform: uppercase; }
.chip--live { background: var(--signal); }
.chip--live span { color: #fff; }
.bar { height: 4px; border-radius: 2px; background: #eeede9; }
.bar--3 { height: 3px; border-radius: 1.5px; background: #efeeea; }
.bar--ink { background: var(--ink); }
.bar--signal { background: var(--signal); }
.sq { width: 12px; height: 12px; border-radius: 3px; background: #c9c8c3; }
.sq--ink { background: var(--ink); }
.kpi, .box { background: #fff; border: 1px solid #ecebe7; border-radius: 10px; overflow: hidden; }
.kpi { top: 75px; width: 176px; height: 98px; }
.kpi__v { font-size: 26px; font-weight: 600; letter-spacing: -.78px; }
.grid-line { left: 17px; width: 484px; height: 1px; background: #f1f0ec; }
.opt { left: 14px; width: 220px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid #e4e3df; overflow: hidden; }
.opt--on { border-color: var(--ink); }
.ui .miniwave { display: flex; align-items: center; gap: 3px; height: 14px; }
.ui .miniwave i { position: static; display: block; width: 3px; border-radius: 1.5px; background: var(--ink); animation: wave 1.1s ease-in-out infinite; }
.miniwave i:nth-child(odd) { animation-delay: -.4s; }
.miniwave i:nth-child(3n) { animation-delay: -.75s; }

.cursor { display: inline-block; width: 2px; height: 16px; margin-left: 4px; vertical-align: -3px; background: var(--signal); animation: blink 1s steps(1) infinite; }
.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.35); } }
@keyframes ring { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .4; } }

/* hero layers enter one by one */
.js .hero__panel .stage > * { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .hero__panel.is-in .stage > * { opacity: 1; translate: 0 calc(var(--drift, 0) * 1px); }
.hero__panel .pos-portal { transition-delay: .15s !important; }
.hero__panel .pos-lesson { transition-delay: .35s !important; }
.hero__panel .pos-keypoints { transition-delay: .55s !important; }
.hero__panel.is-settled .stage > * { transition: none !important; }

/* ---------- Platform ---------- */
.platform { padding-top: 120px; }
.wordmark { font-family: var(--display); font-size: 16.53vw; line-height: .9; letter-spacing: -.06em; white-space: nowrap; margin: 13px 0 0 -10px; }
.platform__intro { margin-top: 48px; align-items: start; }
.platform__intro .lead { margin-top: 6px; }
.platform__intro .btn { margin-top: 36px; }

.film { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #17141f; }
.film__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.js .film--hcp .film__poster { transform: scale(.96); }
.js .film--hcp.is-in .film__poster { transform: none; }
.film:hover .film__poster { transform: scale(1.02) !important; }
.film__play { position: absolute; right: 4.55%; bottom: 8.08%; transition: transform .3s var(--ease); }
.film:hover .film__play { transform: scale(1.06); }
.film--hcp { margin-top: 55px; }
.film__caption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 24px; font-size: 16px; letter-spacing: -.16px; line-height: 19px; }
.film__meta { display: flex; gap: 28px; }
.film__meta strong { font-weight: 500; }
.film__meta span { color: var(--grey); }
.film__caption a { white-space: nowrap; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--gutter); margin-top: 75px; padding-bottom: 106px; }
.features li { border-top: 1px solid var(--ink); padding-top: 23px; }
.features h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -.84px; }
.features p { margin-top: 13px; font-size: 16px; line-height: 1.45; color: var(--grey); max-width: 320px; }
.features--dark li { border-color: #3a3a3b; }
.features--dark h3 { color: #fff; }
.features--dark p { color: rgba(255,255,255,.55); }
.features li:nth-child(2) { --d: 80ms; } .features li:nth-child(3) { --d: 160ms; } .features li:nth-child(4) { --d: 240ms; }

/* ---------- Modules ---------- */
.composition { --sw: 1408; --sh: 900; margin-top: 90px; background: var(--off); overflow: hidden; }
.composition__label { position: absolute; z-index: 1; left: calc(40px * var(--s, 1)); top: calc(40px * var(--s, 1)); font-size: 12px; font-weight: 500; letter-spacing: .72px; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.stage-label { font-size: 12px; font-weight: 500; letter-spacing: .72px; text-transform: uppercase; white-space: nowrap; }
.pos-console { left: 204px; top: 130px; } .pos-l-console { left: 204px; top: 100px; }
.pos-mini { left: 40px; top: 330px; } .pos-l-mini { left: 40px; top: 300px; }
.pos-live { left: 1088px; top: 230px; } .pos-l-live { left: 1088px; top: 200px; }
.js .composition .stage-label { opacity: 0; transition: opacity .8s var(--ease); }
.js .composition.is-in .stage-label { opacity: 1; }
.composition .pos-l-console { transition-delay: .2s; } .composition .pos-l-mini { transition-delay: .45s; } .composition .pos-l-live { transition-delay: .7s; }

.modlist { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: var(--gutter); margin-top: 72px; padding-bottom: 139px; }
.modlist li { display: flex; align-items: flex-start; min-height: 104px; padding: 17px 0 20px; border-top: 1px solid var(--line); }
.modlist li:nth-child(4n+1) { border-top-color: var(--ink); }
.modlist li:nth-child(4n) { border-bottom: 1px solid var(--line); }
.modlist__n { width: 56px; flex: none; padding-top: 8px; font-size: 13px; font-weight: 500; line-height: 16px; color: var(--grey); }
.modlist h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 34px; letter-spacing: -.9px; }
.modlist p { margin-top: 8px; font-size: 16px; line-height: 19px; letter-spacing: -.16px; color: var(--grey); }

/* ---------- AI Events ---------- */
.ai { background: var(--night); color: #fff; overflow: clip; }
.ai > * { position: relative; }
.ai .eyebrow__num { color: #6e6d69; }
.ai .h2 { color: #fff; }
.ai .lead { color: rgba(255,255,255,.7); max-width: 600px; }
.ai__glow { position: absolute !important; pointer-events: none; max-width: none; }
.ai__glow--1 { left: 480px; top: 160px; }
.ai__glow--2 { left: -420px; top: 680px; }

.demo { margin-top: 90px; background: #111112; border: 1px solid #2a2a2b; }
.demo__main { display: grid; grid-template-columns: minmax(0, 928fr) minmax(300px, 408fr); gap: 24px; padding: 23px 23px 7px; }
.demo__left { min-width: 0; }
.film--ai { border-radius: 6px; background: #fff; }
.film--ai .film__play { right: 2.59%; bottom: 4.6%; }
.demo__caption { display: flex; align-items: baseline; gap: 13px; margin-top: 20px; font-size: 13px; line-height: 16px; }
.demo__caption .film__meta { gap: 13px; }
.demo__caption .film__meta span { color: rgba(255,255,255,.5); }
.demo__caption a { margin-left: auto; white-space: nowrap; }
.demo__caption .u { text-decoration: underline; text-underline-offset: 3px; }
.demo__caption a:hover { opacity: .7; }

.transcript { margin-top: 34px; padding-bottom: 12px; }
.transcript__label { font-size: 12px; font-weight: 500; letter-spacing: .72px; color: #6e6d69; margin-bottom: 21px; }
.transcript__row { display: grid; grid-template-columns: 80px 1fr; align-items: baseline; min-height: 42px; font-size: 15px; line-height: 1.4; }
.transcript__row time { font-size: 12px; color: rgba(255,255,255,.3); }
.transcript__row--old p { color: rgba(255,255,255,.35); }
.transcript__row--prev p { color: rgba(255,255,255,.6); }
.transcript__row--now time { color: var(--signal); font-weight: 500; }
.transcript__row--now p { min-height: 2.8em; }
.transcript .pending { color: rgba(255,255,255,.4); }
.transcript .w { opacity: 0; transition: opacity .25s; }
.transcript .w.on { opacity: 1; }

.summary { background: #161617; border: 1px solid #2a2a2b; border-radius: 6px; padding: 23px; align-self: start; min-height: 752px; }
.summary__head { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid #2a2a2b; font-size: 12px; color: rgba(255,255,255,.45); }
.summary__head strong { font-size: 13px; font-weight: 600; letter-spacing: 1.04px; color: #fff; margin-right: auto; }
.livedot { position: relative; width: 16px; height: 16px; flex: none; margin-left: -4px; }
.livedot img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.livedot img:first-child { animation: ring 1.2s ease-in-out infinite; }
.livedot--18 { width: 18px; height: 18px; margin-left: 0; }

.timeline { position: relative; padding-top: 25px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 34px; height: 300px; width: 1px; background: #2a2a2b; }
.timeline li { position: relative; display: grid; grid-template-columns: 30px 50px 1fr; align-items: baseline; min-height: 86px; }
.timeline__dot { position: absolute; left: 2px; top: 4px; }
.timeline__ring { position: absolute; left: -3px; top: -1px; animation: ring 1.2s ease-in-out infinite; }
.timeline time { grid-column: 2; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.5); }
.timeline h4 { font-size: 15px; font-weight: 600; line-height: 18px; }
.timeline p { margin-top: 5px; font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.65); }
.timeline .is-active p { color: rgba(255,255,255,.9); min-height: 18px; }
.gen { display: block; height: 8px; border-radius: 4px; margin-top: 8px; max-width: 100%; background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.02)); animation: pulse 1.6s ease-in-out infinite; }
.gen--2 { background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.01)); animation-delay: -.5s; }

.keypoints { margin-top: 12px; padding-top: 21px; border-top: 1px solid #2a2a2b; }
.keypoints__label { font-size: 12px; font-weight: 600; letter-spacing: .96px; color: rgba(255,255,255,.5); }
.keypoints ol { margin-top: 15px; }
.keypoints li { display: grid; grid-template-columns: 30px 1fr; align-items: baseline; font-size: 14px; line-height: 1.35; padding-bottom: 18px; }
.keypoints li span { font-size: 12px; font-weight: 500; color: var(--signal); }
.question { background: #1f1f20; border-radius: 6px; padding: 16px; }
.question p:first-child { font-size: 11px; font-weight: 600; letter-spacing: .66px; color: rgba(255,255,255,.5); }
.question p:last-child { margin-top: 11px; font-size: 14px; line-height: 1.35; }

.procbar { display: flex; align-items: center; gap: 24px; height: 76px; padding: 0 24px 0 19px; background: #0e0e0f; border-top: 1px solid #2a2a2b; }
.procbar__title { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.procbar__title strong { font-size: 13px; font-weight: 600; letter-spacing: 1.3px; }
.wave { position: relative; flex: 1 1 0; min-width: 0; max-width: 600px; margin: 0 auto; height: 44px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; }
.wave i { flex: none; width: 2.5px; border-radius: 1.2px; background: rgba(255,255,255,.55); height: var(--h); animation: wave var(--t, 1s) ease-in-out var(--dl, 0s) infinite; }
.wave i.ahead { background: rgba(255,255,255,.15); animation: none; }
.wave b { position: absolute; left: 80%; top: 0; width: 1.5px; height: 44px; background: var(--signal); }
.procbar__status { display: flex; gap: 32px; font-size: 12px; color: rgba(255,255,255,.7); white-space: nowrap; }
.procbar__status li { display: flex; align-items: center; gap: 6px; }

.ai .features { margin-top: 72px; padding-bottom: 148px; }

/* ---------- Clients ---------- */
.clients { padding: 160px var(--gutter) 0; }
.clients__head { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); border-top: 1px solid var(--ink); padding-top: 23px; font-size: 14px; line-height: 17px; }
.clients__head span:first-child { font-weight: 500; letter-spacing: .84px; text-transform: uppercase; }
.clients__head span:last-child { color: var(--grey); }
.wall { font-family: var(--display); font-size: 11.53vw; line-height: .95; letter-spacing: -.06em; white-space: nowrap; margin: 49px 0 0 -6px; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.wall .line { padding-bottom: .2em; margin-bottom: -.2em; }
.wall .line > span { white-space: pre; }
.wall__more { color: #bdbcb7; }
.clients::after { content: ""; display: block; height: 119px; }

/* ---------- CTA & footer ---------- */
.cta { padding: 140px var(--gutter) 0; }
.cta__title { font-family: var(--display); font-weight: 400; font-size: 10.417vw; line-height: .95; letter-spacing: -.06em; margin: 33px 0 0 -8px; }
.cta__title .line { padding-bottom: .22em; margin-bottom: -.22em; }
.cta__actions { display: flex; align-items: center; gap: 40px; margin-top: 64px; padding-bottom: 160px; flex-wrap: wrap; }
.cta__mail { font-size: 24px; letter-spacing: -.48px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.cta__mail:hover { opacity: .6; }

.footer { padding: 0 var(--gutter); }
.footer__top { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; column-gap: var(--gutter); border-top: 1px solid var(--ink); padding: 40px 0 92px; }
.footer__brand p { margin-top: 20px; font-size: 15px; line-height: 1.5; color: var(--grey); max-width: 360px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; font-size: 16px; line-height: 19px; letter-spacing: -.16px; padding-top: 4px; }
.footer__col h2 { font-size: 12px; font-weight: 500; line-height: 15px; letter-spacing: .72px; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.footer__bottom { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; column-gap: var(--gutter); border-top: 1px solid var(--line); padding: 23px 0 32px; font-size: 13px; line-height: 16px; color: var(--grey); }
.footer__bottom a { justify-self: start; }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(11,11,12,.55); backdrop-filter: blur(4px); }
.sheet { width: min(760px, 100vw); max-width: none; max-height: 100dvh; height: 100dvh; margin: 0 0 0 auto; padding: 72px 40px 48px; background: #fff; overflow-y: auto; }
.sheet[open] { animation: sheet-in .45s var(--ease); }
@keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }
.sheet__close { position: absolute; right: 16px; top: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); font-size: 16px; transition: background .2s, color .2s; }
.sheet__close:hover { background: var(--ink); color: #fff; }
.sheet__close--light { border-color: #fff; color: #fff; }
.sheet__close--light:hover { background: #fff; color: var(--ink); }
.sheet__title { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; margin: 24px 0 0 -3px; }
.sheet__lead { margin-top: 24px; font-size: 18px; line-height: 1.45; letter-spacing: -.18px; color: var(--text); max-width: 520px; }
.sheet__done .btn { margin-top: 40px; }
.sheet__done[hidden], .form[hidden] { display: none; }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); margin-top: 40px; }
.field { display: block; margin-top: 24px; position: relative; }
.form__grid .field { margin-top: 0; margin-bottom: 24px; }
.field > span, .choice legend { display: block; font-size: 12px; font-weight: 500; letter-spacing: .72px; text-transform: uppercase; color: var(--grey); }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 0 12px;
  font: inherit; font-size: 20px; letter-spacing: -.2px; color: var(--ink);
  background: none; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; outline: 0; resize: vertical;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--signal); box-shadow: 0 1px 0 var(--signal); }
.field__err { display: block; min-height: 18px; margin-top: 6px; font-style: normal; font-size: 13px; color: #c8381a; }
.is-invalid input, .is-invalid textarea { border-bottom-color: #c8381a; }
.choice { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend { margin-bottom: 12px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; padding: 11px 20px; border: 1px solid var(--line); border-radius: 30px; font-size: 16px; letter-spacing: -.16px; transition: border-color .2s, background .2s, color .2s; }
.choice label:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 0 12px; margin-top: 24px; font-size: 14px; line-height: 1.45; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.check .field__err { grid-column: 2; }
.form__foot { display: flex; align-items: center; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.form__status { font-size: 14px; line-height: 1.4; color: #c8381a; flex: 1 1 200px; }
.form__status a { text-decoration: underline; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: rgba(11,11,12,.96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__frame { width: min(100vw - 32px, (100dvh - 160px) * 16 / 9); aspect-ratio: 16 / 9; background: #000; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); padding: 72px var(--gutter) 140px; }
.legal__head { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.legal__head .h2 { margin-top: 33px; }
.legal__date { margin-top: 28px; font-size: 14px; color: var(--grey); }
.legal__body { max-width: 640px; padding-top: 44px; font-size: 17px; line-height: 1.55; letter-spacing: -.17px; color: var(--text); }
.legal__body .lead { color: var(--ink); max-width: none; }
.legal__body h2 { margin-top: 56px; padding-top: 23px; border-top: 1px solid var(--ink); font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -.84px; color: var(--ink); }
.legal__body h3 { margin-top: 28px; font-size: 17px; font-weight: 600; color: var(--ink); }
.legal__body p, .legal__body ul { margin-top: 16px; }
.legal__body li { position: relative; padding-left: 24px; margin-top: 8px; }
.legal__body li::before { content: "—"; position: absolute; left: 0; color: var(--grey); }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__body a:hover { opacity: .6; }
.legal__body strong { font-weight: 600; color: var(--ink); }
.legal__body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--off); padding: 2px 6px; }
.legal__table { margin-top: 20px; overflow-x: auto; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.legal__table th { text-align: left; font-size: 12px; font-weight: 500; letter-spacing: .72px; text-transform: uppercase; color: var(--grey); }
.legal__table th, .legal__table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.footer__bottom--legal { border-top-color: var(--ink); }
.footer__bottom a[aria-current] { color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 2px; }

.prefs { margin-top: 24px; }
.pref { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pref:first-child { border-top: 1px solid var(--line); }
.pref h3 { margin-top: 0; }
.pref p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--grey); }
.pref__fixed { flex: none; font-size: 12px; font-weight: 500; letter-spacing: .72px; text-transform: uppercase; color: var(--grey); }
.prefs__status { min-height: 22px; margin-top: 12px; font-size: 14px; color: var(--grey); }
.switch { flex: none; position: relative; width: 52px; height: 30px; border-radius: 15px; border: 1px solid var(--ink); background: #fff; transition: background .2s var(--ease); }
.switch span { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); transition: transform .2s var(--ease), background .2s var(--ease); }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"] span { transform: translateX(22px); background: #fff; }

/* ---------- ≤ 1100: tighten nav ---------- */
@media (max-width: 1100px) {
  .nav__mail, .nav__lang { display: none; }
  .nav__links { position: static; gap: 28px; }
  .demo__main { grid-template-columns: 1fr; }
  .summary { min-height: 0; }
  .question { display: none; }
  .procbar__status { gap: 20px; }
}

/* ---------- < 900: single column (mobile frame) ---------- */
@media (max-width: 899px) {
  :root { --nav-h: 64px; }
  .only-desktop, .only-desktop-flex, .only-desktop-block { display: none !important; }
  .only-mobile { display: inline !important; }
  .only-mobile-flex { display: flex !important; }
  button.only-mobile { display: block !important; }
  p.only-mobile { display: block !important; }

  .nav__links { display: none; }
  .nav__actions { gap: 38px; }
  .burger { display: block; }
  .brand { gap: 6px; }
  .brand__mark { font-size: 22px; letter-spacing: -1.32px; line-height: 25px; }
  .btn { padding: 16px 24px; line-height: 21px; }
  .btn--sm { padding: 8px 16px; font-size: 14px; line-height: 17px; }

  .eyebrow { font-size: 12px; line-height: 15px; letter-spacing: .72px; }
  .eyebrow > span:first-child { min-width: 124px; }
  .eyebrow__note { display: none; }
  .h1 { font-size: clamp(46px, 12.27vw, 88px); line-height: 1; margin-left: -2px; }
  .h2, .h2--sm { font-size: clamp(36px, 9.6vw, 72px); margin-left: -2px; }
  .lead { font-size: 17px; max-width: 640px; }
  .split { grid-template-columns: 1fr; }
  .section { padding-top: 64px; }
  .section__head { margin-top: 13px; }
  .section__head .lead { margin-top: 20px; }

  .hero { display: block; padding: 24px var(--gutter) 0; }
  .hero__copy { padding: 0; }
  .hero__copy .h1 { margin-top: 17px; }
  .hero__lead { margin-top: 24px; }
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 28px; }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .link-arrow { font-size: 16px; }
  .hero__panel { --sw: 900; --sh: 700; margin-top: 36px; overflow: hidden; }
  .pos-portal { left: 120px; top: 70px; }
  .pos-lesson { left: 40px; top: 200px; }
  .pos-keypoints { left: 520px; top: 440px; }
  .hero__foot { margin-top: 28px; padding-bottom: 76px; font-size: 12px; }

  .platform { padding-top: 64px; }
  .wordmark { font-size: 14.7vw; margin: 13px 0 0 -3px; }
  .platform__intro { margin-top: 24px; }
  .platform__intro .lead { margin-top: 20px; }
  .platform__intro .btn { margin-top: 28px; }
  .film--hcp { margin-top: 40px; }
  .film--hcp .film__play { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .film__caption { margin-top: 14px; font-size: 14px; line-height: 17px; }
  .film__meta { flex-direction: column; gap: 3px; }
  .features { grid-template-columns: 1fr; margin-top: 35px; padding-bottom: 64px; }
  .features li { padding: 17px 0 24px; }
  .features li + li { border-top-color: var(--line); }
  .features h3 { font-size: 22px; letter-spacing: -.66px; }
  .features p { margin-top: 7px; font-size: 15px; max-width: none; }

  .composition { margin-top: 36px; }
  .modlist { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; margin-top: 32px; padding-bottom: 63px; }
  .modlist li { min-height: 84px; padding: 13px 0 14px; }
  .modlist li:nth-child(4n+1) { border-top-color: var(--line); }
  .modlist li:first-child { border-top-color: var(--ink); }
  .modlist li:nth-child(4n) { border-bottom: 0; }
  .modlist li:last-child { border-bottom: 1px solid var(--line); }
  .modlist__n { width: 36px; padding-top: 6px; font-size: 12px; }
  .modlist h3 { font-size: 22px; line-height: 25px; letter-spacing: -.66px; }
  .modlist p { margin-top: 5px; }

  .ai__glow--1 { left: -100px; top: 280px; width: 840px; height: 840px; }
  .ai__glow--2 { display: none; }
  .demo { margin-top: 36px; background: none; border: 0; }
  .demo__main { padding: 0; gap: 0; }
  .film--ai { border-radius: 0; }
  .film--ai .film__play { display: none; }
  .demo__caption { align-items: flex-start; gap: 12px; margin-top: 14px; font-size: 14px; line-height: 17px; }
  .demo__play { flex: none; }
  .demo__caption .film__meta { gap: 3px; }
  .summary { margin-top: 32px; border-radius: 0; padding: 23px 17px; }
  .transcript { order: 3; margin-top: 28px; padding-bottom: 0; }
  .demo__left { display: contents; }
  .demo__main { display: flex; flex-direction: column; }
  .transcript__label { font-size: 11px; margin-bottom: 14px; }
  .transcript__row { grid-template-columns: 64px 1fr; min-height: 0; margin-bottom: 14px; }
  .transcript__row time { font-size: 11px; }
  .transcript__row--old { display: none; }
  .procbar { flex-direction: column; align-items: stretch; gap: 12px; height: auto; margin-top: 14px; padding: 17px 15px; border: 1px solid #2a2a2b; }
  .procbar__title strong { font-size: 11px; letter-spacing: 1.1px; }
  .wave { flex: none; width: 100%; max-width: none; height: 30px; }
  .wave b { height: 30px; }
  .wave i { height: calc(var(--h) * .68); }
  .wave i:nth-child(even) { display: none; }
  .procbar__status { gap: 0; justify-content: space-between; max-width: 300px; }
  .features--dark { grid-template-columns: 1fr 1fr; }
  .ai .features { margin-top: 48px; padding-bottom: 60px; }
  .features--dark li, .features--dark li + li { border-top-color: #3a3a3b; padding: 15px 0 50px; }
  .features--dark h3 { font-size: 19px; letter-spacing: -.57px; min-height: 42px; }
  .features--dark p { font-size: 13px; }

  .clients { padding-top: 64px; }
  .clients__head { padding-top: 19px; font-size: 12px; line-height: 15px; letter-spacing: .72px; }
  .wall { font-size: 14.67vw; line-height: 1; margin: 29px 0 0 -3px; padding-bottom: 40px; }
  .wall__n { display: block; }
  .clients::after { height: 23px; }

  .cta { padding-top: 64px; }
  .cta__title { font-size: 14.67vw; line-height: 1; margin: 13px 0 0 -4px; }
  .cta__actions { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 32px; padding-bottom: 72px; }
  .cta__actions .btn { width: 100%; justify-content: space-between; }
  .cta__mail { font-size: 20px; letter-spacing: -.4px; }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 44px; padding: 31px 0 52px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { margin-top: 16px; font-size: 14px; max-width: none; }
  .footer__col { font-size: 15px; line-height: 18px; gap: 12px; padding-top: 0; }
  .footer__col h2 { font-size: 11px; line-height: 13px; margin-bottom: 7px; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__bottom { display: flex; flex-wrap: wrap; gap: 13px 42px; padding: 19px 0 51px; font-size: 12px; line-height: 15px; }
  .footer__bottom span:first-child { flex: 0 0 100%; }

  .sheet { padding: 72px var(--gutter) 40px; }
  .legal { grid-template-columns: 1fr; padding: 40px var(--gutter) 72px; }
  .legal__head { position: static; }
  .legal__head .h2 { margin-top: 13px; }
  .legal__date { margin-top: 16px; }
  .legal__body { padding-top: 32px; font-size: 16px; }
  .legal__body h2 { margin-top: 40px; font-size: 22px; letter-spacing: -.66px; }
  .legal .nav__mail { display: none; }
  .form__grid { grid-template-columns: 1fr; margin-top: 28px; }
  .form__grid .field { margin-bottom: 12px; }
  .field input, .field textarea { font-size: 18px; }
  .form__foot .btn { width: 100%; justify-content: space-between; }
}

/* ---------- < 600: phone stage arrangement ---------- */
@media (max-width: 599px) {
  .hero__panel { --sw: 578; --sh: 742; }
  .pos-portal { left: 96px; top: 67px; }
  .pos-lesson { left: 29px; top: 216px; }
  .pos-keypoints { left: 253px; top: 506px; }

  .composition { --sw: 647; --sh: 755; }
  .composition__label { left: 16px; top: 16px; }
  .stage-label { display: none; }
  .pos-console { left: 113px; top: 94px; }
  .pos-mini { left: 17px; top: 226px; }
  .pos-live { left: 387px; top: 192px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .lines .line > span, .js .hero__panel .stage > *, .js .composition .stage-label { opacity: 1 !important; transform: none !important; translate: none !important; }
  .js .film--hcp .film__poster { transform: none; }
}
