/* BVS PDF Editor - marketing site */
:root {
  --bg: #f2f3f5;
  --bg-tint: #e9ebef;
  --surface: #ffffff;
  --ink: #0f1626;
  --muted: #465065;
  --line: rgba(15, 22, 38, 0.09);
  --navy: #10306e;
  --navy-deep: #0a1a3d;
  --blue: #1b4aa8;
  --gold: #e3a71f;
  --gold-soft: #fbefcc;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Geist", "Segoe UI", system-ui, sans-serif;
  --gutter: 16px;
  --r-xl: 2rem;
  --pad-bezel: 8px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 650; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; transition: top 0.3s var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; position: relative; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
h2 { font-size: clamp(2rem, 5.6vw, 3.5rem); }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 52ch; }

.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(16, 48, 110, 0.07);
  box-shadow: inset 0 0 0 1px rgba(16, 48, 110, 0.1);
  color: var(--navy);
  margin-bottom: 20px;
}
.eyebrow-dark { background: rgba(255, 255, 255, 0.08); color: #dbe4f8; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }

/* ---------- Double bezel ---------- */
.bezel {
  padding: var(--pad-bezel);
  border-radius: var(--r-xl);
  background: rgba(15, 22, 38, 0.045);
  box-shadow: 0 0 0 1px rgba(15, 22, 38, 0.06), 0 50px 90px -40px rgba(16, 48, 110, 0.35);
}
.core {
  border-radius: calc(var(--r-xl) - var(--pad-bezel));
  background: var(--surface);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 1), 0 1px 3px rgba(15, 22, 38, 0.05);
  padding: 28px;
  height: 100%;
}
.core-dark {
  background: linear-gradient(160deg, #13306b 0%, #0a1a3d 100%);
  color: #fff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
}
.core-dark p { color: #c9d5ef; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.6s var(--ease), background-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn b { font-weight: 600; margin-left: 4px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -14px rgba(16, 48, 110, 0.7); }
.btn-primary:hover { background: #0c2656; }
.btn:active { transform: scale(0.98); }
.btn-ico {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy-deep);
  transition: transform 0.6s var(--ease);
}
.btn:hover .btn-ico { transform: translate(3px, -1px) scale(1.06); }
.btn-sm { padding: 5px 5px 5px 18px; font-size: 0.9375rem; gap: 10px; }
.btn-sm .btn-ico { width: 32px; height: 32px; }
.btn-lg { font-size: 1.125rem; padding-left: 32px; }
.btn-lg .btn-ico { width: 46px; height: 46px; }
.link-quiet { color: var(--ink); font-weight: 500; text-decoration-thickness: 1px; padding: 10px 4px; }
.link-quiet:hover { color: var(--blue); }
.link-light { color: #fff; display: inline-block; margin-top: 24px; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 30; display: flex; justify-content: center; padding-inline: var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 22px;
  width: 100%; max-width: 920px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(15, 22, 38, 0.07), 0 18px 40px -20px rgba(16, 48, 110, 0.3);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; margin-right: auto; }
.brand img { border-radius: 7px; }
.nav-links { display: none; gap: 4px; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 0.9375rem; transition: background-color 0.5s var(--ease), color 0.5s var(--ease); }
.nav-links a:hover { background: rgba(16, 48, 110, 0.07); color: var(--ink); }
.nav-buy { display: none; }
.burger { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(16, 48, 110, 0.07); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.6s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 20;
  display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: 100px 28px 40px;
  background: rgba(242, 243, 245, 0.86);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
.menu.open { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease), visibility 0s; }
.menu li { overflow: hidden; }
.menu li a { display: block; font-family: var(--f-display); font-size: 2.5rem; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; padding: 6px 0; transform: translateY(100%); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.8s var(--ease); }
.menu.open li a { transform: translateY(0); opacity: 1; }
.menu.open li:nth-child(1) a { transition-delay: 0.1s; }
.menu.open li:nth-child(2) a { transition-delay: 0.15s; }
.menu.open li:nth-child(3) a { transition-delay: 0.2s; }
.menu.open li:nth-child(4) a { transition-delay: 0.25s; }
.menu.open li:nth-child(5) a { transition-delay: 0.3s; }
.menu-buy { align-self: flex-start; }

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-buy { display: inline-flex; }
  .burger { display: none; }
  .menu { display: none; }
}

/* ---------- Window frame ---------- */
.win { border-radius: calc(var(--r-xl) - var(--pad-bezel)); overflow: hidden; background: #12162a; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12); }
.win-bar { display: flex; align-items: center; justify-content: space-between; height: 36px; padding-left: 14px; background: #171b30; color: #c4cadc; font-size: 0.75rem; }
.win-title { display: inline-flex; align-items: center; gap: 8px; }
.win-title img { border-radius: 3px; }
.win-ctl { display: flex; height: 100%; }
.win-ctl i { width: 40px; display: grid; place-items: center; position: relative; }
.win-ctl i::before { content: ""; display: block; }
.win-ctl .min::before { width: 10px; height: 1px; background: #c4cadc; }
.win-ctl .max::before { width: 9px; height: 9px; border: 1px solid #c4cadc; }
.win-ctl .cls::before, .win-ctl .cls::after { position: absolute; width: 12px; height: 1px; background: #c4cadc; content: ""; transform: rotate(45deg); }
.win-ctl .cls::after { transform: rotate(-45deg); }
.shot { display: block; width: 100%; height: auto; background: #12162a; }

/* ---------- Hero ---------- */
.hero { padding: 128px 0 72px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 640px; z-index: -1;
  background: radial-gradient(60% 70% at 85% 0%, rgba(227, 167, 31, 0.16), transparent 70%), radial-gradient(50% 60% at 5% 10%, rgba(27, 74, 168, 0.12), transparent 70%);
}
.hero-head { display: grid; gap: 28px; margin-bottom: 48px; }
.hero h1 { font-size: clamp(2.5rem, 9.4vw, 5.2rem); letter-spacing: -0.035em; line-height: 0.98; }
.hero h1 .soft { color: var(--blue); display: block; }
.hero-side .lede { margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.9375rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero-stage { position: relative; }
.ba { position: relative; background: #12162a; aspect-ratio: 1440 / 900; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.9s var(--ease); }
.ba-after { opacity: 0; }
.ba[data-state="after"] .ba-after { opacity: 1; }
.ba[data-state="after"] .ba-before { opacity: 0; }
.ba-ring {
  position: absolute; left: 21.6%; top: 55.1%; width: 34%; height: 4.9%;
  border-radius: 5px; box-shadow: 0 0 0 2px var(--gold);
  animation: ring 2.6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes ring { 0%, 100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.012); } }
.ba-ctl {
  display: flex; width: max-content; max-width: 100%; margin: 22px auto 0; padding: 5px; gap: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.8); box-shadow: 0 0 0 1px var(--line);
}
.ba-btn {
  font: inherit; font-size: 0.9375rem; font-weight: 500; color: var(--muted);
  border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
}
.ba-btn.is-on { background: var(--navy); color: #fff; }

@media (min-width: 900px) {
  .hero { padding: 168px 0 96px; }
  .hero-head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 56px; margin-bottom: 64px; }
  .hero-side { padding-bottom: 8px; }
}

/* ---------- Split / steps ---------- */
.split { display: grid; gap: 48px; align-items: center; }
.steps { margin-top: 36px; display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 650; font-size: 1.15rem; color: var(--navy); background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(227, 167, 31, 0.5); }
.steps h3 { font-size: 1.4rem; margin-bottom: 6px; letter-spacing: -0.015em; }
.steps p { color: var(--muted); }
.split-shot { margin: 0; }
figcaption { margin-top: 16px; padding-inline: 8px; color: var(--muted); font-size: 0.9375rem; }
figcaption b { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .section { padding-block: 128px; }
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
  .split-shot { transform: translateX(24px); }
}

/* ---------- Features bento ---------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card .core { display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.5rem; letter-spacing: -0.015em; }
.card p { color: var(--muted); }
.card .core-dark p { color: #c9d5ef; }
.card .core-dark p.big-num { color: var(--gold); }
.icon-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(16, 48, 110, 0.07); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(16, 48, 110, 0.08); margin-bottom: 14px; font-size: 1.1rem; }
.icon-badge-dark { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); margin-bottom: 0; }
.core-dark .icon-badge { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.big-num { font-family: var(--f-display); font-weight: 650; font-size: clamp(4.5rem, 14vw, 7.5rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--gold) !important; }

.demo { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.demo-line { position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 12px 16px; border-radius: 6px; box-shadow: 0 0 0 2px var(--gold); background: #fff; font-family: var(--f-body); font-size: 1.05rem; color: var(--ink); }
.demo-text s { color: #8a92a5; text-decoration-thickness: 1px; }
.demo-text em { font-style: normal; font-weight: 600; }
.demo-caret { width: 2px; height: 1.3em; background: var(--navy); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.keycap { padding: 6px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 500; color: var(--navy); background: linear-gradient(#fff, #eef0f4); box-shadow: 0 0 0 1px var(--line), 0 2px 0 rgba(15, 22, 38, 0.12); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; font-size: 0.9375rem; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

.export-grid { display: grid; gap: 28px; }
.export-grid h3 { margin-bottom: 10px; }
.specs { display: grid; gap: 0; align-content: center; }
.specs div { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; flex: none; }
.specs dd { margin: 0; color: var(--muted); text-align: right; }

@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .c-edit { grid-column: span 7; }
  .c-fonts { grid-column: span 5; }
  .c-format { grid-column: span 7; }
  .c-tools { grid-column: span 5; }
  .c-export { grid-column: span 12; }
  .export-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .core { padding: 36px; }
}

/* ---------- Privacy ---------- */
.privacy { background: radial-gradient(70% 90% at 90% 0%, rgba(27, 74, 168, 0.45), transparent 70%), var(--navy-deep); color: #fff; }
.privacy .lede { color: #c9d5ef; }
.privacy h2 { margin-bottom: 20px; }
.privacy-grid { display: grid; gap: 48px; align-items: center; }
.priv-list { display: grid; gap: 14px; }
.priv-list li { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: 1.5rem; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.priv-list h3 { font-size: 1.25rem; margin-bottom: 2px; }
.priv-list p { color: #c9d5ef; font-size: 0.9375rem; }
@media (min-width: 900px) { .privacy-grid { grid-template-columns: 1fr 1fr; gap: 88px; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 28px; }
.gallery figure { margin: 0; }
.dialog-stage { display: grid; place-items: center; padding: 40px 20px; border-radius: calc(var(--r-xl) - var(--pad-bezel)); background: linear-gradient(150deg, #dfe6f5, #cdd8ee); }
.dialog-stage-dark { background: linear-gradient(150deg, #13306b, #0a1a3d); }
.dialog { border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(10, 26, 61, 0.55), 0 0 0 1px rgba(10, 26, 61, 0.2); max-width: 100%; height: auto; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, 1fr); gap: 32px 28px; align-items: start; }
  .g-style { grid-column: 1 / span 7; grid-row: 1; }
  .g-welcome { grid-column: 1 / span 7; grid-row: 2; }
  .g-export { grid-column: 8 / span 5; grid-row: 1 / span 2; align-self: center; }
  .g-export .dialog-stage { padding-block: 72px; }
}

/* ---------- Buying ---------- */
.buy-grid { display: grid; gap: 40px; align-items: center; }
.buy-steps { display: grid; gap: 14px; }
.buy-steps li { display: flex; gap: 18px; padding: 22px; border-radius: 1.5rem; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 1px 3px rgba(15, 22, 38, 0.04); }
.buy-steps h3 { font-size: 1.3rem; margin-bottom: 6px; letter-spacing: -0.015em; }
.buy-steps p { color: var(--muted); }
.buy-steps .icon-badge { margin-bottom: 0; flex: none; }
.step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-soft); font-size: 0.8rem; margin-right: 6px; vertical-align: 3px; box-shadow: inset 0 0 0 1px rgba(227, 167, 31, 0.5); }
.buy-shot { margin: 0; }
@media (min-width: 900px) { .buy-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }

/* ---------- Pricing ---------- */
.price-card { max-width: 920px; margin-inline: auto; }
.price-core { display: grid; gap: 36px; padding: 32px 24px; }
.price-label { font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.price { font-family: var(--f-display); font-weight: 700; font-size: clamp(4.5rem, 18vw, 7.5rem); letter-spacing: -0.05em; line-height: 0.9; color: var(--ink); display: flex; align-items: flex-start; }
.price .cur { font-size: 0.38em; margin: 0.18em 6px 0 0; letter-spacing: -0.02em; color: var(--blue); }
.price-note { margin: 18px 0 28px; color: var(--muted); max-width: 30ch; }
.price-small { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); max-width: 38ch; }
.price-list { display: grid; gap: 0; align-content: center; }
.price-list li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 1px solid var(--line); }
.price-list .ico { color: var(--navy); background: var(--gold-soft); border-radius: 50%; padding: 5px; width: 28px; height: 28px; box-shadow: inset 0 0 0 1px rgba(227, 167, 31, 0.5); }
@media (min-width: 900px) { .price-core { grid-template-columns: 1fr 1fr; gap: 56px; padding: 52px; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 40px; }
.faq-head h2 { margin-bottom: 20px; }
.faq-list { display: grid; gap: 10px; }
details { border-radius: 1.25rem; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.6s var(--ease); }
details[open] { box-shadow: 0 0 0 1px rgba(16, 48, 110, 0.25), 0 20px 40px -28px rgba(16, 48, 110, 0.4); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 1.0625rem; }
summary::-webkit-details-marker { display: none; }
.pm { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 48, 110, 0.07); color: var(--navy); transition: transform 0.6s var(--ease), background-color 0.6s var(--ease); }
details[open] .pm { transform: rotate(135deg); background: var(--gold-soft); }
details p { padding: 0 22px 22px; color: var(--muted); max-width: 62ch; }
@media (min-width: 900px) {
  .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
  .faq-head { position: sticky; top: 110px; }
}

/* ---------- Footer ---------- */
.footer { padding: 80px 0 40px; }
.foot-top { display: grid; gap: 40px; }
.foot-brand p { margin-top: 18px; color: var(--muted); font-size: 0.9375rem; }
.foot-nav h2 { font-family: var(--f-body); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-nav li { margin-bottom: 8px; }
.foot-nav a { color: var(--ink); text-decoration: none; }
.foot-nav a:hover { color: var(--blue); text-decoration: underline; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Legal pages ---------- */
.legal-page { background: var(--bg); }
.legal-top { padding: 22px 0; }
.legal-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.legal-top a.back { color: var(--ink); font-weight: 500; text-decoration: none; padding: 8px 4px; }
.legal-top a.back:hover { color: var(--blue); }
.legal-main { padding: 24px 0 72px; }
.legal-doc { max-width: 760px; margin-inline: auto; }
.legal-doc .bezel { margin-top: 8px; }
.legal-doc .core { padding: 28px 22px; }
.legal-doc h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); margin-bottom: 10px; }
.legal-doc .ver { color: var(--muted); margin-bottom: 28px; }
.legal-doc h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 34px 0 10px; }
.legal-doc p, .legal-doc li { margin-bottom: 12px; overflow-wrap: anywhere; }
.legal-doc ul { margin: 0 0 12px; padding-left: 1.3em; list-style: disc; }
.legal-doc ul li { margin-bottom: 8px; padding-left: 4px; }
.legal-doc .clause { padding-left: 0; }
.legal-doc .tp { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 6px; font-size: 0.98rem; }
.legal-doc .tp-sec { padding: 18px 0; border-top: 1px solid var(--line); }
.legal-doc .tp-sec:first-of-type { border-top: 0; }
.legal-docs-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: 0.9375rem; }
@media (min-width: 700px) { .legal-doc .core { padding: 48px 56px; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 420px) {
  .btn-lg { padding-left: 24px; }
  .ba-btn { padding: 10px 12px; font-size: 0.875rem; }
  .core { padding: 22px; }
}
