/* ============================================
   Bunny Steps — Landing page styles
   Brand sourced from in-app design system
   ============================================ */

:root {
  /* Brand — purple + gold */
  --purple: #5b21b6;
  --purple-mid: #7c3aed;
  --purple-light: #9b5cf5;
  --purple-tint: #f0ebff;
  --gold: #f5a623;
  --gold-light: #ffd166;
  --gold-soft: #fef3c7;

  /* Surfaces */
  --bg: #f4f0fc;
  --bg-warm: #faf7ff;
  --surface: #ffffff;
  --dark: #1e0b4b;

  /* Text */
  --text: #1e0b4b;
  --text-muted: #9b7fc5;
  --text-soft: #c4b5e8;

  /* Status */
  --green: #22c55e;
  --red: #ef4444;
  --blue: #0ea5e9;

  /* Border */
  --border: #ede4ff;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 99px;

  /* Shadow — purple-tinted to match the app */
  --shadow-sm: 0 2px 8px rgba(80, 30, 160, 0.06);
  --shadow-md: 0 6px 20px rgba(80, 30, 160, 0.1);
  --shadow-lg: 0 24px 60px rgba(80, 30, 160, 0.18);
  --shadow-purple: 0 6px 18px rgba(124, 58, 237, 0.3);
  --shadow-gold: 0 6px 18px rgba(245, 166, 35, 0.3);

  /* Layout */
  --container: 1140px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Type */
  --font-sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 700;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--purple-mid);
  text-decoration: none;
  font-weight: 800;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.65rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 900;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
  color: white;
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #7a4500;
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: var(--surface);
  color: var(--purple-mid);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--purple-light);
  background: var(--purple-tint);
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 252, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo:hover { text-decoration: none; }

.logo-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--dark);
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--purple-mid);
  text-decoration: none;
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span { margin-top: 5px; }

@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 1.5rem var(--gutter);
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
  }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -250px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(155, 92, 245, 0.18) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--purple-mid);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-eyebrow .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-mid);
  box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--purple-mid), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--dark);
  opacity: 0.78;
  max-width: 540px;
  margin-bottom: 2rem;
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-microcopy {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-phone {
  width: min(330px, 100%);
  filter: drop-shadow(0 30px 50px rgba(80, 30, 160, 0.22));
}

.hero-bunny {
  position: absolute;
  bottom: -20px;
  right: 18%;
  width: 130px;
}

@media (max-width: 820px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-eyebrow, .hero-cta { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-bunny { right: 5%; bottom: -20px; width: 100px; }
}

/* ============================================
   Section primitives
   ============================================ */

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--purple-mid);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--dark);
  opacity: 0.75;
  font-size: 1.1rem;
}

/* ============================================
   How it works
   ============================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  position: relative;
  padding: 2.25rem 1.5rem 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--purple-tint), #e9d5ff);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #7a4500;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: var(--shadow-gold);
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.step p {
  color: var(--dark);
  opacity: 0.72;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============================================
   Features
   ============================================ */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--purple-tint), #e9d5ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dark);
  opacity: 0.72;
  font-weight: 700;
}

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
}

/* ============================================
   Rewards strip
   ============================================ */

.rewards-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.reward-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.reward-pill .emoji {
  font-size: 18px;
}

/* ============================================
   Mission / split
   ============================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-visual {
  background: linear-gradient(135deg, var(--purple-tint), var(--gold-soft));
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  box-shadow: var(--shadow-md);
}

.split-visual svg, .split-visual img {
  width: 65%;
  max-width: 240px;
  filter: drop-shadow(0 16px 24px rgba(80, 30, 160, 0.15));
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split-visual { aspect-ratio: 16/10; padding: 2rem; }
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 900;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--purple-mid);
  border-bottom: 2.5px solid var(--purple-mid);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item .faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--dark);
  opacity: 0.78;
  font-weight: 700;
}

/* ============================================
   CTA banner
   ============================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple));
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.25), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 0.5rem;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  position: relative;
  font-weight: 700;
}

.cta-form {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.cta-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-full);
  border: 0;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  outline: none;
  color: var(--dark);
}

.cta-form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.6);
}

.cta-form .btn-gold {
  flex-shrink: 0;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  font-weight: 700;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.site-footer h4 {
  color: white;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-weight: 900;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 0.5rem; }

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer a:hover {
  color: white;
  text-decoration: none;
}

.footer-brand .logo {
  color: white;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================
   Hero — minimal pre-launch variant
   ============================================ */

.hero-min {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-min::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(155, 92, 245, 0.18) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero-min::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.15) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

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

.hero-min .hero-bunny-large {
  width: clamp(120px, 18vw, 180px);
  margin: 0 auto 2rem;
  filter: drop-shadow(0 16px 28px rgba(80, 30, 160, 0.18));
}

.hero-min h1 {
  margin-bottom: 1.25rem;
}

.hero-min .hero-sub {
  font-size: 1.2rem;
  color: var(--dark);
  opacity: 0.78;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 700;
}

/* App store badges */
.store-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.4rem;
  background: #1e0b4b;
  color: white;
  border-radius: 14px;
  text-decoration: none;
  font-family: inherit;
  border: 0;
  cursor: default;
  position: relative;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  opacity: 0.92;
}

.store-badge:hover {
  text-decoration: none;
  opacity: 1;
}

.store-badge svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  fill: white;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}

.store-badge-text small {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-badge-text strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.store-badge .soon-tag {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--gold);
  color: #7a4500;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.coming-soon-line {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ============================================
   Legal pages
   ============================================ */

.legal {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--surface);
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.legal h1 { margin-bottom: 0.25rem; }

.legal .updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
}

.legal p, .legal li {
  color: var(--dark);
  opacity: 0.85;
  font-weight: 700;
}

.legal ul, .legal ol { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }

.legal-callout {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.legal-callout p {
  margin: 0;
  color: #7a4500;
  font-weight: 800;
  font-size: 0.95rem;
  opacity: 1;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--dark);
}

.legal-table thead th {
  background: var(--purple-tint);
  color: var(--purple);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-table tbody th {
  font-weight: 900;
  background: rgba(124, 58, 237, 0.04);
  width: 30%;
}

.legal-toc {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
  border: 1.5px solid var(--border);
}

.legal-toc h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  color: var(--purple-mid);
  font-weight: 900;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 1.5rem;
}

.legal-toc li {
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
  break-inside: avoid;
}

.legal-toc a {
  color: var(--dark);
  font-weight: 700;
}

.legal-toc a:hover {
  color: var(--purple-mid);
}

@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .legal-table tbody th { width: auto; }
}

/* ============================================
   Contact form
   ============================================ */

.contact {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.contact-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}

.contact-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-intro h1 {
  margin-bottom: 0.5rem;
}

.contact-intro p {
  color: var(--dark);
  opacity: 0.78;
  margin: 0;
  font-weight: 700;
}

.contact-form .field {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg-warm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
  background: var(--surface);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.contact-form .submit-row .btn {
  min-width: 140px;
}

/* honeypot — hide from real users, accessible to bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 700;
}

.contact-meta a {
  color: var(--purple-mid);
  font-weight: 800;
}

.success-banner {
  display: none;
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.success-banner.show { display: block; }

/* ============================================
   Request page (account deletion / support)
   ============================================ */

.request {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.request-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.request-intro {
  margin-bottom: 2.25rem;
}

.request-intro h1 {
  margin-bottom: 0.5rem;
}

.request-intro p {
  color: var(--dark);
  opacity: 0.78;
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.request-form .field {
  margin-bottom: 1.5rem;
}

.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.field-with-icon {
  position: relative;
}

.field-with-icon > .field-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}

.field-with-icon.has-textarea > .field-icon {
  top: 1.05rem;
  transform: none;
}

.request-form input[type="email"],
.request-form input[type="text"],
.request-form select,
.request-form textarea {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.85rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg-warm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}

.request-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.85rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239b7fc5'><path d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%239b7fc5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}

.request-form textarea {
  min-height: 150px;
  resize: vertical;
  padding-top: 1rem;
  line-height: 1.5;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
  background: var(--surface);
}

.request-form input:focus + .field-icon,
.request-form select:focus + .field-icon,
.request-form textarea:focus + .field-icon {
  color: var(--purple-mid);
}

.field-help {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  margin: 0.5rem 0 0;
  line-height: 1.45;
}

.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-warm);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  text-align: center;
}

.file-drop:hover,
.file-drop.dragover {
  border-color: var(--purple-light);
  background: var(--purple-tint);
}

.file-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-drop svg {
  width: 26px;
  height: 26px;
  color: var(--purple-mid);
}

.file-drop-text {
  font-weight: 700;
  color: var(--dark);
  opacity: 0.85;
  font-size: 0.95rem;
}

.file-drop-text strong {
  color: var(--purple-mid);
  font-weight: 900;
}

.file-drop .file-name {
  font-size: 0.85rem;
  color: var(--purple-mid);
  font-weight: 800;
  margin-top: 0.25rem;
}

.request-form .submit-row {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.request-form .submit-row .btn {
  min-width: 180px;
}

/* Confirmation checkbox row */
.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--gold-soft);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
}

.field-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--purple-mid);
  cursor: pointer;
}

.field-checkbox label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #7a4500;
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}

/* Info card on deletion page */
.info-card {
  background: var(--purple-tint);
  border-left: 4px solid var(--purple-mid);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.info-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin: 0 0 0.5rem;
  font-weight: 900;
}

.info-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.info-card li {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.info-card li:last-child {
  margin-bottom: 0;
}

/* Cross-link between request / support pages */
.cross-link {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--bg-warm);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  opacity: 0.85;
}

.cross-link a {
  color: var(--purple-mid);
  font-weight: 900;
}
