/* BetterLaunch marketing site */

:root {
  color-scheme: dark;
  --bg: #07030f;
  --text: #f8f5ff;
  --muted: #b9b1d4;
  --muted-2: #8e85ab;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.085);
  --accent: #4edcff;
  --violet: #8b6bff;
  --pink: #ff74d8;
  --green: #44d19a;
  --radius-xl: 30px;
  --radius-lg: 20px;
  --max: 1180px;
  --shadow: 0 38px 100px -36px rgba(0, 0, 0, 0.85);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html[data-lang="en"] .zh,
html[data-lang="zh"] .en {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1100px 760px at 10% -12%, rgba(93, 54, 255, 0.42), transparent 62%),
    radial-gradient(900px 650px at 96% 4%, rgba(0, 205, 255, 0.16), transparent 62%),
    radial-gradient(900px 700px at 50% 106%, rgba(255, 70, 200, 0.08), transparent 62%),
    linear-gradient(180deg, #08040f 0%, #0e0722 46%, #07030f 100%);
  background-attachment: fixed;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #150a2a;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.skip-link:focus { top: 14px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 4, 16, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-icon {
  display: block;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 23%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.brand-icon img { display: block; width: 100%; height: 100%; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-inline: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: #fff; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.lang-btn:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.badge-link:hover { transform: translateY(-1px); opacity: 0.92; }
.badge-img {
  display: block;
  width: auto;
  height: 40px;
}
.nav-badge .badge-img { height: 32px; }
.hero-badge .badge-img { height: 46px; }
.cta-badge .badge-img { height: 46px; }

/* ---------- Generic ---------- */

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: block;
}
.icon.small { width: 17px; height: 17px; }
.icon.tiny { width: 15px; height: 15px; color: var(--accent); }

.skip-link,
.text-link {
  color: var(--accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link.inline { margin-top: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.kicker {
  display: inline-block;
  color: #8fe9ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 730;
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.lead {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

code {
  padding: 0.12em 0.38em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  font-family: var(--mono);
  font-size: 0.86em;
  color: #dcd5ff;
  overflow-wrap: anywhere;
}

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

.hero {
  position: relative;
  padding: 92px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #d9d2f4;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(78, 220, 255, 0.8);
}

.hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(46px, 6.4vw, 78px);
  font-weight: 760;
  line-height: 0.97;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.hero .lead {
  max-width: 550px;
  color: #c5bde1;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-2);
  font-size: 12.5px;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: 6% -6% 8% 4%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(75, 94, 255, 0.5), transparent 72%),
    radial-gradient(closest-side at 70% 70%, rgba(255, 75, 210, 0.22), transparent 70%);
  filter: blur(38px);
}
.hero-glow.secondary {
  inset: 14% 2% 10% -4%;
  opacity: 0.7;
}

.shot-frame {
  position: relative;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}
.shot-frame > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #120a26;
}

.hero-shot { transform: perspective(1400px) rotateY(-2.4deg) rotateX(1.2deg); }

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 7, 27, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.8);
  color: #eae5ff;
  font-size: 11.5px;
  line-height: 1.25;
  pointer-events: none;
}
.float-chip strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.chip-sub {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 10.5px;
}
.chip-t7 { top: 11%; right: -18px; }
.chip-sam { bottom: 12%; left: -20px; }

.disk-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
}
.dot-orange { background: #ff9b55; box-shadow: 0 0 12px rgba(255, 155, 85, 0.7); }
.dot-green { background: #58d6a0; box-shadow: 0 0 12px rgba(88, 214, 160, 0.65); }

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

.section {
  position: relative;
  padding: 91px 0;
  scroll-margin-top: 90px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .lead {
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.028));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(78, 220, 255, 0.16), rgba(139, 107, 255, 0.22));
  color: #dff9ff;
}
.feature-icon .icon { width: 22px; height: 22px; }
.feature h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 680;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
}

/* ---------- Screenshots ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shot-card {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.shot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
}
.shot-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}
.shot-button img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.shot-button:hover img { transform: scale(1.012); }
.shot-card figcaption {
  padding: 12px 8px 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ---------- Split / Launch set ---------- */

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.split-copy .lead { max-width: 510px; }
.split-visual {
  position: relative;
  z-index: 1;
}
.figure-caption {
  margin: 14px 4px 0;
  color: var(--muted-2);
  font-size: 12px;
  text-align: center;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.55;
}
.check-list .icon { margin-top: 2px; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.step-number {
  display: block;
  margin-bottom: 30px;
  color: #93ebff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
}
.step h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.02em;
}
.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Privacy ---------- */

.privacy-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(78, 220, 255, 0.08), transparent 60%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.9);
}
.privacy-copy .feature-icon { margin-bottom: 14px; }
.privacy-copy h2 { margin-top: 8px; }
.privacy-copy .lead { max-width: 570px; }
.privacy-list {
  display: grid;
  align-content: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.14);
  line-height: 1.5;
}
.privacy-list .icon { margin-top: 2px; }

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 860px; }
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon.plus {
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq details[open] summary .icon.plus {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq details p {
  margin: -3px 32px 21px 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}
.faq-more {
  margin: 28px 0 0;
  color: var(--muted-2);
  font-size: 13.5px;
  text-align: center;
}

/* ---------- CTA ---------- */

.cta-section { padding-top: 30px; }
.cta-card {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 38px 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 260px at 8% 20%, rgba(78, 220, 255, 0.15), transparent 60%),
    radial-gradient(700px 300px at 92% 70%, rgba(139, 107, 255, 0.22), transparent 62%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}
.cta-icon {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 18px;
}
.cta-copy { flex: 1; min-width: 0; }
.cta-copy h2 {
  margin-bottom: 7px;
  font-size: clamp(25px, 3vw, 34px);
}
.cta-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}
.cta-badge { margin-left: auto; }

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

.site-footer {
  position: relative;
  z-index: 1;
  padding: 66px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(5, 2, 12, 0.45);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 52px;
}
.footer-brand p {
  max-width: 330px;
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}
.footer-col h3 {
  margin: 4px 0 12px;
  color: #dcd5f3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-legal p {
  margin: 0;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.55;
}
.footer-legal p:last-child { max-width: 640px; text-align: right; }

/* ---------- Lightbox ---------- */

body.modal-open { overflow: hidden; }

.lightbox {
  width: min(1400px, 94vw);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--text);
}
.lightbox::backdrop {
  background: rgba(4, 2, 10, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: #120a26;
  box-shadow: var(--shadow);
}
.lightbox-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(10, 5, 22, 0.8);
  color: #fff;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { gap: 38px; }
  .split { gap: 44px; }
  .feature { padding: 22px 20px; }
}

@media (max-width: 940px) {
  .hero { padding-top: 70px; }
  .hero-grid,
  .split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 840px; margin: 10px auto 0; width: 100%; }
  .split-visual { max-width: 840px; width: 100%; margin: 4px auto 0; }
  .hero-shot { transform: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-panel { grid-template-columns: 1fr; gap: 28px; }
  .steps { gap: 26px; }
  .cta-card { flex-wrap: wrap; }
  .cta-badge { margin-left: 0; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 34px; }
}

@media (max-width: 820px) {
  .nav { height: 62px; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .nav-badge { display: none; }
  .nav-links {
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: #0b0618;
    box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 14px;
  }
  .nav-links a:hover { background: var(--surface); }
  .section { padding: 70px 0; }
  .shots { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { padding-top: 20px; }
  .step-number { margin-bottom: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; gap: 10px; }
  .footer-legal p:last-child { text-align: left; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .hero .lead { font-size: 15.5px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-badge .badge-img { height: 42px; }
  .hero-points { gap: 8px 14px; }
  .float-chip { display: none; }
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 32px; }
  .features { grid-template-columns: 1fr; }
  .privacy-panel { padding: 26px 20px; }
  .cta-card { padding: 28px 22px; }
  .cta-badge .badge-img { height: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-legal { margin-top: 34px; }
}

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

/* ---------- Legal / support pages ---------- */

.legal-hero,
.support-hero {
  max-width: 860px;
  padding-top: 76px;
  padding-bottom: 30px;
}

.back-link {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}
.back-link:hover { color: var(--text); }

.legal-hero h1,
.support-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 740;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.legal-hero .meta {
  margin: 0;
  color: var(--muted-2);
  font-size: 12.5px;
}

.support-hero { max-width: 980px; }
.support-hero .lead { max-width: 690px; margin-bottom: 0; }

.legal-body {
  max-width: 860px;
  padding-bottom: 52px;
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul,
.legal-section ol {
  margin: 10px 0 0;
  padding-left: 21px;
}
.legal-section li { margin-bottom: 9px; }
.legal-section li:last-child { margin-bottom: 0; }
.legal-section strong { color: #eae5fa; font-weight: 650; }
.legal-section a { color: var(--accent); text-underline-offset: 3px; }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 980px;
  padding-bottom: 16px;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 240px at 10% 0%, rgba(78, 220, 255, 0.1), transparent 60%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}
.contact-card-muted {
  background:
    radial-gradient(500px 240px at 90% 0%, rgba(139, 107, 255, 0.13), transparent 60%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}
.contact-card h2 {
  margin-bottom: 8px;
  font-size: 21px;
  letter-spacing: -0.025em;
}
.contact-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.contact-link {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.support-badge { margin-top: 2px; }

.support-body { padding-top: 8px; }
.support-body .faq { border-top: 1px solid var(--line); }
.support-body .faq summary { font-size: 14.5px; }
.support-body .legal-section { padding-top: 30px; }

.support-steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0 !important;
}
.support-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 38px;
  margin-bottom: 14px;
}
.support-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  color: #93ebff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (max-width: 760px) {
  .legal-hero,
  .support-hero { padding-top: 52px; }
  .support-grid { grid-template-columns: 1fr; }
  .legal-body { padding-bottom: 30px; }
  .legal-section { padding: 24px 0; }
  .contact-card { padding: 22px; }
}

/* Split screenshot lightbox button */
.split-visual .shot-button,
.split-visual .shot-button img { border-radius: 18px; }

/* Keep the full navigation comfortably spaced before the mobile breakpoint. */
@media (max-width: 1060px) {
  .nav-badge { display: none; }
}
