/* TransTodo — transtodo.com. Colours from the logo: ink #0D0B14 → #2A2140,
   white speech bubble, pink → violet spark #FF5C7A → #9B5CFF. */

@font-face { font-family: "Be Vietnam Pro"; src: url(/fonts/BeVietnamPro-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url(/fonts/BeVietnamPro-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url(/fonts/BeVietnamPro-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url(/fonts/BeVietnamPro-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url(/fonts/BeVietnamPro-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink-0: #0d0b14;
  --ink-1: #14111c;
  --ink-2: #1b1628;
  --ink-3: #2a2140;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --fg: #f4f1fa;
  --muted: #b3abc6;
  --dim: #8a82a0;
  --pink: #ff5c7a;
  --violet: #9b5cff;
  --grad: linear-gradient(100deg, var(--pink), var(--violet));
  --ok: #5ee0a0;
  --bad: #ff8a9e;
  --r: 18px;
  --wrap: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink-0); color: var(--fg);
  font: 400 17px/1.65 "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spark {
  display: inline-block; width: 12px; height: 12px; background: var(--grad);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; text-decoration: none;
  font: 700 15.5px/1 inherit; font-family: inherit;
  box-shadow: 0 10px 30px -10px rgba(255, 92, 122, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 16px 36px -12px rgba(155, 92, 255, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn svg { width: 20px; height: 20px; }
.btn-lg { padding: 16px 26px; font-size: 16.5px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 11, 20, .72); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav nav a:hover { color: var(--fg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.g1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(255, 92, 122, .55), transparent 65%); top: -160px; right: 4%; }
.g2 { width: 620px; height: 620px; background: radial-gradient(circle, rgba(155, 92, 255, .5), transparent 65%); bottom: -300px; left: -160px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 0%, transparent 70%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--muted); font-size: 13.5px; font-weight: 600; margin-bottom: 22px;
}
h1 { font-size: clamp(34px, 4.3vw, 56px); font-weight: 800; letter-spacing: -.035em; }
.lead { margin-top: 22px; color: var(--muted); font-size: 18.5px; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--dim); font-size: 14.5px; font-weight: 500; }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 7px; }

/* hero demo: a comic page translating itself */
.demo { position: relative; }
.browser {
  border-radius: 16px; overflow: hidden; background: #0f0d16;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px var(--line-2), 0 0 80px -30px rgba(155,92,255,.5);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #1a1624; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3348; }
.browser-bar span { margin-left: 10px; flex: 1; padding: 4px 12px; border-radius: 8px; background: #0f0d16; color: var(--dim); font-size: 12px; }
.page { position: relative; padding: 14px; display: grid; gap: 12px; background: #f2efe8; }
.panel { position: relative; height: 210px; border: 3px solid #17131f; border-radius: 4px; overflow: hidden; }
.p1 { background: linear-gradient(160deg, #fbe9d7 0%, #f6c9b4 55%, #e7a3a6 100%); }
.p2 { background: linear-gradient(200deg, #c9d6ff 0%, #9ab0f0 50%, #6b78c9 100%); }
.speed { position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 75% 60%, rgba(23,19,31,.10) 0 2deg, transparent 2deg 9deg); }
.figure { position: absolute; bottom: -24px; width: 150px; height: 170px; border-radius: 70px 70px 20px 20px; background: #17131f; }
.f1 { right: 26px; box-shadow: -52px 40px 0 -26px #17131f; }
.f2 { left: 30px; background: #17131f; transform: skewX(-6deg); }
.f1::before, .f2::before { content: ""; position: absolute; top: -58px; left: 32px; width: 86px; height: 86px; border-radius: 50%; background: #17131f; }
.bubble {
  position: absolute; display: grid; place-items: center; min-width: 140px; max-width: 200px; padding: 16px 20px;
  background: #fff; color: #111; border: 2.5px solid #111; border-radius: 50%;
  font: 600 17px/1.2 "Be Vietnam Pro", sans-serif; text-align: center;
}
.bubble::after { content: ""; position: absolute; width: 18px; height: 18px; background: #fff; border-right: 2.5px solid #111; border-bottom: 2.5px solid #111; }
.b1 { top: 22px; left: 22px; }
.b1::after { bottom: -10px; right: 36px; transform: rotate(35deg); }
.b2 { top: 20px; right: 20px; }
.b2::after { bottom: -10px; left: 30px; transform: rotate(55deg); }
.sfx { position: absolute; left: 44%; bottom: 26px; font: 800 38px/1 "Be Vietnam Pro", sans-serif; color: #fff; -webkit-text-stroke: 2px #17131f; transform: rotate(-8deg); letter-spacing: .02em; }
.bubble span, .sfx span { grid-area: 1 / 1; transition: opacity .45s ease, transform .45s ease; }
.bubble .vi, .sfx .vi { opacity: 0; transform: translateY(4px); }
.demo.done .bubble .src, .demo.done .sfx .src { opacity: 0; transform: translateY(-4px); }
.demo.done .bubble .vi, .demo.done .sfx .vi { opacity: 1; transform: none; }
.sfx { display: grid; }
.badge-tp {
  position: absolute; top: 24px; right: 24px; display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: rgba(23, 19, 31, .92); color: #f3f1f8;
  font: 600 12px/1.3 "Be Vietnam Pro", sans-serif; border: 1px solid rgba(155, 92, 255, .5);
  opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s;
}
.badge-tp .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--pink); animation: spin .8s linear infinite; }
.demo.working .badge-tp { opacity: 1; transform: none; }
.demo-cap { margin-top: 18px; color: var(--dim); font-size: 13.5px; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.strip-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 22px 0; color: var(--dim); font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.strip-in span:last-child { color: var(--fg); }

/* ---------------------------------------------------------------- sections */
.feature { padding: 110px 0; }
.feature.slim { padding: 84px 0; }
.alt { background: linear-gradient(180deg, var(--ink-1), var(--ink-0)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--pink); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two > div > p:not(.kicker) { margin-top: 18px; color: var(--muted); }
.center-head { text-align: center; max-width: 780px; margin: 0 auto 52px; }
.sub { margin-top: 16px; color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); }
.ticks li b { color: var(--fg); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 7px; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* comics card */
.card-stack { position: relative; }
.mini-page {
  position: relative; height: 380px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(170deg, #f7f3ea 0%, #efe6d6 100%); border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
}
.mini-page::before { content: ""; position: absolute; inset: 16px; border: 3px solid #17131f; border-radius: 4px; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(23,19,31,.05) 22px 24px); }
.mini-bubble { position: absolute; max-width: 230px; padding: 14px 20px; background: #fff; color: #111; border: 2.5px solid #111; border-radius: 46%; font: 600 16px/1.25 "Be Vietnam Pro", sans-serif; text-align: center; }
.mini-bubble.l { left: 42px; top: 46px; }
.mini-bubble.r { right: 40px; top: 150px; }
.mini-bubble.s { left: 70px; top: auto; bottom: 54px; font-size: 20px; }
.speed-tag {
  position: absolute; right: -14px; bottom: -22px; display: grid; padding: 14px 18px; border-radius: 14px;
  background: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -18px rgba(0,0,0,.8);
}
.speed-tag b { font-size: 24px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.speed-tag span { color: var(--dim); font-size: 13px; }

/* fansub comparison */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cmp { padding: 24px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.cmp .lang { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.cmp .row { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; font-size: 16.5px; }
.cmp .row + .row { margin-top: 10px; }
.cmp .tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cmp .bad { background: rgba(255, 138, 158, .07); color: #d9cfe0; }
.cmp .bad .tag { color: var(--bad); }
.cmp .good { background: linear-gradient(100deg, rgba(255,92,122,.16), rgba(155,92,255,.18)); box-shadow: inset 0 0 0 1px rgba(255,92,122,.3); font-weight: 600; }
.cmp .good .tag { color: #ffc2d0; }
.notebook {
  margin: 28px auto 0; max-width: 780px; padding: 22px 26px; border-radius: var(--r);
  background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line-2);
}
.nb-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.notebook ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.notebook b { color: var(--fg); font-weight: 600; }
.note-center { text-align: center; margin-top: 22px; color: var(--dim); font-size: 15px; }

/* video */
.video-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.vcard { padding: 22px; border-radius: 22px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.vcard h3 { margin-top: 22px; }
.vcard p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.yt-sky { position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, #ffcf8a 0 8%, transparent 9%), linear-gradient(180deg, #3c3a7a 0%, #b85d7a 55%, #f0a16b 100%); }
.yt-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(170deg, transparent 0 20%, #241b3a 21%); }
.yt-subs { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); width: 86%; display: grid; gap: 6px; text-align: center; }
.yt-subs span { justify-self: center; padding: 3px 10px; border-radius: 6px; background: rgba(8, 8, 8, .75); font-size: clamp(11px, 1.35vw, 15px); line-height: 1.35; }
.yt-subs .o { color: #e8e8e8; }
.yt-subs .v { color: #ffe27a; font-weight: 600; }
.yt-voice { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; background: rgba(23,19,31,.85); font-size: 12px; font-weight: 600; }
.eq { display: inline-flex; gap: 2px; align-items: end; height: 12px; }
.eq i { width: 3px; background: var(--pink); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; background: #c45cff; }
.eq i:nth-child(3) { animation-delay: .4s; background: var(--violet); }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 12px; } }
.phone { display: grid; place-items: center; padding: 6px 0; background: radial-gradient(circle at 50% 40%, rgba(155,92,255,.18), transparent 70%); border-radius: 14px; }
.ph-video {
  position: relative; width: 52%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  border: 6px solid #0a0910; box-shadow: 0 0 0 1px var(--line-2), 0 24px 50px -20px rgba(0,0,0,.9);
  background: linear-gradient(170deg, #3a6b35 0%, #7d8a4f 55%, #c9a66b 100%);
}
.ph-video > span { position: absolute; left: 50%; transform: translateX(-50%); width: 92%; display: grid; justify-items: center; gap: 4px; text-align: center; font-weight: 800; color: #fff; -webkit-text-stroke: 0; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; }
.ph-label { top: 38%; color: #ffe14d !important; font-size: clamp(16px, 2vw, 22px); }
.ph-sub { bottom: 13%; font-size: clamp(10px, 1.1vw, 13px); }
.ph-video em { font-style: normal; font-weight: 600; text-shadow: none; color: #fff; background: rgba(10, 8, 16, .72); padding: 2px 8px; border-radius: 6px; font-size: clamp(10px, 1vw, 12px); }

/* modes */
.modes { justify-self: center; display: inline-flex; padding: 6px; gap: 4px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.modes .m { padding: 12px 20px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 15px; }
.modes .on { background: rgba(255,255,255,.08); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }

/* how */
.how { padding: 110px 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.steps .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); font-weight: 800; margin-bottom: 18px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.steps b { color: var(--fg); }

/* table */
.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 680px; }
.table th, .table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { color: var(--muted); font-weight: 600; font-size: 14px; }
.table tbody th { font-weight: 500; color: var(--fg); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table .us { background: linear-gradient(180deg, rgba(255,92,122,.10), rgba(155,92,255,.10)); }
.table thead .us { color: var(--fg); font-weight: 800; }
.table .yes { color: var(--ok); font-weight: 600; }
.table .no { color: var(--bad); }
.table .mid, .table .na { color: var(--dim); }

/* privacy */
.privacy { padding: 110px 0; background: radial-gradient(ellipse at 50% 0%, rgba(155,92,255,.12), transparent 60%); border-top: 1px solid var(--line); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { padding: 28px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.pcard h3::before { content: ""; display: block; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 16px; background: var(--grad); opacity: .9; clip-path: polygon(50% 0, 100% 18%, 100% 55%, 50% 100%, 0 55%, 0 18%); }
.pcard p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* pricing */
.pricing { padding: 110px 0; border-top: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 22px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.plan.best { background: linear-gradient(170deg, #2a1f3f, #1b1628 60%); box-shadow: inset 0 0 0 1.5px rgba(255,92,122,.55), 0 30px 60px -30px rgba(155,92,255,.6); }
.ribbon { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--grad); font-size: 12.5px; font-weight: 700; }
.price { margin-top: 12px; font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.first { margin-top: 2px; color: #ffc2d0; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; color: var(--muted); font-size: 15.5px; flex: 1; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 9px; }
.passes { text-align: center; margin-top: 30px; color: var(--muted); }
.passes b { color: var(--fg); }
.fine { text-align: center; margin-top: 8px; color: var(--dim); font-size: 13.5px; }

/* faq */
.faq { padding: 110px 0; border-top: 1px solid var(--line); }
.faq details { border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--pink); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 16px; }

/* final */
.final { padding: 120px 0; text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(255,92,122,.18), transparent 60%), radial-gradient(ellipse at 50% 0%, rgba(155,92,255,.14), transparent 55%); border-top: 1px solid var(--line); }
.final-in { display: grid; justify-items: center; gap: 18px; }
.final h2 { max-width: 760px; }
.final .btn { margin-top: 10px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0; color: var(--dim); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--fg); }
.foot p { margin-left: auto; }

/* ---------------------------------------------------------------- legal pages */
.doc { padding: 70px 0 100px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); }
.doc .updated { margin-top: 10px; color: var(--dim); }
.doc h2 { font-size: 22px; margin-top: 40px; }
.doc p, .doc li { color: var(--muted); }
.doc p { margin-top: 12px; }
.doc ul { margin-top: 12px; display: grid; gap: 8px; }
.doc b { color: var(--fg); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero-in, .two, .video-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .browser { transform: none; }
  .compare, .pgrid, .plans, .steps { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .nav-in { justify-content: space-between; }
  .speed-tag { right: 10px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .feature, .how, .privacy, .pricing, .faq { padding: 76px 0; }
  .panel { height: 170px; }
  .bubble { min-width: 110px; font-size: 14px; padding: 12px 14px; }
  .figure { width: 110px; height: 130px; }
  .ph-video { width: 70%; }
  .foot p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
