/* Same glass material as the app. Accent and wallpaper variables are changed live by the playground. */
:root {
  --bg: #090a10; --text: #f4f5f9; --muted: #b4b9c8; --faint: #8b91a3;
  --accent: #dfe2ec; --ink: #12141c; --soft: rgb(223 226 236 / 0.16);
  --card: rgb(255 255 255 / 0.055); --edge: rgb(255 255 255 / 0.11); --spec: rgb(255 255 255 / 0.2); --fill: rgb(255 255 255 / 0.09);
  --ok: #76d29a; --warn: #f0b95a;
  --a: #5b6cff; --b: #ff7ab8; --c: #1fd1c0;
  --spring: cubic-bezier(0.32, 1.3, 0.5, 1);
  --motion-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(40px, 7.4vw, 86px); line-height: 1.02; font-weight: 750; }
h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; font-weight: 720; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.head { text-align: center; max-width: 720px; margin: 0 auto 46px; display: flex; flex-direction: column; gap: 16px; }
.head p, .lead { color: var(--muted); font-size: clamp(16px, 1.7vw, 20px); text-wrap: pretty; }
.shine { background: linear-gradient(100deg, var(--text) 20%, color-mix(in srgb, var(--a) 55%, #fff) 45%, color-mix(in srgb, var(--b) 55%, #fff) 62%, var(--text) 85%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 2.6s var(--ease) 0.7s both; }
@keyframes shine { to { background-position: -220% 0; } }

.aurora { position: fixed; inset: -20vmax; z-index: -2; filter: blur(90px) saturate(1.2); opacity: 0.55; pointer-events: none; }
.aurora i { position: absolute; width: 48vmax; height: 48vmax; border-radius: 50%; animation: drift 4.8s var(--ease) both; }
.aurora i:nth-child(1) { left: 8%; top: 4%; background: radial-gradient(circle, var(--a), transparent 65%); }
.aurora i:nth-child(2) { right: 4%; top: 0; background: radial-gradient(circle, var(--b), transparent 65%); }
.aurora i:nth-child(3) { left: 38%; bottom: 0; background: radial-gradient(circle, var(--c), transparent 65%); }
@keyframes drift { to { transform: translate3d(9vmax, 7vmax, 0) scale(1.18); } }

.glass { background: rgb(22 24 36 / 0.55); backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8); box-shadow: inset 0 1px 0 var(--spec), inset 0 0 0 0.5px var(--edge), 0 24px 70px rgb(0 0 0 / 0.38); }
.card { position: relative; overflow: hidden; border-radius: 24px; background: var(--card); box-shadow: inset 0 1px 0 var(--spec), inset 0 0 0 0.5px var(--edge); padding: 26px; }
/* A highlight that follows the pointer. */
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgb(255 255 255 / 0.09), transparent 45%); pointer-events: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 24px; border: 0; border-radius: 999px; background: var(--fill); box-shadow: inset 0 1px 0 var(--spec), inset 0 0 0 0.5px var(--edge); font-weight: 600; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform 0.25s var(--spring), scale 0.15s ease-out, filter 0.2s; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); filter: brightness(1.12); } }
.btn:not(:disabled):not([aria-disabled='true']):active { scale: 0.96; }
.btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, #fff), var(--accent)); color: var(--ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), 0 10px 34px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn.small { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.btn[aria-disabled='true'], .btn:disabled { opacity: 0.55; cursor: default; transform: none; filter: none; }

.nav { position: sticky; top: 14px; z-index: 20; display: flex; align-items: center; gap: 22px; width: min(1000px, 100% - 28px); margin: 14px auto 0; padding: 9px 10px 9px 18px; border-radius: 999px; }
.brand { display: flex; flex: none; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; overflow: visible; }
.brand-echo { fill: none; stroke: #d6cbff; stroke-width: 1.35; stroke-linecap: round; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(1.22); }
.brand-wordmark { display: inline-flex; font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: -.025em; }
.brand-wordmark span { display: inline-block; }
.bk-tile, .bk-glow { transform-box: fill-box; transform-origin: center; }
.bk-hole { transform-box: fill-box; transform-origin: 50% 32%; }
.bk-glow { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .brand-intro .bk-tile, .brand-ready .brand.in .bk-tile { animation: bk-tile-in 640ms var(--motion-out) backwards; }
  .brand-intro .bk-hole, .brand-ready .brand.in .bk-hole { animation: bk-turn 900ms 260ms cubic-bezier(.5, 0, .2, 1) backwards; }
  .brand-intro .bk-glow, .brand-ready .brand.in .bk-glow { animation: bk-glow 900ms 820ms ease-out; }
  .brand-intro .brand-wordmark span, .brand-ready .brand.in .brand-wordmark span { animation: bk-letter 520ms var(--spring) backwards; animation-delay: calc(380ms + var(--i) * 45ms); }
  .brand-intro .brand-echo, .brand-ready .brand.in .brand-echo { animation: brand-capture 720ms 760ms var(--motion-out) backwards; }
  .brand-mark { animation: bk-idle 5s 2.4s ease-in-out infinite; }
  .brand-echo { transition: opacity 180ms ease-out, transform 260ms var(--motion-out); }
  .bk-hole { transition: rotate 380ms var(--spring); }
  .brand:focus-visible .brand-echo { opacity: .9; transform: scale(1.14); }
  .brand:focus-visible .bk-hole { rotate: -24deg; }
  @media (hover: hover) and (pointer: fine) {
    .brand:hover .brand-echo { opacity: .9; transform: scale(1.14); }
    .brand:hover .bk-hole { rotate: -24deg; }
  }
}
@keyframes bk-tile-in { from { opacity: 0; transform: scale(.7) translateY(3px); } 60% { opacity: 1; transform: scale(1.06); } }
@keyframes bk-turn { 0% { transform: rotate(0); } 45% { transform: rotate(-90deg); } 75% { transform: rotate(8deg); } 100% { transform: rotate(0); } }
@keyframes bk-glow { 35% { opacity: 1; } }
@keyframes bk-letter { from { opacity: 0; transform: translateY(.45em); filter: blur(3px); } }
@keyframes bk-idle { 0%, 100% { filter: drop-shadow(0 2px 5px rgb(157 136 255 / .15)); } 50% { filter: drop-shadow(0 3px 10px rgb(157 136 255 / .45)); } }
@keyframes brand-capture {
  0% { opacity: 0; transform: scale(1.5); }
  42% { opacity: .9; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.06); }
}
.nav ul { display: flex; gap: 20px; margin: 0 auto; padding: 0; list-style: none; font-size: 14px; }
.nav ul a { color: var(--muted); text-decoration: none; }
@media (hover: hover) { .nav ul a:hover { color: var(--text); } }
.nav ul a { display: inline-flex; align-items: center; min-height: 32px; border-bottom: 2px solid transparent; transition: color 0.15s ease-out, border-color 0.15s ease-out; }
.nav ul a[aria-current='true'] { color: var(--text); border-bottom-color: var(--accent); }
.language-switch { flex: none; white-space: nowrap; }
.legal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 20px; }
.legal .card + .card { margin-top: 16px; }

.hero { padding-block: clamp(44px, 6vw, 80px) clamp(34px, 5vw, 62px); text-align: center; }
.hero h1 { font-size: clamp(38px, 6.4vw, 82px); line-height: 1.05; }

.hero .lead { max-width: 58ch; margin: clamp(16px, 2vw, 24px) auto 0; }
.hero .actions { margin-top: clamp(24px, 3vw, 34px); }
.hero-protection { display: grid; gap: 3px; max-width: 680px; margin: 20px auto 0; padding: 10px 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--edge); color: var(--muted); font-size: 14px; }
.hero-protection a { justify-self: center; color: var(--text); font-weight: 650; text-underline-offset: .2em; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; font-size: 13.5px; margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); animation: blink 1.4s ease-in-out 3; }
@keyframes blink { 50% { opacity: 0.45; } }

/* Side-by-side input and response. */
.stage { width: min(1000px, 100%); margin: 28px auto 0; }
.demo-trigger { list-style: none; border: 1px solid rgb(201 188 255 / .35); }
.demo-trigger::-webkit-details-marker { display: none; }
.demo-close, .product-demo[open] .demo-open { display: none; }
.product-demo[open] .demo-close { display: inline; }
.demo-toggle-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--soft); font-size: 17px; line-height: 1; }
.product-demo[open] .demo-toggle-icon { transform: rotate(45deg); }
.demo-content { padding-top: 16px; }
.product-demo[data-opening] .demo-content { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .demo-toggle-icon { transition: transform 160ms var(--motion-out); }
  .billing-periods label > span { transition: background-color 150ms var(--ease), border-color 150ms var(--ease); }
}
.scene { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 22px); margin: 0; text-align: left; }
.scene-window { min-width: 0; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, rgb(52 54 70 / .72), rgb(18 20 30 / .82)); }
.scene-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--edge); color: var(--faint); font: 12.5px/1 ui-monospace, 'SF Mono', Menlo, monospace; }
.scene-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .16); }
.scene-bar span { margin-left: 8px; }
.scene-doc { display: grid; gap: 10px; padding: clamp(17px, 2.5vw, 27px); }
.scene-doc .ln { display: block; width: var(--w); height: 8px; border-radius: 4px; background: rgb(255 255 255 / .08); }
.scene-target { position: relative; display: grid; gap: 8px; width: fit-content; max-width: 100%; margin-block: 8px; padding: 14px 16px; border-radius: 12px; }
.scene-q { color: var(--text); font-size: clamp(15px, 1.7vw, 19px); font-weight: 650; letter-spacing: -.015em; }
.scene-target code, .scene-excerpt { color: #d9cfff; font-size: clamp(12px, 1.3vw, 14px); overflow-wrap: anywhere; }
.scene-frame { position: absolute; inset: 0; border-radius: 12px; background: rgb(201 188 255 / .1); box-shadow: inset 0 0 0 1px rgb(201 188 255 / .55); pointer-events: none; }
.scene-frame b { position: absolute; width: 14px; height: 14px; border: 2px solid #d6cbff; }
.scene-frame b:nth-child(1) { top: -3px; left: -3px; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.scene-frame b:nth-child(2) { top: -3px; right: -3px; border-width: 2px 2px 0 0; border-top-right-radius: 6px; }
.scene-frame b:nth-child(3) { bottom: -3px; right: -3px; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }
.scene-frame b:nth-child(4) { bottom: -3px; left: -3px; border-width: 0 0 2px 2px; border-bottom-left-radius: 6px; }
.scene-answer { min-width: 0; overflow: hidden; border-radius: 22px; background: #201d31; box-shadow: inset 0 0 0 1px rgb(201 188 255 / .32), 0 18px 50px rgb(0 0 0 / .3); }
.scene-answer header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgb(201 188 255 / .16); font-size: 14px; }
.scene-answer header img { border-radius: 6px; }
.scene-model { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: rgb(201 188 255 / .14); color: #e4dcff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.scene-reply { display: grid; gap: 8px; padding: 16px 18px 18px; }
.scene-asked { color: var(--faint); font-size: 13px; }
.scene-reply h2 { font-size: clamp(17px, 2vw, 23px); line-height: 1.2; letter-spacing: -.025em; }
.scene-reply h2 code { color: #e1d6ff; }
.scene-reply p { color: #cfc9de; font-size: 14px; line-height: 1.45; }
.scene-code { width: fit-content; max-width: 100%; padding: 6px 10px; border-radius: 8px; background: rgb(0 0 0 / .3); color: #e2d8fa; font-size: 13px; overflow-wrap: anywhere; }
.scene-live, .scene-result { display: grid; gap: 8px; }
.scene-followup { margin-top: 4px; border-top: 1px solid var(--edge); }
.scene-followup summary {
  min-height: 44px;
  padding-block: 11px;
  color: #e4dcff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.scene-followup-content, .scene-draft-note { display: grid; gap: 8px; }
.scene-followup-content { padding-block: 8px 6px; }
.scene-followup-content strong { display: block; color: #f1edfc; }
.scene-draft-note { padding: 12px; border-radius: 10px; background: rgb(201 188 255 / .08); }
.scene-draft-note h3 { font-size: 14px; letter-spacing: 0; }
.scene-draft-note code { color: #e2d8fa; font-size: 13px; overflow-wrap: anywhere; }
.scene-reply .scene-sample { padding-top: 8px; border-top: 1px solid var(--edge); color: var(--faint); font-size: 12.5px; }
.scene-model-switch { min-width: 0; margin-left: auto; }
.scene-model-switch select { width: 100%; min-height: 36px; padding: 4px 8px; border: 1px solid rgb(201 188 255 / .35); border-radius: 8px; background: #2c2541; color: #f2edff; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
@media (max-width: 720px) {
  .scene { grid-template-columns: minmax(0, 1fr); }
}

.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: min(820px,100%); margin: 0 auto; }
.platform-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-items: start; gap: 10px 14px; padding: clamp(19px, 3vw, 26px); }
.platform-card h3 { margin-bottom: 2px; }
.platform-card p { color: var(--muted); font-size: 14px; }
.platform-card .btn, .platform-note { grid-column: 2; justify-self: start; }
.platform-card .btn { min-height: 44px; width: min(100%, 220px); padding-inline: 12px; }
.platform-card .platform-note { color: var(--muted); font-size: 13px; }
.platform-icon { width: 27px; height: 27px; fill: currentColor; }
.platform-card.in .platform-icon { animation: platform-enter 280ms var(--motion-out) both; }
.platform-card.in + .platform-card.in .platform-icon { animation-delay: 60ms; }
@keyframes platform-enter { from { opacity: 0; transform: translateY(3px) scale(.94); } }
#pricing { padding-top: clamp(24px, 4vw, 48px); }
#pricing .head { margin-bottom: 28px; }

.badge { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--soft); color: var(--accent); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.icon path { stroke-dasharray: 1 1; }
.in .icon path, .card:hover .icon path { animation: draw 1s ease both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

#profiles { padding-top: 0; padding-bottom: clamp(38px, 5vw, 68px); }
#practice, #models + #features { padding-top: clamp(42px, 6vw, 80px); }
.profiles-demo { min-inline-size: 0; max-width: 940px; margin: 0 auto; padding: clamp(16px, 3.4vw, 34px); border: 0; }
.profile-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.profile-options label { position: relative; display: flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--edge); border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; }
.profile-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.profile-options label:has(:checked) { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.profile-options label:has(:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.profile-example { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 30px); align-items: start; }
.profiles-demo:has(:checked) .profile-example { display: none; }
.profiles-demo:has(#profile-interview:checked) [data-profile="interview"],
.profiles-demo:has(#profile-work:checked) [data-profile="work"] { display: grid; }
.profile-description h3 { font-size: clamp(20px, 3vw, 27px); margin-bottom: 8px; }
.profile-description > p { color: var(--muted); }
.profile-example .profile-label { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.profile-description .profile-label { margin-top: 16px; }
.profile-preview { padding: 16px; border: 1px solid #c8b8ff42; border-radius: 16px; background: #201d30; }
.profiles-demo.in .profile-options { animation: profile-enter 240ms var(--motion-out); }
.profile-question { margin-bottom: 14px; font-weight: 650; }
.profile-answer { padding-left: 10px; border-left: 2px solid #ad99ee; color: #ede7f9; font-size: 15px; }
@keyframes profile-enter { from { opacity: .55; transform: translateY(4px); } }

.agent-feature { padding-block: 0; }
.agent-card {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center;
  gap: clamp(28px, 4vw, 58px); max-width: 1080px; margin-inline: auto; padding: clamp(20px, 3.5vw, 42px);
  background: radial-gradient(95% 140% at 0% 0%, #373248, transparent 74%), #1b1b26;
}
.agent-intro { min-width: 0; display: grid; gap: 14px; }
.agent-intro .agent-kicker { margin-bottom: -6px; color: #d6c9f0; font-size: 14px; font-weight: 650; }
.agent-intro h2 { font-size: clamp(30px, 4vw, 49px); line-height: 1.04; }
.agent-intro > p { max-width: 42ch; color: #d1ccdb; }
.agent-intro a { justify-self: start; color: #e6dafa; font-size: 14px; font-weight: 650; text-underline-offset: .22em; }
.agent-task { margin: 8px 0; padding-left: 14px; border-left: 2px solid #a89abd; }
.agent-task h3 { color: #d6c9f0; font-size: 13px; line-height: 1.4; letter-spacing: 0; }
.agent-task blockquote { margin: 5px 0 0; font-size: 17px; line-height: 1.45; }
.agent-example {
  color-scheme: light; color: #262532; min-width: 0; margin: 0; border-radius: 18px;
  padding: clamp(15px, 2.5vw, 25px); background: #f7f7fa; box-shadow: 0 12px 36px #0e0d161c;
}
.agent-example figcaption, .agent-example figcaption span, .agent-patch > p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.agent-example figcaption { justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #dcdce4; font-size: 15px; font-weight: 650; }
.agent-example figcaption small { color: #64616d; font-size: 12px; font-weight: 500; }
.agent-finding { margin: 16px 0 7px; }
.agent-finding h3 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.2; }
.agent-finding p { margin-top: 6px; color: #55535f; font-size: 15px; line-height: 1.46; }
.agent-sources { margin-bottom: 10px; }
.agent-sources summary { width: fit-content; padding-block: 9px; color: #514266; font-size: 14px; font-weight: 650; cursor: pointer; }
.agent-sources summary:focus-visible { outline-color: #675083; }
.agent-sources summary span { margin-left: 5px; color: #64616d; font-size: 12px; font-weight: 500; }
.agent-sources dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 134px), 1fr)); gap: 10px 14px; margin: 2px 0 16px; }
.agent-sources dt, .agent-diff, .agent-patch code { font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.agent-sources dt { font-weight: 650; }
.agent-sources dd { margin: 3px 0 0; }
.agent-sources pre { margin: 0; font-size: 12px; line-height: 1.5; color: #53535d; }
.agent-patch { background: #fff; border: 1px solid #d6d6e0; border-radius: 10px; }
.agent-patch > p { justify-content: space-between; padding: 8px 12px; color: #575460; font-size: 13px; border-bottom: 1px solid #e5e4e9; }
.agent-patch code { color: #494452; }
.agent-diff { padding: 9px 12px; overflow-wrap: anywhere; }
.agent-diff del { color: #756166; }
.agent-diff ul { margin: 3px 0 0; padding: 0; list-style: none; }
.agent-diff li { color: #245643; }
.agent-diff li, .agent-diff p { padding-left: 1.25em; position: relative; }
.agent-diff li::before, .agent-diff p::before { position: absolute; left: 0; }
.agent-diff li::before { content: '+'; }
.agent-diff p::before { content: '−'; color: #756166; }
.agent-review-note { margin-top: 9px; color: #64616d; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .agent-sources[open] dl { animation: agent-data-enter 180ms ease-out; }
}
@keyframes agent-data-enter { from { opacity: .45; transform: translateY(-3px); } }
@media (max-width: 790px) {
  .agent-card { grid-template-columns: minmax(0, 1fr); }
  .agent-intro > p { max-width: 58ch; }
}
#practice { padding-bottom: clamp(42px, 6vw, 80px); }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.practice-case { display: grid; align-content: start; gap: 12px; padding: clamp(18px, 2.5vw, 26px); }
.practice-case:first-child { background: linear-gradient(145deg, rgb(149 124 231 / .16), var(--card) 80%); }
.practice-case h3 { font-size: 21px; }
.practice-case p { color: var(--muted); font-size: 15.5px; }
#models { padding-block: 0 clamp(34px, 5vw, 65px); }
/* Model showcase: one featured model beside the rest of the families. */
.model-wall { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; }
.model-star { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 270px; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--a) 40%, transparent), transparent 62%), radial-gradient(90% 80% at 100% 100%, color-mix(in srgb, var(--b) 30%, transparent), transparent 66%), var(--card); }
.model-star .tag { margin-bottom: auto; }
.model-star h3 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; }
.model-star p { color: #d6d9e6; }
.model-families { display: flex; flex-direction: column; gap: 18px; }
.model-families h3 { font-size: 23px; line-height: 1.22; }
.model-families p { margin-top: auto; color: var(--muted); }
.model-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.model-chips li { padding: 8px 14px; border-radius: 999px; background: var(--fill); box-shadow: inset 0 0 0 0.5px var(--edge); font-size: 14px; font-weight: 600; }
.model-chips .model-chip-custom { background: rgb(201 188 255 / .14); box-shadow: inset 0 0 0 1px rgb(201 188 255 / .5); }
.model-chip-custom small { margin-left: 4px; color: #d6cbff; font-size: 12px; font-weight: 600; }
.access-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.access-card, .resume-card { display: flex; gap: 12px; }
.access-card { flex-direction: column; }
.access-card h3, .resume-card h3 { font-size: 23px; line-height: 1.22; text-wrap: pretty; }
.access-card p, .resume-card p { color: var(--muted); }
.access-card a, .access-status { align-self: flex-start; margin-top: auto; font-size: 14px; }
.access-card a { text-underline-offset: .18em; }
.credit-ladder, .credit-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.credit-ladder li, .credit-packs li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgb(201 188 255 / .07); box-shadow: inset 0 0 0 .5px rgb(201 188 255 / .24); }
.credit-ladder li span, .credit-packs li span { color: var(--muted); font-size: 13px; }
.credit-ladder li strong, .credit-packs li strong { font-size: 19px; font-weight: 720; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.credit-ladder li:last-child { background: rgb(201 188 255 / .14); box-shadow: inset 0 0 0 1px rgb(201 188 255 / .45); }
.team-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 28px; margin-top: 22px; padding: clamp(22px, 2.6vw, 30px); background: linear-gradient(120deg, rgb(201 188 255 / .12), var(--card) 65%); }
.team-intro h3 { font-size: 23px; letter-spacing: -.02em; }
.team-intro p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.team-prices { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.team-prices li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgb(0 0 0 / .2); box-shadow: inset 0 0 0 .5px var(--edge); }
.team-name { color: var(--muted); font-size: 14px; font-weight: 600; }
.team-price { font-size: clamp(22px, 2.6vw, 28px); font-weight: 750; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.team-prices s { color: var(--faint); font-size: 13px; }
.team-note { color: var(--muted); font-size: 14px; }
.team-card .btn { justify-self: end; }
@media (max-width: 720px) {
  .team-card { grid-template-columns: minmax(0, 1fr); }
  .team-prices { grid-template-columns: minmax(0, 1fr); }
  .team-prices li { grid-template-columns: 1fr auto; align-items: baseline; }
  .team-prices s { grid-column: 2; justify-self: end; }
  .team-card .btn { justify-self: stretch; }
}
.resume-card { flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 26px; margin-top: 14px; background: linear-gradient(110deg, rgb(149 124 231 / .15), var(--card) 70%); }
.resume-card > div { flex: 1 1 370px; }
.resume-card p { margin-top: 8px; max-width: 66ch; }
.resume-card .chips { margin: 0; padding: 0; list-style: none; }
.resume-card .chips li { padding: 4px 10px; border-radius: 8px; background: var(--soft); font-size: 13px; }
.hero-models { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.hero-models a { display: inline-block; padding-block: 3px; text-underline-offset: 0.18em; }
@media (max-width: 720px) {
  .model-wall { grid-template-columns: minmax(0, 1fr); }
  .model-star { min-height: 220px; }
}
#faq { padding-block: clamp(34px, 6vw, 80px); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bento .card { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.bento .card.wide { grid-column: span 3; }
.bento p { color: var(--muted); font-size: 15px; }
.demo { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 5px 12px; border-radius: 999px; background: var(--fill); font-size: 13px; }
.keys { display: flex; gap: 8px; flex-wrap: wrap; }
kbd { min-width: 38px; padding: 7px 11px; border-radius: 11px; background: var(--fill); box-shadow: inset 0 1px 0 var(--spec), 0 3px 0 rgb(0 0 0 / 0.35); font: 600 14px var(--font); text-align: center; }
.card:hover kbd { animation: press 0.7s var(--spring); }
.card:hover kbd:nth-child(2) { animation-delay: 0.08s; }
.card:hover kbd:nth-child(3) { animation-delay: 0.16s; }
@keyframes press { 45% { transform: translateY(3px); } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.steps .card { counter-increment: step; display: flex; flex-direction: column; gap: 10px; }
.steps .card::after { content: counter(step); position: absolute; right: 18px; bottom: -26px; font-size: 130px; font-weight: 800; line-height: 1; color: rgb(255 255 255 / 0.05); }
.steps p { color: var(--muted); }

#privacy { padding-block: clamp(80px, 11vw, 150px); }
#privacy::before { content: ''; position: absolute; inset: 8% 4%; z-index: -1; border-radius: 48px; background: radial-gradient(70% 60% at 20% 10%, rgb(91 108 255 / .16), transparent 70%), radial-gradient(60% 60% at 90% 90%, rgb(31 209 192 / .1), transparent 70%); pointer-events: none; }
#privacy .head h2 { font-size: clamp(36px, 5.6vw, 64px); }
.privacy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.privacy .card { display: flex; gap: 20px; padding: clamp(24px, 3.2vw, 36px); border-radius: 28px; background: linear-gradient(160deg, rgb(255 255 255 / .07), rgb(255 255 255 / .025)); box-shadow: inset 0 1px 0 var(--spec), inset 0 0 0 .5px var(--edge), 0 20px 60px rgb(0 0 0 / .25); }
.privacy .badge { flex: none; width: 56px; height: 56px; border-radius: 18px; background: radial-gradient(circle at 30% 25%, rgb(201 188 255 / .35), rgb(201 188 255 / .08)); box-shadow: inset 0 0 0 1px rgb(201 188 255 / .35), 0 10px 30px rgb(124 104 230 / .25); }
.privacy .badge .icon { width: 26px; height: 26px; }
.privacy h3 { font-size: clamp(20px, 2.1vw, 24px); line-height: 1.25; }
.privacy p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.privacy .screen-shortcut { margin-top: 8px; }
.screen-shortcut span { display: inline-block; }
.screen-shortcut kbd { color: var(--text); }

.tag { align-self: flex-start; padding: 3px 11px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; }
.starter-plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr) auto; align-items: center; gap: 14px clamp(16px, 3vw, 34px); margin-bottom: 16px; padding: clamp(18px, 3vw, 28px); border: 1px solid rgb(119 210 186 / .25); background: radial-gradient(100% 180% at 0% 0%, rgb(48 138 115 / .17), transparent 70%), #161d23; }
.starter-intro h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1; }
.starter-intro p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.starter-limits { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; color: var(--text); font-size: 14px; font-weight: 600; }
.starter-limits li { white-space: normal; }
.starter-checkout { display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px 12px; }
.starter-price { font-size: clamp(21px, 3vw, 32px); font-weight: 750; letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.starter-cta { min-height: 44px; padding-inline: 13px; border-radius: 12px; }
@media (max-width: 850px) {
  .starter-checkout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .starter-plan { grid-template-columns: minmax(0, 1fr); }
  .starter-checkout { grid-template-columns: auto 1fr; }
  .starter-limits { padding-block: 10px; border-block: 1px solid var(--edge); }
}
.pricing { --plan-accent: #cfc4fa; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: clamp(17px, 2.35vw, 28px); background: #171824; }
.plan.best { background: linear-gradient(160deg, #252139, #191927 58%); box-shadow: inset 0 0 0 1px #9b8bcf; }
.plan-heading { display: grid; gap: 5px; }
.plan-heading h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1; }
.plan-heading p { min-height: 2.6em; color: var(--muted); font-size: 14px; line-height: 1.3; }
.billing-periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-inline-size: 0; margin: 0; padding: 3px; border: 1px solid var(--edge); border-radius: 12px; background: #0f101a; }
.billing-periods label { position: relative; min-width: 0; }
.billing-periods input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.billing-periods label > span { display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 44px; padding: 4px 1px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1.15; white-space: nowrap; }
.billing-periods label:hover > span { background: var(--fill); color: var(--text); }
.billing-periods input:checked + span { border-color: #9485c5; background: #332949; color: #f5efff; }
.billing-periods input:focus-visible + span { outline: 2px solid var(--plan-accent); outline-offset: 1px; }
.billing-periods small { color: #bdb1e8; font-size: 11px; }
.price { display: grid; gap: 5px; font-variant-numeric: tabular-nums; }
.price-total { font-size: clamp(26px, 3.8vw, 49px); font-weight: 750; line-height: 1.04; letter-spacing: -.055em; white-space: nowrap; }
.price-currency { color: var(--muted); font-size: .58em; letter-spacing: normal; vertical-align: .16em; }
.price small, .price-rate { color: var(--muted); font-size: 13px; line-height: 1.25; }
.price-rate { color: var(--plan-accent); }
.plan ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.42; }
.plan .plan-limits { padding: 12px 0; border-block: 1px solid var(--edge); }
.plan-limits li { font-weight: 600; }
.plan-limits [data-credits] { color: #d4c9fc; }
.plan-features li { display: flex; align-items: baseline; gap: 8px; color: var(--muted); }
.plan-features li::before { content: '✓'; color: var(--ok); }
.plan-cta { width: 100%; min-height: 44px; margin-top: auto; border-radius: 12px; }
.plan.best .plan-cta { background: var(--plan-accent); color: var(--ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / .4); }
.plan-trust { margin: 20px auto 0; text-align: center; color: var(--muted); font-size: 14px; }
.checkout-tier [data-checkout-period] { margin-inline-start: 4px; color: var(--text); font-size: inherit; }
@media (max-width: 720px) { .plan-heading p { min-height: 0; } }
.checkout-panel { max-width: 560px; padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: radial-gradient(120% 80% at 50% 0%, rgb(201 188 255 / .12), transparent 70%), var(--card); box-shadow: inset 0 1px 0 var(--spec), inset 0 0 0 .5px rgb(201 188 255 / .3), 0 30px 80px rgb(0 0 0 / .35); }
.checkout-panel [data-checkout-status] { color: var(--text); font-size: 15px; font-weight: 600; }
.checkout-panel [data-link="support"]:not([hidden]) { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 18px; border-radius: 999px; background: var(--fill); box-shadow: inset 0 0 0 .5px var(--edge); color: var(--text); font-weight: 600; text-decoration: none; }
.fine { margin: 22px auto 0; max-width: 700px; text-align: center; color: var(--faint); font-size: 14px; }
.checkout { margin: 24px auto 0; text-align: center; }
.checkout summary { min-width: 148px; list-style: none; }
.checkout summary::-webkit-details-marker { display: none; }
.checkout summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.checkout[open] summary::after { transform: translateY(2px) rotate(225deg); }
.checkout-panel { display: grid; justify-items: center; gap: 12px; max-width: 520px; margin: 16px auto 0; }
.checkout-panel > p, .checkout-panel > a:not(.btn) { color: var(--muted); font-size: 14px; }
.checkout-panel form { display: grid; justify-items: center; gap: 14px; width: 100%; }
.checkout-tier { display: grid; gap: 6px; width: min(100%, 300px); text-align: left; color: var(--muted); font-size: 14px; }
.checkout-tier select { min-height: 42px; padding: 8px 12px; border: 1px solid var(--edge); border-radius: 12px; background: #212332; font: inherit; font-size: 16px; }
.checkout-consent { color: var(--muted); font-size: 14px; }
.checkout-consent input { accent-color: var(--accent); width: 17px; height: 17px; margin-right: 5px; vertical-align: -3px; }
.checkout-message { color: var(--warn); font-size: 14px; }
.checkout-message:empty { margin-top: -14px; }
.gift-card { margin-top: 28px; padding: 0; }
.gift-summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 20px; list-style: none; cursor: pointer; }
.gift-summary::-webkit-details-marker { display: none; }
.gift-summary:focus-visible { outline-offset: -4px; border-radius: inherit; }
.gift-intro { display: grid; gap: 2px; }
.gift-intro strong { font-size: 18px; font-weight: 650; }
.gift-intro > span, .gift-content p { color: var(--muted); font-size: 14px; }
.gift-cta { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 11px; padding: 8px 16px; border: 1px solid var(--edge); border-radius: 999px; background: var(--fill); font-size: 14px; font-weight: 650; }
.gift-cta::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.gift-card[open] .gift-cta::after { transform: translateY(2px) rotate(225deg); }
.gift-content { display: grid; gap: 8px; margin: 0 20px 20px 78px; padding-top: 14px; border-top: 1px solid var(--edge); text-align: start; }
.gift-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gift-actions:has(a:not([hidden])) { margin-top: 4px; }
.gift-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) {
  .gift-summary:hover .gift-cta { border-color: var(--spec); background: var(--soft); }
}

.faq { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 0.5px var(--edge); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); transition: transform 0.3s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); padding-bottom: 20px; }
.topic-questions { margin-top: clamp(22px, 4vw, 36px); }

.final { text-align: center; border-radius: 34px; padding: clamp(44px, 7vw, 90px) 24px; }
footer { padding: 40px 0 60px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
footer .brand { color: var(--muted); }
footer a:hover { color: var(--text); }

.js .reveal { opacity: 0; translate: 0 12px; filter: blur(4px); transition: opacity 0.3s var(--ease), translate 0.3s var(--ease), filter 0.3s var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
.js .reveal.in, .js .reveal:focus-within { opacity: 1; translate: 0 0; filter: none; }
.js .reveal:focus-within { transition-duration: 0s; transition-delay: 0s; }

.legal { max-width: 760px; padding-block: 50px 90px; }
.legal h1 { font-size: 36px; margin-bottom: 18px; }
.legal h2 { font-size: 20px; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.blank { background: color-mix(in srgb, var(--warn) 25%, transparent); color: var(--text); padding: 0 6px; border-radius: 5px; }
.draft { padding: 14px 18px; border-radius: 16px; background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--text); margin-bottom: 24px; }

@media (max-width: 920px) {
  .nav ul { display: none; }
  .nav > .language-switch { margin-left: auto; }
  .steps, .privacy { grid-template-columns: minmax(0, 1fr); }
  .bento .card, .bento .card.wide { grid-column: span 6; min-height: 0; }
}
@media (max-width: 720px) {
  .pricing, .download-grid, .practice-grid { grid-template-columns: minmax(0, 1fr); }
  .gift-summary { grid-template-columns: auto minmax(0, 1fr); }
  .gift-cta { grid-column: 2; justify-self: start; }
  .gift-content { margin-inline-start: 20px; }
  .stage { margin-top: 30px; }
  .profile-example { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(28px, 8.5vw, 40px); }
  .nav { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: none; filter: none; }
}
@media (prefers-reduced-transparency: reduce) { .glass { backdrop-filter: none; background: #171a27; } }

[hidden] { display: none !important; }

.order-key { display: block; width: 100%; padding: 18px; border: 0; border-radius: 18px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--edge); font: 600 clamp(17px, 4.4vw, 24px) ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: 0.03em; text-align: center; overflow-wrap: anywhere; user-select: all; }
.order { display: flex; flex-direction: column; gap: 18px; margin-bottom: 14px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.order .checkout-form { display: grid; justify-items: start; gap: 18px; }
.order .payment-handoff { padding-inline-start: 14px; border-inline-start: 3px solid var(--accent); }
.order .payment-handoff p { margin: 3px 0 0; }
.order .checkout-form input[type=email] { min-height: 44px; padding: 8px 12px; border: 1px solid var(--edge); border-radius: 10px; background: var(--fill); color: var(--text); font: inherit; font-size: 16px; }
.order .checkout-form > p:empty { display: none; }

/* Skip link: first stop for keyboard users, visible only when focused. */
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 60; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 650; translate: 0 -200%; }
.skip-link:focus-visible { translate: 0 0; }
main:focus { outline: none; }

/* Section menu for narrow screens, where the inline links do not fit. */
.nav-menu { display: none; position: relative; }
.nav-menu summary { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--fill); box-shadow: inset 0 0 0 0.5px var(--edge); list-style: none; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span, .nav-menu summary span::before, .nav-menu summary span::after { content: ''; display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: rotate 0.2s var(--ease), translate 0.2s var(--ease), background-color 0.15s ease-out; }
.nav-menu summary span::before { translate: 0 -6px; }
.nav-menu summary span::after { translate: 0 4px; }
.nav-menu[open] summary span { background: transparent; }
.nav-menu[open] summary span::before { translate: 0 0; rotate: 45deg; background: var(--text); }
.nav-menu[open] summary span::after { translate: 0 -2px; rotate: -45deg; background: var(--text); }
.nav-menu-list { position: absolute; top: calc(100% + 12px); right: 0; width: min(260px, calc(100vw - 32px)); display: grid; padding: 8px; border-radius: 20px; background: #1a1c2a; box-shadow: inset 0 0 0 1px var(--edge), 0 24px 60px rgb(0 0 0 / 0.5); transform-origin: top right; }
.nav-menu-list a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; text-decoration: none; }
.nav-menu-list a[aria-current='true'] { background: var(--soft); }
@media (hover: hover) { .nav-menu-list a:hover { background: var(--fill); } }
@media (max-width: 920px) {
  .nav-menu { display: block; }
  .access-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .nav { gap: 6px; padding-inline: 12px 7px; }
  .nav .btn.small { flex: none; min-width: 40px; padding-inline: 11px; }
  .nav-menu { flex: none; }
}

.look-slider output { font-variant-numeric: tabular-nums; }
.look-slider input[type='range'] { min-height: 28px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Staged entrance of the first screen, 100 ms apart. */
  .hero .pill, .hero h1, .hero .lead, .hero .actions { animation: hero-enter 0.42s var(--ease) backwards; }
  .hero h1 { animation-delay: 0.1s; }
  .hero .lead { animation-delay: 0.2s; }
  .hero .actions { animation-delay: 0.3s; }
  .hero .hero-models { animation: hero-enter 0.42s var(--ease) 0.35s backwards; }
  /* The model list arrives chip by chip once its card is on screen. */
  .js .model-chips li { opacity: 0; translate: 0 8px; transition: opacity 0.3s var(--ease), translate 0.3s var(--ease); transition-delay: calc(var(--n, 0) * 35ms); }
  .js .model-families.in li, .js .model-families:focus-within li { opacity: 1; translate: 0 0; }
  .js .model-star .shine { animation: none; }
  .js .model-star.in .shine { animation: shine 2.6s var(--ease) 0.2s both; }
  .profile-example { animation: profile-enter 0.2s var(--ease); }
  .nav-menu[open] .nav-menu-list { animation: menu-enter 0.18s var(--ease); }

  /* Disclosures grow and shrink where the browser can animate to the natural height. */
  @supports selector(::details-content) {
    :root { interpolate-size: allow-keywords; }
    :is(.faq details, .gift-card, .checkout)::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 0.25s var(--ease), opacity 0.2s ease-out, content-visibility 0.25s allow-discrete; }
    :is(.faq details, .gift-card, .checkout)[open]::details-content { block-size: auto; opacity: 1; }
  }

  /* Movement that follows the reader's own scrolling: nothing plays by itself. */
  @supports (animation-timeline: scroll()) {
    .aurora i { animation: drift linear both; animation-timeline: scroll(root); }
    .nav::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--a), var(--b)); transform-origin: left; animation: read-progress linear both; animation-timeline: scroll(root); pointer-events: none; }
    .steps .card::after { animation: step-number linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
  }
}
@keyframes hero-enter { from { opacity: 0; filter: blur(4px); translate: 0 12px; } }
@keyframes menu-enter { from { opacity: 0; scale: 0.96; translate: 0 -8px; } }
@keyframes read-progress { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes step-number { from { translate: 0 32px; opacity: 0; } to { translate: 0 0; opacity: 1; } }

.faq .permission-question { box-shadow: inset 0 0 0 1px rgb(240 185 90 / .24); }
.faq p.permission { margin: 0 0 22px; padding: 2px 0 2px 16px; border-inline-start: 3px solid var(--warn); color: var(--text); font-size: clamp(20px, 2.4vw, 27px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.permission strong { color: var(--warn); font-weight: 750; }
.permission-highlight { color: var(--warn); font-weight: 750; letter-spacing: -.01em; }

@media (forced-colors: active) {
  .card, .btn, .glass, .faq details, .nav-menu summary, .nav-menu-list, .model-chips li, .tag { border: 1px solid CanvasText; }
}

/* Launch refresh: generous spacing and a clear path from example to activation. */
.hero { padding-top: clamp(70px, 9vw, 132px); }
.hero h1 { letter-spacing: -.055em; }
.hero .lead { line-height: 1.5; }
.hero-protection { background: transparent; box-shadow: none; max-width: 620px; }
.product-demo { margin-top: clamp(34px, 5vw, 64px); }
.scene-target mark { color: #fff; background: #574b85; border-radius: 3px; padding: 1px 3px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.scene-model-switch select { min-height: 44px; }
.nav .language-switch, .nav-menu summary { min-width: 44px; min-height: 44px; }
.start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.start-steps li { counter-increment: steps; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #191b29; box-shadow: inset 0 0 0 1px var(--edge); }
.start-steps li::before { content: counter(steps, decimal-leading-zero); display: block; color: #c9bcff; font-size: 14px; font-weight: 700; margin-bottom: 34px; }
.start-steps strong { display: block; font-size: 21px; line-height: 1.2; }
.start-steps p { margin-top: 12px; color: var(--muted); }
.support-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 16px; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #25243a; }
.support-panel p { color: var(--muted); max-width: 58ch; margin-top: 8px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#pricing { padding-top: clamp(64px, 9vw, 130px); }
.pricing { gap: 20px; }
.plan { padding: clamp(24px, 3vw, 36px); gap: 20px; }
.plan.best { box-shadow: inset 0 0 0 2px #b5a6eb, 0 20px 60px rgb(0 0 0 / .2); }
@media (max-width: 720px) { .start-steps { grid-template-columns: 1fr; } .start-steps li::before { margin-bottom: 16px; } .support-panel { align-items: stretch; flex-direction: column; } .support-actions .btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Product catalogue: light desktop previews retain their full 16:9 frame. */
.catalog-page{background:#f8f9fc;color:#292935;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0}
.catalog-page a{color:inherit;text-decoration:none}
.catalog-bar{position:static;background:#fdfdfe;border-bottom:1px solid #e1e2e9}
.catalog-bar-inner,.catalog-main{width:min(1200px,calc(100% - 64px));margin:auto}
.catalog-bar-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between}
.catalog-bar-inner>div,.catalog-brand{display:flex;align-items:center;gap:24px}
.catalog-brand{gap:10px;font-size:23px;font-weight:700;letter-spacing:-1px}
.catalog-bar-inner>div a{font-size:14px;font-weight:600}
.catalog-intro{padding:62px 0 15px}
.catalog-intro h1{font-size:clamp(38px,5.5vw,74px);letter-spacing:-.055em;line-height:1.05;margin:0;color:#242432}
.catalog-intro p{font-size:clamp(17px,2vw,22px);color:#55566a;max-width:690px;margin:18px 0 28px}
.catalog-intro nav{display:flex;flex-wrap:wrap;gap:8px}
.catalog-intro nav a{display:block;padding:8px 14px;border-radius:10px;background:#e9e7f3;font-size:15px;font-weight:600}
.catalog-group{padding:36px 0 24px;scroll-margin-top:15px}
.catalog-group h2{font-size:clamp(26px,3vw,38px);letter-spacing:-.045em;margin:0 0 19px;color:#292935}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px 21px}
.catalog-card{min-width:0;background:transparent;color:#292935;overflow-wrap:anywhere}
.catalog-card img,.home-catalog img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:13px;border:1px solid #d9d9e4;background:#f4f4f8}
.catalog-copy{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-top:9px}
.catalog-copy h3{color:#252532;font-size:22px;font-weight:650;letter-spacing:-.035em;line-height:1.2;margin:0}
.catalog-copy span{font-size:20px;color:#655788}
.catalog-card p{font-size:15px;line-height:1.45;color:#575864;margin:6px 0 0}
.catalog-card a:hover h3,.catalog-page a:hover,.home-catalog a:hover{text-decoration:underline;text-underline-offset:3px}
.home-catalog .catalog-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-catalog .catalog-thumbs a{display:block;font-weight:650;color:inherit}
.home-catalog .catalog-thumbs span{display:block;margin:9px 0}
.home-catalog .catalog-open{margin-top:18px;display:inline-flex}
@media(max-width:850px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.catalog-bar-inner,.catalog-main{width:calc(100% - 32px)}.catalog-intro{padding:32px 0 4px}.catalog-grid,.home-catalog .catalog-thumbs{grid-template-columns:minmax(0,1fr)}.catalog-group{padding:25px 0 14px}.catalog-bar-inner{min-height:60px}.catalog-copy h3{font-size:20px}}

/* ---------- Demo preview: the closed demo is a living picture of the product ---------- */
.demo-summary { position: relative; display: grid; justify-items: center; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.demo-summary::-webkit-details-marker { display: none; }
.demo-summary:focus-visible { outline: none; }
.demo-summary:focus-visible .demo-trigger { outline: 3px solid var(--accent); outline-offset: 3px; }
.demo-summary .demo-trigger { position: relative; z-index: 2; min-height: 50px; padding-inline: 26px; background: rgb(22 20 36 / .78); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 1px 0 var(--spec), inset 0 0 0 1px rgb(201 188 255 / .4), 0 18px 50px rgb(0 0 0 / .45); }
.demo-teaser { position: relative; display: block; width: min(960px, 100%); aspect-ratio: 16 / 7.4; margin-bottom: -34px; perspective: 1400px; }
.product-demo[open] .demo-teaser { display: none; }
.teaser-window { position: absolute; left: 3%; top: 4%; width: 66%; height: 88%; overflow: hidden; border-radius: 24px; background: linear-gradient(160deg, rgb(54 56 74 / .8), rgb(17 19 29 / .9)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), inset 0 0 0 1px rgb(255 255 255 / .08), 0 40px 90px rgb(0 0 0 / .5); transform: rotateX(9deg) rotateY(7deg); transform-origin: 60% 50%; transition: transform .7s var(--spring), box-shadow .5s ease-out; }
.teaser-bar { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgb(255 255 255 / .07); }
.teaser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .16); }
.teaser-lines { display: grid; gap: 16px; padding: 26px 28px; }
.teaser-lines b, .teaser-answer b { display: block; width: var(--w); height: 9px; border-radius: 5px; background: rgb(255 255 255 / .08); }
.teaser-lines .teaser-target { position: relative; height: 14px; margin-block: 6px; background: linear-gradient(90deg, rgb(201 188 255 / .2), rgb(201 188 255 / .45), rgb(201 188 255 / .2)) 0 0 / 200% 100%; }
.teaser-target::after { content: ''; position: absolute; inset: -11px -14px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgb(201 188 255 / .45); background:
  linear-gradient(#efe9ff, #efe9ff) top left / 18px 3px no-repeat, linear-gradient(#efe9ff, #efe9ff) top left / 3px 18px no-repeat,
  linear-gradient(#efe9ff, #efe9ff) top right / 18px 3px no-repeat, linear-gradient(#efe9ff, #efe9ff) top right / 3px 18px no-repeat,
  linear-gradient(#efe9ff, #efe9ff) bottom left / 18px 3px no-repeat, linear-gradient(#efe9ff, #efe9ff) bottom left / 3px 18px no-repeat,
  linear-gradient(#efe9ff, #efe9ff) bottom right / 18px 3px no-repeat, linear-gradient(#efe9ff, #efe9ff) bottom right / 3px 18px no-repeat,
  rgb(201 188 255 / .06); }
.teaser-frame { display: none; }
.teaser-answer { position: absolute; right: 2%; top: 20%; display: grid; gap: 11px; width: 40%; padding: 18px 20px 20px; border-radius: 22px; background: rgb(30 26 48 / .9); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 0 0 1px rgb(201 188 255 / .35), 0 34px 80px rgb(0 0 0 / .55), 0 0 70px rgb(124 104 230 / .25); transition: transform .7s var(--spring); }
.teaser-answer-head { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.teaser-logo { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #e3dfff, #bfb2ff 55%, #9a8ae4); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .6); }
.teaser-answer-head em { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgb(201 188 255 / .16); color: #e6deff; font-size: 12px; font-style: normal; font-weight: 650; white-space: nowrap; }
.teaser-answer b { height: 8px; background: rgb(255 255 255 / .2); transform-origin: left; }
.teaser-answer b:first-of-type { height: 12px; background: rgb(255 255 255 / .42); }
.teaser-code { display: block; width: 64%; height: 26px; margin-top: 4px; border-radius: 8px; background: rgb(0 0 0 / .32); box-shadow: inset 0 0 0 1px rgb(201 188 255 / .14); }
.teaser-chip { position: absolute; z-index: 1; padding: 7px 13px; border-radius: 999px; background: rgb(24 22 38 / .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(255 255 255 / .1), 0 14px 34px rgb(0 0 0 / .4); color: var(--muted); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.teaser-chip-1 { left: 0; bottom: 12%; }
.teaser-chip-2 { right: 6%; top: 2%; }
.teaser-chip-3 { right: 0; bottom: 4%; }
@media (hover: hover) {
  .demo-summary:hover .teaser-window { transform: rotateX(0) rotateY(0) translateY(-6px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 0 0 1px rgb(255 255 255 / .1), 0 50px 110px rgb(0 0 0 / .55); }
  .demo-summary:hover .teaser-answer { transform: translate(-8px, -10px); }
  .demo-summary:hover .demo-trigger { transform: translateY(-2px); filter: brightness(1.12); }
}
@media (prefers-reduced-motion: no-preference) {
  .teaser-target { animation: teaser-shimmer 3.2s linear infinite; }
  .teaser-target::after { animation: teaser-frame 3.2s var(--ease) infinite; }
  .teaser-answer { animation: teaser-float 7s ease-in-out infinite; }
  .teaser-answer b, .teaser-code { animation: teaser-type 6.4s var(--motion-out) infinite; }
  .teaser-answer b:nth-of-type(2) { animation-delay: .12s; }
  .teaser-answer b:nth-of-type(3) { animation-delay: .24s; }
  .teaser-code { animation-delay: .36s; }
  .teaser-chip-1 { animation: teaser-chip 8s ease-in-out infinite; }
  .teaser-chip-2 { animation: teaser-chip 9s -3s ease-in-out infinite; }
  .teaser-chip-3 { animation: teaser-chip 10s -6s ease-in-out infinite; }
  .demo-summary .demo-trigger::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 0 rgb(201 188 255 / .5); animation: trigger-ring 2.8s ease-out infinite; pointer-events: none; }
  .demo-teaser { animation: teaser-in .9s var(--motion-out) .35s backwards; }
}
@keyframes teaser-shimmer { to { background-position: -200% 0; } }
@keyframes teaser-frame { 0%, 12% { opacity: 0; transform: scale(1.12); } 26%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes teaser-type { 0%, 8% { transform: scaleX(.15); opacity: .4; } 24%, 100% { transform: scaleX(1); opacity: 1; } }
@keyframes teaser-float { 50% { translate: 0 -8px; } }
@keyframes teaser-chip { 50% { translate: 0 -10px; } }
@keyframes trigger-ring { 0% { box-shadow: 0 0 0 0 rgb(201 188 255 / .45); } 70%, 100% { box-shadow: 0 0 0 14px rgb(201 188 255 / 0); } }
@keyframes teaser-in { from { opacity: 0; translate: 0 26px; filter: blur(8px); } }
@media (max-width: 720px) {
  .demo-teaser { aspect-ratio: 4 / 3.6; margin-bottom: -26px; }
  .teaser-window { left: 0; width: 86%; height: 70%; transform: rotateX(6deg) rotateY(4deg); }
  .teaser-lines { gap: 12px; padding: 18px; }
  .teaser-answer { top: auto; bottom: 12%; width: 70%; padding: 14px 16px; }
  .teaser-chip-2 { top: 0; right: 0; }
  .teaser-chip-1, .teaser-chip-3 { display: none; }
}

/* The opened demo builds itself: window first, then the answer slides in beside it. */
@media (prefers-reduced-motion: no-preference) {
  .product-demo[open] .scene-window { animation: scene-in-window .6s var(--motion-out) both; }
  .product-demo[open] .scene-answer { animation: scene-in-answer .75s .14s var(--spring) both; }
  .product-demo[open] .scene-frame { animation: scene-in-frame .5s .32s var(--motion-out) both; }
}
@keyframes scene-in-window { from { opacity: 0; transform: translateY(22px) scale(.97); filter: blur(6px); } }
@keyframes scene-in-answer { from { opacity: 0; transform: translateX(34px) scale(.96); filter: blur(10px); } }
@keyframes scene-in-frame { from { opacity: 0; transform: scale(1.08); } }

/* ---------- Buttons: a light sheen on hover, a softer press ---------- */
.btn.primary { position: relative; overflow: hidden; isolation: isolate; }
.btn.primary::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .55) 48%, transparent 66%) -120% 0 / 220% 100% no-repeat; pointer-events: none; }
.btn:not(.primary) { transition: transform .25s var(--spring), scale .15s ease-out, filter .2s, box-shadow .25s ease-out, background-color .25s ease-out; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn.primary:hover::before { background-position: 120% 0; transition: background-position .75s var(--motion-out); }
  .btn:not(.primary):hover { box-shadow: inset 0 1px 0 var(--spec), inset 0 0 0 1px rgb(201 188 255 / .45), 0 12px 30px rgb(0 0 0 / .25); }
}
.btn:not(:disabled):not([aria-disabled='true']):active { scale: .965; filter: brightness(.96); }

/* ---------- Plans: one term switch above the cards, clearer captions ---------- */
.billing-switch { width: min(420px, 100%); margin: 0 auto 22px; padding: 4px; border-radius: 16px; }
.billing-switch label > span { min-height: 46px; font-size: 13.5px; }
.plan-heading { position: relative; padding-bottom: 14px; border-bottom: 1px solid var(--edge); }
.plan-heading h3 { display: flex; align-items: center; gap: 10px; }
.plan-heading h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--plan-accent, #c9bcff); box-shadow: 0 0 14px var(--plan-accent, #c9bcff); }
.plan-heading p { min-height: 0; margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.plan.best .plan-heading p { color: #ddd3ff; }
.plan-limits li { display: flex; align-items: baseline; gap: 8px; }
.plan-limits li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: rgb(201 188 255 / .6); translate: 0 -2px; }

/* ---------- Downloads ---------- */
.platform-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.platform-meta li { padding: 4px 10px; border-radius: 999px; background: var(--fill); box-shadow: inset 0 0 0 .5px var(--edge); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.platform-howto { max-width: 46ch; }
.final-lead { max-width: 56ch; margin: 14px auto 0; color: var(--muted); font-size: clamp(16px, 1.8vw, 19px); text-wrap: pretty; }

/* ---------- Section rhythm: headings rise in a little later than their cards ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .head.reveal { transition-duration: .5s; }
  .js .head.reveal h2 { transition: letter-spacing .8s var(--motion-out); }
  .js .head.reveal:not(.in) h2 { letter-spacing: -.01em; }
}
.platform-card .platform-meta, .platform-card .platform-howto { grid-column: 1 / -1; }
.hero .hero-models { margin-top: 38px; }
