/* =====================================================================
   Quick5k - app.css
   Trustworthy navy + dimensional green icons. Brutalist CTAs.
   ===================================================================== */

:root {
  --bg:            #FFFFFF;
  --bg-soft:       #F4F6FB;
  --bg-cream:      #FBF5E4;
  --bg-mint:       #EAF7EE;

  --ink:           #0B1530;
  --ink-2:         #2A335A;
  --ink-3:         #5A6386;
  --ink-4:         #97A0BA;
  --ink-line:      #DDE1EC;
  --ink-line-2:    #C2C8D8;

  --navy:          #0E2452;
  --navy-2:        #1A3878;
  --navy-deep:     #06163B;
  --on-navy:       #FFFFFF;

  --green:         #B8E04A;
  --green-deep:    #14A85E;
  --green-cta:     #0F8B47;
  --green-cta-hover: #0B6F39;
  --green-tint:    #C8F2D8;
  --green-soft:    #ECFBF1;

  --accent-text:   #B8E04A;
  --cta-bg:        #0F8B47;
  --cta-bg-hover:  #0B6F39;

  --gold:          #F2C544;
  --gold-soft:     #FBE7A3;

  --rose:          #F19292;
  --danger:        #C03434;

  --focus:         #0E2452;

  --font-sans:     "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:     "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-body:       1.0625rem;
  --fs-body-lg:    1.2rem;
  --fs-h4:         clamp(1.35rem, 1.1rem + 0.9vw, 1.7rem);
  --fs-h3:         clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem);
  --fs-h2:         clamp(2rem, 1.3rem + 2.4vw, 3rem);
  --fs-h1:         clamp(2.4rem, 1.5rem + 3.4vw, 3.875rem);

  --sp-1:  4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5:  20px; --sp-6: 24px; --sp-7: 32px; --sp-8: 40px;
  --sp-9:  56px; --sp-10: 72px; --sp-11: 96px;

  --r-1: 3px; --r-2: 6px; --r-3: 10px; --r-4: 14px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(11, 21, 48, 0.06);
  --shadow-2: 0 6px 16px -6px rgba(11, 21, 48, 0.14), 0 2px 4px rgba(11, 21, 48, 0.04);
  --shadow-3: 0 18px 40px -16px rgba(11, 21, 48, 0.24);
  --shadow-hard: 4px 4px 0 0 var(--ink);
  --shadow-hard-sm: 3px 3px 0 0 var(--ink);

  --container:     1200px;
  --nav-h:         80px;

  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --dur-1:         160ms;
  --dur-2:         280ms;
  --dur-3:         460ms;
  --dur-4:         820ms;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; line-height: 1.05; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.022em; font-weight: 800; }
h4 { font-size: var(--fs-h4); font-weight: 700; }

p { margin: 0; text-wrap: pretty; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease-out);
}
a:hover { color: var(--green-deep); }

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: var(--green-tint); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.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;
}
.list-reset { list-style: none; padding: 0; margin: 0; }

/* =====================================================================
   Icon utility (external SVG via <img>)
   ===================================================================== */
.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon--sm { width: 14px; height: 14px; }
.icon--md { width: 20px; height: 20px; }
.icon--lg { width: 24px; height: 24px; }
.icon--xl { width: 32px; height: 32px; }
.icon--trust { width: 64px; height: 64px; }
.icon--who   { width: 144px; height: 144px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px 22px;
  border-radius: var(--r-2);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.005em;
  border: 1px solid #2d7a2d;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-hard-sm);
  transition:
    transform var(--dur-1) var(--ease-out),
    box-shadow var(--dur-1) var(--ease-out),
    background-color var(--dur-1) var(--ease-out),
    color var(--dur-1) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 0 0 0 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); }
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: var(--shadow-hard-sm);
}

.btn--green {
  background: var(--cta-bg);
  color: #FFFFFF;
  border-color: var(--ink);
  box-shadow: var(--shadow-hard);
  font-weight: 800;
}
.btn--green:hover { background: var(--cta-bg-hover); color: #FFFFFF; box-shadow: 0 0 0 0 var(--ink); }

.btn--navy { background: var(--navy); color: var(--on-navy); border-color: var(--ink); box-shadow: var(--shadow-hard); }
.btn--navy:hover { background: var(--navy-deep); color: var(--on-navy); box-shadow: 0 0 0 0 var(--ink); }

.btn--ghost-light {
  background: transparent;
  color: var(--on-navy);
  border-color: var(--on-navy);
  box-shadow: 4px 4px 0 0 var(--green);
}
.btn--ghost-light:hover {
  background: var(--on-navy);
  color: var(--ink);
  border-color: var(--on-navy);
  box-shadow: 0 0 0 0 var(--green);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 0 var(--green);
}
.btn--ghost:hover { background: var(--ink); color: var(--on-navy); box-shadow: 0 0 0 0 var(--green); }

.btn--lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid #2d7a2d;
  position: relative;
}

/* Navy header variant (used on every page except home) */
.site-header--navy { background: var(--navy); }
.site-header--navy .brand { color: var(--on-navy); }
.site-header--navy .brand .dot { background: var(--green); border-color: var(--on-navy); }
.site-header--navy .nav-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.35);
}
.site-header--navy .nav-pill a { color: rgba(255, 255, 255, 0.78); }
.site-header--navy .nav-pill a:hover,
.site-header--navy .nav-pill a[aria-current="page"] {
  background: var(--on-navy);
  color: var(--navy);
}
.site-header--navy .nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.35);
}
.site-header--navy .nav-toggle span { background: var(--on-navy); }
.site-header--navy + .mobile-menu,
.site-header--navy .mobile-menu {
  background: var(--navy);
  border-top-color: rgba(255, 255, 255, 0.2);
}
.site-header--navy .mobile-menu a { color: var(--on-navy); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--sp-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.brand .dot {
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin-left: 4px;
  transform: translateY(8px);
}
.brand--light { color: var(--on-navy); }
.brand--light .dot { background: var(--green); border-color: var(--on-navy); }
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}
.site-footer .brand-logo { height: 36px; }

.nav-pill {
  display: none;
  align-items: center;
  gap: var(--sp-1);
  background: var(--bg-soft);
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 4px;
  box-shadow: var(--shadow-hard-sm);
}
.nav-pill a {
  font-size: 0.95rem;
  color: var(--ink-2);
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.nav-pill a:hover,
.nav-pill a[aria-current="page"] { background: var(--ink); color: var(--bg); }

.nav-right { display: flex; align-items: center; gap: var(--sp-3); }
.nav-cta { display: none; }
@media (min-width: 920px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid #2d7a2d;
  border-radius: var(--r-2);
  background: var(--bg);
  cursor: pointer;
  align-items: center;
  box-shadow: var(--shadow-hard-sm);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid #2d7a2d;
  background: var(--bg);
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--ink-line);
  font-weight: 600;
}
.mobile-menu .btn { margin-top: var(--sp-4); }

@media (min-width: 920px) {
  .nav-pill { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  border-bottom: 1px solid #2d7a2d;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50vw 60vw at 100% 100%, rgba(24, 180, 105, 0.18), transparent 55%),
    radial-gradient(40vw 50vw at 0% 0%, rgba(26, 56, 120, 0.7), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.hero > .container {
  position: relative;
  z-index: 2;
  padding-top: clamp(14px, 2.5vw, 26px);
  padding-bottom: clamp(35px, 4.8vw, 61px);
  max-height: 700px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-9); } }
.hero h1 {
  color: var(--on-navy);
  margin-bottom: var(--sp-5);
  max-width: 20ch;
  position: relative;
}
.offer-preview { max-width: 60ch; }
.hero h1 .accent-word {
  position: relative;
  display: inline-block;
  color: var(--accent-text);
}
.hero h1 .accent-word::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.08em;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2 8 Q 30 1, 60 6 T 120 6 T 198 5' stroke='%23F2C544' stroke-width='3' fill='none' stroke-linecap='round'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 100%;
  margin-bottom: var(--sp-7);
  line-height: 1.5;
}

/* Calculator card (hero) */
.calc {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border: 2px solid #a0c435;
  border-radius: 15px;
  padding: 20px 20px 30px 20px;
  box-shadow: 5px 5px 0px #73960b;
  margin: 0px;
}
.calc-title {
  margin: 0 0 16px;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1661a5;
}
.calc-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-weight: 800;
  font-size: clamp(2.25rem, 1.75rem + 2.25vw, 3.125rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin: 8px 0 18px;
}
.calc-amount .cur {
  font-size: 0.46em;
  align-self: flex-start;
  margin-top: 0.5em;
  font-weight: 800;
  color: #0F8B47;
}
.calc-slider-wrap {
  position: relative;
  margin-top: 4px;
  --thumb: 40px;
  --track-h: 12px;
  --ratio: 0.44;
}
.sld {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}
.sld-track {
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  height: var(--track-h);
  border-radius: 999px;
  background: #E7ECF3;
  box-shadow: 0 0 0 1px rgba(11, 21, 48, 0.40);
  overflow: hidden;
}
.sld-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--ratio));
  background: linear-gradient(90deg, #5DA42C, #83CB49);
}
.calc .range {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 40px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  accent-color: transparent;
}
.calc .range:focus { outline: none; }
.calc .range::-webkit-slider-runnable-track { height: 40px; border: none; background: transparent; }
.calc .range::-moz-range-track { height: 40px; border: none; background: transparent; }
.calc .range::-moz-focus-outer { border: 0; }
.calc .range::-moz-range-progress { background: transparent; border: none; height: 40px; }
.calc .range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--thumb);
  height: 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: grab;
}
.calc .range::-moz-range-thumb {
  width: var(--thumb);
  height: 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: grab;
}
.calc .range:active::-webkit-slider-thumb { cursor: grabbing; }
.calc .range:active::-moz-range-thumb { cursor: grabbing; }
.sld-handle {
  position: absolute;
  top: 50%;
  z-index: 5;
  left: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--ratio));
  transform: translate(-50%, -50%);
  width: 40px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffffff, #eef2f7);
  box-shadow: 0 0 0 1.5px rgba(11, 21, 48, 0.10), 0 5px 12px rgba(11, 21, 48, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F8B47;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  pointer-events: none;
  transition: transform 0.12s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.12s cubic-bezier(0.22, 1, 0.36, 1);
}
.calc-slider-wrap:hover .sld-handle { transform: translate(-50%, -50%) scale(1.06); }
.calc .range:active ~ .sld-handle { transform: translate(-50%, -50%) scale(1.1); }
.calc .range:focus-visible ~ .sld-handle {
  box-shadow: 0 0 0 1.5px rgba(11, 21, 48, 0.10), 0 0 0 6px rgba(31, 199, 110, 0.28), 0 5px 12px rgba(11, 21, 48, 0.26);
}
.calc-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: -8px;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9AA2B4;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.calc-cta { margin-top: 22px; width: fit-content; margin-inline: auto; display: flex; }

/* Candy button (hero CTA) */
.btn-candy {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.005em;
  padding: 13px 28px;
  white-space: nowrap;
  border-radius: 999px;
  border: 2px solid #2E7D2C;
  background: linear-gradient(180deg, #A6D86E 0%, #83CB49 36%, #62AD32 76%, #549D28 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 6px rgba(36, 90, 18, 0.40),
    0 4px 0 #3C7A24,
    0 7px 13px rgba(11, 21, 48, 0.26);
  text-shadow: 0 1px 1px rgba(20, 70, 10, 0.5);
  cursor: pointer;
  transition: transform 0.12s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.12s cubic-bezier(0.22, 1, 0.36, 1), filter 0.12s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-candy:hover { filter: brightness(1.05); color: #ffffff; }
.btn-candy:active {
  transform: translateY(3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 5px rgba(36, 90, 18, 0.5),
    0 1px 0 #3C7A24,
    0 3px 8px rgba(11, 21, 48, 0.3);
}
.btn-candy .chev { font-size: 1.15em; line-height: 0; transform: translateY(-1px); }

/* Navy variant */
.btn-candy--navy {
  border-color: #06163B;
  background: linear-gradient(180deg, #1A3878 0%, #0E2452 36%, #081A40 76%, #06163B 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4),
    0 4px 0 #04102B,
    0 7px 13px rgba(11, 21, 48, 0.3);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
.btn-candy--navy:hover { filter: brightness(1.12); color: #ffffff; }
.btn-candy--navy:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 5px rgba(0, 0, 0, 0.5),
    0 1px 0 #04102B,
    0 3px 8px rgba(11, 21, 48, 0.35);
}

/* Ghost variant */
.btn-candy--ghost {
  color: #3C7A24;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ef 100%);
  border-color: #62AD32;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(98, 173, 50, 0.15),
    0 4px 0 #a0c435,
    0 7px 13px rgba(11, 21, 48, 0.14);
  text-shadow: none;
}
.btn-candy--ghost:hover { filter: brightness(0.97); color: #2E5E1A; }
.btn-candy--ghost:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 3px rgba(98, 173, 50, 0.2),
    0 1px 0 #a0c435,
    0 3px 6px rgba(11, 21, 48, 0.15);
}

/* Mascot */
.mascot-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  aspect-ratio: 558 / 800;
}
.mascot-stage .mascot-portrait {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: auto;
  display: block;
}
.mascot-svg { width: 100%; height: auto; display: block; }
@media (max-width: 600px) { .mascot-stage { max-width: 300px; } }

/* Trust strip */
.trust {
  padding: var(--sp-7) 0 var(--sp-5) 0;
  background: var(--bg);
  border-bottom: 1px solid #2d7a2d;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: flex-start; gap: var(--sp-4); }
.trust-item .ill { flex-shrink: 0; width: 64px; height: 64px; }
.trust-item .ill img { width: 100%; height: 100%; }
.trust-item h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}
.trust-item p { font-size: 0.94rem; color: var(--ink-3); line-height: 1.5; }

/* Section scaffold */
.section {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--bg);
  position: relative;
}
.section--cream { background: var(--bg-cream); }
.section--mint  { background: var(--bg-mint); }
.section--green-tint { background: var(--green-tint); }
.section--navy  { background: var(--navy); color: var(--on-navy); }

.section-head {
  max-width: 760px;
  margin-bottom: var(--sp-9);
}
.section-head h2 { margin-bottom: var(--sp-4); }
.section-head p {
  font-size: var(--fs-body-lg);
  color: var(--ink-3);
  max-width: 56ch;
  line-height: 1.5;
}
.section--navy .section-head h2 { color: var(--on-navy); }
.section--navy .section-head p  { color: rgba(255, 255, 255, 0.8); }

/* How it works */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-9);
}
@media (min-width: 840px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-7); } }
.steps::before {
  content: "";
  display: none;
  position: absolute;
  top: 16px;
  left: 72px;
  right: calc((100% - 2 * var(--sp-7)) / 3);
  height: 40px;
  background-image: url("../images/icons/steps-connector.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 0;
}
@media (min-width: 840px) {
  .steps::before { display: block; }
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  text-align: left;
}
.step-num {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.8rem;
  color: #fff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.45);
  font-variant-numeric: tabular-nums;
  background: url("../images/icons/circle_green.png") center / contain no-repeat;
}
.step:nth-child(2) .step-num {
  background-image: url("../images/icons/circle_yellow.png");
}
.step:nth-child(3) .step-num {
  background-image: url("../images/icons/circle_red.png");
}
.step h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.18; color: var(--ink); margin-top: var(--sp-2); }
.step p { color: var(--ink-3); font-size: 1rem; line-height: 1.55; max-width: 36ch; }

/* Who Quick5k is for */
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 760px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-card {
  background: var(--bg);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-5);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  position: relative;
}
.who-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.who-grid > .who-card:nth-child(1) { background: #fbf5e4; }
.who-grid > .who-card:nth-child(2) { background: #e4fbe4; }
.who-grid > .who-card:nth-child(3) { background: #e4f5fb; }
.who-ill { width: 144px; height: 144px; margin-inline: auto; }
.who-ill img { width: 100%; height: 100%; }
.who-card h3 { font-size: 1.45rem; letter-spacing: -0.024em; line-height: 1.15; }
.who-card p { color: var(--ink-3); font-size: 1rem; line-height: 1.55; flex: 1; }
.who-tag {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 700;
  padding-top: var(--sp-4);
  border-top: 2px dashed var(--ink-line);
  align-self: stretch;
  justify-content: center;
}
.who-tag::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--green);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

/* Loan offer preview */
.offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 760px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer-card {
  background: var(--bg);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-6);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  box-shadow: var(--shadow-hard);
}
.offer-card.is-featured { background: var(--green-soft); }
.offer-tag {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--green);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.offer-lender {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1.5px solid var(--ink-line);
}
.offer-logo {
  width: 44px; height: 44px;
  border-radius: var(--r-2);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--bg-soft);
  color: var(--ink);
}
.offer-card:nth-child(2) .offer-logo { background: var(--gold-soft); }
.offer-card:nth-child(3) .offer-logo { background: var(--green-tint); }
.offer-lender-name { font-weight: 700; font-size: 1rem; color: var(--ink); line-height: 1.2; }
.offer-lender-meta { font-size: 0.82rem; color: var(--ink-3); font-weight: 500; }
.offer-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.offer-stat { display: flex; flex-direction: column; gap: 2px; }
.offer-stat-label {
  font-size: 0.74rem;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.offer-stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.offer-stat-value.accent { color: var(--green-deep); }
.offer-foot {
  padding-top: var(--sp-3);
  border-top: 1.5px solid var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: 0.85rem;
  color: var(--ink-3);
}
.offer-foot .speed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-deep);
  font-weight: 700;
}
.offers-note {
  margin-top: var(--sp-7);
  font-size: 0.88rem;
  color: var(--ink-3);
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  line-height: 1.5;
}
.offers-note strong { color: var(--ink); font-weight: 700; }

/* Mid-page band */
.band {
  background: var(--bg-cream);
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: 1px solid #2d7a2d;
  border-bottom: 1px solid #2d7a2d;
  position: relative;
  overflow: hidden;
}
.band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 860px) { .band-inner { grid-template-columns: 280px 1fr; gap: var(--sp-10); } }
.band-mascot {
  position: relative;
  width: 280px;
  aspect-ratio: 797.19 / 697.42;
  margin-inline: auto;
}
.band-mascot-portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68%;
  height: auto;
  display: block;
}
.band-mascot-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(90deg);
  display: block;
}
.band-copy h2 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.5rem);
  margin-bottom: var(--sp-4);
  max-width: 22ch;
  color: var(--ink);
}
.band-copy p {
  color: var(--ink-2);
  font-size: var(--fs-body-lg);
  margin-bottom: var(--sp-6);
  max-width: 52ch;
  line-height: 1.5;
}
.band-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.band-store-link {
  display: inline-block;
  line-height: 0;
  transition: transform var(--dur-1) var(--ease-out);
}
.band-store-link img { height: 64px; width: auto; display: block; }
.band-store-link:hover { transform: translateY(-2px); }
.band-store-link:focus-visible { outline-offset: 4px; border-radius: 8px; }

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-9);
}
@media (min-width: 920px) { .faq-wrap { grid-template-columns: 1fr 1.45fr; gap: var(--sp-10); } }
.faq-aside h2 { margin-bottom: var(--sp-4); }
.faq-aside p {
  color: var(--ink-3);
  font-size: var(--fs-body-lg);
  margin-bottom: var(--sp-6);
  line-height: 1.5;
}
.faq-list { border-top: 1px solid #2d7a2d; }
.faq-item { border-bottom: 2px solid var(--ink-line); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: var(--sp-5) 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  cursor: pointer;
  color: var(--ink);
  transition: color var(--dur-1) var(--ease-out);
}
.faq-q:hover { color: var(--green-deep); }
.faq-q .plus {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 2px solid var(--ink);
  border-radius: var(--r-2);
  background: var(--bg);
  position: relative;
  transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.faq-q .plus::before { width: 12px; height: 2.5px; transform: translate(-50%, -50%); }
.faq-q .plus::after { width: 2.5px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-q .plus { background: var(--green); }
.faq-item.is-open .faq-q .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-3) var(--ease-out);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding: 0 0 var(--sp-5);
  max-width: 62ch;
}

/* Money Hacks carousel (homepage preview) */
.hacks-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-bottom: var(--sp-9);
}
.hacks-head .section-head { margin-bottom: 0; max-width: 600px; }
.hacks-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 10px 16px;
  border: 1px solid #2d7a2d;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-hard-sm);
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.hacks-link:hover { transform: translate(2px, 2px); box-shadow: 0 0 0 0 var(--ink); }
.hacks-carousel { position: relative; overflow-x: clip; overflow-y: visible; }
.hacks-scroller {
  display: flex;
  gap: var(--sp-5);
  transition: transform 380ms var(--ease-out);
  will-change: transform;
  padding-bottom: var(--sp-4);
}
.hack-card {
  flex: 0 0 calc((100% - 3 * var(--sp-5)) / 4);
  background: var(--bg);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
@media (max-width: 960px) { .hack-card { flex: 0 0 calc((100% - var(--sp-5)) / 2); } }
@media (max-width: 600px) { .hack-card { flex: 0 0 82%; } }
.hack-card:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--ink); }
.hack-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  border-bottom: 1px solid #2d7a2d;
  background: var(--bg-mint);
  overflow: hidden;
}
.hack-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hack-body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.hack-cat {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  gap: 6px;
  background: var(--ink);
  color: var(--bg);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hack-cat::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
}
.hack-card h3 {
  font-size: 1.18rem;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--ink);
}
.hacks-nav { display: flex; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-7); }
.hacks-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid #2d7a2d;
  background: var(--bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-hard-sm);
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out);
}
.hacks-arrow:hover:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
  background: var(--green);
}
.hacks-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.hacks-arrow img { width: 20px; height: 20px; }

/* Final CTA */
.final-cta {
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(64px, 7vw, 96px) 0;
  overflow: hidden;
  border-top: 1px solid #2d7a2d;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 860px) { .final-cta-inner { grid-template-columns: 300px 1fr; gap: var(--sp-10); } }
.final-cta h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem);
  color: var(--on-navy);
  margin-bottom: var(--sp-4);
  max-width: 16ch;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.final-cta h2 .accent-green {
  position: relative;
  color: var(--accent-text);
}
.final-cta h2 .accent-green::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.04em;
  height: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'><path d='M2 5 Q 30 0, 60 4 T 120 4 T 198 3' stroke='%23F2C544' stroke-width='3' fill='none' stroke-linecap='round'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.final-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-body-lg);
  max-width: 50ch;
  margin-bottom: var(--sp-7);
  line-height: 1.5;
}
.final-cta-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.final-mascot {
  position: relative;
  width: 300px;
  aspect-ratio: 797.19 / 697.42;
  margin-inline: auto;
}
.final-mascot-portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  display: block;
}
.final-mascot-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, 0.3));
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: var(--sp-11) 0 var(--sp-7);
}
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--green); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-9); } }
.footer-brand .brand { color: var(--on-navy); }
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--sp-4);
  font-size: 0.96rem;
  max-width: 38ch;
  line-height: 1.5;
}
.footer-col h4 {
  color: var(--on-navy);
  font-size: 0.95rem;
  margin-bottom: var(--sp-5);
  font-weight: 800;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-col a { font-size: 0.96rem; }
.legal {
  margin-top: var(--sp-10);
  padding-top: var(--sp-7);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: var(--sp-5);
}
.legal p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  line-height: 1.55;
}
.legal-strong { color: var(--on-navy); font-weight: 700; }
.legal .legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
}
.legal .legal-row ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

/* Reveal animation */
.reveal {
  transform: translateY(12px);
  transition: transform 720ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { transform: translateY(0); }
.hero h1.reveal { --reveal-delay: 80ms; }
.hero .hero-sub.reveal { --reveal-delay: 220ms; }
.hero .calc.reveal { --reveal-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Generic page hero */
.page-hero {
  position: relative;
  background: var(--bg-cream);
  border-bottom: 1px solid #2d7a2d;
  padding: clamp(56px, 6vw, 88px) 0 clamp(48px, 5vw, 72px);
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.2rem);
  letter-spacing: -0.035em;
  max-width: 22ch;
  margin-bottom: var(--sp-5);
}
.page-hero p {
  color: var(--ink-3);
  font-size: var(--fs-body-lg);
  max-width: 60ch;
  line-height: 1.5;
}
.page-hero--mint { background: var(--bg-mint); }
.page-hero--navy { background: var(--navy); color: var(--on-navy); }
.page-hero--navy h1 { color: var(--on-navy); }
.page-hero--navy p { color: rgba(255, 255, 255, 0.82); }

/* Breadcrumbs */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  margin-bottom: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumbs a { color: var(--ink-3); font-weight: 600; }
.breadcrumbs a:hover { color: var(--green-deep); }
.breadcrumbs .sep { color: var(--ink-4); }

/* About page team grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card {
  background: var(--bg);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  box-shadow: var(--shadow-hard-sm);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.team-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); color: inherit; }
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-3);
  border: 2px solid var(--ink);
  overflow: hidden;
  background: var(--bg-mint);
  margin-bottom: var(--sp-3);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-weight: 800; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.015em; }
.team-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  font-weight: 700;
}
.team-bio { color: var(--ink-3); font-size: 0.95rem; line-height: 1.5; }

/* Disclosure box */
.disclosure-box {
  background: var(--bg-soft);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-6);
  box-shadow: var(--shadow-hard-sm);
  margin-top: var(--sp-7);
}
.disclosure-box h3 { font-size: 1.1rem; margin-bottom: var(--sp-3); color: var(--ink); }
.disclosure-box p {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: var(--sp-3);
}
.disclosure-box p:last-child { margin-bottom: 0; }

/* Contact form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 920px) { .form-grid { grid-template-columns: 1.4fr 1fr; gap: var(--sp-10); } }

.form-card {
  background: var(--bg);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-hard);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-5);
}
.form-row label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.form-row label .required { color: var(--green-deep); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--r-2);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: box-shadow var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  box-shadow: 3px 3px 0 0 var(--green);
  transform: translate(-1px, -1px);
}
.form-row .help { font-size: 0.82rem; color: var(--ink-3); font-weight: 500; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }

.form-consent {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  background: var(--bg-soft);
  border: 2px solid var(--ink);
  border-radius: var(--r-3);
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.form-consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green-deep);
}
.form-consent p { font-size: 0.85rem; color: var(--ink-2); line-height: 1.5; }

.form-status {
  margin-bottom: var(--sp-5);
  padding: var(--sp-4);
  border: 2px solid var(--ink);
  border-radius: var(--r-3);
  font-weight: 700;
}
.form-status--success {
  background: var(--green-soft);
  color: var(--green-cta-hover);
  border-color: var(--green-deep);
}
.form-status--error {
  background: #FDECEC;
  color: var(--danger);
  border-color: var(--danger);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.contact-aside-card {
  background: var(--bg-mint);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-5);
}
.contact-aside-card h3 { font-size: 1.1rem; margin-bottom: var(--sp-2); color: var(--ink); }
.contact-aside-card p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.contact-aside-text {
  background: var(--bg-mint);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-6);
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

/* Tools page */
.tools-tabs-row {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}
.tools-tabs-mascot {
  width: 15%;
  max-width: 96px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.tools-tabs-row > .tools-tabs { flex: 1; margin-bottom: 0; }
@media (max-width: 640px) {
  .tools-tabs-row { flex-direction: column; align-items: stretch; }
  .tools-tabs-mascot { width: 18%; margin-inline: auto; }
}
.tools-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
  padding: var(--sp-2);
  background: var(--bg-soft);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-hard-sm);
}
.tools-tab {
  flex: 1 1 auto;
  background: transparent;
  border: 0;
  padding: 12px 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  cursor: pointer;
  text-align: center;
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.tools-tab:hover { background: var(--bg); color: var(--ink); }
.tools-tab.is-active { background: var(--ink); color: var(--bg); }

.tool-panel { display: none; }
.tool-panel.is-active { display: block; }
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
@media (min-width: 920px) { .tool-grid { grid-template-columns: 1.1fr 1fr; gap: var(--sp-9); } }

.tool-inputs {
  background: var(--bg);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-6);
  box-shadow: var(--shadow-hard);
}
.tool-inputs h2 { font-size: 1.4rem; margin-bottom: var(--sp-2); }
.tool-inputs .lede { color: var(--ink-3); font-size: 0.96rem; line-height: 1.5; margin-bottom: var(--sp-6); }

.tool-results {
  background: var(--bg-mint);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-6);
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.tool-results h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}
.tool-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 2px dashed var(--ink-line);
}
.tool-result-row:last-child { border-bottom: 0; padding-bottom: 0; }
.tool-result-label { font-size: 0.95rem; color: var(--ink-2); font-weight: 600; }
.tool-result-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.tool-result-value--big { font-size: 2.4rem; color: var(--green-deep); }

.tool-toggle {
  display: flex;
  gap: var(--sp-2);
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 3px;
  background: var(--bg-soft);
  margin-bottom: var(--sp-4);
}
.tool-toggle button {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.tool-toggle button.is-active { background: var(--ink); color: var(--bg); }

/* Lender form page */
.lender-form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 920px) { .lender-form-wrap { grid-template-columns: 1.4fr 1fr; gap: var(--sp-9); } }

.lender-amount {
  background: var(--bg);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-6);
  box-shadow: var(--shadow-hard);
  margin-bottom: var(--sp-6);
}
.lender-amount-figure {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin-bottom: var(--sp-4);
}
.lender-amount-figure .currency {
  font-size: 0.5em;
  color: var(--green-deep);
  align-self: flex-start;
  margin-top: 0.4em;
}

.lender-placeholder-note {
  background: var(--gold-soft);
  border: 2px dashed var(--ink);
  border-radius: var(--r-3);
  padding: var(--sp-4);
  margin-bottom: var(--sp-6);
  font-size: 0.9rem;
  color: var(--ink-2);
  font-family: var(--font-mono);
  line-height: 1.5;
}
.lender-placeholder-note strong { color: var(--ink); font-weight: 700; }

/* Legal pages */
.legal-page-wrap {
  display: block;
}
.legal-toc {
  position: sticky;
  top: var(--sp-5);
  align-self: start;
  font-size: 0.9rem;
}
.legal-toc h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-3);
  font-weight: 700;
}
.legal-toc ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid var(--ink-line);
  padding-left: var(--sp-3);
}
.legal-toc a { color: var(--ink-2); font-weight: 500; line-height: 1.4; }
.legal-toc a:hover { color: var(--green-deep); font-weight: 700; }

.legal-body { max-width: 70ch; }
.legal-body h2 {
  font-size: 1.55rem;
  margin-top: var(--sp-9);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.15rem; margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.legal-body p {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}
.legal-body ul, .legal-body ol {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: var(--sp-4);
  padding-left: var(--sp-5);
}
.legal-body li { margin-bottom: var(--sp-2); }
.legal-body .updated {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-bottom: var(--sp-6);
}

/* Author bio page */
.author-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 720px) { .author-hero { grid-template-columns: 220px 1fr; gap: var(--sp-8); } }
.author-photo-lg {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px solid var(--ink);
  overflow: hidden;
  background: var(--bg-mint);
  box-shadow: var(--shadow-hard);
}
.author-photo-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-meta-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.author-bio-long {
  font-size: var(--fs-body-lg);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 62ch;
}
.author-bio-long p { margin-bottom: var(--sp-4); }

/* Trust strip light */
.trust-strip-light {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  background: var(--bg-mint);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
  list-style: none;
}
.trust-strip-light li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink-2);
  font-weight: 600;
  list-style: none;
}
.trust-strip-light li::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

/* Article body */
.article-hero {
  position: relative;
  background: var(--bg-cream);
  border-bottom: 1px solid #2d7a2d;
  padding: clamp(48px, 5vw, 72px) 0 var(--sp-7);
}
.article-hero .container { max-width: 880px; }
.article-hero h1 {
  font-size: clamp(2.2rem, 1.3rem + 3vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: var(--sp-5);
  max-width: 26ch;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.article-meta a { color: var(--ink); font-weight: 700; }
.article-meta .dot-sep { width: 4px; height: 4px; background: var(--ink-line-2); border-radius: 50%; }
.article-hero-image {
  width: 100%;
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  background: var(--bg-mint);
  margin-top: var(--sp-6);
}
.article-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body { padding: var(--sp-9) 0; }
.article-body .container { max-width: 760px; }
.article-body h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  margin-top: var(--sp-9);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.022em;
  scroll-margin-top: 100px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.25rem; margin-top: var(--sp-7); margin-bottom: var(--sp-3); color: var(--ink); }
.article-body p {
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
.article-body ul, .article-body ol {
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--sp-5);
  padding-left: var(--sp-6);
}
.article-body li { margin-bottom: var(--sp-3); }
.article-body blockquote {
  border-left: 4px solid var(--green);
  padding: var(--sp-3) var(--sp-5);
  background: var(--bg-mint);
  border-radius: 0 var(--r-3) var(--r-3) 0;
  margin: var(--sp-6) 0;
  font-style: italic;
  color: var(--ink-2);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
  border: 1px solid #2d7a2d;
  border-radius: var(--r-3);
  overflow: hidden;
  font-size: 0.96rem;
}
.article-body th, .article-body td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1.5px solid var(--ink-line);
  text-align: left;
  vertical-align: top;
}
.article-body th { background: var(--ink); color: var(--bg); font-weight: 700; border-bottom: 0; }
.article-body tr:nth-child(even) td { background: var(--bg-soft); }
.article-body tr:last-child td { border-bottom: 0; }
.article-body a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.article-body a:hover { color: var(--green-cta-hover); }

.article-faq {
  background: var(--bg-mint);
  border-top: 1px solid #2d7a2d;
  border-bottom: 1px solid #2d7a2d;
  padding: var(--sp-10) 0;
}
.article-faq .container { max-width: 880px; }
.article-faq h2 { margin-bottom: var(--sp-7); }

.author-footer { background: var(--bg); padding: var(--sp-9) 0; }
.author-footer .container { max-width: 880px; }
.author-footer-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: center;
  background: var(--bg-cream);
  border: 1px solid #2d7a2d;
  border-radius: var(--r-4);
  padding: var(--sp-6);
  box-shadow: var(--shadow-hard-sm);
}
@media (min-width: 640px) { .author-footer-card { grid-template-columns: 120px 1fr; gap: var(--sp-6); } }
.author-footer-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid #2d7a2d;
  overflow: hidden;
  background: var(--bg-mint);
}
.author-footer-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-footer-name { font-weight: 800; font-size: 1.15rem; color: var(--ink); margin-bottom: 2px; }
.author-footer-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.author-footer-bio { color: var(--ink-3); font-size: 0.95rem; line-height: 1.5; margin-bottom: var(--sp-3); }
.author-footer-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Small screens */
@media (max-width: 480px) {
  .container { padding-inline: var(--sp-5); }
  .hero > .container { padding-top: 12px; padding-bottom: 36px; max-height: none; }
  .hero h1 { font-size: 2.4rem; max-width: none; }
  .calc { padding: 16px 16px 24px 16px; box-shadow: 4px 4px 0px #73960b; }
  .calc-amount { font-size: 2.5rem; }
}

