/* Niche Dial landing page (niche-dialer.com). Same design as the Niche Sign
   landing (nichesign.com) and niche-engine.com:
   white paper, black ink, orange accent, dark bands for contrast. */

:root {
  --ink: #0a0a0a;
  --night: #0b0b0d;
  --night-2: #141418;
  --paper: #ffffff;
  --cream: #fbfaf7;
  --orange: #ff6b1f;
  --orange-2: #ff8a4c;
  --orange-deep: #e5540a;
  --glow: rgba(255, 107, 31, 0.35);
  --line: rgba(10, 10, 10, 0.08);
  --line-night: rgba(255, 255, 255, 0.1);
  --muted: #4a4a4a;
  --muted-2: #6e6e6e;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 60; background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 650; }
.h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 640; }
.h3 { font-size: clamp(19px, 1.8vw, 21px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 620; }
.h1, .h2 { text-wrap: balance; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }
.night .lede { color: rgba(255, 255, 255, 0.68); }
.gradient-text {
  background: linear-gradient(100deg, var(--orange) 0%, #ffb27a 45%, var(--orange) 90%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.center { text-align: center; margin-inline: auto; }
.narrow { max-width: 760px; }

/* ---------- Surfaces ---------- */
.night { background: var(--night); color: #fff; }
.cream { background: var(--cream); }
.band { position: relative; padding-block: 56px; }
@media (min-width: 768px) { .band { padding-block: 80px; } }
.card {
  background: #fff; border-radius: 20px; padding: 28px;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 10, 10, 0.03), 0 12px 32px -18px rgba(10, 10, 10, 0.18);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 31, 0.45), 0 0 0 4px rgba(255, 107, 31, 0.06), 0 24px 48px -24px rgba(255, 107, 31, 0.35);
}
.glass {
  background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 24px;
  box-shadow: inset 0 0 0 1px var(--line-night);
}

.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.aurora::before {
  width: 620px; height: 620px; left: -160px; top: -220px;
  background: radial-gradient(circle, rgba(255, 107, 31, 0.75), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora::after {
  width: 520px; height: 520px; right: -140px; top: 80px;
  background: radial-gradient(circle, rgba(255, 160, 90, 0.55), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(80px, 60px, 0) scale(1.15); } }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-night) 1px, transparent 1px), linear-gradient(90deg, var(--line-night) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btns.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform 200ms, box-shadow 200ms, background 200ms;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #fff;
  box-shadow: 0 8px 24px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(255, 107, 31, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.3); }
.night .btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; box-shadow: inset 0 0 0 1px var(--line-night); }
.night .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.arrow { transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background 300ms, box-shadow 300ms, color 300ms; }
.header.is-scrolled { background: rgba(255, 255, 255, 0.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.brand b { font-weight: 600; color: var(--orange); }
.nav { display: none; gap: 4px; font-size: 14.5px; font-weight: 500; }
.nav a { padding: 8px 14px; border-radius: 999px; opacity: 0.85; }
.nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.header.is-scrolled .menu-btn, .header.is-open .menu-btn { box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.16); }
.js .menu-btn { display: inline-flex; }
.btn-login { color: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn-login:hover { background: rgba(255, 255, 255, 0.08); }
.header.is-scrolled .btn-login, .header.is-open .btn-login { box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.16); }
.header.is-scrolled .btn-login:hover, .header.is-open .btn-login:hover { background: rgba(10, 10, 10, 0.04); }
@media (max-width: 479px) { .btn-login { display: none; } }
@media (min-width: 900px) { .nav .nav-login { display: none; } }
@media (max-width: 899px) {
  .header.is-open { background: rgba(255, 255, 255, 0.98); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
  .header.is-open .nav {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    padding: 8px 20px 20px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 32px -24px rgba(10, 10, 10, 0.25);
  }
  .header.is-open .nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; opacity: 1; }
  .header.is-open .nav a:last-child { border-bottom: 0; }
}
@media (min-width: 900px) { .nav { display: flex; } .js .menu-btn { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: 68px; isolation: isolate; overflow: hidden; }
.hero-inner { position: relative; padding-block: 48px 64px; text-align: center; }
@media (min-width: 768px) { .hero-inner { padding-block: 72px 88px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
  font-size: 13px; color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-night);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }
.hero .h1 { max-width: 920px; margin: 28px auto 0; }
.hero .lede { max-width: 680px; margin: 24px auto 0; }

/* The signing screen mock in the hero. */
.mock { position: relative; max-width: 860px; margin: 56px auto 0; text-align: left; }
.mock-frame {
  border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.1), 0 30px 80px -30px rgba(10, 10, 10, 0.45), 0 0 120px -40px var(--glow);
}
.mock-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f6f5f2; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e0dc; }
.mock-bar span { margin-left: 10px; font-size: 11px; color: #8a8a8a; }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.mock-top strong { font-size: 15px; }
.mock-top small { display: block; font-size: 12.5px; color: var(--muted-2); }
.mock-count { font-size: 12.5px; font-weight: 600; color: var(--orange-deep); background: rgba(255, 107, 31, 0.1); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.mock-page { background: #f3f2ef; padding: 24px 20px; }
.paper { background: #fff; max-width: 560px; margin: 0 auto; padding: 28px 32px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.paper h4 { margin: 0 0 14px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.line { height: 8px; border-radius: 4px; background: #eeede9; margin-bottom: 9px; }
.fields { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 22px; }
.field { border-radius: 6px; padding: 8px 10px; font-size: 11px; color: var(--muted-2); border: 1.5px dashed rgba(255, 107, 31, 0.6); background: rgba(255, 107, 31, 0.06); min-height: 52px; }
.field.done { border-style: solid; border-color: rgba(10, 10, 10, 0.12); background: #fff; }
.sig { font-family: 'Caveat', 'Segoe Script', cursive; font-size: 28px; line-height: 1; color: #1b2a6b; margin-top: 4px; }
.date { font-size: 14px; color: var(--ink); margin-top: 8px; font-weight: 500; }
.mock-foot { display: flex; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--line); }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }

/* The dialer screen mock in the hero. */
.dial { display: grid; gap: 16px; padding: 20px; background: #f3f2ef; }
@media (min-width: 720px) { .dial { grid-template-columns: 1.1fr 1fr; padding: 24px; } }
.dial-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.dial-lines, .dial-card { background: #fff; border-radius: 10px; padding: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.dial-line {
  display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--muted-2);
}
.dial-line b { display: block; font-weight: 600; color: var(--ink); }
.dial-line small { display: block; font-size: 11.5px; }
.dial-line em { margin-left: auto; font-style: normal; font-size: 12px; white-space: nowrap; }
.dial-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #d6d3ce; }
.dial-line.is-live { background: rgba(255, 107, 31, 0.07); box-shadow: inset 0 0 0 1.5px rgba(255, 107, 31, 0.55); }
.dial-line.is-live .dial-dot { background: #1f9d55; box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.15); }
.dial-line.is-live em { font-weight: 600; color: #157a3c; }
.dial-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dial-btn { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.14); }
.dial-btn.is-end { color: #fff; background: #d64545; box-shadow: none; }
.dial-card strong { display: block; margin-top: 8px; font-size: 16px; }
.dial-card small { display: block; font-size: 12.5px; color: var(--muted-2); }
.dial-phones { display: grid; gap: 6px; margin-top: 12px; font-size: 12.5px; }
.dial-phones li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: var(--muted-2); background: rgba(10, 10, 10, 0.05); white-space: nowrap; }
.tag-good { color: #157a3c; background: rgba(21, 122, 60, 0.1); }
.tag-bad { color: #b42318; background: rgba(180, 35, 24, 0.08); }
.dial-script { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.dial-script p + p { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.fine { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); }
.fine a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.step-n svg { display: block; }
/* The chips hang off the frame's edges so they never cover the dialer. */
.mock-dial .chip-1 { left: -5%; top: auto; bottom: -28px; }
.mock-dial .chip-2 { right: -5%; top: -26px; }

.chip {
  position: absolute; z-index: 2; display: none; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: float 6s ease-in-out infinite;
}
.chip-ic { display: inline-flex; width: 32px; height: 32px; flex: none; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 107, 31, 0.12); color: var(--orange); }
.chip b { display: block; font-size: 13.5px; line-height: 1.2; }
.chip span span { display: block; font-size: 12px; color: #8a8a8a; margin-top: 2px; }
.chip-1 { left: -6%; top: 26%; }
.chip-2 { right: -6%; top: 58%; animation-delay: -3s; }
@media (min-width: 1000px) { .chip { display: flex; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.head { max-width: 760px; }
.head .h2 { margin-top: 16px; }
.head .lede { margin-top: 20px; }
.grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.icon {
  display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 16px; color: #fff;
  background: linear-gradient(140deg, #ff9a5c, #ff6b1f);
}
.card .h3 { margin-top: 22px; }
.card p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 4px; }
.step-n {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%;
  font-size: 14px; font-weight: 600; color: var(--orange-2); background: var(--night-2);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 31, 0.5), 0 0 24px -4px var(--glow);
}
.step .h3 { margin-top: 18px; }
.step p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.65); }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; } }
.checks { display: grid; gap: 14px; margin-top: 28px; font-size: 16px; }
.checks li { display: flex; gap: 12px; }
.checks svg { flex: none; margin-top: 3px; }
.checks strong { font-weight: 600; }
.checks span span { color: var(--muted); }

.cert { padding: 28px; }
.cert-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cert-head b { font-size: 16px; }
.badge { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; color: #157a3c; background: rgba(21, 122, 60, 0.1); }
.cert-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cert-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cert-row dt { color: var(--muted-2); }
.cert-row dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 1fr 1.6fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { padding-top: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic {
  display: inline-flex; flex: none; width: 24px; height: 24px; margin-top: 2px; align-items: center; justify-content: center; border-radius: 50%;
  font-size: 18px; line-height: 1; color: var(--orange); background: rgba(255, 107, 31, 0.1); transition: transform 250ms;
}
.faq details[open] .faq-ic { transform: rotate(45deg); }
.faq p { margin-top: 12px; max-width: 720px; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.faq p a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { padding-block: 48px 40px; }
.footer-row { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .footer-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer p { max-width: 380px; margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.footer ul { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14.5px; }
.footer ul a { color: rgba(255, 255, 255, 0.75); }
.footer ul a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; font-size: 13.5px; }
.footer .footer-legal a { color: rgba(255, 255, 255, 0.6); }
.footer .footer-legal a:hover { color: #fff; }
.footer-base { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--line-night); font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ---------- Legal pages (privacy.html, terms.html and the rest) ---------- */
.legal-hero { padding-top: 68px; overflow: hidden; isolation: isolate; }
.legal-hero-inner { position: relative; padding-block: 56px 48px; }
@media (min-width: 768px) { .legal-hero-inner { padding-block: 72px 56px; } }
.legal-hero .h1 { margin-top: 18px; font-size: clamp(36px, 5vw, 56px); }
.legal-hero .lede { margin-top: 18px; max-width: 680px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 24px; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.legal-meta span { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-night); }
.legal-layout { display: grid; gap: 40px; }
.legal-layout > * { min-width: 0; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; } }
.legal-toc { font-size: 14px; }
@media (min-width: 1000px) { .legal-toc { position: sticky; top: 96px; } }
.legal-toc p { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.legal-toc ol { display: grid; gap: 2px; margin-top: 12px; }
.legal-toc a { display: block; padding: 6px 0; color: var(--muted); line-height: 1.35; }
.legal-toc a:hover { color: var(--ink); }
.legal-body { max-width: 760px; font-size: 16.5px; line-height: 1.7; color: #2b2b2b; }
.legal-body h2 { margin-top: 48px; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 640; color: var(--ink); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin-top: 28px; font-size: 18px; line-height: 1.3; font-weight: 620; color: var(--ink); }
.legal-body p { margin-top: 14px; }
.legal-body ul, .legal-body ol { margin-top: 14px; padding-left: 22px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-top: 8px; padding-left: 4px; }
.legal-body li::marker { color: var(--orange); }
.legal-body a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { font-weight: 620; color: var(--ink); }
.legal-caps { text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; }
.legal-note {
  margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px;
}
.legal-note p:first-child { margin-top: 0; }
.legal-table-wrap { margin-top: 20px; overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 600; color: var(--ink); background: var(--cream); white-space: nowrap; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-index { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 700px) { .legal-index { grid-template-columns: repeat(2, 1fr); } }

/* ---------- One-off spacing (the page has no style attributes: _headers allows none) ---------- */
.w-96 { width: 96%; }
.w-92 { width: 92%; }
.w-88 { width: 88%; }
.w-64 { width: 64%; }
.layer { position: relative; }
.clip { overflow: hidden; isolation: isolate; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }

/* ---------- Reveal on scroll (content is visible without JavaScript) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Book a call popup ---------- */
.book {
  width: min(960px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink); overflow: hidden;
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.55);
}
.book[open] { display: flex; flex-direction: column; }
.book::backdrop { background: rgba(10, 10, 10, 0.62); backdrop-filter: blur(4px); }
.book-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line); }
.book-head p { margin: 0; font-size: 16px; font-weight: 600; }
.book-close {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer;
}
.book-close:hover { background: rgba(10, 10, 10, 0.06); }
.book-body { position: relative; flex: 1; min-height: 0; overflow-y: auto; }
.book-loading { position: absolute; inset: 48px 0 auto; margin: 0; text-align: center; color: var(--muted-2); font-size: 15px; }
.book.is-ready .book-loading { display: none; }
.book-frame { position: relative; display: block; width: 100%; height: 720px; border: 0; }
html.book-open { overflow: hidden; }
@media (max-width: 599px) {
  .book { width: 100vw; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
}
