/* Subperior's own black and gold. One idea carries the page: show the app being used. The motion is word timing and a
   four-step run of the app itself, not decoration. */
@font-face { font-family: 'Inter S'; font-weight: 100 900; font-display: swap; src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: 'Inter S'; font-weight: 100 900; font-display: swap; src: url('assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+2020, U+20A0-20AB; }
@font-face { font-family: 'Inter S'; font-weight: 100 900; font-display: swap; src: url('assets/fonts/inter-vietnamese-wght-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  color-scheme: dark;
  --bg: #050505; --surface: #0c0b09; --rim: #2b2721; --line: rgba(243, 239, 228, 0.12);
  --text: #f3efe4; --text-2: #bfb8a8; --text-3: #948d7e;
  --gold: #f0c35a; --gold-ink: #ffe39a; --ink: #14100a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 5vw, 64px);
  font-family: 'Inter S', 'Segoe UI', system-ui, sans-serif; font-size: 17px; line-height: 1.55;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: rgba(240, 195, 90, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 850; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 20; background: var(--gold); color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.fine { font-size: 0.82rem; color: var(--text-3); }
.textbtn { padding: 0; border: 0; background: none; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 0.85rem; }
.textbtn:hover { color: var(--gold-ink); }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 22px; padding: 12px var(--pad); background: var(--bg); border-bottom: 1px solid var(--rim); }
.brand { position: relative; display: inline-flex; align-items: baseline; padding-bottom: 6px; font-size: 1.5rem; letter-spacing: -0.025em; text-decoration: none; }
.brand span { font-weight: 800; color: #fff; }
.brand i { font-style: normal; font-weight: 500; color: var(--gold); }
.brand::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, #ffe7a6, var(--gold) 38%, rgba(214, 168, 70, 0.2) 62%, transparent); }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 0.95rem; }
.top nav a { color: var(--text-2); text-decoration: none; }
.top nav a:hover { color: var(--text); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--rim); border-radius: 10px; }
.lang button { padding: 3px 9px; border: 0; border-radius: 7px; background: none; color: var(--text-3); font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.lang button[aria-pressed='true'] { background: #1f1a10; color: var(--gold-ink); }

.cta { display: inline-block; padding: 13px 24px; border-radius: 12px; border: 1px solid #ffdc85; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; transition: background-color 160ms var(--ease), transform 120ms var(--ease); }
.cta:hover { background: var(--gold-ink); }
.cta:active { transform: scale(0.98); }
.cta.small { padding: 7px 15px; font-size: 0.88rem; white-space: nowrap; }

section { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--pad); }
.picker, .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tabs button { font-size: 0.88rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--rim); background: var(--surface); color: var(--text-2); cursor: pointer; transition: border-color 140ms var(--ease), color 140ms var(--ease); }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected='true'] { border-color: var(--gold); color: var(--gold-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* the opening film fills the first screen */
.intro { position: relative; max-width: none; padding: 0; background: var(--bg); }
.intro canvas { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 62px); object-fit: contain; }
.intro-ui { position: absolute; left: var(--pad); right: var(--pad); bottom: 14px; display: flex; align-items: center; gap: 14px; }
.intro-toggle { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(5, 5, 5, 0.72); cursor: pointer; }
.intro-toggle::before { content: ''; position: absolute; left: 12px; top: 10px; width: 3px; height: 12px; background: var(--text); box-shadow: 6px 0 0 var(--text); }
.intro-toggle[data-state='paused']::before { left: 12px; width: 0; height: 0; background: none; box-shadow: none; border-left: 12px solid var(--text); border-block: 7px solid transparent; top: 9px; }
.intro-bar { flex: 1; display: flex; gap: 5px; }
.intro-bar button { flex-basis: 0; height: 18px; padding: 7px 0; border: 0; background: none; cursor: pointer; }
.intro-bar button::before { content: ''; display: block; height: 4px; border-radius: 2px; background: rgba(246, 241, 228, 0.22); }
.intro-bar i { display: block; height: 4px; margin-top: -4px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ---------- the four steps ---------- */
.how, .styles, .translate, .export, .price { border-top: 1px solid var(--rim); }
.how { display: grid; gap: 20px; text-align: center; padding-block: 44px 56px; }
.tabs4 { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; text-align: left; }
.tabs4 button { position: relative; width: 100%; height: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 14px 18px; border: 0; background: none; color: var(--text-3); font-weight: 700; font-size: 1.05rem; text-align: left; cursor: pointer; transition: color 200ms var(--ease); }
.tabs4 b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rim); font-size: 0.9rem; transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
.tabs4 i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--rim); overflow: hidden; }
.tabs4 i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.tabs4 button[aria-current='true'] { color: var(--text); }
.tabs4 button[aria-current='true'] b { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tabs4 button[aria-current='true'] i::after { transform: scaleX(1); }
.tabs4 button.run i::after { animation: fill var(--time) linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mock-box { position: relative; width: 100%; max-width: 960px; margin: 0 auto; }
.mock { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: top left; display: grid; grid-template: 52px 1fr / 1fr 280px; border: 1px solid #4a4030; border-radius: 18px; overflow: hidden; background: #070605; text-align: left; font-size: 14px; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.95); transition: grid-template-columns 420ms var(--ease); }
.mock.frozen { transition: none; }
.mock.choosing { grid-template-columns: 1fr 500px; }
.mock svg path { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--rim); }
.m-top .brand { font-size: 19px; }
.m-open { padding: 6px 14px; border: 1px solid var(--line); border-radius: 9px; font-weight: 650; font-size: 13px; transition: border-color 150ms, background-color 150ms; }
.m-name { color: var(--text-3); font-size: 12px; opacity: 0; transition: opacity 300ms; }
.loaded .m-name { opacity: 1; }
.m-view { display: grid; grid-template-rows: 1fr 112px; min-height: 0; }
.m-screen { position: relative; margin: 16px auto 10px; width: 208px; border-radius: 12px; overflow: hidden; border: 1px solid var(--rim); }
.m-drop { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; color: var(--text-3); border: 2px dashed #4a4030; border-radius: 12px; transition: opacity 300ms, border-color 200ms, color 200ms; }
.holding .m-drop { border-color: var(--gold); color: var(--gold-ink); }
.m-video { position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 62%, #4a3a17, transparent 70%), linear-gradient(170deg, #1d2127, #0b0a08 70%); opacity: 0; transform: scale(1.12); transition: opacity 420ms var(--ease), transform 600ms var(--ease); }
.loaded .m-video { opacity: 1; transform: none; }
.loaded .m-drop { opacity: 0; }
.m-cap { position: absolute; left: -4%; width: 108%; bottom: 8%; opacity: 0; }
.m-cap.on { opacity: 1; animation: hop 380ms var(--ease) both; }
@keyframes hop { from { opacity: 0; transform: translateY(26px) scale(0.9); } 60% { opacity: 1; transform: translateY(-6px) scale(1.04); } to { transform: none; } }
.m-time { position: relative; display: grid; grid-template-rows: 1fr 1fr; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--rim); }
.m-words, .m-wave { position: relative; border-radius: 7px; background: #11100c; }
.m-words b { position: absolute; top: 5px; bottom: 5px; border-radius: 5px; border: 1px solid rgba(240, 205, 120, 0.42); background: #1d1c22; transform: scale(0); transition: transform 320ms cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--n) * 110ms), background-color 200ms; }
.heard .m-words b { transform: scale(1); }
.styled .m-words b:nth-child(3), .styled .m-words b:nth-child(6) { background: #d9b25c; }
.m-wave { display: flex; align-items: center; gap: 2px; padding: 0 6px; opacity: 0.25; transition: opacity 400ms; }
.loaded .m-wave { opacity: 1; }
.m-wave i { flex: 1; border-radius: 1px; background: #b58d34; }
.m-head { position: absolute; top: 8px; bottom: 8px; left: 16px; width: 2px; background: var(--gold-ink); opacity: 0; }
.listening:not(.frozen) .m-head { opacity: 1; animation: sweep 1.2s linear both; }
@keyframes sweep { from { left: 16px; } to { left: calc(100% - 18px); } }
.m-panel { display: grid; align-content: start; gap: 11px; padding: 14px; border-left: 1px solid var(--rim); }
.m-gold { display: grid; place-items: center; height: 52px; border: 0 solid transparent; border-width: 0 24px; border-image: url('assets/ui/gold_btn_n.png') 0 48 fill stretch; color: #fff8e6; font-weight: 700; white-space: nowrap; transition: transform 120ms var(--ease); }
.m-gold.pressed { border-image-source: url('assets/ui/gold_btn_p.png'); transform: scale(0.95); }
.m-open.pressed { border-color: var(--gold); background: #1f1a10; }
.m-bar { height: 4px; border-radius: 3px; background: rgba(243, 239, 228, 0.1); overflow: hidden; opacity: 0; }
.m-bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.listening .m-listen, .exporting .m-export { opacity: 1; }
.listening .m-listen i, .exporting .m-export i { transform: scaleX(1); transition: transform 1.1s linear; }
.m-lines { display: grid; gap: 7px; }
.m-lines i { height: 11px; border-radius: 4px; background: #26221a; transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease); }
.heard .m-lines i { transform: scaleX(1); }
.m-lines i:nth-child(2) { width: 74%; transition-delay: 160ms; } .m-lines i:nth-child(3) { width: 88%; transition-delay: 320ms; }
.m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 6px 2px; opacity: 0.35; transition: opacity 300ms; }
.heard .m-tiles { opacity: 1; }
.m-tiles img { width: 100%; border-radius: 9px; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 160ms, transform 160ms var(--ease); }
.m-tiles img.on { outline-color: var(--gold); }
.m-tiles img.pressed { transform: scale(0.9); }
/* choosing a look: the panel takes half the window and the four cards are shown large */
.choosing .m-tiles { gap: 18px; padding: 10px 6px; }
.choosing .m-lines, .choosing .m-listen { display: none; }
.choosing .m-tiles img.on { outline-width: 3px; }
.m-file { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: #1f1a10; border: 1px solid var(--gold); color: var(--gold-ink); font-weight: 650; opacity: 0; pointer-events: none; transform: translate(calc(var(--cx, 0px) + 18px), calc(var(--cy, 0px) + 16px)) rotate(-4deg); transition: transform 900ms var(--ease), opacity 200ms; }
.holding .m-file { opacity: 1; }
.m-done { position: absolute; left: 340px; top: 270px; translate: -50% -50%; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 14px; background: #14100a; border: 1px solid var(--gold); color: var(--gold-ink); font-weight: 700; white-space: nowrap; opacity: 0; scale: 0.7; transition: opacity 220ms var(--ease), scale 420ms cubic-bezier(0.3, 1.7, 0.5, 1); }
.done .m-done { opacity: 1; scale: 1; }
.m-cursor { position: absolute; left: 0; top: 0; z-index: 3; transition: transform 850ms var(--ease); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6)); transform: translate(60px, 440px); }
.mock .m-cursor path { fill: #fff; stroke: #14100a; stroke-width: 1.5; }
.mock::after { content: ''; position: absolute; left: calc(var(--cx, 0px) - 18px); top: calc(var(--cy, 0px) - 18px); width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; transform: scale(0.3); pointer-events: none; }
.mock.click::after { opacity: 1; transform: scale(1.2); transition: transform 220ms var(--ease); }

/* ---------- on real video ---------- */
.reel { max-width: none; padding-inline: 0; border-top: 1px solid var(--rim); display: grid; justify-items: center; gap: 22px; text-align: center; padding-block: 56px 48px; }
.reel .fine { margin-top: -14px; }
.reel-window { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.reel-track { display: flex; width: max-content; animation: drift 70s linear infinite; }
.reel-track.held { animation-play-state: paused; }
/* the space after the last card belongs to each half, so that half the track is exactly one loop */
.reel-half { display: flex; gap: 16px; padding-right: 16px; }
.reel video { display: block; flex: none; height: clamp(340px, 62vh, 520px); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: var(--surface); }
@keyframes drift { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- styles, translation, plans ---------- */
.styles { text-align: center; }
.styles .tabs { margin: 28px 0 26px; }
.gallery { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.gallery li { animation: rise 460ms var(--ease) backwards; animation-delay: calc(var(--n) * 20ms); }
.gallery img { display: block; width: 100%; aspect-ratio: 352 / 152; object-fit: contain; transition: transform 200ms var(--ease); }
.gallery li:hover img { transform: scale(1.07); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.translate { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 3vw, 36px); justify-items: center; text-align: center; }
.translate > div:first-child { display: grid; gap: 16px; }
.honest { color: var(--text-2); max-width: 36em; margin-inline: auto; }
/* the translation film runs across the page, like the opening one */
.translate { max-width: none; padding-inline: 0; }
.translate > div:first-child, .translate > .fine { padding-inline: var(--pad); }
.trfilm { position: relative; width: min(100%, 1600px); }
.trfilm canvas { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 62px); object-fit: contain; background: var(--bg); }

/* export: the ways out listed on the left, their picture on the right */
.export { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.ex-side { display: grid; gap: 22px; justify-items: start; }
.ex-ways { width: 100%; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ex-ways button { position: relative; width: 100%; display: grid; gap: 5px; padding: 15px 18px 17px; border: 1px solid var(--rim); border-radius: 14px; background: none; color: var(--text-2); text-align: left; cursor: pointer; overflow: hidden; transition: border-color 220ms var(--ease), background-color 220ms var(--ease); }
.ex-ways b { font-size: 1.12rem; font-weight: 750; color: var(--text); }
.ex-ways span { font-size: 0.9rem; line-height: 1.5; }
.ex-ways i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; opacity: 0; }
.ex-ways button:hover { border-color: var(--line); }
.ex-ways button[aria-current='true'] { border-color: rgba(240, 195, 90, 0.6); background: #100d07; }
.ex-ways button[aria-current='true'] b { color: var(--gold-ink); }
.ex-ways button[aria-current='true'] i { opacity: 1; }
.exfilm { border: 1px solid var(--rim); border-radius: 22px; overflow: hidden; background: var(--bg); }
.exfilm canvas { display: block; width: 100%; aspect-ratio: 1340 / 760; }

/* the editors it works with, under the picture */
.ex-show { display: grid; gap: 22px; }
.ex-works { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; font-size: clamp(0.95rem, 1.3vw, 1.25rem); color: var(--text-2); }
.ex-works span { flex-basis: 100%; text-align: center; font-size: 0.88em; }
.ex-works b { color: var(--gold-ink); font-weight: 800; }
.ex-works em { font-style: italic; }
.ex-works i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }

.price { max-width: 1120px; text-align: center; }
.plan-switch { display: inline-flex; gap: 4px; margin-top: 44px; padding: 5px; border: 1px solid var(--rim); border-radius: 999px; }
.plan-switch button { min-width: 112px; padding: 9px 22px; border: 0; border-radius: 999px; background: none; color: var(--text-3); font-weight: 800; cursor: pointer; transition: background-color 220ms var(--ease), color 220ms var(--ease); }
.plan-switch button[aria-pressed='true'] { background: var(--gold); color: var(--ink); }
.plan-sum { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; margin: 18px 0 22px; font-size: 1.2rem; color: var(--text-2); }
.plan-sum b { min-width: 2ch; font-size: 3rem; line-height: 1; font-weight: 850; color: var(--gold); font-variant-numeric: tabular-nums; }
.plan-sum i { align-self: center; width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
/* all the styles: the plan's own are lit, the others wait in the dark behind a small lock */
.wall { margin: 0 0 14px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; }
.wall li { position: relative; aspect-ratio: 352 / 152; }
.wall li::before { content: ''; position: absolute; inset: 0; background: url('assets/ui/all-styles.webp') var(--x) var(--y) / 1000% 500% no-repeat; transition: filter 420ms var(--ease) var(--d), transform 420ms var(--ease) var(--d), opacity 420ms var(--ease) var(--d); }
.wall li::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 7px; margin: -2px 0 0 -4.5px; border-radius: 2px; background: var(--gold); box-shadow: 0 -5px 0 -3px #0b0a07, 0 -6px 0 -2px var(--gold); opacity: 0; transition: opacity 300ms var(--ease) var(--d); }
.wall[data-plan='free'] li:not(.free)::before { filter: grayscale(1) brightness(0.34); transform: scale(0.93); }
.wall[data-plan='free'] li:not(.free)::after { opacity: 0.75; }
.plans { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 18px; margin: 36px auto 0; max-width: 960px; text-align: left; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px 30px; border: 1px solid var(--rim); border-radius: 20px; cursor: pointer; transition: border-color 260ms var(--ease), transform 260ms var(--ease); }
.plan.on { border-color: var(--gold); transform: translateY(-4px); }
.plan.pro { background: #100d07; }
.plan.pro h3 { color: var(--gold); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--text-2); }
.price-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-now b { font-size: 2.9rem; line-height: 1; font-weight: 850; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #fff; }
.price-now s { font-size: 1.25rem; color: var(--text-3); text-decoration-thickness: 2px; }
.price-now small { font-size: 1rem; color: var(--text-2); }
/* the two ways to buy Pro; the lifetime one carries the gold */
.offers { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: center; gap: 12px; }
.offer { display: grid; align-content: start; gap: 10px; padding: 16px 18px; border: 1px solid var(--rim); border-radius: 14px; cursor: pointer; transition: border-color 200ms var(--ease), background-color 200ms var(--ease), transform 120ms var(--ease); }
.offer, .plan { user-select: none; -webkit-user-select: none; caret-color: transparent; }
.offer:hover { border-color: var(--line); }
.offer:active { transform: scale(0.98); }
.offer.chosen, .offer.chosen:hover { border-color: var(--gold); background: #1c160a; }
.offer.chosen .price-now b { color: var(--gold-ink); }
.offer-name { font-weight: 800; }
.offer-note { font-size: 0.86rem; color: var(--text-3); }
/* the monthly one is the smaller of the two */
.offer.small { gap: 7px; padding: 12px 14px; }
.offer.small .price-now b { font-size: 2rem; }
.offer.small .offer-name { font-size: 0.92rem; }
.wall-head { display: grid; justify-items: center; }
.launch { align-self: center; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 0.75rem; font-style: normal; font-weight: 800; white-space: nowrap; }
/* download and buy, at the foot of their cards */
.get { display: block; margin-top: auto; padding: 13px 18px; border: 1px solid var(--line); border-radius: 12px; text-align: center; font-weight: 800; text-decoration: none; transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 120ms var(--ease); }
.get:hover { border-color: var(--gold); }
.get:active { transform: scale(0.98); }
.get.gold { border-color: #ffdc85; background: var(--gold); color: var(--ink); }
.get.gold:hover { background: var(--gold-ink); }
.get-note { margin-top: -8px; text-align: center; }
.get-note.ping { animation: ping 900ms var(--ease); }
@keyframes ping { 25% { color: var(--gold-ink); transform: scale(1.08); } }

.faq { max-width: 920px; margin: 40px auto 0; text-align: left; }
details { border-bottom: 1px solid var(--rim); }
summary { cursor: pointer; padding: 17px 0; font-weight: 600; }
summary::marker { color: var(--gold); }
details p { padding: 0 0 18px; color: var(--text-2); }
footer { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 48px var(--pad) 60px; border-top: 1px solid var(--rim); }

@media (max-width: 900px) {
  .translate, .export { grid-template-columns: minmax(0, 1fr); }
  .top { gap: 12px; }
  .top nav { display: none; }
  .lang { margin-left: auto; }
  .tabs4 { grid-template-columns: 1fr 1fr; }
  .tabs4 button { font-size: 0.95rem; }
}
@media (max-width: 699px) { .intro canvas { aspect-ratio: 4 / 5; } }
@media (max-width: 700px) { .wall { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .offers { grid-template-columns: 1fr; } .offer.small { margin-right: 15%; } .cta.small { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel-window { overflow-x: auto; }
  .reel-half + .reel-half { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
