/* ───────── Pricing — one mark, three finishes ─────────
   The Sen mark as a real object (metal.js, three.js); the plans are its
   finish. data-k on .mt: -1 opening, 0–2 Pro/Max/Ultra, 3 the row of all
   three. metal.js writes the mark's screen box as --open-y/-h, --plan-y/-h,
   --line-y/-h and the row spacing --gap, so the copy, the giant plan word
   and the stand-in stills (.mt__pics, shown until WebGL draws or without it)
   line up with the 3D mark. Calm (no JS / reduced motion): each plan as a
   row with its still. Below: your own AI (the composer), Q&A, close. */
body.pr { background: var(--bg-base); }
.btn .ic { width: 15px; height: 15px; transition: translate 250ms var(--e-out); }
.btn:hover .ic { translate: 3px 0; }
.mt .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Calm: a plain page ── */
.mt { padding: 150px var(--pad-x) 110px; border-top: 0; }
.mt__cue, .mt__words, .mt__pics, .mt__gl { display: none; }
.mt__open { display: grid; justify-items: center; text-align: center; }
.mt__open h1 { max-width: 14ch; font-size: clamp(44px, 5.6vw, 84px); letter-spacing: -.045em; line-height: .98; }
.mt__open .lede { margin: 22px auto 0; max-width: 50ch; color: var(--text-2); font-size: clamp(17px, 1.35vw, 20px); }
.mt__plans { list-style: none; margin: 90px auto 0; padding: 0; max-width: 1100px; display: grid; gap: 28px; }
.mt__plan { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); align-items: center; gap: 48px; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.mt__still { width: 100%; max-width: 260px; height: auto; margin: 0 auto; }
.mt__tag { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; font-size: 15px; color: var(--text-3); }
.mt__say h2 { font-size: clamp(30px, 3vw, 46px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.mt__text { max-width: 36ch; margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.mt__meters { display: grid; gap: 11px; margin: 0; }
.mt__meters > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.mt__meters dt { font-size: 14px; color: var(--text-2); }
.mt__meters dd { display: flex; gap: 4px; margin: 0; }
.mt__meters i { width: 22px; height: 4px; border-radius: 4px; background: var(--border-default); }
.mt__meters i:first-child,
.mt__meters[data-v="2"] i:nth-child(2),
.mt__meters[data-v="3"] i { background: var(--text-1); }
.mt__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.mt__price span { font-size: 14px; color: var(--text-3); }
.mt__price b { font-size: 34px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.mt__line { display: grid; justify-items: center; margin-top: 110px; text-align: center; }
.mt__line h2 { font-size: clamp(34px, 4vw, 60px); letter-spacing: -.045em; line-height: 1; }
.mt__line ul { display: none; }
.mt__line .btn { margin-top: 30px; }

/* ── Your own AI: the composer's model menu ── */
.pro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 150px var(--pad-x) 120px; border-top: 1px solid var(--border-subtle); }
.pro h2 { font-size: clamp(36px, 4vw, 60px); letter-spacing: -.045em; line-height: 1; }
.pro .lede { margin-top: 20px; color: var(--text-2); font-size: clamp(17px, 1.3vw, 19px); }
.pro__ui { display: grid; justify-items: end; gap: 10px; width: min(100%, 620px); margin-left: auto; padding: 36px; border-radius: 22px; border: 1px solid var(--border-subtle); background: var(--canvas-simple); }
.pro__menu { width: min(100%, 330px); margin-right: 64px; padding: 6px; border-radius: 16px; border: 1px solid var(--border-default); background: var(--bg-elevated); box-shadow: var(--float-shadow); }
.pro__menu-h { margin: 6px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.pro__row { display: flex; align-items: center; gap: 10px; height: 42px; margin: 0; padding: 0 10px 0 7px; border-radius: 11px; font-size: 14px; }
.pro__row.is-on { background: var(--bg-active); }
.pro__row > .ic { width: 15px; height: 15px; margin-left: 2px; }
.pro__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--bg-hover); }
.pro__ic .mark { width: 28px; height: 28px; border: 0; background: transparent; }
.pro__ic .mark svg { width: 15px; height: 15px; filter: grayscale(1) brightness(1.9); }
.pro__ic b { font-size: 13px; font-weight: 700; }
.pro__n { font-weight: 600; }
.pro__via { margin-left: auto; font-size: 12.5px; color: var(--text-3); }
.pro__composer { position: relative; left: auto; top: auto; translate: none; width: 100%; }
.composer__model.is-open { padding: 0 9px; border-radius: var(--r-pill); background: var(--bg-active); }

/* ── About pricing ── */
.prq { padding: 140px var(--pad-x) 100px; border-top: 1px solid var(--border-subtle); }
.prq .sec-head { margin-bottom: 48px; }
.prq__list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border-default); }

/* ── Hear first ── */
.pre { display: grid; justify-items: center; padding: 140px var(--pad-x) 160px; text-align: center; border-top: 1px solid var(--border-subtle); }
.pre__mark { width: 64px; height: 64px; margin-bottom: 28px; }
.pre h2 { font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -.045em; line-height: .98; }
.pre .lede { margin: 20px auto 0; color: var(--text-2); font-size: clamp(17px, 1.35vw, 20px); }

@media (max-width: 1023px) {
    .pro { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .pro__ui { margin: 0; }
    .mt__plan { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; }
    .mt__still { grid-row: span 2; }
}
@media (max-width: 767px) {
    .mt { padding-top: 112px; }
    .mt__plan { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .mt__still { grid-row: auto; max-width: 200px; }
    .pro__ui { padding: 20px; }
    .pro__menu { margin-right: 0; }
}

/* ───────── The film ───────── */
@property --glow { syntax: "<color>"; inherits: true; initial-value: rgba(255, 255, 255, .05); }
html.js:not(.reduce-motion) .mt { height: calc(100svh + 460vh); padding: 0; }
html.js:not(.reduce-motion) .mt__stage {
    --open-y: 30%; --open-h: 27%; --plan-y: 45%; --plan-h: 56%; --line-y: 44%; --line-h: 27%; --gap: min(24vw, 380px);
    --glow: rgba(214, 222, 235, .07);
    padding: 0; isolation: isolate;
    background: radial-gradient(ellipse 46% 52% at 50% var(--plan-y), var(--glow), transparent 70%);
    transition: --glow 900ms var(--e-io);
}
html.js:not(.reduce-motion) .mt[data-k="1"] .mt__stage { --glow: rgba(235, 214, 190, .08); }
html.js:not(.reduce-motion) .mt[data-k="2"] .mt__stage { --glow: rgba(255, 255, 255, .035); }
html.js:not(.reduce-motion) .mt[data-k="3"] .mt__stage { --glow: rgba(255, 255, 255, .045); }

html.js:not(.reduce-motion) .mt__cue { position: absolute; z-index: 3; left: var(--pad-x); right: var(--pad-x); top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
html.js:not(.reduce-motion) .mt__cue p { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.005em; }
.mt__nav { display: flex; gap: 4px; }
.mt__nav a { position: relative; padding: 6px 12px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--text-3); text-decoration: none; transition: color 300ms var(--e-out), background-color 300ms var(--e-out); }
.mt__nav a:hover { color: var(--text-1); }
.mt[data-k="0"] .mt__nav a[data-k="0"], .mt[data-k="1"] .mt__nav a[data-k="1"], .mt[data-k="2"] .mt__nav a[data-k="2"] { color: var(--text-1); background: var(--bg-active); }

/* The plan's name, huge, behind the mark */
html.js:not(.reduce-motion) .mt__words { position: absolute; z-index: 0; inset: 0; display: block; pointer-events: none; }
.mt__words span {
    position: absolute; left: 50%; top: calc(var(--plan-y) + var(--plan-h) * .2); font-size: min(29vw, 50svh); font-weight: 700; letter-spacing: -.065em; line-height: 1; white-space: nowrap; padding: 0 .12em;
    color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .025) 78%); -webkit-background-clip: text; background-clip: text;
    opacity: 0; translate: -50% -36%; transition: opacity 450ms var(--e-out), translate 900ms var(--e-io);
}
.mt[data-k="0"] .mt__words span[data-k="0"], .mt[data-k="1"] .mt__words span[data-k="1"], .mt[data-k="2"] .mt__words span[data-k="2"] { opacity: 1; translate: -50% -50%; transition: opacity 700ms var(--e-out) 150ms, translate 1100ms var(--e-io) 100ms; }

/* The canvas, and the stills standing in for it until it draws */
html.js:not(.reduce-motion) .mt__gl { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; }
html.js:not(.reduce-motion) .mt__pics { position: absolute; z-index: 1; inset: 0; display: block; pointer-events: none; }
html.js:not(.reduce-motion) .mt.is-gl .mt__pics { display: none; }
.mt__pics img {
    position: absolute; left: 50%; top: var(--plan-y); height: calc(var(--plan-h) / .8); width: auto; translate: -50% -50%;
    opacity: 0; transition: opacity 600ms var(--e-out), top 900ms var(--e-io), left 900ms var(--e-io), height 900ms var(--e-io);
}
.mt[data-k="-1"] .mt__pics img[data-k="0"] { opacity: 1; top: var(--open-y); height: calc(var(--open-h) / .8); }
.mt[data-k="0"] .mt__pics img[data-k="0"], .mt[data-k="1"] .mt__pics img[data-k="1"], .mt[data-k="2"] .mt__pics img[data-k="2"] { opacity: 1; }
.mt[data-k="3"] .mt__pics img { opacity: 1; top: var(--line-y); height: calc(var(--line-h) / .8); left: calc(50% + (var(--k) - 1) * var(--gap)); }
.mt__pics img[data-k="0"] { --k: 0; } .mt__pics img[data-k="1"] { --k: 1; } .mt__pics img[data-k="2"] { --k: 2; }

/* Opening */
html.js:not(.reduce-motion) .mt__open { position: absolute; z-index: 2; left: var(--pad-x); right: var(--pad-x); top: calc(var(--open-y) + var(--open-h) / 2 + 4.5svh); transition: opacity 500ms var(--e-out), translate 700ms var(--e-io); }
html.js:not(.reduce-motion) .mt:not([data-k="-1"]) .mt__open { opacity: 0; translate: 0 -24px; pointer-events: none; }

/* Each plan: what it is (left), what you get (right) */
html.js:not(.reduce-motion) .mt__plans { position: absolute; z-index: 2; inset: 0; margin: 0; max-width: none; display: block; pointer-events: none; }
html.js:not(.reduce-motion) .mt__plan { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 118px; padding: 0; border: 0; grid-template-columns: minmax(0, 420px) minmax(0, 1fr) minmax(0, 320px); align-items: end; gap: 40px; }
html.js:not(.reduce-motion) .mt__still { display: none; }
html.js:not(.reduce-motion) .mt__facts { grid-column: 3; }
html.js:not(.reduce-motion) .mt__plan > * { opacity: 0; translate: 0 22px; transition: opacity 300ms var(--e-out), translate 500ms var(--e-io); }
html.js:not(.reduce-motion) .mt[data-k="0"] .mt__plan[data-k="0"],
html.js:not(.reduce-motion) .mt[data-k="1"] .mt__plan[data-k="1"],
html.js:not(.reduce-motion) .mt[data-k="2"] .mt__plan[data-k="2"] { pointer-events: auto; }
html.js:not(.reduce-motion) .mt[data-k="0"] .mt__plan[data-k="0"] > *,
html.js:not(.reduce-motion) .mt[data-k="1"] .mt__plan[data-k="1"] > *,
html.js:not(.reduce-motion) .mt[data-k="2"] .mt__plan[data-k="2"] > * { opacity: 1; translate: 0 0; transition: opacity 500ms var(--e-out) 250ms, translate 800ms var(--e-io) 200ms; }
html.js:not(.reduce-motion) .mt__meters i { transition: background-color 400ms var(--e-out) 500ms; }

/* All three in a row */
html.js:not(.reduce-motion) .mt__line { position: absolute; z-index: 2; inset: 0; margin: 0; display: block; pointer-events: none; }
html.js:not(.reduce-motion) .mt__line h2 { position: absolute; left: var(--pad-x); right: var(--pad-x); top: calc(var(--line-y) - var(--line-h) / 2 - 7svh); translate: 0 -100%; }
html.js:not(.reduce-motion) .mt__line ul { display: block; list-style: none; margin: 0; padding: 0; }
html.js:not(.reduce-motion) .mt__line li { position: absolute; left: calc(50% + var(--i) * var(--gap)); top: calc(var(--line-y) + var(--line-h) / 2 + 4svh); translate: -50% 0; display: grid; justify-items: center; gap: 6px; }
.mt__line li b { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.mt__line li span { font-size: 14px; color: var(--text-3); white-space: nowrap; }
.mt__line li em { margin-top: 8px; padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid var(--border-default); font-size: 12.5px; font-style: normal; font-weight: 600; color: var(--text-2); }
html.js:not(.reduce-motion) .mt__line .btn { position: absolute; left: 50%; top: calc(var(--line-y) + var(--line-h) / 2 + 4svh + 150px); translate: -50% 0; margin: 0; }
html.js:not(.reduce-motion) .mt__line > *, html.js:not(.reduce-motion) .mt__line li { opacity: 0; transition: opacity 300ms var(--e-out); }
html.js:not(.reduce-motion) .mt[data-k="3"] .mt__line { pointer-events: auto; }
html.js:not(.reduce-motion) .mt[data-k="3"] .mt__line > *,
html.js:not(.reduce-motion) .mt[data-k="3"] .mt__line li { opacity: 1; transition: opacity 700ms var(--e-out) 350ms; }
html.js:not(.reduce-motion) .mt[data-k="3"] .mt__line li { transition-delay: calc(500ms + (var(--i) + 1) * 120ms); }
html.js:not(.reduce-motion) .mt[data-k="3"] .mt__line .btn { transition-delay: 900ms; }

@media (max-width: 1023px) {
    html.js:not(.reduce-motion) .mt__plan { grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 28px; }
    html.js:not(.reduce-motion) .mt__facts { grid-column: 2; }
}
@media (max-width: 767px) {
    html.js:not(.reduce-motion) .mt__cue { top: 22px; }
    html.js:not(.reduce-motion) .mt__cue p { display: none; }
    html.js:not(.reduce-motion) .mt__cue { justify-content: center; }
    html.js:not(.reduce-motion) .mt__open h1 { font-size: clamp(38px, 11vw, 52px); }
    html.js:not(.reduce-motion) .mt__open .lede { margin-top: 16px; font-size: 16px; }
    html.js:not(.reduce-motion) .mt__plan { bottom: 96px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
    html.js:not(.reduce-motion) .mt__facts { grid-column: 1; }
    html.js:not(.reduce-motion) .mt__tag { margin-bottom: 10px; font-size: 14px; }
    html.js:not(.reduce-motion) .mt__say h2 { font-size: 28px; }
    html.js:not(.reduce-motion) .mt__text { margin-top: 8px; font-size: 15px; }
    html.js:not(.reduce-motion) .mt__meters { display: none; }
    html.js:not(.reduce-motion) .mt__price { margin-top: 2px; padding-top: 12px; }
    html.js:not(.reduce-motion) .mt__price b { font-size: 26px; }
    html.js:not(.reduce-motion) .mt__line h2 { font-size: 32px; }
    .mt__line li b { font-size: 19px; }
    .mt__line li span { display: none; }
    html.js:not(.reduce-motion) .mt__line .btn { top: calc(var(--line-y) + var(--line-h) / 2 + 4svh + 110px); }
}
