/* ==========================================================================
   Longevity Capital — Design System (black + gold)
   Single stylesheet. No build step, no dependencies.
   Sections: 1 Tokens · 2 Reset · 3 Typography · 4 Layout · 5 Buttons
             6 Header/Nav · 7 Hero · 8 Components · 9 Forms · 10 Footer
             11 Utilities · 12 Motion · 13 Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand */
  --ink:        #141414;
  --ink-800:    #1E1E1E;
  --ink-700:    #2B2B2B;
  --ink-600:    #3B3B3B;

  --brand:      #A47C24;
  --brand-600:  #8A6719;
  --brand-700:  #6F5212;
  --brand-100:  #F5ECD6;
  --brand-050:  #FBF7EC;

  --gold:       #C49B40;
  --gold-100:   #FAF1DC;
  --growth:     #3D6B5A;
  --growth-100: #E6EFEA;
  --alert:      #C4362F;

  /* Neutrals */
  --white:      #FFFFFF;
  --paper:      #FAF9F6;
  --paper-2:    #F3F1EB;
  --line:       #E6E2D8;
  --line-soft:  #EFECE4;
  --muted:      #6B6760;
  --body:       #3A3833;

  /* Type */
  --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Space */
  --gutter: 24px;
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --section-y: 96px;

  /* Radius */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Elevation */
  --sh-sm: 0 1px 2px rgba(20, 20, 20, .06), 0 1px 3px rgba(20, 20, 20, .04);
  --sh:    0 4px 12px rgba(20, 20, 20, .07), 0 2px 4px rgba(20, 20, 20, .04);
  --sh-lg: 0 18px 44px rgba(20, 20, 20, .12), 0 4px 10px rgba(20, 20, 20, .05);
  --sh-xl: 0 32px 72px rgba(20, 20, 20, .18);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. RESET ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 40px 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-100); color: var(--ink); }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-sm);
}
.skip-link:focus { left: 12px; color: #fff; }

/* 3. TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.022em;
  line-height: 1.12;
  font-weight: 800;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px;
}
.eyebrow--plain::before { display: none; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--muted); line-height: 1.6; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* 4. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: 64px; }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #E2DED4; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .lead { color: #B9B3A6; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center;
}
.split--reverse > *:first-child { order: 2; }

/* 5. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .97rem;
  padding: 15px 30px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(164, 124, 36, .28); }
.btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 12px 28px rgba(164, 124, 36, .34); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-700); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--white); border-color: var(--ink); color: var(--ink); box-shadow: var(--sh); }

.btn--on-dark { background: #fff; color: var(--ink); }
.btn--on-dark:hover { background: #fff; color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.28); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.btn--lg { padding: 18px 38px; font-size: 1.04rem; }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--brand-600);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 6. HEADER / NAV ---------------------------------------------------------- */
.topbar {
  background: var(--ink); color: #C4BFB3; font-size: .84rem;
  padding: 9px 0; text-align: center;
}
.topbar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.topbar strong { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line-soft); box-shadow: 0 2px 14px rgba(20,20,20,.06); }
.nav { display: flex; align-items: center; gap: 28px; height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { height: 46px; width: auto; flex: none; }
.brand__text { align-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-logo); font-weight: 700; font-size: 1.32rem;
  color: var(--ink); letter-spacing: .04em; line-height: 1;
}
.brand__sub {
  display: flex; align-items: center; gap: 6px; margin-top: 4px;
  font-family: var(--font-logo); font-size: .6rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--brand-600); font-weight: 700;
}
.brand__sub::before, .brand__sub::after { content: ""; width: 14px; height: 1px; background: currentColor; }

.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin-right: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--ink-800); padding: 10px 12px; border-radius: var(--r-sm); white-space: nowrap;
  background: none; border: 0; transition: color .15s, background .15s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--brand-600); background: var(--brand-050); }
.nav__link[aria-current="page"] { color: var(--brand-600); }
.nav__caret { width: 11px; height: 11px; transition: transform .2s var(--ease); }
.nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.nav__item { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  width: min(760px, calc(100vw - 48px));
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  box-shadow: var(--sh-xl); padding: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.mega.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega__link {
  display: flex; gap: 13px; padding: 13px; border-radius: var(--r);
  transition: background .15s; color: inherit;
}
.mega__link:hover { background: var(--brand-050); color: inherit; }
.mega__icon {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-100); color: var(--brand-600);
  display: grid; place-items: center;
}
.mega__icon svg { width: 19px; height: 19px; }
.mega__title { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); display: block; }
.mega__desc { font-size: .84rem; color: var(--muted); line-height: 1.45; margin: 2px 0 0; }
.mega__foot {
  margin-top: 8px; padding: 14px; border-radius: var(--r);
  background: var(--paper); display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.mega__foot p { margin: 0; font-size: .88rem; }

.nav__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); white-space: nowrap;
}
@media (max-width: 1240px) { .nav__phone { display: none; } }
.nav__phone svg { width: 16px; height: 16px; color: var(--brand); }

.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--ink-800);
  padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  transition: border-color .15s, color .15s, background .15s;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand-600); background: var(--brand-050); }
.lang-switch svg { width: 15px; height: 15px; color: var(--brand); }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: background .2s;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* 7. HERO ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, #FFFFFF 0%, #FCFAF5 55%, #F6F0E2 100%);
  color: var(--body); padding-block: 104px 120px;
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 90% 0%, rgba(196, 155, 64, .16), transparent 62%),
    radial-gradient(620px 420px at 4% 100%, rgba(20, 20, 20, .05), transparent 66%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background-image:
    linear-gradient(rgba(20,20,20,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,20,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 78%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: var(--ink); max-width: 15ch; }
.hero .lead { color: var(--body); max-width: 52ch; font-size: 1.16rem; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero__eyebrow { color: var(--brand-600); }
.hero__eyebrow::before { background: var(--gold); }

.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-800); padding: 9px 16px; border-radius: var(--r-pill);
  font-size: .87rem; font-weight: 500; box-shadow: var(--sh-sm);
}
.hero__pill svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

.hero__note { margin-top: 26px; font-size: .84rem; color: var(--muted); }

.hero--page {
  padding-block: 84px 88px;
}
.hero--page h1 { max-width: 20ch; }

/* Quote card (hero form) */
.quote-card {
  background: #fff; border-radius: var(--r-lg); padding: 32px;
  box-shadow: var(--sh-xl); color: var(--body); border: 1px solid var(--line-soft);
}
.quote-card__head { margin-bottom: 22px; }
.quote-card__head h3 { margin-bottom: 6px; font-size: 1.35rem; }
.quote-card__head p { margin: 0; font-size: .92rem; color: var(--muted); }
.quote-card__foot {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
}
.quote-card__foot span { display: inline-flex; align-items: center; gap: 6px; }
.quote-card__foot svg { width: 14px; height: 14px; color: var(--growth); }

/* 8. COMPONENTS ------------------------------------------------------------ */

/* Trust / logo strip */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line-soft); padding-block: 36px; }
.trustbar__label {
  text-align: center; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 24px;
}
.trustbar__row {
  display: flex; align-items: center; justify-content: center; gap: 52px; flex-wrap: wrap;
}
.trustbar__item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; color: var(--ink-700);
  font-size: .98rem; opacity: .78;
}
.trustbar__item svg { width: 22px; height: 22px; color: var(--brand); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: #fff; padding: 34px 28px; text-align: center; }
.stat__num {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 8px;
}
.stat__label { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.section--ink .stats { background: rgba(255,255,255,.1); }
.section--ink .stat { background: transparent; }
.section--ink .stat__num { color: #fff; }
.section--ink .stat__label { color: #B9B3A6; }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 32px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--brand-100); }
.card__icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-600); margin-bottom: 20px; flex: none;
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--gold { background: var(--gold-100); color: #A87415; }
.card__icon--growth { background: var(--growth-100); color: var(--growth); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card__foot { margin-top: auto; padding-top: 20px; }

/* Product card */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--brand); }
.product-card--featured { border-color: var(--brand); box-shadow: var(--sh); }
.product-card__tag {
  position: absolute; top: -12px; left: 30px;
  background: var(--brand); color: #fff; font-family: var(--font-head);
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 13px; border-radius: var(--r-pill);
}
.product-card__amount {
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  color: var(--brand-600); margin-bottom: 4px; letter-spacing: -.01em;
}
.product-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.product-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.product-card .speclist { margin-bottom: 24px; }
.product-card .card__foot { padding-top: 0; }

/* Spec list */
.speclist { list-style: none; display: grid; gap: 11px; }
.speclist li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .93rem; color: var(--body); line-height: 1.45;
}
.speclist li::before {
  content: ""; flex: none; width: 19px; height: 19px; margin-top: 1px; border-radius: 50%;
  background: var(--growth-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310A37F'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 011.4-1.4l3.8 3.8 6.8-6.8a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.speclist--dash li::before {
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235B6C84'%3E%3Cpath d='M5 9h10v2H5z'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--ink .speclist li { color: #E2DED4; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; position: relative; }
.step { position: relative; }
.step__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.18rem;
  display: grid; place-items: center; margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(21, 83, 240, .3);
}
.section--ink .step__num { background: #fff; color: var(--ink); box-shadow: none; }
.step h3 { margin-bottom: 9px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.section--ink .step p { color: #B9B3A6; }
.steps--connected .step::after {
  content: ""; position: absolute; top: 26px; left: 66px; right: -20px; height: 2px;
  background: linear-gradient(90deg, var(--brand-100), var(--line-soft));
  z-index: -1;
}
.steps--connected .step:last-child::after { display: none; }

/* Requirements */
.reqs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.req {
  text-align: center; padding: 30px 20px; background: #fff;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
}
.req__icon { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--brand); }
.req__val {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--ink);
  letter-spacing: -.02em; margin-bottom: 4px;
}
.req__label { font-size: .88rem; color: var(--muted); line-height: 1.4; }

/* Use cases chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips--center { justify-content: center; max-width: 900px; margin-inline: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 11px 20px; font-size: .93rem; font-weight: 500; color: var(--ink-800);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.chip:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--sh-sm); color: var(--ink-800); }
.chip svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* Industry tiles */
.industry {
  display: flex; flex-direction: column; gap: 14px; padding: 26px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
  color: inherit;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--brand-100); color: inherit; }
.industry__icon { width: 40px; height: 40px; color: var(--brand); }
.industry h4 { margin: 0; }
.industry p { margin: 0; font-size: .88rem; color: var(--muted); }

/* Case study */
.case {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.case:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.case__top {
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-700) 100%);
  padding: 26px 28px; color: #fff;
}
.case__amount {
  font-family: var(--font-head); font-weight: 800; font-size: 2.05rem;
  letter-spacing: -.03em; line-height: 1; margin-bottom: 6px;
}
.case__industry { font-size: .85rem; color: #ADA899; }
.case__body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.case__body h4 { margin-bottom: 9px; }
.case__body p { font-size: .93rem; color: var(--muted); margin-bottom: 18px; }
.case__meta {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: .82rem; color: var(--muted);
}
.case__meta strong { color: var(--ink); font-weight: 600; }

/* Testimonials */
.quote {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
}
.quote__stars { display: flex; gap: 3px; color: var(--gold); }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote {
  margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--ink-800);
  font-family: var(--font-head); font-weight: 500;
}
.quote__author { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
}
.quote__name { font-family: var(--font-head); font-weight: 700; font-size: .93rem; color: var(--ink); }
.quote__role { font-size: .84rem; color: var(--muted); }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .93rem; }
table.compare th, table.compare td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.compare thead th {
  background: var(--paper); font-family: var(--font-head); font-weight: 700;
  color: var(--ink); font-size: .88rem; letter-spacing: .01em; white-space: nowrap;
}
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody tr:hover { background: var(--brand-050); }
table.compare td:first-child { font-weight: 600; color: var(--ink); }

/* Accordion / FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 4px; font-family: var(--font-head); font-weight: 700;
  font-size: 1.04rem; color: var(--ink); line-height: 1.4;
}
.faq__q:hover { color: var(--brand-600); }
.faq__icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper-2); color: var(--ink); display: grid; place-items: center;
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.faq__icon svg { width: 13px; height: 13px; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding: 0 4px 24px; color: var(--muted); font-size: .97rem; max-width: 78ch; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #262219 55%, var(--brand-700) 130%);
  border-radius: var(--r-lg); padding: 64px 56px; color: #CFCABE;
  display: grid; grid-template-columns: 1.3fr auto; gap: 44px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(21,83,240,.4), transparent 68%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; color: #C4BFB3; max-width: 52ch; }
.cta-band .btn-row { flex-wrap: nowrap; }

/* Callout / disclosure */
.callout {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--brand); border-radius: var(--r);
  padding: 22px 26px; font-size: .93rem; color: var(--muted);
}
.callout strong { color: var(--ink); }
.callout--gold { border-left-color: var(--gold); background: var(--gold-100); border-color: #F3E3BE; }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--growth-100); color: #165F7E;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-pill);
}
.badge--brand { background: var(--brand-100); color: var(--brand-700); }
.badge--gold { background: var(--gold-100); color: #9C6B0E; }

/* Media panel (visual placeholder blocks) */
.panel {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg);
  border: 1px solid var(--line-soft); background: #fff;
}
.panel__bar {
  display: flex; align-items: center; gap: 7px; padding: 14px 18px;
  background: var(--paper); border-bottom: 1px solid var(--line-soft);
}
.panel__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.panel__body { padding: 28px; display: grid; gap: 18px; }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-row__label { font-size: .88rem; color: var(--muted); }
.panel-row__value { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.meter { height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.meter__fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand), #D9B45A); }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-600); }
.crumbs span { color: #9A958B; }

/* Anchor nav */
.anchor-nav {
  position: sticky; top: 78px; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line-soft); padding: 0;
}
.anchor-nav ul {
  display: flex; gap: 6px; list-style: none; overflow-x: auto;
  scrollbar-width: none; padding: 10px 0;
}
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a {
  display: block; white-space: nowrap; padding: 9px 16px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--muted);
}
.anchor-nav a:hover { background: var(--paper); color: var(--ink); }

/* Calculator */
.calc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--sh);
}
.calc__field { margin-bottom: 26px; }
.calc__field:last-of-type { margin-bottom: 30px; }
.calc__label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 12px;
}
.calc__label span:first-child { font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--ink); }
.calc__out {
  font-family: var(--font-head); font-weight: 800; font-size: 1.32rem;
  color: var(--brand-600); letter-spacing: -.02em;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 3px; background: var(--paper-2); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand); cursor: grab;
  box-shadow: 0 2px 8px rgba(20,20,20,.18);
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  border: 3px solid var(--brand); cursor: grab; box-shadow: 0 2px 8px rgba(20,20,20,.18);
}
.calc__scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 8px; }
.calc__result {
  background: var(--paper); border-radius: var(--r); padding: 24px; display: grid; gap: 14px;
}
.calc__result-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.calc__result-row span { font-size: .93rem; color: var(--muted); }
.calc__result-row strong { font-family: var(--font-head); font-size: 1.12rem; color: var(--ink); }
.calc__result-row--total { border-top: 1px solid var(--line); padding-top: 14px; }
.calc__result-row--total strong { color: var(--brand-600); font-size: 1.35rem; }

/* 9. FORMS ----------------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.lbl {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .88rem; color: var(--ink); margin-bottom: 7px;
}
.req-star { color: var(--alert); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="date"], select, textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: .97rem;
  color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100);
}
input::placeholder, textarea::placeholder { color: #A9A49A; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235B6C84'%3E%3Cpath fill-rule='evenodd' d='M5.3 7.3a1 1 0 011.4 0L10 10.6l3.3-3.3a1 1 0 111.4 1.4l-4 4a1 1 0 01-1.4 0l-4-4a1 1 0 010-1.4z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 40px;
}
textarea { resize: vertical; min-height: 120px; }
.help { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.err { font-size: .82rem; color: var(--alert); margin-top: 6px; display: none; font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--alert); }
.field.has-error .err { display: block; }

.checkline { display: flex; gap: 11px; align-items: flex-start; font-size: .87rem; color: var(--muted); line-height: 1.5; }
.checkline input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice {
  position: relative; display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px;
  cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s;
  font-size: .94rem; font-weight: 500; color: var(--ink);
}
.choice:hover { border-color: var(--brand); background: var(--brand-050); }
.choice input { position: absolute; opacity: 0; }
.choice__box {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line);
  flex: none; display: grid; place-items: center; transition: border-color .18s;
}
.choice__box::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand); transform: scale(0); transition: transform .18s var(--ease);
}
.choice input:checked ~ .choice__box { border-color: var(--brand); }
.choice input:checked ~ .choice__box::after { transform: scale(1); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-050); box-shadow: 0 0 0 3px var(--brand-100); }

/* Multi-step */
.steps-bar { display: flex; align-items: center; gap: 0; margin-bottom: 36px; }
.steps-bar__item { flex: 1; display: flex; align-items: center; gap: 10px; }
.steps-bar__dot {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--paper-2); color: var(--muted);
  font-family: var(--font-head); font-weight: 700; font-size: .84rem;
  transition: background .25s, color .25s;
}
.steps-bar__label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.steps-bar__line { flex: 1; height: 2px; background: var(--line); margin: 0 12px; border-radius: 2px; }
.steps-bar__item.is-active .steps-bar__dot { background: var(--brand); color: #fff; }
.steps-bar__item.is-active .steps-bar__label { color: var(--ink); }
.steps-bar__item.is-done .steps-bar__dot { background: var(--growth); color: #fff; }

.form-step { display: none; }
.form-step.is-active { display: block; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px; box-shadow: var(--sh);
}
.form-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; }

.form-success {
  text-align: center; padding: 20px 0;
}
.form-success__icon {
  width: 68px; height: 68px; border-radius: 50%; background: var(--growth-100);
  color: var(--growth); display: grid; place-items: center; margin: 0 auto 22px;
}
.form-success__icon svg { width: 34px; height: 34px; }

/* 10. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #ADA899; padding-block: 72px 0; font-size: .92rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-bottom: 52px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #8F8A7E; }
.footer__about { margin: 20px 0 22px; max-width: 34ch; line-height: 1.6; color: #A8A396; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a, .footer__contact span { display: flex; align-items: center; gap: 10px; color: #E3DFD5; }
.footer__contact a:hover { color: #fff; }
.footer__contact svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.footer__col h5 {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .13em; text-transform: uppercase; color: #fff; margin: 0 0 18px;
}
.footer__col ul { list-style: none; display: grid; gap: 11px; }
.footer__col a { color: #ADA899; }
.footer__col a:hover { color: #fff; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 32px 40px;
  font-size: .8rem; line-height: 1.65; color: #8C877B;
}
.footer__legal p { margin-bottom: 14px; max-width: 105ch; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); margin-top: 10px;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__bottom a { color: #ADA899; }
.footer__bottom a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.07);
  display: grid; place-items: center; color: #E3DFD5; transition: background .2s;
}
.footer__social a:hover { background: var(--brand); color: #fff; }
.footer__social svg { width: 17px; height: 17px; }

/* 11. UTILITIES ------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; } .mt-5 { margin-top: 44px; } .mt-6 { margin-top: 60px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 44px; }
.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;
}
/* .hide-sm keeps each element's own display; it only hides below 680px */
.show-sm { display: none; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 34px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 1.15em; }
.prose li { margin-bottom: 8px; }
.prose > *:first-child { margin-top: 0; }

/* 12. MOTION --------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

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

/* 13. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --section-y: 76px; }
  .split { gap: 48px; }
  .hero__grid { gap: 44px; }
  .nav { gap: 20px; }
  .nav__link { padding: 10px 10px; font-size: .9rem; }
  .nav__phone { display: none; }
}

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > *:first-child { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .reqs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps--connected .step::after { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; gap: 28px; }
  .footer__top { grid-template-columns: repeat(2, 1fr); gap: 40px; }

  /* Mobile nav */
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 78px 0 auto; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 28px;
    gap: 2px; max-height: calc(100vh - 78px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    box-shadow: var(--sh-lg);
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 1rem; }
  .mega {
    position: static; transform: none; width: 100%; box-shadow: none; border: 0;
    padding: 0 0 8px 6px; opacity: 1; visibility: visible; pointer-events: auto;
    display: none;
  }
  .mega.is-open { display: block; transform: none; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__foot { display: none; }
  .nav__actions .btn--ghost { display: none; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; --section-y: 60px; }
  body { font-size: 16px; }
  .hero { padding-block: 64px 72px; }
  .hero--page { padding-block: 56px 60px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .reqs { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .form-card, .quote-card, .calc { padding: 24px; }
  .card, .product-card, .quote { padding: 24px; }
  .cta-band { padding: 36px 24px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .nav__actions .btn { width: auto; }
  .hide-sm { display: none; }
  .show-sm { display: initial; }
  .steps-bar__label { display: none; }
  .steps-bar__item { flex: 0 0 auto; }
  .trustbar__row { gap: 24px 32px; }
  .section-head { margin-bottom: 36px; }
}

@media print {
  .site-header, .site-footer, .topbar, .cta-band, .anchor-nav { display: none; }
  body { font-size: 12pt; color: #000; }
}
