/* Ascend Partnerships – site styles
   Brand: orange #F06723, sand #E2CEB5, black. Type: Montserrat.
   Orange backgrounds always carry black text (white on orange fails contrast). */

:root {
  --orange: #F06723;
  --sand: #E2CEB5;
  --sand-light: #F6EFE6;
  --ink: #111111;
  --black: #0E0E0E;
  --rust: #8A3A10;       /* orange-family text on white (7.8:1) */
  --rust-dark: #5A2208;  /* orange-family text on sand */
  --grey-text: #333333;
  --grey-mid: #444444;
  --on-dark: #E0E0E0;
  --on-dark-muted: #BDBDBD;
  --radius: 6px;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--ink); }
a:hover { color: var(--rust-dark); }

h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: #000;
  padding: 12px 16px;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.btn-lg { font-size: 17px; padding: 18px 28px; }
.btn-orange { background: var(--orange); color: #000; border-color: var(--orange); }
.btn-orange:hover { background: #FF7A38; color: #000; }
.btn-dark { background: var(--ink); color: #FFF; border-color: var(--ink); }
.btn-dark:hover { background: #333; color: #FFF; }
.btn-black { background: #000; color: #FFF; border-color: #000; }
.btn-black:hover { background: #2A2A2A; color: #FFF; }
.btn-outline-light { background: transparent; color: #FFF; border-color: #FFF; }
.btn-outline-light:hover { background: #FFF; color: #000; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--black);
  color: #FFF;
  border-bottom: 1px solid #2A2A2A;
  position: relative;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFF;
}
.brand:hover { color: #FFF; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: 0.06em; }
.brand-sub { font-weight: 500; font-size: 11px; letter-spacing: 0.32em; color: var(--sand); }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
}
.main-nav a:not(.btn) { color: #FFF; text-decoration: none; }
.main-nav a:not(.btn):hover,
.main-nav a[aria-current="page"] { color: var(--orange); }
.main-nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid #FFF;
  color: #FFF;
  border-radius: 4px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--black);
    border-bottom: 1px solid #2A2A2A;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 32px 24px;
  }
  .main-nav li a:not(.btn) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #222;
    font-size: 17px;
  }
  .main-nav li:last-child { margin-top: 16px; }
  .main-nav .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-dark { background: var(--black); color: #FFF; }
.section-ink { background: var(--ink); color: #FFF; }
.section-sand { background: var(--sand); }
.section-sand-light { background: var(--sand-light); }
.section-orange { background: var(--orange); color: #000; }

.stack { display: flex; flex-direction: column; gap: 44px; }
.stack-sm { display: flex; flex-direction: column; gap: 16px; }

.h-section { font-size: clamp(32px, 4vw, 48px); font-weight: 900; }
.lead { font-size: 18px; color: #222; max-width: 720px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ---------- Hero ---------- */
.hero { background: var(--black); color: #FFF; overflow: hidden; }
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 96px;
  padding-bottom: 112px;
}
.hero-copy { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.hero .eyebrow { color: var(--sand); letter-spacing: 0.18em; }
.hero h1 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub { font-size: 20px; line-height: 1.6; color: #E8E8E8; max-width: 640px; }
.hero-note { font-size: 15px; color: #CFCFCF; }
.hero-note a { color: #FFF; font-weight: 700; }

/* Smaller hero for inner pages */
.page-hero .hero-inner { padding-top: 80px; padding-bottom: 88px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 72px); }

/* ---------- Route cards ---------- */
.routes { margin-top: -56px; position: relative; }
.route-card {
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.route-card h2 { font-size: 34px; font-weight: 800; line-height: 1.15; }
.route-card .btn { margin-top: auto; align-self: flex-start; }
.route-card p { color: var(--grey-text); }
.route-card .strong { font-weight: 700; color: var(--ink); }
.route-grow { background: #FFF; border: 2px solid var(--ink); }
.route-grow .eyebrow { color: var(--rust); letter-spacing: 0.14em; }
.route-solution { background: var(--sand); border: 2px solid var(--sand); }
.route-solution p { color: #222; }
.route-solution .eyebrow { color: var(--rust-dark); letter-spacing: 0.14em; }
.routes-foot { margin-top: 28px; text-align: center; font-size: 16px; }
.routes-foot a { font-weight: 700; }

/* ---------- Results bar ---------- */
.results-bar { padding: 64px 0; }
.results-bar h2 { font-size: 28px; font-weight: 800; }
.stat { display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--orange); padding-top: 20px; }
.stat-num { font-size: 60px; font-weight: 900; line-height: 1; color: var(--orange); }
.stat-sand { border-top-color: var(--sand); }
.stat-sand .stat-num { color: var(--sand); }
.stat-label { font-size: 16px; color: var(--on-dark); }

/* ---------- Why Ascend ---------- */
.reason { display: flex; flex-direction: column; gap: 12px; }
.reason-num { font-size: 15px; font-weight: 800; color: var(--rust); }
.reason h3 { font-size: 24px; font-weight: 800; }
.reason p { color: var(--grey-text); }

/* ---------- How it works ---------- */
.steps-card {
  background: #FFF;
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.steps-card h3 { font-size: 22px; font-weight: 800; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 18px; font-size: 16px; color: var(--grey-text); }
.steps strong { color: var(--ink); }
.step-num {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-dark .step-num { background: var(--ink); color: #FFF; }

/* ---------- Market cards ---------- */
.market-card {
  text-decoration: none;
  color: var(--ink);
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease;
}
.market-card:hover { border-color: var(--ink); color: var(--ink); }
.market-card h3 { font-size: 21px; font-weight: 800; }
.market-card p { font-size: 15px; color: var(--grey-mid); }

/* ---------- Fee cards ---------- */
.fee-card {
  background: #FFF;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fee-card .eyebrow { font-size: 14px; letter-spacing: 0.1em; color: var(--rust-dark); }
.fee-num { font-size: 52px; font-weight: 900; line-height: 1; }
.fee-num small { font-size: 22px; font-weight: 700; }
.fee-card p { font-size: 16px; color: var(--grey-text); }
.fee-card-dark { background: var(--ink); color: #FFF; }
.fee-card-dark .eyebrow { color: var(--sand); }
.fee-card-dark .fee-num { color: var(--orange); }
.fee-card-dark p { color: var(--on-dark); }

/* ---------- Name tiles ---------- */
.name-tile {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

/* ---------- Introducer band ---------- */
.intro-band { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.intro-band-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.intro-band-copy h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.1; }
.intro-band-copy p { font-size: 18px; }
.intro-band-side { flex: 1 1 260px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.big-split { font-size: 72px; font-weight: 900; line-height: 1; }

/* ---------- Contact band ---------- */
.contact-band { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-band-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-band-copy h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 900; line-height: 1.05; }
.contact-band-copy h2 .accent { color: var(--orange); }
.contact-band-copy p { font-size: 18px; color: var(--on-dark); }
.contact-band-copy .btn { align-self: flex-start; margin-top: 8px; }
.contact-list { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-item .eyebrow { color: var(--sand); letter-spacing: 0.14em; }
.contact-item a { color: #FFF; font-size: 19px; font-weight: 700; word-break: break-word; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 2px solid var(--ink); }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; background: #FFF; }
.data-table th, .data-table td { text-align: left; padding: 18px 20px; vertical-align: top; font-size: 16px; }
.data-table thead th { background: var(--ink); color: #FFF; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.data-table tbody tr + tr td { border-top: 1px solid #DDD; }
.data-table td.price { font-weight: 800; }
.data-table tbody tr.row-highlight td { background: var(--sand-light); }

/* ---------- Prose blocks ---------- */
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.prose p, .prose li { color: var(--grey-text); }
.prose strong { color: var(--ink); }
.prose h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; color: var(--ink); }
.prose h3 { font-size: 21px; font-weight: 800; color: var(--ink); margin-top: 8px; }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { flex: 0 0 24px; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.faq details {
  background: #FFF;
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  padding: 0 24px;
}
.faq details[open] { border-color: var(--ink); }
.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
  padding: 20px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--rust); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--grey-text); }

/* ---------- Forms ---------- */
.form-card {
  background: #FFF;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field .optional { font-weight: 500; color: #555; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 2px solid #8C8C8C;
  border-radius: 4px;
  min-height: 48px;
  background: #FFF;
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--orange); outline-offset: 1px; }
.field label.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; color: var(--grey-text); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 22px; accent-color: var(--orange); }
.hidden-field { position: absolute; left: -9999px; }

/* ---------- Small print ---------- */
.small-print { font-size: 14px; color: #555; max-width: 860px; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: var(--on-dark-muted); border-top: 1px solid #2A2A2A; font-size: 14px; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer-brand { font-weight: 800; color: #FFF; letter-spacing: 0.06em; }
.footer-brand span { font-weight: 500; color: var(--sand); letter-spacing: 0.24em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: #DADADA; }
.footer-nav a:hover { color: var(--orange); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: 64px 0; }
  .hero-inner { padding-top: 56px; padding-bottom: 96px; }
  .hero-art { display: none; }
  .route-card, .form-card, .steps-card, .tool-card { padding: 28px 22px; }
  .route-card h2 { font-size: 28px; }
  .stat-num { font-size: 48px; }
  .fee-num { font-size: 44px; }
  .big-split { font-size: 56px; }
}

/* ---------- Inner page components ---------- */
.breadcrumb { font-size: 14px; color: var(--sand); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #888; }
.breadcrumb a { color: var(--sand); }
.breadcrumb a:hover { color: #FFF; }
.breadcrumb [aria-current] { color: #FFF; }

.link-card {
  text-decoration: none;
  color: var(--ink);
  background: #FFF;
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease;
}
.link-card:hover { border-color: var(--ink); color: var(--ink); }
.link-card h3 { font-size: 21px; font-weight: 800; }
.link-card p { font-size: 15px; color: var(--grey-mid); }
.link-card .more { margin-top: auto; font-weight: 800; font-size: 15px; color: var(--rust); }
.link-card .tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--sand-light); color: var(--rust-dark); padding: 4px 10px; border-radius: 3px; }

.who-pays {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #FFF;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.who-pays .eyebrow { color: var(--rust); letter-spacing: 0.14em; }
.who-pays h2, .who-pays h3 { font-size: 22px; font-weight: 800; }
.who-pays p { font-size: 16px; color: var(--grey-text); }

.todo {
  background: #FFF3B0;
  color: #3A2F00;
  font-weight: 700;
  padding: 0 4px;
  border-radius: 2px;
}

.callout {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.callout p { color: #222; }

.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.compare-col {
  background: #FFF;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compare-col h3 { font-size: 24px; font-weight: 800; }
.compare-col .eyebrow { color: var(--rust); letter-spacing: 0.14em; }
.compare-col ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--grey-text); }
.compare-col-dark { background: var(--ink); color: #FFF; border-color: var(--ink); }
.compare-col-dark .eyebrow { color: var(--sand); }
.compare-col-dark ul { color: var(--on-dark); }

.tool-card {
  background: #FFF;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tool-result {
  background: var(--ink);
  color: #FFF;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-result .big { font-size: 40px; font-weight: 900; color: var(--orange); line-height: 1.1; }
.tool-result p { color: var(--on-dark); }
.tool-result.is-positive { background: #12351F; }
.tool-result.is-positive .big { color: #7EE2A1; }
.tool-result.is-neutral .big { color: var(--sand); }

.question { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.question legend { font-weight: 800; font-size: 17px; margin-bottom: 6px; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid #8C8C8C;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}
.choice input { width: 20px; height: 20px; accent-color: var(--orange); margin: 0; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--sand-light); }

.number-list { counter-reset: n; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.number-list li { counter-increment: n; display: flex; flex-direction: column; gap: 10px; }
.number-list li::before {
  content: counter(n, decimal-leading-zero);
  font-size: 15px;
  font-weight: 800;
  color: var(--rust);
}
.number-list h3 { font-size: 21px; font-weight: 800; }
.number-list p { color: var(--grey-text); }
.section-ink .number-list li::before, .section-dark .number-list li::before { color: var(--orange); }
.section-ink .number-list p, .section-dark .number-list p { color: var(--on-dark); }

.legal { max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.legal h2 { font-size: 24px; font-weight: 800; margin-top: 20px; }
.legal p, .legal li { color: var(--grey-text); }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal th, .legal td { border: 1px solid #CCC; padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--sand-light); }
.check-list li:not(:has(svg))::before { content: "\2013"; color: var(--rust-dark); font-weight: 800; }
