/* Callmeleon marketing site. Tokens mirror web/src/styles.css so the site and the app look like one product. */

:root {
  --ink: #0f1222; --ink-2: #2b3046; --muted: #646a82; --faint: #9ca1b6;
  --line: #e7e8ef; --soft: #f1f2f7; --bg: #f6f6f9; --surface: #fff;
  --violet: #6b4bff; --violet-2: #8a6dff; --violet-soft: #efebff; --violet-ink: #4b2fe0;
  --go: #10b981; --go-press: #0e9f6e; --danger: #ef4444;
  --night: #0b0d1c; --night-2: #151832;
  --shadow-1: 0 1px 2px rgba(15,18,34,.06), 0 1px 1px rgba(15,18,34,.04);
  --shadow-2: 0 6px 20px -8px rgba(15,18,34,.18), 0 2px 6px -2px rgba(15,18,34,.06);
  --shadow-3: 0 30px 60px -24px rgba(15,18,34,.45);
  --display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px; --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-ink); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; }
.sec { padding: 104px 0; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head h2 { margin: 12px 0 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lead { margin: 0 auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--ui); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 24px -10px rgba(107,75,255,.8); }
.btn-primary:hover { background: var(--violet-ink); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.btn-line:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--faint); }
.btn svg { width: 18px; height: 18px; flex: none; }
.play-badge { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 16px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.play-badge:hover { color: #fff; background: #111; }
.play-badge svg { width: 26px; height: 26px; }
.play-badge small { display: block; font: 500 10px/1.1 var(--ui); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.play-badge b { display: block; font: 600 18px/1.15 var(--ui); letter-spacing: -.01em; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,246,249,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 23px/1 var(--display); letter-spacing: -.03em; }
.logo img { width: 34px; height: 34px; }
.logo:hover { color: var(--ink); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--violet); }
.nav .btn { height: 42px; padding: 0 18px; font-size: 14px; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
/* Dark hero variant */
.nav.dark:not(.scrolled) { background: transparent; }
.nav.dark:not(.scrolled) .logo, .nav.dark:not(.scrolled) .nav-links a { color: #fff; }
.nav.dark:not(.scrolled) .nav-links a:hover { color: #cfc3ff; }
.nav.dark:not(.scrolled) .nav-toggle { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }

@media (max-width: 860px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open, .nav.dark.open { background: #fff; border-bottom-color: var(--line); }
  .nav.open .logo { color: var(--ink) !important; }
  .nav.open .nav-toggle { background: #fff !important; border-color: var(--line) !important; color: var(--ink) !important; }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .nav.open .nav-links a { color: var(--ink) !important; padding: 14px 0; border-bottom: 1px solid var(--soft); font-size: 17px; }
}

/* ---------- hero ---------- */
.hero { position: relative; margin-top: -68px; padding: 148px 0 96px; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 520px at 78% 30%, rgba(107,75,255,.55), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(16,185,129,.16), transparent 60%), linear-gradient(180deg, #120f2e 0%, var(--night) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: #cfc3ff; background: rgba(107,75,255,.18); box-shadow: inset 0 0 0 1px rgba(207,195,255,.25); padding: 8px 12px; border-radius: 999px; }
.hero .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgba(16,185,129,.25); }
.hero h1 { font-size: clamp(46px, 7vw, 84px); font-weight: 800; letter-spacing: -.04em; line-height: .98; margin: 0 0 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #b7a6ff, #8a6dff 40%, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #c4c7da; font-size: 19px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 30px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: #c4c7da; font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--go); flex: none; }

.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
.phone { position: relative; width: 290px; border-radius: 46px; padding: 10px; background: linear-gradient(160deg, #2a2d45, #0c0e1c); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, var(--shadow-3), 0 50px 120px -40px rgba(107,75,255,.6); flex: none; }
.phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 37px; background: #111; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 20px; background: #05060d; }
.phone.light { background: linear-gradient(160deg, #ffffff, #e6e7ef); box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-3); }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 14px/1 var(--ui); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); animation: float 6s ease-in-out infinite; }
.chip img { width: 36px; height: 36px; border-radius: 50%; background: var(--violet-soft); }
.chip small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 3px; }
.chip.c1 { top: 70px; left: 0; }
.chip.c2 { top: 230px; right: -6px; animation-delay: -2s; }
.chip.c3 { bottom: 80px; left: 18px; animation-delay: -4s; }
.wave-badge { position: absolute; bottom: 160px; right: 10px; display: flex; gap: 3px; align-items: center; height: 44px; padding: 0 14px; border-radius: 14px; background: rgba(16,185,129,.16); box-shadow: inset 0 0 0 1px rgba(52,211,153,.4); backdrop-filter: blur(8px); }
.wave-badge span { width: 3px; border-radius: 3px; background: #34d399; animation: eq 1.1s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes eq { 0%,100% { height: 8px } 50% { height: 26px } }
@media (prefers-reduced-motion: reduce) { .chip, .wave-badge span { animation: none; } html { scroll-behavior: auto; } }

/* ---------- strip ---------- */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div { padding: 26px 20px; border-right: 1px solid var(--line); }
.strip div:last-child { border-right: 0; }
.strip b { display: block; font: 700 28px/1.1 var(--display); letter-spacing: -.03em; }
.strip span { color: var(--muted); font-size: 14px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px 28px 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.step .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); font: 700 16px/1 var(--display); }
.step h3 { font-size: 23px; margin: 18px 0 8px; }
.step p { color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.step .shot { margin-top: auto; height: 340px; overflow: hidden; display: flex; justify-content: center; }
.step .shot .phone { width: 240px; border-radius: 38px 38px 0 0; padding: 8px 8px 0; aspect-ratio: auto; height: 420px; }
.step .shot .phone img { border-radius: 30px 30px 0 0; }
.step .shot .phone::after { top: 16px; width: 70px; height: 20px; margin-left: -35px; }
.step .shot.crop-bottom .phone img { object-position: bottom; }

/* ---------- voices ---------- */
.voices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.voice { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 14px 14px 18px; box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s; }
.voice:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.voice .art { aspect-ratio: 1.25; border-radius: 16px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.voice .art img { width: 78%; }
.voice h3 { font-size: 19px; margin: 14px 4px 2px; }
.voice p { margin: 0 4px; color: var(--muted); font-size: 14px; }
.bg-pink { background: linear-gradient(160deg, #ffe4ef, #ffd0e2); } .bg-sky { background: linear-gradient(160deg, #e3efff, #cfe2ff); }
.bg-sun { background: linear-gradient(160deg, #fff4dc, #ffe6b5); } .bg-lilac { background: linear-gradient(160deg, #efe9ff, #e0d6ff); }
.bg-stone { background: linear-gradient(160deg, #eef0f4, #dde1e8); } .bg-mint { background: linear-gradient(160deg, #e0f7f4, #c8efe9); }
.bg-lime { background: linear-gradient(160deg, #e9f9e3, #d3f2c7); } .bg-rose { background: linear-gradient(160deg, #ffe5e5, #ffd0d0); }

/* ---------- dark feature band ---------- */
.band { background: radial-gradient(800px 500px at 20% 50%, rgba(107,75,255,.35), transparent 60%), var(--night); color: #fff; }
.band .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.band .eyebrow { color: #b7a6ff; }
.band .lead { color: #b9bccf; }
.band h2 { margin: 12px 0 16px; }
.tags-title { font: 600 13px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: #9a9db5; margin: 32px 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: 14px; color: #e6e7f2; }
.tags svg { width: 16px; height: 16px; color: #b7a6ff; }
.band .phone-pair { display: flex; justify-content: center; gap: 24px; }
.band .phone-pair .phone { width: 260px; }
.band .phone-pair .phone:first-child { margin-top: 60px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.plan.hot { border: 2px solid var(--violet); box-shadow: 0 30px 60px -30px rgba(107,75,255,.55); }
.plan .tag { position: absolute; top: -13px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--violet); color: #fff; font: 700 11px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; }
.plan .tag.ink { background: var(--ink); }
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 600; letter-spacing: -.01em; }
.plan .mins { font: 800 52px/1 var(--display); letter-spacing: -.04em; margin: 14px 0 4px; }
.plan .mins small { font-size: 20px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.plan .price { font: 600 20px/1.2 var(--display); }
.plan .price span { color: var(--muted); font: 500 15px var(--ui); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--go); flex: none; margin-top: 3px; }
.plan .per { margin-top: auto; padding-top: 22px; color: var(--faint); font-size: 13px; }
.topups { margin-top: 28px; display: grid; grid-template-columns: 1.1fr 2fr; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; align-items: center; }
.topups h3 { font-size: 24px; margin-bottom: 8px; }
.topups p { color: var(--muted); margin: 0; font-size: 15px; }
.topup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.topup { border-radius: 18px; background: var(--soft); padding: 16px; }
.topup b { display: block; font: 700 24px/1 var(--display); letter-spacing: -.03em; }
.topup span { display: block; color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.topup em { font-style: normal; font-weight: 600; font-size: 15px; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.rule { display: flex; gap: 12px; padding: 18px; border-radius: 20px; border: 1px dashed #cfd2de; font-size: 14px; color: var(--ink-2); }
.rule svg { width: 20px; height: 20px; color: var(--violet); flex: none; margin-top: 2px; }
.rule b { display: block; color: var(--ink); }
.fine { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* ---------- safety ---------- */
.safety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.safe { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.safe .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.safe .ic svg { width: 22px; height: 22px; }
.safe h3 { font-size: 20px; margin: 18px 0 8px; }
.safe p { margin: 0; color: var(--muted); font-size: 15px; }
.not-ok { margin-top: 24px; border-radius: 24px; padding: 26px 28px; background: #fff6f6; border: 1px solid #fde0e0; display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.not-ok h3 { font-size: 20px; color: #b42318; }
.not-ok ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-size: 15px; color: var(--ink-2); }
.not-ok li { display: flex; gap: 10px; }
.not-ok li svg { width: 18px; height: 18px; color: var(--danger); flex: none; margin-top: 3px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 17px/1.35 var(--display); letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- cta ---------- */
.cta { padding: 0 0 104px; }
.cta-box { border-radius: 36px; padding: 64px 48px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255,255,255,.18), transparent 70%), linear-gradient(135deg, #8a6dff, #6b4bff 55%, #4b2fe0); }
.cta-box img.mark { width: 72px; height: 72px; margin: 0 auto 22px; filter: drop-shadow(0 16px 30px rgba(0,0,0,.3)); }
.cta-box h2 { margin-bottom: 14px; }
.cta-box p { color: #e6e0ff; max-width: 560px; margin: 0 auto 30px; font-size: 18px; }
.cta-box .hero-ctas { justify-content: center; margin: 0; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #9a9db5; padding: 64px 0 32px; font-size: 14px; }
.foot .grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot .logo { color: #fff; }
.foot .logo:hover { color: #fff; }
.foot p { margin: 14px 0 0; max-width: 320px; }
.foot h4 { font: 600 13px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: #c4c7da; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- legal pages ---------- */
.doc-hero { padding: 64px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--violet-soft), var(--bg)); }
.doc-hero h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; letter-spacing: -.035em; margin: 12px 0 14px; }
.doc-hero .meta { color: var(--muted); font-size: 14px; }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 48px var(--gutter) 96px; }
.doc-nav { position: sticky; top: 92px; align-self: start; }
.doc-nav h4 { font: 600 12px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.doc-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.doc-nav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.doc-nav a:hover { background: var(--soft); color: var(--ink); }
.doc-nav a[aria-current] { background: var(--violet-soft); color: var(--violet); }
.doc { max-width: 760px; font-size: 16px; color: var(--ink-2); }
.doc h2 { font-size: 26px; color: var(--ink); margin: 44px 0 14px; scroll-margin-top: 90px; }
.doc h3 { font-size: 19px; color: var(--ink); margin: 28px 0 10px; }
.doc p, .doc li { line-height: 1.7; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 24px 10px; margin: 0 0 12px; }
.doc .summary h2 { font-size: 18px; margin: 18px 0 6px; }
.doc .callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--violet-soft); color: var(--ink); margin: 20px 0; }
.doc .callout.warn { background: #fff6f6; }
.doc .callout svg { width: 22px; height: 22px; color: var(--violet); flex: none; margin-top: 2px; }
.doc .callout.warn svg { color: var(--danger); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; background: var(--surface); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.doc th, .doc td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--soft); font-weight: 600; color: var(--ink); font-size: 13px; }
.doc tr:last-child td { border-bottom: 0; }
.doc .table-scroll { overflow-x: auto; }
.doc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.doc-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-decoration: none; color: var(--ink-2); transition: border-color .15s, box-shadow .15s; }
.doc-card:hover { border-color: var(--violet); box-shadow: var(--shadow-2); color: var(--ink-2); }
.doc-card b { display: block; font: 650 18px/1.2 var(--display); color: var(--ink); margin-bottom: 6px; }
.doc-card span { font-size: 14px; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .band .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 124px; }
  .hero-visual { min-height: 0; margin-top: 12px; }
  .voices { grid-template-columns: repeat(2, 1fr); }
  .steps, .plans, .safety { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .topups, .not-ok { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .band .phone-pair .phone { width: 220px; }
  .foot .grid { grid-template-columns: 1fr 1fr; }
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .doc-nav { position: static; }
  .doc-nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .doc-nav a { background: var(--surface); border: 1px solid var(--line); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .hero h1 { font-size: 46px; }
  .hero p.lead { font-size: 17px; }
  .phone { width: 250px; }
  .chip { font-size: 13px; padding: 6px 12px 6px 6px; }
  .chip img { width: 30px; height: 30px; }
  .chip.c1 { left: -4px; top: 40px; } .chip.c2 { right: -4px; top: 200px; } .chip.c3 { left: -4px; bottom: 60px; }
  .wave-badge { display: none; }
  .chip.c3 { bottom: 24px; }
  .strip .wrap { grid-template-columns: 1fr 1fr; padding: 0; }
  .strip div { border-bottom: 1px solid var(--line); }
  .strip div:nth-child(2n) { border-right: 0; }
  .voices { gap: 12px; }
  .voice { padding: 10px 10px 14px; border-radius: 20px; }
  .voice h3 { font-size: 17px; }
  .voice p { font-size: 13px; }
  .band .phone-pair { gap: 12px; }
  .band .phone-pair .phone { width: 46%; border-radius: 30px; padding: 6px; }
  .band .phone-pair .phone img { border-radius: 25px; }
  .band .phone-pair .phone::after { display: none; }
  .band .phone-pair .phone:first-child { margin-top: 40px; }
  .topup-grid { grid-template-columns: 1fr 1fr; }
  .rules { grid-template-columns: 1fr; }
  .not-ok ul { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 22px; border-radius: 28px; }
  .foot .grid { grid-template-columns: 1fr; }
  .doc-cards { grid-template-columns: 1fr; }
  .btn, .play-badge { width: 100%; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .nav .btn { width: auto; }
}

/* ---------- hero, phone + tablet: headline → phone → subtext → CTAs → trust, centred ---------- */
@media (max-width: 1020px) {
  .hero { padding: 108px 0 64px; text-align: center; }
  .hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 0; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; margin: 0 0 8px; font-size: clamp(44px, 11vw, 72px); }
  .hero-visual { order: 2; width: 100%; max-width: 360px; min-height: 0; margin: 20px auto 32px; }
  .hero p.lead { order: 3; margin: 0 auto; max-width: 520px; font-size: 17px; }
  .hero-ctas { order: 4; justify-content: center; width: 100%; max-width: 420px; margin: 28px auto 24px; }
  .trust { order: 5; justify-content: center; }
  .hero .phone { width: 230px; border-radius: 40px; padding: 8px; }
  .hero .phone img { border-radius: 33px; }
  .hero .phone::after { top: 16px; width: 70px; height: 20px; margin-left: -35px; }
  .hero .chip.c1 { top: 44px; left: 0; }
  .hero .chip.c2 { top: 190px; right: 0; left: auto; }
  .hero .chip.c3 { top: 54%; bottom: auto; left: 0; }
  .hero .chip small { display: none; }
  .hero .wave-badge { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 96px 0 56px; }
  .hero h1 { font-size: 44px; }
  .hero .phone { width: 210px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .trust { flex-direction: column; align-items: center; gap: 8px; }
}
