/* ============================================================
   HANSEI — Landing Page Styles
   ============================================================ */

:root {
  --bg: #0d0d0f;
  --bg2: #141417;
  --bg3: #1c1c21;
  --bg4: #252529;
  --border: #2a2a30;
  --text: #f0f0f5;
  --text2: #8888a0;
  --text3: #555565;
  --accent: #ef9f27;
  --accent2: #b8cc00;
  --green: #39d98a;
  --light-green: #c8ee83;
  --red: #ff5c5c;
  --blue: #5b8fff;
  --purple: #b47eff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --nav-h: 72px;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.07);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono { font-family: var(--font-mono); }
.accent-text { color: var(--accent); }
.accent-green { color: var(--green); }
.accent { color: var(--accent); }
.green { color: var(--green); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}
.btn-accent {
  background: var(--accent);
  color: #0d0d0f;
}
.btn-accent:hover {
  background: #f5b040;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(239,159,39,0.35);
}
.btn-green {
  background: var(--green);
  color: #0d0d0f;
}
.btn-green:hover {
  background: #4fe0a0;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(57,217,138,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text3);
  transform: translateY(-1px);
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 16px 36px; font-size: 17px; }

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(13,13,15,0.88);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}
.logo img {
  height: 28px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text2);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(13,13,15,0.97);
  backdrop-filter: blur(18px);
  padding: 24px;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  z-index: 99;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(239,159,39,0.5), transparent 70%);
  top: -100px; left: -150px;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(57,217,138,0.3), transparent 70%);
  bottom: -100px; right: -100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content {
  padding: 80px 40px 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 28px;
  font-weight: 500;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
  50% { opacity: 0.6; box-shadow: 0 0 16px var(--green); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 5.5vw, 84px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Phone mockup ─────────────────────────────────────────── */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}
.phones-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 580px;
}

/* Shared phone frame */
.phone {
  background: var(--bg2);
  border-radius: 40px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  flex-shrink: 0;
}
.phone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px; height: 22px;
  background: var(--bg);
  border-radius: 11px;
  z-index: 10;
}
.phone-screen-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.phone-screen-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Hero phones */
.phone-front {
  width: 240px;
  height: 500px;
  z-index: 2;
}
.phone-back {
  width: 220px;
  height: 460px;
  z-index: 1;
  transform: translateX(60px) translateY(20px) rotate(4deg);
  opacity: 0.75;
  border-color: rgba(255,255,255,0.06);
}
.phone-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 60px;
  background: radial-gradient(ellipse, rgba(239,159,39,0.2), transparent 70%);
  pointer-events: none;
}

/* Showcase phones */
.phone-showcase {
  width: 230px;
  height: 490px;
}
.showcase-screens {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
}
.phone-left {
  transform: translateY(24px) rotate(-3deg);
}
.phone-right {
  transform: translateY(-8px) rotate(2deg);
}
.showcase-screens-single {
  justify-content: center;
}
.phone-center {
  transform: none;
  width: 250px;
  height: 520px;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.section { padding: 100px 0; position: relative; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.section-title-center { text-align: center; }
.section-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.section-sub-center { text-align: center; margin-left: auto; margin-right: auto; }

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 36px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text2);
}
.fl-icon {
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── FEATURES GRID ────────────────────────────────────────── */
.features {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feat-card:hover {
  border-color: rgba(255,255,255,0.13);
  transform: translateY(-2px);
}
.feat-card-large { grid-column: span 2; }
.feat-card-dark { background: var(--bg4); }
.feat-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feat-icon-accent { background: rgba(239,159,39,0.14); color: var(--accent); }
.feat-icon-green  { background: rgba(57,217,138,0.11); color: var(--green); }
.feat-icon-blue   { background: rgba(91,143,255,0.11); color: var(--blue); }
.feat-icon-purple { background: rgba(180,126,255,0.11); color: var(--purple); }
.feat-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 9px;
  color: var(--text);
}
.feat-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 16px;
}
.feat-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(239,159,39,0.11);
  border-radius: 6px;
  padding: 4px 10px;
}

/* BMR preview */
.bmr-preview {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bmr-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.bmr-sep {
  width: 1px; height: 36px;
  background: var(--border);
}
.bmr-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.bmr-label {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.bmr-val {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.03em;
  line-height: 1;
}
.bmr-unit {
  font-size: 14px;
  opacity: 0.7;
}
.bmr-formula {
  font-size: 11px;
  color: var(--accent);
  opacity: 0.75;
  line-height: 1.5;
}

/* ── SHOWCASE SECTIONS ────────────────────────────────────── */
.showcase-section {
  overflow: hidden;
}
.showcase-section-alt {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.showcase-inner-rev {
  direction: rtl;
}
.showcase-inner-rev > * {
  direction: ltr;
}

/* ── BETA CTA ─────────────────────────────────────────────── */
.beta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.beta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb-dl-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(239,159,39,0.22), transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  animation: orbFloat 10s ease-in-out infinite;
}
.orb-dl-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(57,217,138,0.14), transparent 70%);
  bottom: -150px; right: 5%;
  animation: orbFloat 12s ease-in-out infinite reverse;
}
.beta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.beta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text3);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo img {
  height: 24px;
  width: auto;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text3);
  max-width: 260px;
  line-height: 1.6;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social-link {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: all 0.2s;
}
.social-link:hover {
  color: var(--text);
  border-color: var(--text3);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text3);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text2); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text3);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mockup { display: none; }
  .hero-content { padding: 64px 0 72px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card-large { grid-column: span 2; }

  .showcase-inner,
  .showcase-inner-rev {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 48px;
  }
  .showcase-screens { order: -1; }
  .phone-left { transform: translateY(20px) rotate(-2deg); }
  .phone-right { transform: rotate(1.5deg); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner > .btn { display: none; }
  .nav-burger { display: flex; }

  .hero-title { font-size: clamp(44px, 12vw, 68px); }
  .hero-cta { flex-direction: column; align-items: flex-start; }

  .features-grid { grid-template-columns: 1fr; }
  .feat-card-large { grid-column: span 1; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .phone-showcase { width: 180px; height: 380px; }
  .phone-center { width: 200px; height: 420px; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .showcase-screens {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .phone-left, .phone-right { transform: none; }
  .phone-showcase { width: 200px; height: 420px; }
}

/* ============================================================
   INNER PAGES (beta, privacy, terms)
   ============================================================ */

/* ── Page hero ────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 72px;
  overflow: hidden;
}
.page-hero-sm {
  padding-bottom: 48px;
}
.orb-page-1 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  background: radial-gradient(circle, rgba(239,159,39,0.5), transparent 70%);
  top: -100px; left: -120px;
  pointer-events: none;
}
.orb-page-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  background: radial-gradient(circle, rgba(57,217,138,0.4), transparent 70%);
  bottom: -80px; right: 5%;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.legal-page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  margin-top: 12px;
}
.legal-page-meta {
  font-size: 14px;
  color: var(--text3);
}

/* ── Glass card ───────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
}

/* ── Legal doc layout ─────────────────────────────────────── */
.legal-page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 100px;
}

/* TOC */
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.toc-inner {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
  margin-bottom: 14px;
}
.toc-inner nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toc-inner nav a {
  font-size: 13px;
  color: var(--text3);
  padding: 5px 8px;
  border-radius: 6px;
  transition: all 0.15s;
  line-height: 1.4;
}
.toc-inner nav a:hover {
  color: var(--text);
  background: var(--bg3);
}

/* Legal doc body */
.legal-doc {
  min-width: 0;
}
.legal-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  margin-top: 12px;
}
.legal-meta {
  font-size: 13px;
  color: var(--text3);
}
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text2);
  font-size: 15px;
  line-height: 1.75;
}
.legal-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-top: 12px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.legal-body p {
  color: var(--text2);
}
.legal-body ul {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text2);
}
.legal-body strong {
  color: var(--text);
  font-weight: 600;
}
.terms-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.terms-link:hover {
  color: #f5b040;
}

/* ── Beta page layout ─────────────────────────────────────── */
.beta-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 16px;
  padding-bottom: 100px;
}
.beta-form-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.beta-form-card {
  padding: 32px;
}
.bfc-header {
  margin-bottom: 28px;
}
.bfc-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.bfc-sub {
  font-size: 14px;
  color: var(--text3);
}

/* Form */
.beta-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
}
.form-input {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input::placeholder { color: var(--text3); }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(239,159,39,0.12);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555565' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-select option {
  background: var(--bg3);
  color: var(--text);
}
.form-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-checkbox {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-terms-label {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.5;
  cursor: pointer;
}
.btn-full {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
}

/* Field-level errors */
.field-error {
  display: block;
  font-size: 12px;
  color: var(--red);
  margin-top: 5px;
}
.form-input.input-error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.12);
}

/* Form-level error */
.form-error {
  font-size: 13px;
  color: var(--red);
  text-align: center;
  margin-top: 4px;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.form-success[hidden] {
  display: none;
}
.success-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(57,217,138,0.15);
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.success-sub {
  font-size: 14px;
  color: var(--text3);
  max-width: 280px;
  line-height: 1.6;
}

/* Beta perks */
.beta-perks {
  padding: 20px 24px;
}
.perk-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
  margin-bottom: 14px;
}
.perk-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
}
.perk-icon {
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Beta terms col */
.beta-terms-col {
  min-width: 0;
}

/* ── Inner pages responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .legal-page-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc { display: none; }

  .beta-layout {
    grid-template-columns: 1fr;
  }
  .beta-form-col {
    position: static;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding-top: calc(var(--nav-h) + 40px);
  }
  .legal-page-title { font-size: 36px; }
  .beta-form-card { padding: 24px; }
}
