/* TransTodo — transtodo.com. Colours from the logo: ink #0D0B14 → #2A2140,
   white speech bubble, pink → violet spark #FF5C7A → #9B5CFF.
   Layout: dark + glow, an interactive before/after hero, a bento grid. */

@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: #0b0912;
  --ink-1: #12101a;
  --ink-2: #18141f;
  --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: 22px;
  --wrap: 1180px;
  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.16; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 44px); 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); flex: none;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; 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-family: inherit; font-weight: 700; font-size: 15.5px; line-height: 1;
  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 .2s ease, filter .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); box-shadow: 0 16px 40px -12px rgba(155, 92, 255, .75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn:active { transform: translateY(0) scale(.98); }
.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(11, 9, 18, .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; transition: color .15s; }
.nav nav a:hover { color: var(--fg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 76px 0 70px; }
.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: -170px; right: 6%; }
.g2 { width: 620px; height: 620px; background: radial-gradient(circle, rgba(155, 92, 255, .5), transparent 65%); bottom: -320px; left: -170px; }
.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: 1fr 1.02fr; 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(36px, 4.6vw, 60px); 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: 26px 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; }

/* ---------------------------------------------------------------- before / after */
.tryit { position: relative; }
.ba {
  position: relative; border-radius: var(--r); overflow: hidden; background: #f2efe8;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px var(--line-2), 0 0 90px -30px rgba(155,92,255,.55);
  user-select: none; touch-action: pan-y;
}
.ba-page { padding: 14px; display: grid; gap: 12px; background: #f2efe8; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--grad); box-shadow: 0 0 18px rgba(255,92,122,.7); }
.ba-handle span {
  position: absolute; top: 50%; left: 0; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #17131f; box-shadow: 0 0 0 3px #fff, 0 10px 24px rgba(0,0,0,.5);
}
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.ba-handle span::before { left: 7px; border-right-color: #fff; }
.ba-handle span::after { right: 7px; border-left-color: #fff; }
.ba-tag { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(23,19,31,.82); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.ba-tag.left { left: 12px; }
.ba-tag.right { right: 12px; background: var(--grad); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + * { outline: none; }
.ba:has(.ba-range:focus-visible) { box-shadow: 0 0 0 3px var(--pink), 0 40px 90px -30px rgba(0,0,0,.85); }
.ba .vi .m, .ba .vi .t { grid-area: 1 / 1; transition: opacity .3s ease, transform .3s ease; }
.ba .vi .m { opacity: 0; transform: translateY(4px); }
.ba[data-mode="m"] .vi .m { opacity: 1; transform: none; }
.ba[data-mode="m"] .vi .t { opacity: 0; transform: translateY(-4px); }

.panel { position: relative; height: 215px; 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 78% 62%, 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; 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: 210px; padding: 15px 20px;
  background: #fff; color: #111; border: 2.5px solid #111; border-radius: 50%;
  font: 600 16.5px/1.22 "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: 18px; left: 18px; width: 200px; }
.b1::after { bottom: -10px; right: 36px; transform: rotate(35deg); }
.b3 { top: 108px; left: 130px; width: 236px; max-width: none; }
.b3::after { bottom: -10px; right: 24px; transform: rotate(35deg); }
.b2 { top: 20px; right: 20px; width: 220px; }
.b2::after { bottom: -10px; left: 30px; transform: rotate(55deg); }
.sfx { position: absolute; left: 44%; bottom: 24px; display: grid; justify-items: center; min-width: 130px; font: 800 38px/1 "Be Vietnam Pro", sans-serif; color: #fff; -webkit-text-stroke: 2px #17131f; transform: rotate(-8deg); }
.switcher {
  display: flex; gap: 4px; width: max-content; margin: 18px auto 0; padding: 5px; border-radius: 999px;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2);
}
.switcher button {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: none; color: var(--muted); font: 600 14.5px/1 "Be Vietnam Pro", sans-serif; transition: background .2s, color .2s;
}
.switcher button:hover { color: var(--fg); }
.switcher button.on { background: rgba(255,255,255,.08); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.demo-cap { margin-top: 12px; color: var(--dim); font-size: 13.5px; text-align: center; }
.demo-cap b { color: var(--muted); font-weight: 600; }

/* ---------------------------------------------------------------- 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 32px; padding: 22px 0; color: var(--dim); font-weight: 700; font-size: 15px; }
.strip-in span:last-child { color: var(--fg); }

/* ---------------------------------------------------------------- sections */
.kicker { color: var(--pink); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.center-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.sub { margin-top: 16px; color: var(--muted); font-size: 18px; }
.feature.slim { padding: 90px 0; }

/* ---------------------------------------------------------------- bento */
.bento-sec { padding: 100px 0 110px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cell {
  position: relative; display: flex; flex-direction: column; gap: 22px; overflow: hidden;
  padding: 28px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), var(--ink-1);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s ease, transform .25s ease;
}
.cell::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(500px circle at 50% 0%, rgba(155,92,255,.12), transparent 60%);
}
.cell:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transform: translateY(-2px); }
.cell:hover::before { opacity: 1; }
.cell-copy p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.cell-copy b { color: var(--fg); }
.c-comic { grid-column: span 4; flex-direction: row; align-items: center; }
.c-comic .cell-copy { flex: 1 1 42%; }
.c-notebook { grid-column: span 2; grid-row: span 2; }
.c-style { grid-column: span 4; flex-direction: row; align-items: center; }
.c-style .cell-copy { flex: 1 1 52%; }
.c-yt { grid-column: span 3; }
.c-video { grid-column: span 3; flex-direction: row; align-items: center; }
.c-novel { grid-column: span 4; flex-direction: row; align-items: center; }
.c-novel .cell-copy { flex: 1 1 44%; }
.c-privacy { grid-column: span 2; background: linear-gradient(160deg, rgba(255,92,122,.14), rgba(155,92,255,.16)), var(--ink-1); }

.mock { position: relative; flex: 1 1 56%; min-width: 0; }
/* mini comic */
.mini-comic {
  height: 250px; border-radius: 14px; background: #f2efe8; border: 1px solid var(--line-2);
  background-image: repeating-linear-gradient(115deg, transparent 0 22px, rgba(23,19,31,.05) 22px 24px);
}
.mini-comic::before { content: ""; position: absolute; inset: 12px; border: 3px solid #17131f; border-radius: 4px; }
.mc-bubble { position: absolute; display: grid; max-width: 220px; padding: 12px 18px; background: #fff; color: #111; border: 2.5px solid #111; border-radius: 46%; font: 600 15px/1.25 "Be Vietnam Pro", sans-serif; text-align: center; }
.mc-bubble.a { left: 30px; top: 30px; }
.mc-bubble.b { right: 26px; top: 100px; }
.mc-bubble.c { left: 54px; bottom: 30px; font-size: 18px; }
.mc-speed { position: absolute; right: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px; background: #17131f; color: #fff; font-size: 12px; font-weight: 700; }
.mc-bubble span, .novel span { grid-area: 1 / 1; transition: opacity .45s ease, transform .45s ease; }
.mc-bubble .v, .novel .v { opacity: 0; transform: scale(.92); }
.done .mc-bubble .o, .done .novel .o { opacity: 0; transform: scale(.96); }
.done .mc-bubble .v, .done .novel .v { opacity: 1; transform: none; }
.done .mc-bubble { animation: pop .5s cubic-bezier(.3,1.6,.5,1) both; }
.done .mc-bubble.b { animation-delay: .12s; }
.done .mc-bubble.c { animation-delay: .24s; }
.done .mc-bubble.b span { transition-delay: .12s; }
.done .mc-bubble.c span { transition-delay: .24s; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
/* notebook */
.notebook {
  flex: 1; padding: 18px 20px; border-radius: 14px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14px; color: var(--muted); display: grid; align-content: start; gap: 6px;
}
.notebook .nb-head { display: flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 700; margin-bottom: 6px; }
.notebook b { color: var(--dim); font-size: 11.5px; letter-spacing: .08em; }
.notebook em { font-style: normal; color: var(--fg); font-weight: 600; }
.notebook .rule { margin-top: 8px; padding: 9px 12px; border-radius: 10px; background: linear-gradient(100deg, rgba(255,92,122,.16), rgba(155,92,255,.18)); color: #ffd2e6; font-weight: 600; }
/* style chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.chip { padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-size: 14px; font-weight: 600; }
.chip.on { background: var(--grad); color: #fff; box-shadow: none; }
/* YouTube */
.yt { flex: none; position: relative; aspect-ratio: 16 / 8.2; 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: 10%; transform: translateX(-50%); width: 88%; 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.2vw, 14px); 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; } }
/* Douyin phone */
.phone { flex: 0 0 44%; display: grid; place-items: center; }
.ph-video {
  position: relative; width: 100%; max-width: 190px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  border: 6px solid #07060b; 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: 94%; display: grid; justify-items: center; gap: 4px; text-align: center; font-weight: 800; color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; }
.ph-label { top: 36%; color: #ffe14d !important; font-size: 19px; }
.ph-sub { bottom: 12%; font-size: 10.5px; }
.ph-video em { font-style: normal; font-weight: 600; text-shadow: none; color: #fff; background: rgba(10, 8, 16, .75); padding: 2px 7px; border-radius: 6px; font-size: 10.5px; }
/* novel */
.novel { display: grid; gap: 12px; padding: 20px 22px; border-radius: 14px; background: #f5f1e8; color: #2a2433; font: 400 15.5px/1.65 "Be Vietnam Pro", sans-serif; }
.novel p { display: grid; }
.novel p.dim { color: #5b5466; }
/* privacy */
.mini-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.mini-list li { position: relative; padding-left: 26px; }
.mini-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2) { transition-delay: .06s; }
.bento .reveal:nth-child(3) { transition-delay: .1s; }
.bento .reveal:nth-child(4) { transition-delay: .06s; }
.bento .reveal:nth-child(5) { transition-delay: .12s; }
.bento .reveal:nth-child(6) { transition-delay: .06s; }
.bento .reveal:nth-child(7) { transition-delay: .12s; }

/* ---------------------------------------------------------------- how */
.how { padding: 100px 0; border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding: 28px; border-radius: var(--r); background: var(--ink-1); 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 */
#so-sanh { border-top: 1px solid var(--line); }
.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); }

/* ---------------------------------------------------------------- pricing */
.pricing { padding: 100px 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(155,92,255,.10), transparent 60%); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--r); background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); }
.plan.best { background: linear-gradient(170deg, #2a1f3f, #18141f 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: 100px 0; border-top: 1px solid var(--line); }
.faq details { border-radius: 16px; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; transition: box-shadow .2s; }
.faq details:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.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: 1020px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-comic, .c-style, .c-novel { grid-column: span 2; }
  .c-notebook { grid-column: span 1; grid-row: auto; }
  .c-yt, .c-video, .c-privacy { grid-column: span 1; }
  .c-video { flex-direction: column; }
  .nav nav { display: none; }
  .nav-in { justify-content: space-between; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .bento > .cell { grid-column: auto; flex-direction: column; align-items: stretch; }
  .plans, .steps { grid-template-columns: 1fr; }
  .bento-sec, .how, .pricing, .faq { padding: 72px 0; }
  .panel { height: 175px; }
  .bubble { min-width: 0; font-size: 13px; padding: 10px 12px; }
  .b1 { width: 150px; }
  .b2 { width: 160px; }
  .b3 { top: 92px; left: 60px; width: 180px; }
  .figure { width: 110px; height: 130px; }
  .sfx { font-size: 30px; }
  .phone { flex: none; }
  .foot p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
