/* =============================================================
   HORAIS  ·  Marketing Site
   Palette: teal #0F6E56 · deep-teal #0A3A2F · brass #B0812E
            paper #F3F4EE · ink #12201C
   Type:    Bricolage Grotesque (display) · Inter (body)
            JetBrains Mono (data, labels, refs)
   ============================================================= */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ---- Tokens ---- */
:root {
  --teal:       #0F6E56;
  --deep-teal:  #0A3A2F;
  --deepest:    #062A21;
  --brass:      #B0812E;
  --brass-hi:   #D4A44A;
  --paper:      #F3F4EE;
  --ink:        #12201C;
  --white:      #FFFFFF;

  --teal-06:    rgba(15,110,86,0.06);
  --teal-08:    rgba(15,110,86,0.08);
  --teal-15:    rgba(15,110,86,0.15);
  --teal-25:    rgba(15,110,86,0.25);
  --brass-12:   rgba(176,129,46,0.12);
  --brass-25:   rgba(176,129,46,0.25);
  --ink-06:     rgba(18,32,28,0.06);
  --ink-08:     rgba(18,32,28,0.08);
  --ink-45:     rgba(18,32,28,0.45);
  --ink-60:     rgba(18,32,28,0.60);
  --ink-72:     rgba(18,32,28,0.72);
  --paper-10:   rgba(243,244,238,0.10);
  --paper-30:   rgba(243,244,238,0.30);
  --paper-55:   rgba(243,244,238,0.55);
  --paper-70:   rgba(243,244,238,0.70);

  --font-d: 'Bricolage Grotesque', sans-serif;
  --font-b: 'Inter', sans-serif;
  --font-m: 'JetBrains Mono', monospace;

  --max-w: 1200px;

  --r8:   8px;
  --r12:  12px;
  --r16:  16px;
  --rpill: 999px;

  --shadow-sm: 0 1px 3px rgba(18,32,28,0.06), 0 2px 8px rgba(18,32,28,0.04);
  --shadow-md: 0 2px 8px rgba(18,32,28,0.07), 0 10px 28px rgba(18,32,28,0.08);
  --shadow-lg: 0 4px 16px rgba(18,32,28,0.09), 0 20px 48px rgba(18,32,28,0.10);

  --t: 220ms cubic-bezier(0.33, 1, 0.68, 1);
  --t-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Base ---- */
body {
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: var(--font-d);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.022em;
  font-optical-sizing: auto;
}

p { max-width: 66ch; }

::selection { background: var(--brass); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Scroll reveal ---- */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.rv.in-view { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 90ms; }
.rv-d2 { transition-delay: 180ms; }
.rv-d3 { transition-delay: 270ms; }

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

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5.5rem 0; }

/* ---- Eyebrows & titles ---- */
.eyebrow {
  font-family: var(--font-m);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 1.125rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: 1.125rem;
  color: var(--deep-teal);
}

.section-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-60);
  max-width: 56ch;
}

.on-dark .section-title { color: var(--paper); }
.on-dark .section-body  { color: var(--paper-70); }

/* Cable underline accent for select headings */
.cable-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.35em;
}
.cable-underline::after {
  content: '';
  position: absolute;
  left: 2px; right: 30%;
  bottom: 0;
  height: 8px;
  background: none;
  border-bottom: 3px solid var(--brass);
  border-radius: 0 0 50% 50%/0 0 100% 100%;
  opacity: 0.85;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-08);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 66px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 2rem;
}

.nav__logo { display: flex; align-items: center; height: 28px; flex-shrink: 0; }
.nav__logo svg { height: 28px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.6;
  transition: opacity var(--t);
  position: relative;
  padding: 4px 0;
}
.nav__links a:hover { opacity: 1; }
.nav__links a.active { opacity: 1; color: var(--teal); font-weight: 600; }
.nav__links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brass);
  border-radius: 2px;
}

.nav__cta { margin-left: 0.5rem; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r8);
}
.nav__toggle svg { width: 24px; height: 24px; stroke: var(--deep-teal); stroke-width: 2; fill: none; stroke-linecap: round; }
.nav__toggle .icon-close { display: none; }
.nav.is-open .nav__toggle .icon-open  { display: none; }
.nav.is-open .nav__toggle .icon-close { display: block; }

.nav__mobile {
  display: none;
  border-top: 1px solid var(--ink-08);
  background: var(--white);
  padding: 0.75rem 1.5rem 1.25rem;
}
.nav.is-open .nav__mobile { display: block; }
.nav__mobile a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-06);
}
.nav__mobile a.active { color: var(--teal); font-weight: 600; }
.nav__mobile .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.375rem;
  border-radius: var(--r8);
  font-family: var(--font-b);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  white-space: nowrap;
  line-height: 1;
}

.btn--brass { background: var(--brass); color: var(--white); }
.btn--brass:hover {
  background: #9a7128;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(176,129,46,0.38);
}

.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover {
  background: #0c5c48;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15,110,86,0.32);
}

.btn--ghost-paper {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid var(--paper-30);
}
.btn--ghost-paper:hover { border-color: rgba(243,244,238,0.7); background: var(--paper-10); }

.btn--ghost-ink {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(18,32,28,0.18);
}
.btn--ghost-ink:hover { border-color: rgba(18,32,28,0.45); }

.btn--lg { padding: 0.9375rem 2rem; font-size: 1rem; border-radius: var(--r12); }

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(1100px 460px at 18% -8%, rgba(15,110,86,0.55), transparent 60%),
    radial-gradient(900px 420px at 108% 112%, rgba(176,129,46,0.14), transparent 55%),
    var(--deep-teal);
  padding: 5rem 0 0;
  overflow: hidden;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--paper);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.028em;
}
.hero__title em { font-style: normal; color: var(--brass-hi); }

.hero__body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--paper-70);
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.hero__ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.hero__proof {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero__proof-item { display: flex; flex-direction: column; gap: 2px; }
.hero__proof-val {
  font-family: var(--font-m);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--paper);
}
.hero__proof-lbl { font-size: 0.75rem; color: var(--paper-55); }

/* Hero entrance sequence */
.hero .hz { opacity: 0; transform: translateY(18px); animation: hz-in 700ms cubic-bezier(0.22,1,0.36,1) forwards; }
.hero .hz-1 { animation-delay: 60ms; }
.hero .hz-2 { animation-delay: 160ms; }
.hero .hz-3 { animation-delay: 260ms; }
.hero .hz-4 { animation-delay: 360ms; }
.hero .hz-5 { animation-delay: 480ms; }
@keyframes hz-in { to { opacity: 1; transform: none; } }

/* ---- Dashboard mockup ---- */
.dashboard-mockup {
  background: #051510;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow:
    0 -3px 0 rgba(176,129,46,0.45),
    0 30px 70px rgba(0,0,0,0.55),
    0 8px 24px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.07);
  border-bottom: none;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: #030c08;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chrome-dots { display: flex; gap: 5px; }
.chrome-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.1); display: block; }
.chrome-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 0.6875rem;
  color: rgba(243,244,238,0.35);
  font-family: var(--font-m);
}

.mockup-body { display: flex; min-height: 350px; }

.mockup-sidebar {
  width: 48px;
  background: #030c08;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.sb-logo { width: 26px; height: 26px; margin-bottom: 0.75rem; }
.sb-item {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
}
.sb-item.active { background: var(--teal); }
.sb-item svg { width: 15px; height: 15px; stroke: rgba(243,244,238,0.4); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sb-item.active svg { stroke: rgba(243,244,238,0.92); }

.mockup-main { flex: 1; padding: 1.125rem 1.25rem; overflow: hidden; }

.mockup-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mockup-topbar h3 { font-size: 0.8125rem; font-weight: 700; color: var(--paper); font-family: var(--font-b); letter-spacing: 0; }
.mockup-topbar span { font-size: 0.625rem; color: rgba(243,244,238,0.35); font-family: var(--font-m); }

.mockup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.m-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 7px;
  padding: 0.625rem 0.75rem;
}
.m-stat__val { display: block; font-size: 1.125rem; font-weight: 600; color: var(--paper); font-family: var(--font-m); line-height: 1.2; }
.m-stat__val.brass { color: var(--brass-hi); }
.m-stat__val.alert { color: #e8a040; }
.m-stat__lbl {
  display: block;
  font-size: 0.5625rem;
  color: rgba(243,244,238,0.38);
  font-family: var(--font-b);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 2px;
}

.m-table-head {
  display: grid;
  grid-template-columns: 76px 1fr 1fr 52px 70px;
  gap: 0.5rem;
  padding: 0 0.75rem 0.5rem;
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(243,244,238,0.25);
  font-family: var(--font-b);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 0.375rem;
}

.m-ticket {
  display: grid;
  grid-template-columns: 76px 1fr 1fr 52px 70px;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  align-items: center;
  transition: background var(--t);
}
.m-ticket:hover { background: rgba(255,255,255,0.03); }
.m-ticket__ref { font-size: 0.625rem; font-weight: 600; color: #4dd4a6; font-family: var(--font-m); }
.m-ticket__text {
  font-size: 0.625rem;
  color: rgba(243,244,238,0.55);
  font-family: var(--font-b);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-ticket__wt { font-size: 0.625rem; font-weight: 600; color: var(--paper); font-family: var(--font-m); }

.m-badge {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-b);
}
.m-badge.done { background: rgba(15,110,86,0.22);  color: #4dd4a6; }
.m-badge.pend { background: rgba(176,129,46,0.22); color: #d4a44a; }
.m-badge.prog { background: rgba(99,130,246,0.2);  color: #93a7fa; }
.m-badge.prog::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #93a7fa;
  animation: pulse 1.8s infinite;
}

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---- Cable divider (signature) ---- */
.cable-divider {
  display: block;
  width: 100%;
  height: 52px;
  background: var(--deep-teal);
  position: relative;
}
.cable-divider svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 52px; }
.cable-divider .cable-path {
  stroke-dasharray: 1300;
  stroke-dashoffset: 1300;
  transition: stroke-dashoffset 1400ms cubic-bezier(0.22,1,0.36,1);
}
.cable-divider.in-view .cable-path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .cable-divider .cable-path { stroke-dashoffset: 0; }
}

/* ---- Category cards (index) ---- */
.modules-intro { text-align: center; margin-bottom: 3.5rem; }
.modules-intro .section-title { margin: 0 auto 1rem; }
.modules-intro .section-body  { margin: 0 auto; text-align: center; }

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

.mod-card {
  background: var(--white);
  border-radius: var(--r12);
  padding: 1.625rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-06);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}
.mod-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--brass));
  opacity: 0;
  transition: opacity var(--t);
}
.mod-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--teal-25);
}
.mod-card:hover::before { opacity: 1; }

.mod-card__icon {
  width: 40px; height: 40px;
  border-radius: var(--r8);
  background: var(--teal-08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mod-card__icon svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.mod-card__num {
  position: absolute;
  top: 1.25rem; right: 1.375rem;
  font-family: var(--font-m);
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(18,32,28,0.22);
  letter-spacing: 0.06em;
}

.mod-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--deep-teal);
  font-family: var(--font-d);
  letter-spacing: -0.015em;
}

.mod-card__body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-60);
  max-width: none;
  flex: 1;
}

.mod-card__chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.125rem; }
.chip {
  font-size: 0.6563rem;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: var(--rpill);
  background: var(--teal-08);
  color: var(--teal);
  font-family: var(--font-b);
}
.chip--brass { background: var(--brass-12); color: var(--brass); }

.mod-card--future {
  border: 1.5px dashed rgba(15,110,86,0.3);
  background: rgba(15,110,86,0.02);
  box-shadow: none;
}

/* ---- Compliance section (dark) ---- */
.compliance-section {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(15,110,86,0.4), transparent 55%),
    var(--deep-teal);
  padding: 5.5rem 0;
}

.compliance-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.compliance-list { display: flex; flex-direction: column; gap: 1.375rem; margin-top: 2rem; }
.comp-item { display: flex; gap: 1rem; align-items: flex-start; }
.comp-item__dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brass-12);
  border: 1px solid var(--brass-25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.comp-item__dot svg { width: 15px; height: 15px; stroke: var(--brass-hi); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.comp-item__text h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--paper);
  font-family: var(--font-d);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.comp-item__text p { font-size: 0.875rem; color: var(--paper-55); line-height: 1.6; max-width: none; }

.compliance-panel {
  background: rgba(243,244,238,0.04);
  border: 1px solid rgba(243,244,238,0.08);
  border-radius: var(--r16);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.panel-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--paper-30);
  font-family: var(--font-m);
  margin-bottom: 0.25rem;
}

.wtn-card {
  background: rgba(15,110,86,0.12);
  border: 1px solid rgba(15,110,86,0.2);
  border-radius: var(--r8);
  padding: 1rem 1.25rem;
}
.wtn-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.625rem; }
.wtn-card__header span:first-child { font-size: 0.6875rem; font-weight: 600; color: #4dd4a6; font-family: var(--font-m); letter-spacing: 0.05em; }
.wtn-signed {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(15,110,86,0.25);
  color: #4dd4a6;
  padding: 2px 8px;
  border-radius: var(--rpill);
  font-family: var(--font-b);
}
.wtn-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 0.375rem; }
.wtn-field { display: flex; flex-direction: column; gap: 1px; }
.wtn-field__label {
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--paper-30);
  font-family: var(--font-b);
}
.wtn-field__value { font-size: 0.75rem; color: rgba(243,244,238,0.82); font-family: var(--font-m); font-weight: 500; }

.alert-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(232,160,64,0.1);
  border: 1px solid rgba(232,160,64,0.2);
  border-radius: var(--r8);
}
.alert-item--brass { background: rgba(176,129,46,0.08); border-color: rgba(176,129,46,0.18); }
.alert-dot { width: 8px; height: 8px; border-radius: 50%; background: #e8a040; flex-shrink: 0; animation: pulse 2s infinite; }
.alert-dot--brass { background: var(--brass); }
.alert-text { font-size: 0.8125rem; color: rgba(243,244,238,0.75); font-family: var(--font-b); flex: 1; }
.alert-text strong { color: #e8c07a; font-weight: 600; }
.alert-link { font-size: 0.6875rem; font-weight: 600; color: #e8a040; text-decoration: underline; font-family: var(--font-b); white-space: nowrap; }
.alert-link--brass { color: var(--brass-hi); }

.carbon-mini {
  background: rgba(15,110,86,0.08);
  border: 1px solid rgba(15,110,86,0.15);
  border-radius: var(--r8);
  padding: 0.875rem 1rem;
}
.carbon-mini__row { display: flex; gap: 1.5rem; }
.carbon-mini__val { font-size: 1.125rem; font-weight: 600; color: var(--paper); font-family: var(--font-m); }
.carbon-mini__lbl {
  font-size: 0.5625rem;
  color: rgba(243,244,238,0.4);
  font-family: var(--font-b);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Stats band ---- */
.stats-band {
  background: var(--teal);
  padding: 3.75rem 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 280px at 88% 120%, rgba(176,129,46,0.22), transparent 60%);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}
.stat-block__val {
  display: block;
  font-family: var(--font-d);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.stat-block__lbl { font-size: 0.875rem; color: rgba(243,244,238,0.62); }

/* ---- Tier cards (index scale section) ---- */
.tier-card {
  background: var(--white);
  border: 1px solid rgba(18,32,28,0.07);
  border-radius: var(--r12);
  padding: 1.5rem 1.75rem;
  transition: box-shadow var(--t), transform var(--t);
  display: block;
}
.tier-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.tier-card--teal  { border-left: 3px solid var(--teal); }
.tier-card--brass { border-left: 3px solid var(--brass); }
.tier-card--deep  { border-left: 3px solid var(--deep-teal); }
.tier-card__tier {
  font-size: 0.6563rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-bottom: 0.5rem;
  font-family: var(--font-m);
}
.tier-card--teal  .tier-card__tier { color: var(--teal); }
.tier-card--brass .tier-card__tier { color: var(--brass); }
.tier-card--deep  .tier-card__tier { color: var(--deep-teal); }
.tier-card__head { font-weight: 700; color: var(--deep-teal); margin-bottom: 0.375rem; font-family: var(--font-d); letter-spacing: -0.01em; }
.tier-card__body { font-size: 0.875rem; color: rgba(18,32,28,0.58); max-width: none; }

/* ---- Privacy note ---- */
.privacy-note {
  background: var(--white);
  padding: 3.25rem 0;
}
.privacy-note__inner { display: flex; gap: 2rem; align-items: center; }
.privacy-note__icon {
  width: 48px; height: 48px;
  background: var(--teal-08);
  border-radius: var(--r12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.privacy-note__icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.privacy-note__title { font-weight: 700; color: var(--deep-teal); margin-bottom: 0.25rem; font-family: var(--font-d); }
.privacy-note__body { font-size: 0.9375rem; color: var(--ink-60); max-width: none; }

/* ---- CTA band ---- */
.cta-band {
  background:
    radial-gradient(800px 400px at 50% 130%, rgba(15,110,86,0.35), transparent 60%),
    var(--ink);
  padding: 5.5rem 0;
  text-align: center;
}
.cta-band__title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--paper); margin-bottom: 1rem; }
.cta-band__body { font-size: 1.0625rem; color: rgba(243,244,238,0.6); margin: 0 auto 2.5rem; }
.cta-band__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer {
  background: var(--deepest);
  padding: 4rem 0 2.5rem;
  border-top: 1px solid rgba(176,129,46,0.22);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}
.footer__brand-desc {
  font-size: 0.9rem;
  color: rgba(243,244,238,0.5);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 28ch;
}
.footer__col h4 {
  font-family: var(--font-m);
  font-size: 0.6563rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(243,244,238,0.35);
  margin-bottom: 1rem;
}
.footer__col li + li { margin-top: 0.75rem; }
.footer__col a { font-size: 0.9rem; color: var(--paper-55); transition: color var(--t); }
.footer__col a:hover { color: var(--paper); }

.footer__bottom {
  border-top: 1px solid rgba(243,244,238,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__legal { font-size: 0.8125rem; color: rgba(243,244,238,0.3); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { font-size: 0.8125rem; color: rgba(243,244,238,0.3); transition: color var(--t); }
.footer__links a:hover { color: rgba(243,244,238,0.7); }

/* ---- Page hero (subpages) ---- */
.page-hero {
  background:
    radial-gradient(1000px 420px at 15% -10%, rgba(15,110,86,0.5), transparent 60%),
    var(--deep-teal);
  padding: 4.75rem 0;
}
.page-hero__eyebrow { margin-bottom: 1rem; }
.page-hero__title {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  color: var(--paper);
  margin-bottom: 1.125rem;
  max-width: 22ch;
}
.page-hero__body { font-size: 1.0625rem; color: rgba(243,244,238,0.68); max-width: 56ch; line-height: 1.75; }

/* ---- Category jump nav (features) ---- */
.cat-nav {
  position: sticky;
  top: 66px;
  z-index: 90;
  background: rgba(243,244,238,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-08);
}
.cat-nav__inner {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  scrollbar-width: none;
}
.cat-nav__inner::-webkit-scrollbar { display: none; }
.cat-nav a {
  font-family: var(--font-m);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--rpill);
  border: 1px solid rgba(18,32,28,0.12);
  color: var(--ink-60);
  white-space: nowrap;
  transition: all var(--t);
}
.cat-nav a:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-06); }

/* ---- Features category blocks ---- */
.domain-block {
  padding: 4.75rem 0;
  border-bottom: 1px solid rgba(18,32,28,0.07);
  scroll-margin-top: 130px;
}
.domain-block:last-of-type { border-bottom: none; }
.domain-block:nth-of-type(even) { background: var(--white); }

.domain-header { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2.5rem; }
.domain-icon {
  width: 52px; height: 52px;
  border-radius: var(--r12);
  background: var(--teal-08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.domain-icon svg { width: 26px; height: 26px; stroke: var(--teal); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.domain-header__text h2 { font-size: 1.75rem; color: var(--deep-teal); margin-bottom: 0.5rem; }
.domain-header__kicker {
  font-family: var(--font-m);
  font-size: 0.6563rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 0.375rem;
}
.domain-header__text p { font-size: 1rem; color: var(--ink-60); line-height: 1.65; max-width: 60ch; }

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

.mod-item {
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: var(--r12);
  padding: 1.5rem 1.625rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.domain-block:nth-of-type(even) .mod-item { background: var(--paper); }
.mod-item:hover { border-color: var(--teal-25); box-shadow: 0 2px 16px rgba(15,110,86,0.08); }
.mod-item__name {
  font-size: 0.9688rem;
  font-weight: 700;
  color: var(--deep-teal);
  font-family: var(--font-d);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.mod-item__desc { font-size: 0.875rem; color: rgba(18,32,28,0.58); line-height: 1.6; max-width: none; margin-bottom: 0.875rem; }
.mod-item__bullets { display: flex; flex-direction: column; gap: 0.4rem; }
.mod-bullet {
  font-size: 0.8125rem;
  color: var(--ink-60);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.mod-bullet::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 0.45em;
}

/* ---- Roadmap (future additions) ---- */
.roadmap {
  background: var(--deep-teal);
  padding: 4.75rem 0;
}
.roadmap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.roadmap-chip {
  background: rgba(243,244,238,0.05);
  border: 1px dashed rgba(176,129,46,0.35);
  border-radius: var(--r8);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.roadmap-chip svg { width: 17px; height: 17px; stroke: var(--brass-hi); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.roadmap-chip span { font-size: 0.9rem; color: var(--paper-70); font-weight: 500; }

/* ---- Pricing ---- */
.pricing-intro { text-align: center; margin-bottom: 3.5rem; }
.pricing-intro .section-title { margin: 0 auto 1rem; }
.pricing-intro .section-body { margin: 0 auto; text-align: center; }

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

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--ink-08);
  border-radius: var(--r16);
  padding: 2.25rem 2rem;
  position: relative;
  transition: box-shadow var(--t);
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 10px 36px rgba(15,110,86,0.13);
}
.pricing-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--rpill);
  font-family: var(--font-b);
  white-space: nowrap;
}
.pricing-card__tier {
  font-size: 0.6563rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.75rem;
  font-family: var(--font-m);
}
.pricing-card__name { font-size: 1.625rem; font-weight: 800; color: var(--deep-teal); margin-bottom: 0.5rem; }
.pricing-card__desc { font-size: 0.9rem; color: rgba(18,32,28,0.58); line-height: 1.6; margin-bottom: 1.75rem; max-width: none; }

.pricing-card__price { margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--ink-06); }
.price-main { font-family: var(--font-d); font-size: 2.25rem; font-weight: 800; color: var(--deep-teal); letter-spacing: -0.03em; }
.price-note { font-size: 0.8125rem; color: var(--ink-45); margin-top: 0.5rem; }

.pricing-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.p-feat { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9rem; color: var(--ink-72); line-height: 1.45; }
.p-feat svg { width: 15px; height: 15px; stroke: var(--teal); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 1px; }
.p-feat--addon { color: rgba(18,32,28,0.5); }
.p-feat--addon svg { stroke: rgba(15,110,86,0.45); }

.pricing-cta { width: 100%; justify-content: center; }

.pricing-addons {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--r16);
  border: 1px solid var(--ink-08);
}
.pricing-addons h3 { font-size: 1.25rem; color: var(--deep-teal); margin-bottom: 0.5rem; }
.pricing-addons > p { font-size: 0.9375rem; color: rgba(18,32,28,0.58); margin-bottom: 1.75rem; }
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.addon-chip {
  background: var(--paper);
  border: 1px solid var(--ink-06);
  border-radius: var(--r8);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-72);
}
.addon-chip strong { display: block; color: var(--deep-teal); font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.addon-chip--future { border-style: dashed; border-color: var(--brass-25); background: rgba(176,129,46,0.03); }

/* ---- Trust & FAQ ---- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.trust-card {
  padding: 2rem;
  background: var(--paper);
  border-radius: var(--r12);
  border: 1px solid var(--ink-06);
}
.trust-card__icon {
  width: 40px; height: 40px;
  background: var(--teal-08);
  border-radius: var(--r8);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.trust-card__icon svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.trust-card h4 { font-size: 1rem; font-weight: 700; color: var(--deep-teal); margin-bottom: 0.5rem; }
.trust-card p { font-size: 0.875rem; color: var(--ink-60); line-height: 1.65; max-width: none; }

.faq-list { display: flex; flex-direction: column; gap: 1.25rem; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(18,32,28,0.07);
  border-radius: var(--r12);
  padding: 1.5rem 1.75rem;
}
.faq-item h4 { font-size: 1rem; font-weight: 700; color: var(--deep-teal); margin-bottom: 0.5rem; }
.faq-item p { font-size: 0.9rem; color: rgba(18,32,28,0.62); line-height: 1.65; max-width: none; }

/* ---- About page ---- */
.mv-band { background: var(--teal); padding: 4.75rem 0; position: relative; overflow: hidden; }
.mv-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(800px 340px at 90% 115%, rgba(176,129,46,0.2), transparent 60%);
}
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; position: relative; }
.mv-block__label {
  font-size: 0.6563rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(243,244,238,0.5);
  font-family: var(--font-m);
  margin-bottom: 0.875rem;
}
.mv-block__heading { font-size: 1.625rem; color: var(--paper); margin-bottom: 1rem; letter-spacing: -0.02em; }
.mv-block__body { font-size: 1rem; line-height: 1.75; color: rgba(243,244,238,0.72); max-width: none; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--white);
  border: 1px solid rgba(18,32,28,0.07);
  border-radius: var(--r12);
  padding: 2rem;
  border-top: 3px solid var(--teal);
  transition: box-shadow var(--t), transform var(--t);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-card__icon {
  width: 40px; height: 40px;
  border-radius: var(--r8);
  background: var(--teal-08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.125rem;
}
.value-card__icon svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.value-card__title { font-size: 1rem; font-weight: 700; color: var(--deep-teal); margin-bottom: 0.625rem; letter-spacing: -0.01em; }
.value-card__body { font-size: 0.9rem; line-height: 1.7; color: rgba(18,32,28,0.62); max-width: none; }

.story-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5rem; align-items: start; }
.story-body p { font-size: 1.0625rem; line-height: 1.8; color: var(--ink-72); max-width: none; margin-bottom: 1.25rem; }
.story-body p:last-child { margin-bottom: 0; }
.story-aside { display: flex; flex-direction: column; gap: 1.125rem; }
.story-stat {
  background: var(--paper);
  border: 1px solid rgba(18,32,28,0.06);
  border-radius: var(--r12);
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--brass);
}
.story-stat__value {
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 800;
  color: var(--deep-teal);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.25rem;
}
.story-stat__label { font-size: 0.875rem; color: rgba(18,32,28,0.55); line-height: 1.5; }
.story-quote {
  background: var(--deep-teal);
  border-radius: var(--r12);
  padding: 1.75rem;
}
.story-quote__kicker {
  font-size: 0.6563rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(243,244,238,0.45);
  font-family: var(--font-m);
  margin-bottom: 0.75rem;
}
.story-quote__text { font-size: 1rem; line-height: 1.7; color: rgba(243,244,238,0.85); max-width: none; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mockup { display: none; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-inner { grid-template-columns: 1fr; }
  .compliance-panel { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .mv-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .story-inner { grid-template-columns: 1fr; gap: 3rem; }
  .roadmap__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 768px) {
  .section { padding: 3.75rem 0; }
  .modules-grid { grid-template-columns: 1fr; }
  .domain-modules { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .roadmap__grid { grid-template-columns: 1fr; }
  .privacy-note__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
  .cta-band__actions { flex-direction: column; align-items: center; }
  .addons-grid { grid-template-columns: 1fr; }
}
