/* ==========================================================================
   FeeFlow marketing site
   Shared across every page. Cached once, reused everywhere — which is why
   this is a separate file rather than inlined per page like the old
   single-file landing page was.

   Colours are sampled from the FeeFlow logo; do not invent new ones.
   ========================================================================== */

:root {
  /* WhatsApp palette — used for anything that represents a message */
  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #1FAD56;
  --whatsapp-teal: #128C7E;
  --whatsapp-dark: #075E54;

  /* Brand, sampled directly from the FeeFlow logo */
  --brand-navy: #0D1B33;
  --brand-teal-start: #049D8D;
  --brand-teal-end: #05C7A6;

  --ink: #0B1F1B;
  --ink-soft: #4B5D57;
  --ink-faint: #7A8C86;
  --bg: #F4F8F6;
  --card-bg: #FFFFFF;
  --border-soft: #E1EAE6;
  --accent-yellow: #FFD166;
  --danger: #D64545;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-elevated: 0 24px 60px -18px rgba(7, 94, 84, 0.38),
                     0 10px 28px -10px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 10px 30px -14px rgba(11, 31, 27, 0.18);

  --space-side: 20px;  /* minimum mobile side padding */
  --tap-min: 52px;     /* minimum tappable height */
  --maxw: 1120px;
}

@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;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;

  /*
   * `clip`, not `hidden`. `overflow-x: hidden` on body makes body itself the
   * scrolling box, which silently breaks window.scrollTo — every "#signup"
   * anchor, including the sticky mobile CTA, stops working. `clip` contains
   * horizontal overflow without creating a scroll container.
   */
  overflow-x: clip;
}

button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--whatsapp-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
p { margin: 0 0 16px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--space-side);
  padding-right: var(--space-side);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Brand lockup
   The wordmark is set in Poppins with the logo's navy/teal split, so the
   name reads identically whether it is the image or live text.
   ========================================================================== */

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand-icon-img {
  width: 26px;
  height: auto;
  border-radius: 6px;
}

.brand-mark {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-fee { color: var(--brand-navy); }

.brand-flow {
  background: linear-gradient(90deg, var(--brand-teal-start), var(--brand-teal-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* On dark backgrounds the logo's own navy would disappear. */
.brand-mark-mono {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 248, 246, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 4px 20px -12px rgba(11, 31, 27, 0.3);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 12px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
}

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

/*
 * Scoped to .site-header on purpose. `.btn` also sets a display value and is
 * declared later in this file, so an unscoped `.nav-cta { display: none }`
 * loses the tie and the button stays visible on mobile.
 */
.site-header .nav-cta { display: none; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .site-header .nav-cta { display: inline-flex; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap-min);
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--whatsapp-green);
  color: #FFFFFF;
  box-shadow: 0 12px 26px -12px rgba(37, 211, 102, 0.85);
}

.btn-dark {
  background: var(--brand-navy);
  color: #FFFFFF;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--border-soft);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
}

.btn-block { width: 100%; }

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--whatsapp-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -14px rgba(37, 211, 102, 0.9);
  }
  .btn-dark:hover { transform: translateY(-2px); }
  .btn-ghost:hover { border-color: var(--whatsapp-teal); color: var(--whatsapp-teal); }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 56px;
  background: linear-gradient(135deg, #075E54 0%, #0E8074 38%, #049D8D 68%, #05C7A6 100%);
  background-size: 300% 300%;
  animation: heroDrift 22s ease infinite;
  color: #FFFFFF;
}

@keyframes heroDrift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Soft light blooms; purely decorative, no layout cost. */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 420px; height: 420px;
  top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.34), transparent 68%);
}

.hero::after {
  width: 360px; height: 360px;
  bottom: -170px; left: -130px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.20), transparent 68%);
}

.hero .wrap { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(31px, 8.4vw, 58px);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.hero h1 .hl {
  background: linear-gradient(120deg, var(--accent-yellow), #FFE9A8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 4.2vw, 19.5px);
  color: rgba(255, 255, 255, 0.9);
  max-width: 34ch;
  margin-bottom: 26px;
}

.hero-grid { display: grid; gap: 34px; }

@media (min-width: 980px) {
  .hero { padding: 76px 0 88px; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
  }
  .hero-sub { max-width: 40ch; }

  /*
   * The headline shares the row with the phone mockup, so it only gets about
   * 545px. At the mobile clamp maximum that is roughly nine characters a
   * line and longer headlines break mid-word.
   */
  .hero h1 { font-size: clamp(38px, 3.9vw, 50px); }
}

/* ==========================================================================
   Signup card
   ========================================================================== */

.signup-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px 20px 22px;
  box-shadow: var(--shadow-elevated);
  color: var(--ink);
}

.signup-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.signup-card .lede {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

/* 16px exactly — anything smaller makes iOS Safari zoom on focus. */
.field input {
  width: 100%;
  min-height: var(--tap-min);
  padding: 14px 16px;
  font-size: 16px;
  color: var(--ink);
  background: #FBFDFC;
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.field input::placeholder { color: var(--ink-faint); }

.field input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--whatsapp-green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.16);
}

.field input.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.13);
}

.phone-input {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: #FBFDFC;
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.phone-input:focus-within {
  background: #FFFFFF;
  border-color: var(--whatsapp-green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.16);
}

.phone-input.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.13);
}

.phone-input .cc {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #EFF5F2;
  border-right: 2px solid var(--border-soft);
}

.phone-input input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}

.phone-input input:focus { box-shadow: none; }

.field .hint {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 6px;
  line-height: 1.45;
}

.form-error {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--danger);
  margin: -4px 0 12px;
}

.form-error.show { display: block; }

.shake { animation: shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97); }

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-7px); }
  40%, 60% { transform: translateX(7px); }
}

.signup-foot {
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.5;
}

/* Confirmation state, swapped in after a successful signup */
.signup-done {
  display: none;
  text-align: center;
  padding: 12px 4px 6px;
}

.signup-done.show { display: block; animation: popIn 0.42s ease both; }

@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.94) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.signup-done .tick {
  width: 62px; height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  display: grid;
  place-items: center;
  font-size: 31px;
  color: #FFFFFF;
  box-shadow: 0 12px 26px -10px rgba(37, 211, 102, 0.75);
}

.signup-done h3 { font-size: 20px; font-weight: 800; }
.signup-done p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   Counter strip
   ========================================================================== */

.counter-strip {
  background: var(--brand-navy);
  color: #FFFFFF;
  padding: 26px 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.counter-item .n {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(22px, 6vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--brand-teal-start), var(--brand-teal-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.counter-item .l {
  font-size: clamp(11px, 3vw, 13.5px);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  line-height: 1.35;
  margin-top: 2px;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 56px 0; }
.section.alt { background: var(--card-bg); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.section-head .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--whatsapp-teal);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(25px, 6.4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-head p {
  font-size: clamp(15px, 4vw, 17.5px);
  color: var(--ink-soft);
  margin: 0;
}

@media (min-width: 860px) {
  .section { padding: 84px 0; }
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
}

.feature {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}

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

.feature .ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(4, 157, 141, 0.14), rgba(5, 199, 166, 0.14));
}

.feature h3 { font-size: 17.5px; font-weight: 800; }

.feature p {
  font-size: 14.8px;
  color: var(--ink-soft);
  margin: 0;
}

/* Numbered steps */
.steps { display: grid; gap: 18px; counter-reset: step; }

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

.step {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px 20px 22px;
  box-shadow: var(--shadow-card);
}

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

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 20px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--brand-teal-start), var(--brand-teal-end));
  box-shadow: 0 8px 18px -8px rgba(4, 157, 141, 0.9);
}

.step h3 { font-size: 17.5px; font-weight: 800; margin-top: 6px; }
.step p { font-size: 14.8px; color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   WhatsApp phone mockup
   ========================================================================== */

.phone {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: #0B141A;
  border-radius: 30px;
  padding: 10px;
  box-shadow: var(--shadow-elevated);
}

.phone-screen {
  background: #ECE5DD;
  border-radius: 22px;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--whatsapp-dark);
  color: #FFFFFF;
}

.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-teal-start), var(--brand-teal-end));
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}

.chat-name { font-size: 15px; line-height: 1.2; }
.chat-status { font-size: 11.5px; color: rgba(255, 255, 255, 0.66); }

.chat-body {
  padding: 16px 12px 18px;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 18px 18px;
}

.bubble {
  max-width: 84%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #111B21;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.09);
  opacity: 0;
  transform: translateY(9px);
}

.bubble.in { background: #FFFFFF; align-self: flex-start; border-top-left-radius: 3px; }
.bubble.out { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 3px; }

.bubble .time {
  display: block;
  font-size: 10.5px;
  color: rgba(17, 27, 33, 0.44);
  text-align: right;
  margin-top: 3px;
}

.bubble.show { animation: bubbleIn 0.36s ease forwards; }

@keyframes bubbleIn {
  to { opacity: 1; transform: translateY(0); }
}

.typing {
  align-self: flex-start;
  display: none;
  gap: 4px;
  padding: 12px 14px;
  background: #FFFFFF;
  border-radius: 12px;
  border-top-left-radius: 3px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.09);
}

.typing.show { display: flex; }

.typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #9AA6AC;
  animation: typingDot 1.3s infinite ease-in-out;
}

.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.42; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.price-card {
  background: var(--card-bg);
  border: 2px solid var(--brand-teal-start);
  border-radius: var(--radius-lg);
  padding: 30px 22px 26px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: var(--shadow-elevated);
  text-align: center;
  position: relative;
}

.price-card .ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--brand-teal-start), var(--brand-teal-end));
  box-shadow: 0 8px 18px -8px rgba(4, 157, 141, 0.9);
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin: 12px 0 4px;
}

.price-amount .cur {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--brand-navy);
}

.price-amount .n {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 62px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-navy);
}

.price-amount .per {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
}

.price-note {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: left;
}

.price-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 15px;
  border-bottom: 1px solid var(--border-soft);
}

.price-list li:last-child { border-bottom: none; }

.price-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--whatsapp-green);
}

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

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

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.section.alt .faq-item { background: var(--bg); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 48px 17px 18px;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  min-height: var(--tap-min);
  display: flex;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--whatsapp-teal);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { content: '−'; }

.faq-body {
  padding: 0 18px 18px;
  font-size: 15px;
  color: var(--ink-soft);
}

.faq-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Final CTA band
   ========================================================================== */

.cta-band {
  background: linear-gradient(135deg, var(--whatsapp-dark), var(--brand-teal-start));
  color: #FFFFFF;
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(25px, 6.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 4vw, 17.5px);
  max-width: 46ch;
  margin: 0 auto 24px;
}

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

.site-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.68);
  padding: 40px 0 30px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  gap: 26px;
  margin-bottom: 26px;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
}

.site-footer h4 {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

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

.footer-links li { margin-bottom: 9px; }

.footer-links a { color: rgba(255, 255, 255, 0.68); }
.footer-links a:hover { color: #FFFFFF; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer .brand-mark-mono { font-size: 19px; }

/* ==========================================================================
   Sticky mobile CTA
   Appears once the hero has scrolled away, hides again over the form.
   ========================================================================== */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  padding: 12px var(--space-side);
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -8px 26px -14px rgba(11, 31, 27, 0.4);
  transform: translateY(120%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta.show { transform: translateY(0); }

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Legal / long-form prose pages
   ========================================================================== */

.prose {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  box-shadow: var(--shadow-card);
}

.prose h2 {
  font-size: 21px;
  font-weight: 800;
  margin-top: 30px;
}

.prose h2:first-child { margin-top: 0; }

.prose p, .prose li {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }

.page-hero {
  background: var(--brand-navy);
  color: #FFFFFF;
  padding: 40px 0 44px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(27px, 7vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  max-width: 50ch;
  margin: 0 auto;
}

.notice {
  background: #FFF8E6;
  border: 1px solid var(--accent-yellow);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14.5px;
  color: #6B5417;
  margin-bottom: 22px;
}

.notice strong { color: #4A390D; }

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
