/* ==========================================================================
   TLE Funding — Design System
   ========================================================================== */

:root {
  --dark: #1c2a22;
  --primary: #2f4a3d;
  --primary-light: #3d5f4e;
  --accent: #4caf47;
  --accent-light: #5fc158;
  --gold: #c0aa81;
  --gold-light: #d4c3a1;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text: #29352f;
  --text-muted: #6b7770;
  --border: #e3e0d6;

  --font-serif: "Cardo", Georgia, serif;
  --font-sans: "Cabin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(28, 42, 34, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 42, 34, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

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

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

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

.section {
  padding: 90px 0;
}

.section-tight { padding: 60px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(76, 175, 71, 0.35);
}
.btn-accent:hover { background: var(--accent-light); }

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 8px 20px rgba(192, 170, 129, 0.35);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 16px;
}
.topbar a.phone { color: var(--gold-light); font-weight: 700; }
.topbar-msg { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.topbar-msg span { opacity: 0.7; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--dark);
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%; height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }

.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 34px; height: 34px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--dark); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 20% 20%, #274436 0%, var(--dark) 65%);
  overflow: hidden;
  padding: 70px 0 90px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 10%, rgba(192,170,129,0.18), transparent 45%),
    radial-gradient(circle at 100% 90%, rgba(76,175,71,0.22), transparent 40%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-text h1 { color: var(--white); }
.hero-text .lede { color: rgba(255,255,255,0.78); font-size: 1.2rem; }
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-light);
}
.hero-stats div span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}
.hero-scroll {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-scroll svg { width: 16px; animation: bounce 1.6s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- Application form card ---------- */
.app-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 34px;
  position: relative;
}
.app-card h4 { margin-bottom: 4px; }
.app-card .step-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}
.app-card .step-progress span {
  height: 4px;
  flex: 1;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.app-card .step-progress span i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.25s ease;
}
.app-step { display: none; }
.app-step.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }

.field-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.field-input, .field-select, textarea.field-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-bottom: 16px;
  background: var(--cream);
  transition: border-color 0.15s ease;
}
.field-input:focus, .field-select:focus, textarea.field-input:focus {
  outline: none;
  border-color: var(--accent);
}
.field-row { display: flex; gap: 12px; }
.field-row > * { flex: 1; }

.step-nav { display: flex; gap: 10px; margin-top: 6px; }
.step-nav .btn { flex: 1; }

.app-success {
  text-align: center;
  padding: 20px 0;
}
.app-success .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(76,175,71,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.app-success .check svg { width: 26px; color: var(--accent); }

/* ---------- Feature / value cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card .icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card .icon svg { width: 22px; height: 22px; color: var(--white); }
.feature-card p { color: var(--text-muted); margin-bottom: 0; font-size: 0.95rem; }

.section-header { max-width: 640px; margin-bottom: 50px; }
.section-header.text-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Mission split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.split-visual {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: url("../images/mission-visual.jpg") center/cover no-repeat, linear-gradient(160deg, var(--primary) 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}
.split-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(160deg, rgba(28,42,34,0.35) 0%, rgba(28,42,34,0.75) 100%),
                     radial-gradient(circle at 70% 20%, rgba(192,170,129,0.35), transparent 50%),
                     radial-gradient(circle at 20% 90%, rgba(76,175,71,0.4), transparent 45%);
}
.split-visual .quote-card {
  position: relative;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 24px;
  color: var(--white);
}
.split-visual .quote-card p { font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; margin-bottom: 10px; }
.split-visual .quote-card strong { color: var(--gold-light); display: block; font-size: 0.9rem; }
.split-visual .quote-card span { font-size: 0.8rem; opacity: 0.75; }

/* ---------- Steps (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.step-item { text-align: center; padding: 0 10px; }
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Use cases ---------- */
.usecase-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
}
.usecase-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(47,74,61,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.usecase-card .amount {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.usecase-card .amount-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.usecase-card .used-for { font-size: 0.88rem; color: var(--text-muted); margin-top: 12px; margin-bottom: 0; }

/* ---------- Support banner ---------- */
.support-banner {
  background: var(--primary);
  border-radius: 20px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  flex-wrap: wrap;
}
.support-banner h3 { color: var(--white); margin-bottom: 8px; }
.support-banner p { color: rgba(255,255,255,0.75); margin-bottom: 0; max-width: 480px; }

/* ---------- Final CTA ---------- */
.cta-section {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(76,175,71,0.25), transparent 40%),
                     radial-gradient(circle at 85% 80%, rgba(192,170,129,0.2), transparent 40%);
}
.cta-section .container { position: relative; }
.cta-section h2 { color: var(--white); }
.cta-section .lede { color: rgba(255,255,255,0.75); margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-actions .or { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.cta-actions .phone-link { color: var(--gold-light); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 70px 0 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-top .logo { color: var(--white); margin-bottom: 16px; }
.footer-tagline { font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); max-width: 280px; margin-bottom: 22px; }
.footer-subscribe { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer-subscribe input {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-sans);
}
.footer-subscribe input::placeholder { color: rgba(255,255,255,0.45); }
.footer-col h5 { color: var(--white); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; font-family: var(--font-sans); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: rgba(255,255,255,0.1); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: 0.8rem; color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 10px;
}

/* ---------- Generic hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--primary), var(--dark));
  color: var(--white);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(192,170,129,0.2), transparent 40%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .lede { color: rgba(255,255,255,0.75); }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Services list ---------- */
.services-list { border-top: 1px solid var(--border); }
.services-list-item {
  border-bottom: 1px solid var(--border);
}
.services-list-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--dark);
  transition: color 0.15s ease, padding-left 0.2s ease;
}
.services-list-item a:hover { color: var(--accent); padding-left: 10px; }
.services-list-item a svg { width: 22px; flex-shrink: 0; opacity: 0.5; transition: transform 0.2s ease, opacity 0.2s ease; }
.services-list-item a:hover svg { opacity: 1; transform: translateX(6px); }

/* ---------- Service detail ---------- */
.detail-block { max-width: 720px; }
.qualify-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.qualify-list li svg { width: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.payment-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--cream);
  position: relative;
}
.payment-card .badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.case-example {
  background: var(--cream);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 30px;
}
.other-services a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.other-services a:hover { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-item .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .icon svg { width: 20px; height: 20px; color: var(--white); }
.contact-info-item strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card .thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-card .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(0deg, rgba(28,42,34,0.55) 0%, rgba(28,42,34,0.05) 55%),
                     radial-gradient(circle at 80% 20%, rgba(192,170,129,0.25), transparent 50%);
}
.blog-card .thumb.photo-1 { background-image: url("../images/blog-1.jpg"); }
.blog-card .thumb.photo-2 { background-image: url("../images/blog-2.jpg"); }
.blog-card .thumb.photo-3 { background-image: url("../images/blog-3.jpg"); }
.blog-card .thumb.photo-4 { background-image: url("../images/blog-4.jpg"); }
.blog-card .thumb .date-badge {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--white); color: var(--dark);
  border-radius: 8px; padding: 8px 12px; text-align: center;
  font-family: var(--font-serif);
  line-height: 1.1;
}
.blog-card .thumb .date-badge strong { display: block; font-size: 1.2rem; }
.blog-card .thumb .date-badge span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-card .tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.blog-card .byline { margin-top: auto; font-size: 0.85rem; color: var(--text-muted); }

.subscribe-banner {
  background: var(--cream);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
}
.subscribe-form-inline { display: flex; gap: 10px; max-width: 460px; margin: 20px auto 0; }
.subscribe-form-inline input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-family: var(--font-sans);
}

/* ---------- Contact form card ---------- */
.form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(28,42,34,0.6);
  display: none;
  align-items: center; justify-content: center;
  z-index: 500;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  padding: 36px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: none; border: none; cursor: pointer;
  width: 30px; height: 30px;
  color: var(--text-muted);
}
.modal-close svg { width: 18px; height: 18px; }

/* ---------- Toast ---------- */
.form-msg { font-size: 0.9rem; padding: 10px 14px; border-radius: 8px; margin-top: 10px; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: rgba(76,175,71,0.12); color: #2c6e28; }
.form-msg.error { background: rgba(214,80,80,0.12); color: #a33; }

/* ---------- Utility badges ---------- */
.note-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-visual { aspect-ratio: 16/9; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- SMS consent ---------- */
.sms-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  cursor: pointer;
}
.sms-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.sms-consent span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.sms-consent a { color: var(--primary); text-decoration: underline; }
.sms-consent a:hover { color: var(--accent); }

/* ---------- Footer legal row ---------- */
.footer-legal-links a { margin: 0 6px; }
.footer-legal-links a:hover { color: var(--gold-light); text-decoration: underline; }

/* ---------- Legal / prose pages ---------- */
.prose { max-width: 780px; }
.prose .updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2.8em; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-muted); font-size: 0.98rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--text); }

@media (max-width: 720px) {
  .topbar-msg span:first-child { display: none; }
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: var(--white); flex-direction: column; align-items: flex-start; padding: 90px 30px 30px; gap: 26px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15); transition: right 0.25s ease; z-index: 300; }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-right .btn-accent { display: none; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .support-banner { flex-direction: column; text-align: center; }
  .field-row { flex-direction: column; }
  .section { padding: 60px 0; }
}
