/* Video Converter — website styles */

:root {
  --brand: #2a5b9a;
  --brand-bright: #0a7aff;
  --brand-deep: #1b3f72;
  --accent: #f07e1f;
  --success: #2fbf71;

  --bg: #f6f9fe;
  --bg-alt: #eaf2fd;
  --surface: #ffffff;
  --surface-2: #f1f6fd;
  --stroke: #d9e6f8;
  --text: #0e1a2b;
  --text-2: #4f5f75;
  --text-3: #7b8aa0;

  --hero-1: #0b1730;
  --hero-2: #12305e;

  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(16, 40, 80, .05), 0 12px 40px rgba(16, 40, 80, .08);
  --shadow-lg: 0 30px 80px rgba(10, 30, 70, .25);
  --max: 1160px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070d1a;
    --bg-alt: #0b1426;
    --surface: #101b31;
    --surface-2: #15233e;
    --stroke: #20314f;
    --text: #eef3fb;
    --text-2: #a7b5ca;
    --text-3: #7d8ca3;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 40px rgba(0, 0, 0, .35);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--stroke) 70%, transparent);
}
.site-header.on-dark {
  background: rgba(8, 18, 38, .55);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 12px rgba(42, 91, 154, .35); }
.on-dark .brand { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--brand-bright); background: color-mix(in srgb, var(--brand-bright) 12%, transparent); }
.on-dark .nav-links a { color: rgba(255, 255, 255, .75); }
.on-dark .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.on-dark .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}
.on-dark .nav-toggle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }

@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 68px; left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .on-dark .nav-links a { color: var(--text); padding: 12px 14px; }
  .on-dark .nav-links a[aria-current="page"] { color: var(--brand-bright); background: color-mix(in srgb, var(--brand-bright) 12%, transparent); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  box-shadow: 0 10px 30px rgba(10, 122, 255, .35);
}
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { color: var(--text); background: var(--surface); border: 1px solid var(--stroke); }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 22px 0 18px;
  border-radius: 16px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
}
.store-badge:hover { text-decoration: none; transform: translateY(-2px); }
.store-badge svg { width: 28px; height: 28px; }
.store-badge small { display: block; font-size: 11px; opacity: .8; line-height: 1.1; }
.store-badge strong { display: block; font-size: 19px; line-height: 1.15; font-weight: 600; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  background: radial-gradient(1200px 600px at 80% -10%, #2a6fd0 0%, transparent 60%),
              radial-gradient(800px 500px at -10% 110%, #6a3fd6 0%, transparent 55%),
              linear-gradient(160deg, var(--hero-1), var(--hero-2));
  overflow: hidden;
  margin-top: -69px;
  padding-top: 69px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0 96px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; margin: 22px 0 20px; }
.gradient-text {
  background: linear-gradient(90deg, #7cc4ff, #a98bff 55%, #ffb38a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { font-size: 19px; color: rgba(255, 255, 255, .78); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .6); }

.phones { position: relative; height: 620px; }
.phone {
  position: absolute;
  width: 280px;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(145deg, #2b3446, #0e131c);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.phone img { border-radius: 37px; width: 100%; height: auto; }
.phone.front { left: 50%; top: 10px; transform: translateX(-30%) rotate(3deg); z-index: 2; }
.phone.back { left: 50%; top: 70px; transform: translateX(-95%) rotate(-7deg); opacity: .92; z-index: 1; }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  color: #0e1a2b;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  font-size: 14px;
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 17px; }
.float-card .ring {
  width: 44px; height: 44px; border-radius: 50%;
  background: conic-gradient(var(--success) 0 82%, #e3ecf7 82% 100%);
  display: grid; place-items: center;
}
.float-card .ring::after { content: ""; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.float-card.one { right: -12px; top: 330px; }
.float-card.two { left: 0; bottom: 70px; animation-delay: -3s; }
.float-card .icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #5fd38d, #2e9b5c); color: #fff; font-size: 20px;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 64px 0 40px; }
  .hero .lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .phones { height: 540px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone { width: 240px; }
}
@media (max-width: 480px) {
  .phones { height: 450px; }
  .phone { width: 200px; border-radius: 36px; padding: 8px; }
  .phone img { border-radius: 29px; }
  .float-card { font-size: 12px; padding: 10px 12px; }
  .float-card.one { right: -4px; top: 250px; }
  .float-card.two { left: -4px; bottom: 30px; }
}

/* ---------- Stats strip ---------- */

.stats {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 26px 20px; text-align: center; border-left: 1px solid var(--stroke); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.stat span { color: var(--text-2); font-size: 14px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--stroke); }
}

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.kicker { color: var(--brand-bright); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; margin: 12px 0 16px; }
.section-head p { color: var(--text-2); font-size: 18px; }
@media (max-width: 760px) { .section { padding: 76px 0; } }

/* Tool grid */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tool:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(16, 40, 80, .14); }
.tool .ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 16px;
}
.tool .ico svg { width: 24px; height: 24px; }
.tool h3 { font-size: 18px; margin-bottom: 6px; }
.tool p { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.tool .tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand-bright) 12%, transparent); color: var(--brand-bright);
}
@media (max-width: 1000px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tools { grid-template-columns: 1fr; } }

.g-orange { background: linear-gradient(135deg, #f0b05a, #c9893c); }
.g-red { background: linear-gradient(135deg, #ff8a65, #e5484d); }
.g-teal { background: linear-gradient(135deg, #34c3b6, #14897f); }
.g-purple { background: linear-gradient(135deg, #9b7bff, #6741d9); }
.g-amber { background: linear-gradient(135deg, #ffb547, #f07e1f); }
.g-sky { background: linear-gradient(135deg, #5ec2ff, #2f80ed); }
.g-pink { background: linear-gradient(135deg, #f368b5, #b83c8b); }
.g-slate { background: linear-gradient(135deg, #8a9bb4, #56677f); }
.g-green { background: linear-gradient(135deg, #5fd38d, #2e9b5c); }
.g-magenta { background: linear-gradient(135deg, #ea7bd0, #a54bb0); }
.g-blue { background: linear-gradient(135deg, #6eb6ff, #3a7bd5); }
.g-cyan { background: linear-gradient(135deg, #7fd1f5, #3f97c9); }

/* Feature split rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split + .split { margin-top: 120px; }
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-bright) 30%, transparent), transparent 70%);
  filter: blur(30px);
}
.split-media .phone { position: relative; width: 290px; }
.split h2 { font-size: clamp(30px, 3.8vw, 42px); font-weight: 800; margin: 12px 0 16px; }
.split p.lead { color: var(--text-2); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: "";
  flex: 0 0 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fbf71' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks b { color: var(--text); }
.checks span { color: var(--text-2); }
.format-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.format-chips span {
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--surface); border: 1px solid var(--stroke); color: var(--text-2);
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .split.reverse .split-media { order: 0; }
  .split-media .phone { width: 240px; }
  .split + .split { margin-top: 72px; }
}

/* Privacy band */
.privacy-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px;
  color: #fff;
  background: radial-gradient(600px 300px at 90% 0%, #2a6fd0, transparent 60%), linear-gradient(135deg, #0d1d3a, #163b72);
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.privacy-band .shield {
  width: 120px; height: 120px; border-radius: 34px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
}
.privacy-band .shield svg { width: 60px; height: 60px; }
.privacy-band h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.privacy-band p { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 720px; }
.privacy-band .pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.privacy-band .pills span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; }
@media (max-width: 760px) {
  .privacy-band { grid-template-columns: 1fr; padding: 36px 26px; }
  .privacy-band .shield { width: 84px; height: 84px; border-radius: 24px; }
}

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.plan.featured {
  border: 2px solid var(--brand-bright);
  box-shadow: 0 30px 70px rgba(10, 122, 255, .2);
}
.plan .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .05em; white-space: nowrap;
}
.plan h3 { font-size: 20px; }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 0; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.plan .sub { color: var(--text-2); font-size: 15px; min-height: 48px; margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; font-size: 15px; }
.plan ul li { display: flex; gap: 10px; }
.plan ul li::before { content: "✓"; color: var(--success); font-weight: 800; }
.pricing-note { text-align: center; color: var(--text-3); font-size: 14px; margin-top: 28px; max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 28px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 0 22px;
  box-shadow: var(--shadow);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-bright); font-size: 24px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p, .faq details ul { color: var(--text-2); padding-bottom: 20px; margin: 0; }
.faq details ul { padding-left: 20px; }

/* CTA */
.cta {
  text-align: center;
  padding: 72px 32px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: radial-gradient(500px 260px at 15% 0%, #6a3fd6, transparent 60%), radial-gradient(500px 260px at 90% 100%, #0a7aff, transparent 60%), linear-gradient(135deg, #0f2245, #12305e);
}
.cta img { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .78); font-size: 18px; margin-bottom: 30px; }

/* ---------- Legal / content pages ---------- */

.page-hero {
  padding: 72px 0 48px;
  background: radial-gradient(800px 300px at 50% -20%, color-mix(in srgb, var(--brand-bright) 22%, transparent), transparent 70%);
  text-align: center;
}
.page-hero h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; margin: 14px 0 12px; }
.page-hero p { color: var(--text-2); font-size: 18px; max-width: 640px; margin: 0 auto; }
.page-hero .meta { margin-top: 18px; font-size: 14px; color: var(--text-3); }

.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding-bottom: 110px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 92px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  font-size: 14px;
}
.toc strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a { color: var(--text-2); }
.toc a:hover { color: var(--brand-bright); }

.doc {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.doc h2 { font-size: 24px; margin: 44px 0 14px; scroll-margin-top: 90px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 18px; margin: 26px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.doc strong { color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--stroke); vertical-align: top; }
.doc th { color: var(--text); background: var(--surface-2); font-weight: 600; }
.doc td { color: var(--text-2); }
.table-wrap { overflow-x: auto; }

.callout {
  border-radius: 18px;
  padding: 22px 24px;
  margin: 0 0 28px;
  background: color-mix(in srgb, var(--brand-bright) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand-bright) 30%, transparent);
}
.callout h3 { margin: 0 0 8px; font-size: 17px; color: var(--text); }
.callout p { color: var(--text-2); }
.callout .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.callout .links a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--stroke);
  font-weight: 600; font-size: 14px;
}
.callout .links a:hover { text-decoration: none; border-color: var(--brand-bright); }

@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; gap: 20px; }
  .toc { display: none; }
  .doc { padding: 30px 22px; border-radius: 24px; }
}

/* Support */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
.support-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.support-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.support-card .ico svg { width: 24px; height: 24px; }
.support-card h3 { font-size: 19px; margin-bottom: 8px; }
.support-card p { color: var(--text-2); font-size: 15px; }
.support-card .btn { margin-top: 20px; height: 46px; font-size: 15px; padding: 0 18px; }
.email-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  color: #fff;
  background: radial-gradient(500px 260px at 100% 0%, #2a6fd0, transparent 60%), linear-gradient(135deg, #0f2245, #163b72);
}
.email-hero h2 { font-size: 26px; margin-bottom: 6px; }
.email-hero p { color: rgba(255, 255, 255, .75); }
.email-hero a.mail { color: #fff; font-weight: 700; font-size: 20px; word-break: break-all; }
@media (max-width: 900px) {
  .support-grid { grid-template-columns: 1fr; }
  .email-hero { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--stroke); padding: 56px 0 40px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid p { color: var(--text-2); font-size: 15px; margin-top: 14px; max-width: 340px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--text-2); font-size: 15px; }
.footer-grid ul a:hover { color: var(--brand-bright); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-3);
  font-size: 13px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}
