/* ============================================================================
   YORVIQUE — STYLES
   Palette:
     cream      #F5EFE3   (warm off-white background)
     paper      #FFFCF5   (lifted surfaces)
     navy       #202638   (deep charcoal / primary text)
     navy-deep  #161B2A   (footer, hover states)
     teal       #315D64   (muted dark teal accent)
     lime       #C8EF45   (bright lime accent / CTA highlight)
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --cream: #F5EFE3;
  --paper: #FFFCF5;
  --navy: #202638;
  --navy-deep: #161B2A;
  --teal: #315D64;
  --teal-deep: #244549;
  --lime: #C8EF45;
  --lime-soft: #E8F8B8;
  --muted: #6B7585;
  --line: #E2DCCB;
  --line-soft: #EDE6D5;
  --shadow: 0 24px 60px rgba(32, 38, 56, 0.12);
  --shadow-small: 0 12px 30px rgba(32, 38, 56, 0.08);
  --shadow-lime: 0 18px 40px rgba(200, 239, 69, 0.25);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--navy);
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
body::selection { background: var(--lime); color: var(--navy); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }

/* ---------------------------- HEADER ---------------------------- */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(245, 239, 227, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 9px;
  object-fit: contain;
  background: var(--paper);
}
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  letter-spacing: 0.04em;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}
.primary-nav a { transition: color 180ms ease; }
.primary-nav a:hover, .primary-nav a[aria-current='page'] { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  transition: background 180ms ease, transform 180ms ease;
}
.nav-cta:hover { background: var(--navy-deep); color: #fff; transform: translateY(-1px); }

/* Buy Me a Coffee button — tasteful, on-brand */
.bmc-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.bmc-button:hover { border-color: var(--teal); background: #fff; transform: translateY(-1px); }
.bmc-button svg { width: 16px; height: 16px; color: var(--teal); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--navy);
  align-items: center;
  justify-content: center;
}

/* ---------------------------- HERO ---------------------------- */
.hero {
  padding: 76px 0 96px;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 23px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--lime);
}
.hero h1, .legal-hero h1, .not-found h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.4rem, 6.6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  color: var(--navy);
}
.hero h1 span {
  position: relative;
  z-index: 0;
  white-space: nowrap;
  color: var(--navy);
}
.hero h1 span::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -7px;
  bottom: 6px;
  z-index: -1;
  height: 0.26em;
  border-radius: 999px 12px 999px 8px;
  background: var(--lime);
  transform: rotate(-1deg);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: #fff; box-shadow: 0 9px 20px rgba(32, 38, 56, 0.18); }
.button-primary:hover { background: var(--navy-deep); }
.button-secondary { border-color: var(--line); background: transparent; color: var(--navy); }
.button-secondary:hover { border-color: var(--teal); background: var(--paper); }
.button-arrow { width: 15px; height: 15px; }
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 12px;
}
.hero-footnote strong { color: var(--navy); }

/* ---------------------------- DROP CARD ---------------------------- */
.drop-card {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--navy);
  box-shadow: var(--shadow);
  color: #fff;
  transform: rotate(0.8deg);
}
.drop-card::before {
  content: '';
  position: absolute;
  inset: 18px -13px -13px 18px;
  z-index: -1;
  border: 1px solid rgba(32, 38, 56, 0.14);
  border-radius: var(--radius-xl);
  background: #ECE5D2;
  transform: rotate(-3deg);
}
.drop-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 16px;
}
.drop-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #B5C0CB;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.live-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 239, 69, 0.15);
}

/* The drop zone — visual centre of the site */
.drop-zone {
  min-height: 268px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1.5px dashed rgba(200, 239, 69, 0.45);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(200, 239, 69, 0.10), rgba(255, 255, 255, 0.02));
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.drop-zone.is-dragging {
  border-color: var(--lime);
  background: rgba(200, 239, 69, 0.18);
  transform: scale(1.012);
}
.drop-zone.is-uploading { opacity: 0.85; pointer-events: none; }
.drop-zone-content { display: flex; flex-direction: column; align-items: center; }
.drop-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 17px;
  background: var(--lime);
  color: var(--navy);
}
.drop-icon svg { width: 26px; height: 26px; }
.drop-zone strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.drop-zone p { margin: 8px 0 19px; color: #B5C0CB; font-size: 12px; }
.file-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.file-button:hover { border-color: var(--lime); background: rgba(200, 239, 69, 0.12); }

/* Selected files list */
.file-list { display: grid; gap: 8px; margin-top: 12px; }
.file-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  color: #C6D2DC;
  font-size: 12px;
}
.file-row-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(200, 239, 69, 0.16);
  color: var(--lime);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.file-row-copy { overflow: hidden; flex: 1; text-align: left; min-width: 0; }
.file-row-copy strong, .file-row-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-row-copy strong { color: #fff; font-size: 12px; font-weight: 600; }
.file-row-copy span { margin-top: 2px; color: #8FA0AC; font-size: 10px; }
.file-remove {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #8FA0AC;
  font-size: 16px;
  line-height: 1;
  transition: background 140ms ease, color 140ms ease;
}
.file-remove:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* Progress bar */
.file-progress {
  height: 4px;
  margin-top: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}
.file-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--lime);
  border-radius: inherit;
  transition: width 220ms ease;
}

.drop-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 16px 4px 0;
}
.drop-submit {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}
.drop-submit:hover:not(:disabled) { background: #D6F565; transform: translateY(-1px); }
.drop-submit:disabled { cursor: not-allowed; opacity: 0.4; transform: none; }
.drop-status {
  min-height: 16px;
  margin: 0;
  color: #B5C0CB;
  font-size: 11px;
  text-align: right;
  flex: 1;
}
.drop-status.error { color: #FFB7A0; }
.drop-status.success { color: var(--lime); }

/* Success state — shareable link */
.share-result {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(200, 239, 69, 0.08);
  border: 1px solid rgba(200, 239, 69, 0.30);
  display: none;
}
.share-result.is-visible { display: block; }
.share-result-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 11px;
}
.share-result-label svg { width: 14px; height: 14px; }
.share-url-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 4px 4px 4px 12px;
}
.share-url {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 8px 0;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-copy {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--lime);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  transition: background 160ms ease;
}
.share-copy:hover { background: #D6F565; }
.share-copy.copied { background: var(--teal); color: #fff; }
.share-copy svg { width: 13px; height: 13px; }
.share-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.share-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #C6D2DC;
  font-size: 11px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.share-action:hover { background: rgba(255, 255, 255, 0.07); color: #fff; border-color: rgba(255, 255, 255, 0.30); }
.share-action svg { width: 12px; height: 12px; }
.share-reset {
  margin-top: 12px;
  width: 100%;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #8FA0AC;
  font-size: 11px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}
.share-reset:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

/* ---------------------------- TRUST STRIP ---------------------------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.55);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 96px;
}
.trust-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.trust-items {
  display: flex;
  align-items: center;
  gap: clamp(20px, 5vw, 72px);
  color: var(--teal);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.trust-items span { display: inline-flex; align-items: center; gap: 8px; }
.trust-items i {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 2px;
  background: var(--lime);
  transform: rotate(45deg);
}

/* ---------------------------- SECTIONS ---------------------------- */
.section { padding: 124px 0; }
.section-head { max-width: 610px; }
.section-head.centered { margin: 0 auto; text-align: center; }
.section-kicker {
  margin: 0 0 17px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--navy);
}
.section-intro {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.features-section { padding-top: 108px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.feature-card {
  min-height: 270px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.feature-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-small);
  transform: translateY(-5px);
}
.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 50px;
  border-radius: 13px;
  background: var(--lime-soft);
  color: var(--navy);
}
.feature-icon.teal { background: rgba(49, 93, 100, 0.12); color: var(--teal); }
.feature-icon.navy { background: rgba(32, 38, 56, 0.10); color: var(--navy); }
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------------------------- STEPS ---------------------------- */
.steps-section { background: var(--navy); color: #fff; }
.steps-section .section-kicker { color: var(--lime); }
.steps-section .section-intro { color: #B5C0CB; }
.steps-section h2 { color: #fff; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 58px;
}
.step {
  position: relative;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.step::after {
  content: '';
  position: absolute;
  top: -1px;
  right: 0;
  width: 28px;
  height: 2px;
  background: var(--lime);
}
.step-number {
  color: var(--lime);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.step h3 {
  margin: 60px 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.step p {
  max-width: 270px;
  margin: 0;
  color: #B5C0CB;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------------------------- SPLIT SECTION ---------------------------- */
.split-section { padding-top: 130px; }
.split-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 100px;
  align-items: center;
}
.split-visual {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xl);
  background: #E2DBC8;
  overflow: hidden;
}
.split-visual::before {
  content: '';
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.85;
  filter: blur(1px);
}
.visual-window {
  position: relative;
  width: min(82%, 390px);
  padding: 13px;
  border: 1px solid rgba(32, 38, 56, 0.10);
  border-radius: 17px;
  background: rgba(255, 252, 245, 0.85);
  box-shadow: 0 23px 40px rgba(32, 38, 56, 0.15);
  transform: rotate(-4deg);
}
.visual-window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 4px 13px;
  color: #8B95A1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #CBD6C7; }
.window-panel {
  padding: 22px 20px 20px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.window-panel h4 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.window-panel p {
  margin: 9px 0 18px;
  color: #B5C0CB;
  font-size: 10px;
  line-height: 1.5;
}
.progress-line {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.progress-line span {
  display: block;
  width: 74%;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}
.window-file {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #D2DCE3;
  font-size: 10px;
}
.window-file b { margin-left: auto; color: var(--lime); font-weight: 600; }

.split-copy .section-intro { max-width: 460px; }
.mini-points { display: grid; gap: 16px; margin-top: 34px; }
.mini-point { display: flex; gap: 13px; align-items: flex-start; }
.mini-point-check {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
}
.mini-point-check svg { width: 12px; height: 12px; }
.mini-point strong { display: block; font-size: 14px; color: var(--navy); }
.mini-point p { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ---------------------------- QUOTE ---------------------------- */
.quote-section { padding: 25px 0 124px; }
.quote-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 56px;
  border-radius: var(--radius-xl);
  background: var(--teal);
  color: #fff;
}
.quote-mark {
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 75px;
  line-height: 0.6;
}
.quote-card blockquote {
  max-width: 680px;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #fff;
}
.quote-caption {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------------------------- FINAL CTA ---------------------------- */
.final-cta {
  padding: 116px 0 130px;
  background: var(--lime);
  text-align: center;
}
.final-cta h2 {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.final-cta p {
  max-width: 450px;
  margin: 22px auto 31px;
  color: rgba(32, 38, 56, 0.7);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------------------------- FOOTER ---------------------------- */
.site-footer {
  padding: 36px 0 30px;
  background: var(--navy-deep);
  color: #8FA0AC;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.site-footer .brand { color: #fff; }
.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  color: #7A8896;
  font-size: 12px;
}
.footer-bottom p { margin: 0; }
.footer-credit a {
  color: var(--lime);
  font-weight: 600;
  transition: color 160ms ease;
}
.footer-credit a:hover { color: #D6F565; text-decoration: underline; }
.footer-separator { opacity: 0.4; margin: 0 6px; }

/* ---------------------------- LEGAL PAGES ---------------------------- */
.legal-hero {
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 5.4rem);
}
.legal-hero p {
  max-width: 600px;
  margin: 25px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 720px);
  gap: 100px;
  padding: 80px 0 124px;
}
.legal-aside { position: sticky; top: 110px; align-self: start; }
.legal-aside p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-aside a { display: block; padding: 7px 0; color: var(--teal); font-size: 13px; }
.legal-aside a:hover { color: var(--navy); }
.legal-content h2 {
  margin: 0 0 15px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.legal-content h2:not(:first-child) { margin-top: 50px; }
.legal-content p, .legal-content li {
  color: #4D5666;
  font-size: 15px;
  line-height: 1.75;
}
.legal-content p { margin: 0 0 18px; }
.legal-content ul { padding-left: 20px; margin: 0 0 20px; }
.legal-content li { margin: 6px 0; }
.legal-content strong { color: var(--navy); }
.legal-content a { color: var(--teal); text-decoration: underline; }

/* ---------------------------- 404 ---------------------------- */
.not-found {
  display: grid;
  min-height: calc(100vh - var(--header-h) - 200px);
  place-items: center;
  padding: 100px 0;
}
.not-found-inner { max-width: 680px; text-align: center; }
.not-found-code {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.not-found-code::before, .not-found-code::after {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--lime);
}
.not-found h1 { font-size: clamp(4.5rem, 13vw, 10rem); color: var(--navy); }
.not-found p {
  max-width: 470px;
  margin: 25px auto 32px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------------------------- TOAST ---------------------------- */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  max-width: 330px;
  padding: 14px 17px;
  border: 1px solid rgba(200, 239, 69, 0.22);
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.error { border-color: rgba(255, 183, 160, 0.45); }
.toast.success { border-color: rgba(200, 239, 69, 0.50); }

/* ---------------------------- REVEAL ANIMATION ----------------------------
   Elements with [data-reveal] start hidden and animate in when they enter
   the viewport. To support visitors without JavaScript (or when the
   IntersectionObserver is slow to fire), the <html> element starts with
   the `no-js` class and app.js removes it immediately. While `no-js` is
   present, all reveal elements are shown plainly.
   --------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms ease, transform 650ms ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.no-js [data-reveal] { opacity: 1 !important; transform: none !important; }
/* Reduced motion: skip the animation entirely */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------- OFFLINE BANNER ---------------------------- */
.offline-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 11px 18px;
  background: var(--teal);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.offline-banner.is-visible { display: block; }
.offline-banner strong { color: var(--lime); }

/* ---------------------------- RESPONSIVE ---------------------------- */
@media (max-width: 960px) {
  .container { width: min(100% - 44px, 720px); }
  .header-inner { height: 68px; gap: 14px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 68px;
    left: 22px;
    right: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 252, 245, 0.98);
    box-shadow: var(--shadow-small);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 14px; }
  .primary-nav .nav-cta, .primary-nav .bmc-button { text-align: center; margin-top: 5px; justify-content: center; }
  .nav-actions { display: none; }
  .hero { padding: 60px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 700px; }
  .drop-card { width: min(100%, 600px); margin: 0 auto; transform: rotate(0); }
  .drop-card::before { display: none; }
  .trust-inner { display: block; padding: 24px 0; }
  .trust-items { justify-content: space-between; margin-top: 18px; }
  .section { padding: 92px 0; }
  .feature-grid { gap: 12px; }
  .feature-card { padding: 23px; }
  .split-grid { grid-template-columns: 1fr; gap: 56px; }
  .split-visual { min-height: 340px; max-width: 600px; }
  .quote-card { padding: 38px; }
  .legal-layout { gap: 50px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 36px, 520px); }
  .hero { padding: 48px 0 66px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero h1 span { white-space: normal; }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-footnote { align-items: flex-start; line-height: 1.4; }
  .drop-zone { min-height: 240px; padding: 22px; }
  .trust-items { align-items: flex-start; flex-direction: column; gap: 13px; }
  .section, .features-section, .split-section { padding: 72px 0; }
  .section h2 { font-size: 2.4rem; }
  .feature-grid, .steps-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .feature-card { min-height: 0; }
  .feature-icon { margin-bottom: 32px; }
  .step h3 { margin-top: 40px; }
  .quote-section { padding: 0 0 72px; }
  .quote-card { display: block; padding: 30px 26px; }
  .quote-mark { margin-bottom: 22px; font-size: 58px; }
  .quote-card blockquote { font-size: 1.7rem; }
  .final-cta { padding: 74px 0 82px; }
  .final-cta h2 { font-size: 2.8rem; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-nav { flex-wrap: wrap; gap: 15px; }
  .legal-hero { padding: 58px 0 52px; }
  .legal-hero h1 { font-size: 3rem; }
  .legal-layout { display: block; padding: 52px 0 72px; }
  .legal-aside {
    position: static;
    margin-bottom: 50px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .legal-aside a { display: inline-block; margin-right: 16px; }
  .not-found { min-height: calc(100vh - 70px - 220px); padding: 72px 0; }
  .not-found h1 { font-size: 6rem; }
  .toast { right: 14px; bottom: 14px; left: 14px; max-width: none; }
  .share-url-row { flex-direction: column; padding: 10px; }
  .share-url { padding: 4px 6px; }
  .share-copy { justify-content: center; padding: 9px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
