/* ==========================================================================
   CurePay — warm editorial redesign
   A type-forward, paper-and-ink system. Deep forest + terracotta clay on warm
   bone; hand-made feel: serif display, marker underlines, real texture.
   ========================================================================== */

:root {
  /* Brand — deep forest + terracotta clay (legacy --green* names hold forest) */
  --green: #21503b;          /* CurePay brand green — fills & accents */
  --green-600: #2b6349;
  --green-700: #183c2c;
  --green-deep: #1c4835;     /* text-safe green on paper */
  --green-100: #e5ede8;
  --green-tint: #eef3ef;

  /* Forest scale + green accent (was clay/terracotta) */
  --sage: #9fc6ac;          /* light forest — accents on dark surfaces */
  --clay: #21503b;          /* forest green — accent/stars on light */
  --clay-600: #2b6349;
  --clay-700: #1c4835;      /* readable green on paper (emphasis words) */
  --clay-100: #e5ede8;
  --clay-bright: #70d44b;   /* bright CurePay green — pops on dark surfaces */

  /* Paper & ink (warm) */
  --paper: #f3efe6;
  --paper-2: #ebe3d2;
  --card: #fbf8f0;
  --ink: #14130f;
  --ink-2: #38332a;
  --muted: #6e6554;
  --muted-2: #8c8370;
  --line: #e3dbc9;
  --line-2: #d5cbb5;

  /* Dark surface */
  --night: #14231b;
  --night-2: #1b2e23;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;

  /* Layout */
  --container: 1180px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(23, 21, 15, 0.06), 0 4px 14px rgba(23, 21, 15, 0.05);
  --shadow-md: 0 6px 16px rgba(23, 21, 15, 0.08), 0 18px 40px rgba(23, 21, 15, 0.09);
  --shadow-lg: 0 30px 70px rgba(23, 21, 15, 0.22);

  /* Hand-drawn marker underline (green), light + dark variants */
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C44 5 78 14 104 9 C133 4 168 13 196 7' fill='none' stroke='%231c4835' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  --mark-bright: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C44 5 78 14 104 9 C133 4 168 13 196 7' fill='none' stroke='%2370d44b' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");

  /* Film grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
}

::selection {
  background: var(--green);
  color: #fdfbf4;
}

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

a {
  color: var(--green-deep);
  text-decoration: none;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.05rem);
}

h3 {
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Emphasis word inside headings — clay accent (no underline) */
h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 600;
  color: var(--clay-700);
}

.surface-dark h1 em,
.surface-dark h2 em {
  color: var(--clay-bright);
}

.container {
  width: min(var(--container), 100% - 2.8rem);
  margin-inline: auto;
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.92rem 1.55rem;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fdfbf4;
  box-shadow: 0 2px 0 var(--green-700);
}

.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--green-700), 0 12px 24px rgba(24, 60, 44, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 var(--green-700);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-ghost-light {
  border-color: rgba(246, 242, 232, 0.4);
  color: var(--paper);
  background: transparent;
}

.btn-ghost-light:hover {
  border-color: var(--sage);
  color: var(--sage);
}

.btn-lg {
  padding: 1.1rem 1.9rem;
  font-size: 1.05rem;
}

.btn .arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 232, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(23, 21, 15, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

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

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--ink-2);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  transition: color 0.15s ease;
}

/* hand-drawn underline grows on hover/active */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.34rem;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 268px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--r-sm);
}

.dropdown a::after {
  display: none;
}

.dropdown a strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
}

.dropdown a span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}

.dropdown a:hover {
  background: var(--green-tint);
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.6;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--ink);
}

.header-phone:hover {
  color: var(--green-deep);
}

.btn-login {
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
}

.btn-login svg {
  width: 17px;
  height: 17px;
}

/* Login lives in the header on desktop; surfaced in the menu on mobile */
.nav-login {
  display: none;
}

.nav-login a {
  color: var(--green-deep);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--card);
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Eyebrow / kicker
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
}

.surface-dark .eyebrow {
  color: var(--sage);
}

.surface-dark .eyebrow::before {
  background: var(--sage);
}

.section-head.center .eyebrow::before {
  display: none;
}

/* --------------------------------------------------------------------------
   Dark surface (heroes on inner pages, stats, cta, footer)
   -------------------------------------------------------------------------- */

.surface-dark {
  position: relative;
  background: var(--night);
  color: rgba(246, 242, 232, 0.82);
  overflow: hidden;
}

.surface-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.06;
  pointer-events: none;
}

.surface-dark h1,
.surface-dark h2,
.surface-dark h3 {
  color: #fdfbf4;
}

/* soft, restrained glow (kept subtle — not a spotlight) */
.glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 198, 172, 0.2), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.glow-green-soft {
  background: radial-gradient(circle, rgba(159, 198, 172, 0.14), transparent 68%);
}

/* --------------------------------------------------------------------------
   Hero (homepage — light & editorial)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(120% 80% at 100% 0%, var(--green-tint), transparent 55%),
    var(--paper);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 1.3rem;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.7rem);
  margin-bottom: 1.4rem;
}

.hero-lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 33rem;
  margin-bottom: 2rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-trust .stars {
  color: var(--clay);
  letter-spacing: 1px;
}

.hero-trust b {
  color: var(--ink);
  font-weight: 600;
}

/* hero aside — tilted statement card, stamp & hand note */
.hero-aside {
  position: relative;
  display: flex;
  justify-content: center;
}

.tilt {
  transform: rotate(-2.5deg);
}

.hand-note {
  position: absolute;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.05;
  color: var(--green-deep);
  transform: rotate(-7deg);
  z-index: 5;
}

.hand-note.note-tl {
  top: -34px;
  left: -6px;
}

.hand-note svg {
  width: 46px;
  height: 34px;
  margin-top: 2px;
  stroke: var(--green-deep);
}

.stamp {
  position: absolute;
  bottom: -22px;
  right: -10px;
  z-index: 6;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 2px solid var(--green-deep);
  color: var(--green-deep);
  background: var(--paper);
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: var(--shadow-sm);
}

.stamp span {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stamp::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px dashed var(--green-600);
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 2.4rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.96rem;
  color: var(--ink-2);
}

.trust-strip b {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
}

.trust-strip .sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* --------------------------------------------------------------------------
   Section heads
   -------------------------------------------------------------------------- */

.section-head {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 1rem;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  margin-bottom: 0.9rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

.bg-soft {
  background: var(--paper-2);
}

/* --------------------------------------------------------------------------
   Grids
   -------------------------------------------------------------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}

.card h3 {
  margin: 1.1rem 0 0.55rem;
}

.card p {
  color: var(--muted);
  font-size: 0.99rem;
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-deep);
}

.card .card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.16s ease;
}

.card:hover .card-link svg {
  transform: translateX(4px);
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  background: var(--green-100);
  color: var(--green-deep);
}

.icon-chip svg {
  width: 25px;
  height: 25px;
}

.icon-chip.chip-on-dark {
  background: rgba(159, 198, 172, 0.16);
  color: var(--sage);
}

/* --------------------------------------------------------------------------
   Services — editorial numbered list (homepage)
   -------------------------------------------------------------------------- */

.services {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.6rem;
  align-items: center;
  padding: 2.1rem 0.5rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: padding 0.25s ease, background 0.25s ease;
}

.service:hover {
  background: linear-gradient(90deg, var(--green-tint), transparent 70%);
  padding-left: 1.4rem;
}

.service-index {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--green-deep);
  font-feature-settings: "tnum";
}

.service-body h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.35rem;
}

.service-body p {
  color: var(--muted);
  max-width: 46rem;
  font-size: 1.02rem;
}

.service-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-go svg {
  width: 20px;
  height: 20px;
}

.service:hover .service-go {
  background: var(--green);
  border-color: var(--green);
  color: #fdfbf4;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Pain cards ("Sound familiar?")
   -------------------------------------------------------------------------- */

.pain-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pain-quote {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1.32;
  flex: 1;
}

.pain-quote::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 0.55;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.pain-fix {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px dashed var(--line-2);
}

.pain-fix strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.pain-fix strong::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--green);
  border-radius: 4px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.pain-fix p {
  font-size: 0.97rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Stats band (dark)
   -------------------------------------------------------------------------- */

.stats-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stats-grid > div {
  padding: 0.4rem 1.5rem;
}

.stats-grid > div + div {
  border-left: 1px solid rgba(246, 242, 232, 0.16);
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 500;
  color: var(--clay-bright);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: rgba(246, 242, 232, 0.62);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Split + checklist
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.split .section-head {
  margin-bottom: 1.8rem;
}

.checklist {
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.checklist li:hover {
  transform: translateX(5px);
  border-color: var(--green-600);
}

.checklist .check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--green);
  color: #fdfbf4;
}

.checklist .check svg {
  width: 14px;
  height: 14px;
}

.checklist strong {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.08rem;
}

.checklist p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Statement / savings card
   -------------------------------------------------------------------------- */

.save-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 1.7rem 1.8rem;
  max-width: 430px;
  width: 100%;
}

.save-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.save-head > span:first-child {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.dash-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: #fdfbf4;
  background: var(--green);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.save-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--line-2);
}

.save-row span {
  font-size: 0.94rem;
  color: var(--muted);
}

.save-row strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.save-row.save-old strong {
  color: var(--muted-2);
  text-decoration: line-through;
}

.save-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.1rem;
  background: var(--green-100);
  border-radius: var(--r-sm);
  padding: 0.9rem 1.2rem;
}

.save-total span {
  font-weight: 600;
  color: var(--green-deep);
  font-size: 0.95rem;
}

.save-total strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green-deep);
  white-space: nowrap;
}

.save-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted-2);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Service-suite bento card (homepage hero)
   -------------------------------------------------------------------------- */

.suite-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 1.5rem 1.6rem;
  max-width: 430px;
  width: 100%;
}

.suite-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.suite-head strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.suite-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(33, 80, 59, 0.18);
}

.suite-tag {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-100);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.suite-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.suite-tile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.suite-tile:hover {
  transform: translateY(-2px);
  border-color: var(--green-600);
}

.suite-tile strong {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.tile-lead {
  grid-column: 1 / -1;
  background: var(--green);
  border-color: var(--green);
  padding: 1rem 1.1rem;
}

.tile-lead:hover {
  background: var(--green-600);
  border-color: var(--green-600);
}

.tile-lead .t-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.tile-lead .t-text strong {
  font-size: 1.05rem;
  color: #fdfbf4;
}

.tile-lead .t-text span {
  font-size: 0.8rem;
  color: rgba(253, 251, 244, 0.72);
}

.t-ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--green-100);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.t-ico svg {
  width: 18px;
  height: 18px;
}

.tile-lead .t-ico {
  background: rgba(253, 251, 244, 0.16);
  color: #fdfbf4;
}

.suite-foot {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.suite-foot strong {
  font-family: var(--serif);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Founder note
   -------------------------------------------------------------------------- */

.note {
  position: relative;
}

.note-inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.note-mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--green);
  display: block;
  margin-bottom: 1rem;
}

.note-body {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 400;
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.signature {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.signature .sig-name {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--green-deep);
}

.signature .sig-role {
  font-size: 0.92rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testi-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.testi-grid .stack {
  display: grid;
  gap: 1.5rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
}

.testimonial.feature {
  background: var(--ink);
  border-color: var(--ink);
  color: #fdfbf4;
  justify-content: center;
}

.testimonial .stars {
  color: var(--clay);
  letter-spacing: 2px;
}

.testimonial.feature .stars {
  color: var(--clay-bright);
}

.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  flex: 1;
}

.testimonial.feature blockquote {
  color: #fdfbf4;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.testimonial.feature .testimonial-author {
  border-top-color: rgba(246, 242, 232, 0.18);
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fdfbf4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1rem;
}

.testimonial.feature .testimonial-author strong {
  color: #fdfbf4;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--muted-2);
}

.testimonial.feature .testimonial-author span {
  color: rgba(246, 242, 232, 0.6);
}

/* --------------------------------------------------------------------------
   Industries (honest inline list)
   -------------------------------------------------------------------------- */

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.industry {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-2);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.industry:hover {
  border-color: var(--green-600);
  transform: translateY(-2px);
}

.industry svg {
  width: 17px;
  height: 17px;
  color: var(--green-deep);
}

/* keep chip + marquee classes available for any page that still uses them */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.chip svg {
  width: 16px;
  height: 16px;
  color: var(--green-deep);
}

.marquee {
  overflow: hidden;
  padding: 0.5rem 0;
}

.marquee-track {
  display: flex;
  gap: 0.7rem;
  width: max-content;
}

/* --------------------------------------------------------------------------
   Steps (numbered process — funding page)
   -------------------------------------------------------------------------- */

.step-number {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--green-deep);
}

/* --------------------------------------------------------------------------
   Blog cards
   -------------------------------------------------------------------------- */

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: inherit;
}

.blog-card img {
  width: 100%;
  height: 192px;
  object-fit: cover;
}

.blog-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.6rem 1.7rem;
}

.blog-tag {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-deep);
  background: var(--green-100);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.blog-card h3 {
  font-size: 1.18rem;
  line-height: 1.32;
  margin: 0 0 1rem;
  flex: 1;
}

.blog-card .card-link {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  max-width: 800px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: var(--green-600);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  padding: 1.2rem 1.5rem;
}

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

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--green-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq details p {
  padding: 0 1.5rem 1.35rem;
  color: var(--muted);
  font-size: 0.99rem;
  max-width: 66ch;
}

/* --------------------------------------------------------------------------
   Phone mockup (text-to-pay demo)
   -------------------------------------------------------------------------- */

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: 320px;
  background: var(--ink);
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}

.phone-notch {
  width: 110px;
  height: 22px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--paper);
  border-radius: 32px;
  padding: 2rem 1.1rem 1.4rem;
  margin-top: -22px;
  display: grid;
  gap: 0.7rem;
}

.msg-day {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted-2);
  font-weight: 600;
}

.msg {
  max-width: 86%;
  padding: 0.75rem 0.95rem;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.msg-in {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-bottom-left-radius: 6px;
  justify-self: start;
}

.msg-out {
  background: var(--green);
  color: #fdfbf4;
  font-weight: 600;
  border-bottom-right-radius: 6px;
  justify-self: end;
}

.msg-status {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-100);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  justify-self: center;
  margin-top: 0.3rem;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}

.form-card h2 {
  font-size: 1.7rem;
  margin-bottom: 1.6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--green-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(33, 80, 59, 0.22);
}

.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-consent input {
  margin-top: 0.3rem;
  accent-color: var(--green-600);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-success {
  display: none;
  background: var(--green-100);
  color: var(--green-deep);
  border-radius: var(--r-sm);
  padding: 1rem 1.2rem;
  font-weight: 600;
  margin-top: 1.2rem;
}

.form-success.is-visible {
  display: block;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 0.7rem;
  max-width: 470px;
}

.newsletter-form input {
  flex: 1;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.9rem 1.15rem;
  border: 1.5px solid rgba(246, 242, 232, 0.25);
  border-radius: var(--r-sm);
  background: rgba(246, 242, 232, 0.08);
  color: #fff;
}

.newsletter-form input::placeholder {
  color: rgba(246, 242, 232, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--sage);
}

/* --------------------------------------------------------------------------
   Contact cards
   -------------------------------------------------------------------------- */

.contact-aside {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.4rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-600);
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-card a {
  color: var(--green-deep);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Page hero (interior pages — dark)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 1.1rem 0 1.1rem;
  max-width: 50rem;
}

.page-hero p.lead {
  font-size: 1.16rem;
  color: rgba(246, 242, 232, 0.78);
  max-width: 42rem;
  margin-bottom: 1.9rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* badges (kept for any page using them) */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(246, 242, 232, 0.07);
  border: 1px solid rgba(246, 242, 232, 0.14);
  color: rgba(246, 242, 232, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.badge svg {
  width: 14px;
  height: 14px;
  color: var(--sage);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(2.8rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.cta-band > div:first-of-type {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: rgba(246, 242, 232, 0.75);
  max-width: 33rem;
}

.cta-band .hero-ctas {
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  background: var(--night);
  color: rgba(246, 242, 232, 0.62);
  padding: 4.5rem 0 2rem;
  font-size: 0.95rem;
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.06;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246, 242, 232, 0.1);
}

.site-footer .logo {
  margin-bottom: 1.2rem;
}

.site-footer .logo img {
  height: 44px;
}

.footer-tagline {
  max-width: 22rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(246, 242, 232, 0.08);
  color: rgba(246, 242, 232, 0.85);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.footer-social a:hover {
  background: var(--sage);
  color: var(--ink);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--sans);
  color: #fdfbf4;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: grid;
  gap: 0.65rem;
}

.footer-col a {
  color: rgba(246, 242, 232, 0.62);
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-col ul a:hover {
  color: var(--sage);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  display: grid;
  gap: 0.8rem;
  font-size: 0.83rem;
  color: rgba(246, 242, 232, 0.4);
}

.footer-bottom .disclosure {
  max-width: 56rem;
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.15s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--sage);
  color: var(--ink);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

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

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

.reveal-d1 {
  transition-delay: 0.08s;
}

.reveal-d2 {
  transition-delay: 0.16s;
}

.reveal-d3 {
  transition-delay: 0.24s;
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  .stats-grid > div + div {
    border-left: none;
  }
  .hero-inner,
  .split,
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .hero-aside {
    margin-top: 1rem;
  }
  .cta-band {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .cta-band .hero-ctas {
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Collapse the header to a hamburger before the bar gets cramped */
@media (max-width: 1024px) {
  .header-phone span {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    inset: 80px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.5rem 1.6rem;
    display: none;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .main-nav.is-open {
    display: block;
  }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .main-nav a {
    width: 100%;
    padding: 0.85rem 0.9rem;
    font-size: 1.05rem;
    white-space: normal;
  }
  .main-nav a::after {
    display: none;
  }
  .nav-login {
    display: block;
    border-top: 1px solid var(--line);
    margin-top: 0.4rem;
    padding-top: 0.4rem;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    display: none;
  }
  .has-dropdown.is-open .dropdown {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
}

@media (max-width: 860px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .service {
    grid-template-columns: auto 1fr;
    gap: 0.6rem 1.1rem;
  }
  .service-go {
    grid-column: 2;
    justify-self: start;
  }
  .service-index {
    grid-row: span 2;
  }
}

@media (max-width: 560px) {
  .grid-4,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .logo img {
    height: 36px;
  }
  .stamp {
    width: 88px;
    height: 88px;
  }
}

/* ==========================================================================
   Accessibility, blog/legal prose, and utilities (added)
   ========================================================================== */

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* Visible keyboard focus on all interactive elements */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible,
.suite-tile:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Sticky mobile "Call" button (injected by main.js) */
.call-fab {
  position: fixed;
  left: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--green);
  color: #fdfbf4;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
}

.call-fab svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 860px) {
  .call-fab {
    display: inline-flex;
  }
}

/* Junk-fees total (two-line variant of .save-total) */
.save-total.is-junk {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.save-total.is-junk .junk-big {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1;
}

.save-total.is-junk .junk-sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deep);
}

/* Page header band for legal / blog index */
.page-band {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.page-band .eyebrow {
  margin-bottom: 0.9rem;
}

.page-band h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  max-width: 30rem;
}

.page-band p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 42rem;
}

/* Long-form prose (legal pages + blog articles) */
.prose {
  max-width: 720px;
  margin-inline: auto;
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  font-size: 1.7rem;
  margin-top: 2.6rem;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.8rem;
}

.prose p,
.prose li {
  color: var(--ink-2);
  line-height: 1.75;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.5rem;
}

.prose a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose .muted-note {
  font-size: 0.9rem;
  color: var(--muted-2);
  font-style: italic;
}

/* Blog article meta + lead image */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.6rem;
}

.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 2.2rem;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 1.4rem;
}

/* --------------------------------------------------------------------------
   Contact page — form card overlapping the dark hero
   -------------------------------------------------------------------------- */

.contact-hero {
  padding-bottom: 10rem;
}

.contact-body {
  position: relative;
  z-index: 2;
  margin-top: -8rem;
  padding-top: 0;
}

@media (max-width: 860px) {
  .contact-hero {
    padding-bottom: 7rem;
  }
  .contact-body {
    margin-top: -5rem;
  }
}

/* --------------------------------------------------------------------------
   Client login — portal cards
   -------------------------------------------------------------------------- */

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.portal-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33, 80, 59, 0.4);
}

.portal-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.portal-logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.portal-logo svg {
  width: 28px;
  height: 28px;
}

.portal-card h3 {
  font-size: 1.2rem;
}

.portal-card p {
  color: var(--muted);
  font-size: 0.96rem;
  flex: 1;
}

.portal-go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-deep);
}

.portal-go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.16s ease;
}

.portal-card:hover .portal-go svg {
  transform: translate(2px, -2px);
}

.login-note {
  text-align: center;
  max-width: 44rem;
  margin: 2.6rem auto 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.login-note a {
  color: var(--green-deep);
  font-weight: 600;
}

@media (max-width: 680px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

/* Form error message */
.form-error {
  display: none;
  background: #fdecea;
  color: #a3261b;
  border: 1px solid #f3c7c0;
  border-radius: var(--r-sm);
  padding: 1rem 1.2rem;
  font-weight: 600;
  margin-top: 1rem;
}

.form-error.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   Solutions mega-menu (Services dropdown)
   -------------------------------------------------------------------------- */

.mega {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(1120px, 95vw);
  background: #223f34;
  border: 1px solid rgba(246, 242, 232, 0.16);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2.2rem;
  color: rgba(246, 242, 232, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 120;
}

.has-dropdown:hover .mega,
.has-dropdown:focus-within .mega,
.has-dropdown.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.main-nav .mega a::after {
  display: none;
}

.mega-intro {
  border-right: 1px solid rgba(246, 242, 232, 0.1);
  padding-right: 2rem;
}

.mega-intro h3 {
  color: #fdfbf4;
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.mega-intro > p {
  font-size: 0.92rem;
  color: rgba(246, 242, 232, 0.6);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.main-nav .mega-featured {
  display: block;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(246, 242, 232, 0.03);
  transition: border-color 0.15s ease;
}

.main-nav .mega-featured:hover {
  border-color: var(--sage);
}

.mega-featured-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 108px;
  background: radial-gradient(circle at 50% 45%, rgba(159, 198, 172, 0.3), transparent 62%), #1c3a2f;
}

.mega-featured-thumb svg {
  width: 170px;
  height: 84px;
}

.mega-featured-meta {
  display: block;
  padding: 0.85rem 1rem 1rem;
}

.mega-featured-label {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: rgba(246, 242, 232, 0.5);
  margin-bottom: 0.25rem;
}

.mega-featured-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fdfbf4;
}

.mega-featured-name svg {
  width: 16px;
  height: 16px;
  color: var(--sage);
  flex-shrink: 0;
}

.mega-main {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.mega-head {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(246, 242, 232, 0.45);
  padding-bottom: 0.7rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid rgba(246, 242, 232, 0.1);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem 1.2rem;
}

.main-nav .mega-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.55rem 0.6rem;
  border-radius: var(--r-sm);
  transition: background 0.15s ease;
}

.main-nav .mega-item:hover {
  background: rgba(246, 242, 232, 0.05);
}

.mega-ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: rgba(159, 198, 172, 0.16);
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mega-ico svg {
  width: 18px;
  height: 18px;
}

.mega-text {
  display: flex;
  flex-direction: column;
  line-height: 1.28;
  white-space: normal;
}

.mega-text strong {
  color: #fdfbf4;
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 600;
}

.mega-text > span {
  font-size: 0.79rem;
  color: rgba(246, 242, 232, 0.55);
}

/* Mega-menu inside the mobile menu: light, stacked, compact */
@media (max-width: 1024px) {
  .mega {
    position: static;
    transform: none;
    width: auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.3rem 0 0.3rem 0.6rem;
    opacity: 1;
    visibility: visible;
    color: inherit;
    z-index: auto;
  }
  .has-dropdown.is-open .mega {
    display: grid;
  }
  .mega-intro {
    display: none;
  }
  .mega-head {
    color: var(--muted);
    border-color: var(--line);
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .main-nav .mega-item {
    padding: 0.6rem 0.4rem;
  }
  .mega-ico {
    background: var(--green-100);
    color: var(--green-deep);
  }
  .mega-text strong {
    color: var(--ink);
  }
  .mega-text > span {
    color: var(--muted);
  }
}

/* Compact mega (Resources) — same style, sized for fewer items (desktop only) */
@media (min-width: 1025px) {
  .mega-compact {
    width: min(780px, 92vw);
    grid-template-columns: 260px 1fr;
  }
  .mega-compact .mega-grid {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* --------------------------------------------------------------------------
   Supplies catalog
   -------------------------------------------------------------------------- */

.supply-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.supply-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
}

.supply-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.12rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.supply-img {
  height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.7rem;
  margin-bottom: 1.1rem;
}

.supply-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.sys-ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sys-ico svg {
  width: 20px;
  height: 20px;
}

.supply-list {
  display: flex;
  flex-direction: column;
}

.supply-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.6rem 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  border-top: 1px dashed var(--line);
}

.supply-list a:first-child {
  border-top: none;
}

.supply-list a:hover {
  color: var(--green-deep);
}

.supply-list a svg {
  width: 15px;
  height: 15px;
  color: var(--green-deep);
  flex-shrink: 0;
}

.supply-note {
  text-align: center;
  max-width: 46rem;
  margin: 2.4rem auto 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 960px) {
  .supply-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .supply-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Page theme: blue (Revenue Cycle Management)
   Re-points the forest accent tokens to a muted steel-blue that still sits on
   the warm bone paper. Clay stays as the warm emphasis accent (blue + copper).
   ========================================================================== */

body.theme-blue {
  /* components read the --green* names, so re-point those directly
     (overriding --forest alone won't work — the alias resolves at :root) */
  --green: #1f4e6b;         /* primary — deep steel blue */
  --green-600: #2b628a;
  --green-700: #163a51;
  --green-deep: #1b4763;    /* text-safe on bone */
  --green-100: #e3ebf1;
  --green-tint: #eef3f7;
  --forest: #1f4e6b;
  --forest-deep: #1b4763;
  --sage: #a2c3da;          /* light blue — accents on dark surfaces */
  --night: #13222e;         /* deep blue-charcoal dark surfaces */
  --night-2: #1a2f3d;
}

/* mega-menu panel + featured thumb use hardcoded hex, so match them here */
body.theme-blue .mega {
  background: #1e4257;
}

body.theme-blue .mega-featured-thumb {
  background: radial-gradient(circle at 50% 45%, rgba(162, 195, 218, 0.3), transparent 62%), #16303f;
}

/* ==========================================================================
   Home page — dark centered hero + announcement bar (NetRise-style layout)
   ========================================================================== */

/* Announcement bar */
.announce-bar {
  background: #244a3c;
  color: rgba(246, 242, 232, 0.92);
  font-size: 0.92rem;
}

.announce-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
  padding: 0.62rem 2.4rem;
}

.announce-bar p {
  margin: 0;
}

.announce-bar b {
  color: #fff;
  font-weight: 700;
}

.announce-btn {
  flex-shrink: 0;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.34rem 0.9rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}

.announce-btn:hover {
  transform: translateY(-1px);
  background: #fff;
}

.announce-close {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(246, 242, 232, 0.65);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.3rem;
}

.announce-close:hover {
  color: #fff;
}

.announce-bar.is-hidden {
  display: none;
}

/* Set on <html> by an inline head script when already dismissed — no flash */
html.announce-off .announce-bar {
  display: none;
}

/* Home dark header (over the dark hero, stays dark on scroll) */
.home .site-header {
  background: rgba(20, 35, 27, 0.85);
}

.home .site-header.is-scrolled {
  border-bottom-color: rgba(246, 242, 232, 0.12);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

@media (min-width: 1025px) {
  .home .main-nav a {
    color: rgba(246, 242, 232, 0.82);
  }
  .home .main-nav a:hover,
  .home .main-nav a.is-active {
    color: #fdfbf4;
  }
  .home .main-nav a::after {
    background: var(--sage);
  }
  .home .header-phone {
    color: rgba(246, 242, 232, 0.92);
  }
  .home .header-phone:hover {
    color: var(--sage);
  }
  .home .btn-login {
    border-color: rgba(246, 242, 232, 0.35);
    color: #fdfbf4;
  }
  .home .btn-login:hover {
    background: rgba(246, 242, 232, 0.1);
    color: #fdfbf4;
  }
  .home .site-header .btn-primary {
    background: var(--clay);
    color: #fff;
    box-shadow: 0 2px 0 var(--clay-700);
  }
  .home .site-header .btn-primary:hover {
    background: var(--clay-600);
  }
}

@media (max-width: 1024px) {
  .home .nav-toggle {
    background: transparent;
    border-color: rgba(246, 242, 232, 0.3);
  }
  .home .nav-toggle span {
    background: #f3efe6;
  }
  .home .header-phone {
    color: rgba(246, 242, 232, 0.92);
  }
}

/* Dark centered hero */
.hero-lead {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
  text-align: center;
}

.hero-lead-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-lead .eyebrow {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-lead .eyebrow::before {
  display: none;
}

.hero-lead h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.6rem);
  margin-bottom: 1.4rem;
}

.hero-lead-sub {
  font-size: 1.18rem;
  line-height: 1.62;
  color: rgba(246, 242, 232, 0.78);
  max-width: 42rem;
  margin: 0 auto 2.2rem;
}

/* Inline email-capture form */
.lead-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 560px;
  margin: 0 auto;
}

.lead-form > input[type="email"] {
  flex: 1 1 300px;
  min-width: 0;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(246, 242, 232, 0.2);
  background: #fbf8f0;
  color: var(--ink);
}

.lead-form > input[type="email"]::placeholder {
  color: var(--muted-2);
}

.lead-form > input[type="email"]:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(162, 195, 218, 0.28);
}

.lead-form .btn {
  flex-shrink: 0;
}

.lead-form .form-success {
  flex-basis: 100%;
  margin-top: 0.4rem;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-alt {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: rgba(246, 242, 232, 0.62);
}

.lead-alt a {
  color: var(--sage);
  font-weight: 600;
}

.hero-lead-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: rgba(246, 242, 232, 0.7);
}

.hero-lead-trust .stars {
  color: var(--clay-bright);
  letter-spacing: 1px;
}

.hero-lead-trust b {
  color: #fdfbf4;
  font-weight: 600;
}

/* Accent (clay) button — the warm pop, mirroring NetRise's red CTA */
.btn-accent {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 2px 0 var(--clay-700);
}

.btn-accent:hover {
  background: var(--clay-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--clay-700), 0 12px 24px rgba(24, 60, 44, 0.3);
}

.btn-accent:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 var(--clay-700);
}

.avatar svg {
  width: 22px;
  height: 22px;
  color: #fdfbf4;
}

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .lead-form > input[type="email"],
  .lead-form .btn {
    flex: 1 1 100%;
  }
}
