/* ============================================================
   Charlotte Fintech — charlottefintech.com
   Design system: Queen City gold on deep navy ink, warm paper
   Headings: Sora · Body: Inter
   ============================================================ */

/* Self-hosted variable fonts (latin subset) — removes two third-party origins
   from the critical path. One file per family covers every weight we use. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0a0e1a;
  --ink-2: #101828;
  --ink-3: #1a2336;
  --paper: #faf8f4;
  --paper-2: #f2eee6;
  --white: #ffffff;
  --gold: #c9a24b;
  --gold-bright: #e8c46a;
  --gold-deep: #8a6520;
  --text: #1d2433;
  --muted: #5b6472;
  --muted-light: #9aa3b2;
  --line: rgba(16, 24, 40, 0.1);
  --line-dark: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 2px 8px rgba(10, 14, 26, 0.06), 0 12px 32px rgba(10, 14, 26, 0.08);
  --shadow-lg: 0 4px 16px rgba(10, 14, 26, 0.1), 0 24px 64px rgba(10, 14, 26, 0.16);
  --font-head: "Sora", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.dark .eyebrow, .on-dark .eyebrow { color: var(--gold-bright); }

.lead {
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9875rem;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201, 162, 75, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 14, 26, 0.3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.logo-crown { width: 34px; height: 34px; flex-shrink: 0; }

.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.logo-text .thin { font-weight: 400; color: var(--gold-bright); }

.main-nav { display: flex; align-items: center; gap: 30px; }

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }

.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
}
.main-nav .nav-cta:hover { color: var(--ink); filter: brightness(1.06); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 75% -10%, rgba(201, 162, 75, 0.16), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(201, 162, 75, 0.08), transparent 55%),
              var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0 96px;
}

.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .gold {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead { color: rgba(255, 255, 255, 0.75); margin-bottom: 34px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold-bright);
  border: 1px solid rgba(201, 162, 75, 0.4);
  background: rgba(201, 162, 75, 0.08);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-note { margin-top: 18px; font-size: 0.875rem; color: var(--muted-light); }

/* Hero phones */
.hero-visual { position: relative; display: flex; justify-content: center; }

.hero-phone {
  width: min(300px, 62vw);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5));
  transform: rotate(3deg);
  border-radius: 36px;
}

.hero-phone-back {
  position: absolute;
  width: min(240px, 48vw);
  right: 4%;
  top: 10%;
  transform: rotate(-7deg);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  border-radius: 28px;
  opacity: 0.96;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--ink-2);
  border-top: 1px solid var(--line-dark);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 38px 0;
  text-align: center;
}
.stat-value {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.stat-label { font-size: 0.875rem; color: var(--muted-light); margin-top: 2px; }

/* ---------- Sections ---------- */
section.block { padding: 92px 0; }
section.block.tight { padding: 72px 0; }

.section-header { max-width: 680px; margin-bottom: 52px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }

.dark-section {
  background: var(--ink);
  color: var(--white);
}
.dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section .section-header p:not(.eyebrow) { color: rgba(255, 255, 255, 0.68); }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 75, 0.45);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 162, 75, 0.18), rgba(201, 162, 75, 0.06));
  border: 1px solid rgba(201, 162, 75, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold-deep);
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 { margin-bottom: 8px; font-size: 1.125rem; }
.service-card p { font-size: 0.9375rem; color: var(--muted); }

/* ---------- Case studies ---------- */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 56px;
  margin-bottom: 36px;
}

.case-chincheck {
  background: linear-gradient(150deg, #f6f1e6, #efe6d2);
  border: 1px solid rgba(163, 127, 44, 0.18);
}

.case-mara {
  background: radial-gradient(700px 400px at 80% 20%, rgba(201, 162, 75, 0.16), transparent 55%), #171320;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.case-mara h3, .case-mara .case-title { color: var(--white); }
.case-mara p { color: rgba(255, 255, 255, 0.72); }
.case-mara .case-tag { background: rgba(255,255,255,0.08); color: var(--gold-bright); border-color: rgba(201,162,75,0.35); }

.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.case-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(163, 127, 44, 0.1);
  border: 1px solid rgba(163, 127, 44, 0.25);
  color: var(--gold-deep);
}

.case-title { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.case-study p { font-size: 1rem; color: var(--muted); margin-bottom: 16px; }

.case-points { list-style: none; margin: 0 0 24px; }
.case-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.case-mara .case-points li { color: rgba(255, 255, 255, 0.72); }
.case-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 12L2 7.5l1.4-1.4 3.1 3.1 6.1-6.1L14 4.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 12L2 7.5l1.4-1.4 3.1 3.1 6.1-6.1L14 4.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.case-visual { display: flex; justify-content: center; gap: 18px; align-items: center; }
.case-visual img {
  border-radius: 24px;
}
.case-phone { width: min(250px, 56vw); filter: drop-shadow(0 24px 40px rgba(20, 14, 4, 0.28)); }
.case-phone.secondary { width: min(190px, 42vw); transform: rotate(5deg) translateY(18px); }
.case-mara .case-phone { box-shadow: 0 30px 60px rgba(0,0,0,0.5); }

.case-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gold-deep);
  text-decoration: none;
}
.case-mara .case-link { color: var(--gold-bright); }
.case-link:hover { text-decoration: underline; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 20px;
}
.process-num {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.62); }

/* ---------- Why us / feature list ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.why-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0313rem;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 20px; color: var(--muted); font-size: 0.9688rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(800px 400px at 50% 120%, rgba(201, 162, 75, 0.22), transparent 60%), var(--ink);
  color: var(--white);
  text-align: center;
  padding: 88px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.7); max-width: 560px; margin: 0 auto 32px; font-size: 1.0625rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 26px; }

.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-method .service-icon { width: 42px; height: 42px; margin: 0; flex-shrink: 0; }
.contact-method .mini-heading { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.9375rem; margin-bottom: 2px; }
.contact-method a, .contact-method span { font-size: 0.9375rem; color: var(--muted); text-decoration: none; }
.contact-method a:hover { color: var(--gold-deep); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

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

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8438rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.18);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.8125rem; color: var(--muted); margin-top: 14px; }

.form-success {
  background: rgba(46, 160, 67, 0.08);
  border: 1px solid rgba(46, 160, 67, 0.35);
  color: #1a7f37;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9375rem;
  margin-bottom: 20px;
  display: none;
}
.form-success.visible { display: block; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: radial-gradient(900px 400px at 80% -20%, rgba(201, 162, 75, 0.15), transparent 60%), var(--ink);
  color: var(--white);
  padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.72); }

/* ---------- Founder ---------- */
.founder-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}
.founder-photo {
  width: 100%;
  border-radius: 20px;
  border: 3px solid rgba(201, 162, 75, 0.5);
  box-shadow: 0 16px 40px rgba(10, 14, 26, 0.18);
}
.founder-name { font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; color: var(--ink); }
.founder-title {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 4px 0 16px;
}
.founder-section p { color: var(--muted); font-size: 0.9844rem; margin-bottom: 14px; }
.founder-links { display: flex; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.founder-links a { font-family: var(--font-head); font-weight: 600; font-size: 0.9063rem; color: var(--gold-deep); text-decoration: none; }
.founder-links a:hover { text-decoration: underline; }

/* Homepage founder strip */
.founder-strip {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  box-shadow: var(--shadow);
  margin-top: 40px;
}
.founder-strip img { width: 96px; height: 96px; border-radius: 50%; border: 3px solid rgba(201, 162, 75, 0.55); flex-shrink: 0; }
.founder-strip blockquote { font-size: 1.0313rem; color: var(--text); font-style: italic; margin-bottom: 8px; }
.founder-strip cite { font-style: normal; font-size: 0.875rem; color: var(--muted); }
.founder-strip cite a { color: var(--gold-deep); }

/* ---------- Store badges & ratings ---------- */
.store-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.store-badges { display: flex; gap: 10px; align-items: center; }
.store-badges img { height: 42px; width: auto; display: block; }
.store-rating {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9063rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.store-rating .stars { color: var(--gold-deep); letter-spacing: 2px; }
.case-mara .store-rating { color: var(--white); }
.case-mara .store-rating .stars { color: var(--gold-bright); }

/* ---------- Review cards ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars { color: var(--gold-deep); font-size: 0.9375rem; letter-spacing: 3px; }
.review-card blockquote { font-size: 0.9375rem; color: var(--text); flex-grow: 1; margin: 0; }
.review-card cite {
  font-style: normal;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}
.review-card cite .app-tag { color: var(--gold-deep); }
.reviews-note { text-align: center; font-size: 0.8438rem; color: var(--muted); margin-top: 18px; }
.reviews-note a { color: var(--gold-deep); }

/* ---------- Article / guide pages ---------- */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0313rem;
  line-height: 1.75;
}
.article-body h2 {
  font-size: 1.5rem;
  margin: 52px 0 16px;
}
.article-body h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  margin-bottom: 14px;
}
.article-body h3 { font-size: 1.1563rem; margin: 30px 0 10px; }
.article-body p { margin-bottom: 18px; color: var(--text); }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 10px; }
.article-body li::marker { color: var(--gold-deep); }
.article-body a { color: var(--gold-deep); text-decoration-color: rgba(163, 127, 44, 0.4); text-underline-offset: 3px; }
.article-body a:hover { color: var(--ink); }
.article-body a.btn { text-decoration: none; }
.article-body a.btn-gold, .article-body a.btn-gold:hover { color: var(--ink); }
.article-body a.btn-dark, .article-body a.btn-dark:hover { color: var(--white); }

.article-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.7813rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(201, 162, 75, 0.1);
  border: 1px solid rgba(201, 162, 75, 0.3);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 26px;
}

.callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 26px 0;
  box-shadow: var(--shadow);
}
.callout p:last-child { margin-bottom: 0; }

.cost-table-wrap { overflow-x: auto; margin: 26px 0 10px; border-radius: var(--radius); box-shadow: var(--shadow); }
.cost-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.cost-table th {
  font-family: var(--font-head);
  font-size: 0.7813rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  background: var(--ink);
  color: var(--gold-bright);
  padding: 14px 18px;
  white-space: nowrap;
}
.cost-table td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.cost-table tbody tr:nth-child(even) td { background: var(--paper); }
.cost-table td:nth-child(1) { font-family: var(--font-head); font-weight: 600; color: var(--ink); white-space: nowrap; }
.cost-table td:nth-child(2) { font-family: var(--font-head); font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.cost-table td:nth-child(3) { white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1.15fr 0.85fr 0.95fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand p { font-size: 0.9063rem; margin-top: 14px; max-width: 300px; }

.footer-col .footer-heading {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.9063rem;
  color: var(--muted-light);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8438rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .founder-section { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px; }
  .founder-photo { max-width: 240px; }
  .founder-strip { flex-direction: column; text-align: center; align-items: center; }
  /* Testimonials: a single full-width column stretched quotes to ~95 characters
     per line. Cap the measure and centre them — short display quotes read and
     look better centred, unlike the body copy in cards. */
  .reviews-grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .review-card { text-align: center; align-items: center; }
  .review-card blockquote { max-width: 52ch; }

  .hero-grid { grid-template-columns: 1fr; padding: 64px 0 72px; gap: 56px; }
  .hero-visual { order: 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .case-study { grid-template-columns: 1fr; padding: 36px 28px; gap: 36px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }

  /* 5 steps in 2 columns leaves the last one stranded beside dead space.
     Centre it at the same width as its siblings. */
  .process-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 18px) / 2);
  }

  /* Keep 2 columns here — one 705px column made these read too wide too */
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 18px 24px 24px;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 1.0625rem; }
  .main-nav .nav-cta { text-align: center; margin-top: 10px; padding: 13px 22px; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  /* single column below 640, so the orphan-centring rule must be undone */
  .process-step:last-child:nth-child(odd) { width: auto; grid-column: auto; justify-self: stretch; }
  .form-row { grid-template-columns: 1fr; }
  section.block { padding: 64px 0; }
  .stats-grid { padding: 28px 0; }
  .stat-value { font-size: 1.375rem; }
}

/* ============================================================
   Mobile polish (<=640px)
   Phone screens read better centred, and a few desktop grids
   never collapsed properly. Body copy inside cards and articles
   stays left-aligned — centred paragraphs hurt readability.
   ============================================================ */
@media (max-width: 640px) {

  /* --- Hero: centre the whole stack --- */
  .hero-grid { padding: 52px 0 60px; gap: 44px; }
  .hero-content { text-align: center; }
  .hero .lead {
    font-size: 1.0625rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.5rem); }
  .hero-actions { justify-content: center; gap: 12px; }
  /* Full-width stacked CTAs: equal size, bigger tap targets */
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-note { text-align: center; }

  /* The second phone crowds the first at this width and runs to the
     screen edge. Show one, centred. */
  .hero-phone-back { display: none; }
  .hero-phone { width: min(280px, 74vw); transform: rotate(0deg); }

  /* --- Section headings centre; body text in cards does not --- */
  .section-header { text-align: center; margin-left: auto; margin-right: auto; }
  .section-header .eyebrow { text-align: center; }

  /* --- Case studies: centre the intro, keep bullet lists left --- */
  .case-study { padding: 32px 22px; }
  .case-tags { justify-content: center; }
  .case-title { text-align: center; }
  .case-link { display: block; text-align: center; }
  .case-visual { gap: 12px; }
  .case-phone.secondary { display: none; }
  .store-row { justify-content: center; }

  /* --- Founder --- */
  .founder-section { text-align: center; padding: 30px 22px; }
  .founder-photo { margin-left: auto; margin-right: auto; max-width: 200px; }
  .founder-links { justify-content: center; }
  .founder-strip { padding: 26px 22px; }

  /* --- Footer: never collapsed below the 960px 2-column rule --- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  /* --- Contact --- */
  .contact-form { padding: 26px 20px; }
  .contact-info h2 { text-align: center; }
  .contact-info > p { text-align: center; }

  /* --- Articles: tighten, and let wide tables scroll obviously --- */
  .article-body { font-size: 1rem; }
  .article-body h2 { font-size: 1.3125rem; margin-top: 40px; }
  .article-meta { display: flex; justify-content: center; margin-left: auto; margin-right: auto; }
  .cost-table-wrap { -webkit-overflow-scrolling: touch; }
  .callout { padding: 16px 18px; }

  /* --- CTA band --- */
  .cta-band { padding: 64px 0; }
  .cta-band .btn { width: 100%; justify-content: center; }

  /* --- FAQ --- */
  .faq-item summary { padding: 17px 18px; font-size: 0.9844rem; }
  .faq-item .faq-answer { padding: 0 18px 18px; }
}
