/* Rine-Intellectuals — landing */
:root {
  --bg: #0c0d10;
  --bg-elevated: #14161c;
  --surface: #1a1d26;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f3f5;
  --text-muted: #9aa0ae;
  --accent: #c9a227;
  --accent-dim: rgba(201, 162, 39, 0.15);
  --error: #e85d5d;
  --success: #5dd68f;
  --radius: 12px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(201, 162, 39, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(80, 100, 140, 0.08), transparent);
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--text);
  text-decoration: none;
}

.lang-switch a[aria-current="page"] {
  background: rgba(158, 141, 105, 0.18);
  color: var(--text);
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.4rem;
  align-items: center;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  padding-bottom: clamp(1.5rem, 2.4vw, 2.2rem);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(130deg, rgba(20, 22, 28, 0.95), rgba(12, 13, 16, 0.9));
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1.8rem;
    min-height: 320px;
  }
}

.hero-market-layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid-layer,
.hero-glow-layer,
.hero-line-layer {
  position: absolute;
  inset: -10%;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0);
  transition: transform 220ms ease-out;
}

.hero-grid-layer {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.22;
}

.hero-glow-layer {
  background:
    radial-gradient(circle at 72% 25%, rgba(201, 162, 39, 0.28), transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(85, 121, 255, 0.15), transparent 58%);
}

.hero-line-layer {
  background:
    linear-gradient(90deg, transparent 0%, rgba(93, 214, 143, 0.22) 35%, transparent 70%),
    linear-gradient(120deg, transparent 30%, rgba(201, 162, 39, 0.2) 65%, transparent 100%);
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
}

@media (min-width: 900px) {
  .hero-content {
    align-items: flex-start;
    text-align: left;
  }

  .hero h1 {
    margin-inline: 0;
  }

  .hero-lead {
    margin-inline: 0;
  }

  .hero-copy {
    margin-inline: 0;
  }
}

.hero h1 {
  margin: 0 0 0.95rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-inline: auto;
}

.hero-lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 42ch;
  margin-inline: auto;
}

.hero-cta-group {
  width: 100%;
  max-width: 24rem;
  margin: 0;
  text-align: left;
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg);
  background: linear-gradient(135deg, #d4af37, #f0c955);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 10px 26px rgba(201, 162, 39, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transform: translateZ(0);
  transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
}

.hero-cta::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 12px;
  border: 1px solid rgba(240, 201, 85, 0.55);
  opacity: 0;
  animation: ctaPulse 2.6s ease-out infinite;
  pointer-events: none;
}

.hero-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 13px 30px rgba(201, 162, 39, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  text-decoration: none;
}

.hero-cta:active {
  transform: translateY(0) scale(0.99);
}

.hero-cta:focus {
  outline: none;
}

.hero-cta:focus-visible {
  outline: none;
  box-shadow:
    0 13px 30px rgba(201, 162, 39, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 0 3px rgba(212, 175, 55, 0.45);
}

.hero-cta::-moz-focus-inner {
  border: 0;
}

.hero-cta-note {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: rgba(242, 243, 245, 0.86);
}

@media (max-width: 899px) {
  .hero-copy {
    margin-inline: auto;
  }

  .hero-cta-group {
    margin-inline: auto;
    text-align: center;
  }
}

@keyframes ctaPulse {
  0% {
    transform: scale(0.96);
    opacity: 0;
  }
  30% {
    opacity: 0.55;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

.hero-market-card {
  position: relative;
  z-index: 1;
  padding: 0.95rem;
  background: rgba(10, 12, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.hero-market-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.hero-market-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hero-market-pair {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.hero-market-chart {
  height: 152px;
  padding: 0.6rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #0c0f14;
  background-size: 24px 24px;
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.chart-candle {
  position: relative;
  flex: 1 1 0;
  min-width: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.chart-candle-wick {
  position: absolute;
  width: 2px;
  background: currentColor;
  opacity: 0.8;
}

.chart-candle-body {
  width: min(14px, 100%);
  border-radius: 3px;
  background: currentColor;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
}

.chart-candle.up {
  color: #5dd68f;
}

.chart-candle.down {
  color: #e87979;
}

.hero-market-switch {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.pair-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.pair-btn:hover {
  border-color: rgba(201, 162, 39, 0.55);
  color: var(--text);
}

.pair-btn.is-active {
  color: var(--text);
  border-color: rgba(201, 162, 39, 0.75);
  background: rgba(201, 162, 39, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid-layer,
  .hero-glow-layer,
  .hero-line-layer,
  .pair-btn {
    transition: none;
  }

  .hero-cta::after {
    animation: none;
  }
}

/* Content sections */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* How it works */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.step-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step;
}

.step-card::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  border-radius: 50%;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* What's included */
.includes-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.include-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.include-item svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  color: var(--accent);
}

.include-item strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

/* Cohort strip */
.cohort-strip {
  padding: 1.35rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-dim), transparent 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cohort-strip p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin-inline: auto;
}

.cohort-strip strong {
  color: var(--text);
}

/* Student results */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 960px) {
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.result-card {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elevated);
  aspect-ratio: 4 / 5;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
}

.result-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.results-cta {
  margin-top: 1.75rem;
  text-align: center;
  max-width: 40ch;
  margin-inline: auto;
}

.results-cta__lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 100%;
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
}

.testimonial-card blockquote p {
  margin: 0;
}

.testimonial-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-meta cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 0.15rem;
}

/* Objections / risk */
.objection-panel {
  padding: 1.5rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 42rem;
  margin-inline: auto;
}

.objection-panel h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
}

.objection-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.objection-panel li + li {
  margin-top: 0.5rem;
}

/* FAQ */
.faq-list {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-list details {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-list summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-list summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-list .faq-body {
  padding: 0 1.15rem 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(12, 13, 16, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  justify-content: center;
  align-items: center;
}

.sticky-cta.is-hidden {
  display: none !important;
}

@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
  }

  .sticky-cta .btn {
    max-width: 28rem;
  }
}

.sticky-cta .btn {
  width: 100%;
  text-decoration: none;
  background: linear-gradient(135deg, #d4af37, #f0c955);
  color: #0c0d10;
  font-weight: 700;
  box-shadow:
    0 8px 20px rgba(201, 162, 39, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

body.modal-open {
  overflow: hidden;
}

/* Apply form modal */
.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.apply-modal.is-open {
  display: flex;
}

.apply-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(4px);
}

.apply-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  max-height: none;
  overflow: visible;
  padding: clamp(0.8rem, 1.4vw, 1.1rem);
  background: rgba(12, 13, 16, 0.98);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.apply-modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.apply-modal__close:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.apply-modal__content {
  margin-top: 0.2rem;
}

/* Layout: form section */
.lead-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 880px) {
  .lead-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 767px) {
  .apply-modal {
    padding: 0.75rem;
  }

  .apply-modal__dialog {
    width: min(560px, 100%);
  }
}

.apply-modal .form-card {
  padding: clamp(0.9rem, 1.6vw, 1.2rem);
}

.apply-modal .field {
  margin-bottom: 0.7rem;
}

.apply-modal .field textarea {
  min-height: 72px;
}

.apply-modal .iti {
  width: 100%;
}

.apply-modal .iti input {
  width: 100%;
}

/* Intl-tel-input dropdown contrast */
.iti__country-list {
  background: #ffffff;
  color: #111111;
  border: 1px solid #d9d9d9;
}

.iti__country {
  color: #111111;
}

.iti__country-name {
  color: #111111;
}

.iti__dial-code {
  color: #444444;
}

.iti__country.iti__highlight {
  background: #f2f2f2;
}

.iti__search-input {
  background: #ffffff;
  color: #111111;
  border: 1px solid #cfcfcf;
}

.iti__search-input::placeholder {
  color: #666666;
}

.iti--allow-dropdown .iti__search-container {
  position: relative;
}

.iti--allow-dropdown .iti__search-input {
  padding-left: 2.1rem !important;
}

.iti--allow-dropdown .iti__search-container::before {
  left: 0.75rem;
}

.apply-modal .form-card > p {
  margin: 0 0 1rem;
}

.points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.points li strong {
  color: var(--text);
  font-weight: 600;
}

.points-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  color: var(--accent);
}

/* Form card */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.form-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
}

.form-card > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field-hint {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.submit-row {
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn:active {
  transform: scale(0.99);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.5em;
}

.form-status.error {
  color: var(--error);
}

.form-status.success {
  color: var(--success);
}

.legal-micro {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.label-optional {
  font-weight: 400;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.5rem;
}

.site-footer__nav a {
  color: var(--text-muted);
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__sep {
  user-select: none;
  color: var(--border);
  opacity: 0.9;
}

/* Legal pages */
.legal-doc {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.legal-doc h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.legal-doc__meta {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-doc h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-doc ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.legal-doc li + li {
  margin-top: 0.35rem;
}

/* Thank you page */
.page-thank-you {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.thanks-brand {
  margin-bottom: 2rem;
}

.thanks-main h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
}

.thanks-main p {
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0 0 2rem;
}

.btn-ghost {
  display: inline-flex;
  padding: 0.65rem 1.25rem;
  font: inherit;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--accent-dim);
  text-decoration: none;
}

/* Private leads admin (admin.html) */
.leads-admin {
  padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
}

.leads-admin .form-card {
  max-width: 56rem;
  margin-inline: auto;
}

.leads-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.leads-admin-toolbar .field {
  flex: 1 1 12rem;
  margin-bottom: 0;
}

.leads-admin-toolbar .field input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.leads-admin-status {
  min-height: 1.25rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.leads-admin-status.is-error {
  color: var(--error);
}

.leads-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.leads-table th,
.leads-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.leads-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-elevated);
}

.leads-table tbody tr:last-child td {
  border-bottom: none;
}

.leads-table td {
  word-break: break-word;
}
