/* ==========================================================================
   Northpoint Advisors — styles.css
   Mobile-first. Fonts: Fraunces (display) + Manrope (text).
   ========================================================================== */

:root {
  --ink: #0b1a2e;
  --navy: #12284a;
  --navy-2: #1b3a66;
  --navy-3: #284d82;
  --paper: #f6f4ee;
  --paper-2: #efece3;
  --white: #ffffff;
  --line: #e2ded2;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #1c2636;
  --muted: #566173;
  --muted-on-dark: #b5c1d4;
  --emerald: #0d7a5f;
  --emerald-hover: #0a654e;
  --emerald-bright: #2fc89a;
  --emerald-soft: #e2f2eb;
  --amber: #e3a23a;
  --amber-soft: #fbefd8;
  --amber-ink: #7d520a;
  --danger: #b4352a;
  --danger-soft: #fbe9e6;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 46, 0.06), 0 2px 6px rgba(11, 26, 46, 0.05);
  --shadow: 0 2px 4px rgba(11, 26, 46, 0.05), 0 12px 32px rgba(11, 26, 46, 0.09);
  --shadow-lg: 0 6px 12px rgba(11, 26, 46, 0.06), 0 28px 60px rgba(11, 26, 46, 0.16);

  --container: 1180px;
  --gutter: 16px;
  --header-h: 68px;
  --preview-bar: 90px;
  --ease: cubic-bezier(0.22, 0.8, 0.26, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
@media (min-width: 600px) { :root { --gutter: 24px; } }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--emerald); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--emerald-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 30, "opsz" 96;
}
h1 { font-size: clamp(2.35rem, 6.4vw, 4.1rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); font-variation-settings: "SOFT" 30, "opsz" 36; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.num { font-variant-numeric: tabular-nums; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: #dbe3ef; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--emerald); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: var(--emerald-bright); }
.lede { font-size: clamp(1.06rem, 1.8vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section-dark .lede { color: var(--muted-on-dark); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; line-height: 1.2; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 6px 18px rgba(13, 122, 95, 0.28); }
.btn-primary:hover { background: var(--emerald-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(13, 122, 95, 0.32); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(11, 26, 46, 0.22); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(11, 26, 46, 0.04); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--emerald-soft); color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.text-link { font-weight: 700; color: var(--emerald); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 244, 238, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(11, 26, 46, 0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-text); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-top: 4px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink);
}
.nav-toggle .bars { position: relative; width: 20px; height: 14px; }
.nav-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease); }
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 6px; }
.nav-toggle .bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--paper);
  padding: 20px var(--gutter) calc(var(--preview-bar) + 24px);
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .22s, transform .22s var(--ease), visibility .22s;
}
.site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { border-bottom: 1px solid var(--line); }
.site-nav a.nav-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); text-decoration: none;
}
.site-nav a.nav-link[aria-current="page"] { color: var(--emerald); }
.site-nav .nav-cta { margin-top: 24px; display: grid; gap: 12px; }
body.nav-open { overflow: hidden; }

@media (min-width: 1000px) {
  /* backdrop-filter only on desktop: on mobile it would trap the fixed-position menu inside the header */
  .site-header { background: rgba(246, 244, 238, 0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; padding: 0; background: transparent; overflow: visible;
    opacity: 1; visibility: visible; transform: none;
    display: flex; align-items: center; gap: 20px;
  }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav li { border: 0; }
  .site-nav a.nav-link {
    font-family: var(--font-text); font-size: 0.93rem; font-weight: 600; min-height: 44px;
    padding: 0 12px; border-radius: 999px; color: var(--text); position: relative;
  }
  .site-nav a.nav-link:hover { background: rgba(11, 26, 46, 0.05); }
  .site-nav a.nav-link[aria-current="page"] { color: var(--emerald); }
  .site-nav a.nav-link[aria-current="page"]::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--emerald); border-radius: 2px;
  }
  .site-nav .nav-cta { margin: 0; display: flex; gap: 8px; }
  .site-nav .nav-cta .btn-portal { display: none; }
}
@media (min-width: 1160px) { .site-nav .nav-cta .btn-portal { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 44px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 26, 46, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 26, 46, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--emerald); font-weight: 500; }
.hero .lede { margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; color: var(--muted); font-size: 0.92rem; }
.hero-proof strong { color: var(--ink); font-size: 1.05rem; }
.hero-proof .stack { display: flex; }
.hero-proof .stack span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -8px;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; color: #fff;
}
.hero-proof .stack span:first-child { margin-left: 0; }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4; background: var(--navy);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.chart-card {
  position: relative; margin: -70px 12px 0 auto; width: min(330px, 92%);
  background: #fff; border-radius: 18px; padding: 18px 18px 14px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11, 26, 46, 0.06);
}
.chart-card .cc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.chart-card .cc-label { font-size: 0.76rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.chart-card .cc-value { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); line-height: 1.1; }
.chart-card .cc-delta { display: inline-flex; align-items: center; gap: 4px; background: var(--emerald-soft); color: var(--emerald); font-weight: 800; font-size: 0.78rem; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.chart-card svg { width: 100%; height: auto; }
.chart-card .cc-legend { display: flex; gap: 14px; font-size: 0.74rem; color: var(--muted); margin-top: 6px; }
.chart-card .cc-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.float-badge {
  position: absolute; top: 18px; left: -6px;
  display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff;
  padding: 10px 14px 10px 10px; border-radius: 14px; box-shadow: var(--shadow); font-size: 0.82rem; line-height: 1.3;
}
.float-badge .dot { width: 32px; height: 32px; border-radius: 10px; background: var(--emerald-bright); display: grid; place-items: center; color: var(--ink); flex: none; }
.float-badge strong { display: block; font-size: 0.9rem; }

/* hero chart animation */
.bar-grow { transform-box: fill-box; transform-origin: bottom; animation: barGrow 1.1s var(--ease) both; }
.bar-grow:nth-of-type(2) { animation-delay: .08s; } .bar-grow:nth-of-type(3) { animation-delay: .16s; }
.bar-grow:nth-of-type(4) { animation-delay: .24s; } .bar-grow:nth-of-type(5) { animation-delay: .32s; }
.bar-grow:nth-of-type(6) { animation-delay: .40s; } .bar-grow:nth-of-type(7) { animation-delay: .48s; }
.line-draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: lineDraw 1.8s .5s var(--ease) forwards; }
.pulse-dot { animation: pulse 2.4s 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lineDraw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .5; } }

@media (min-width: 900px) {
  .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
  .chart-card { position: absolute; left: -48px; bottom: -40px; margin: 0; }
  .float-badge { left: auto; right: -14px; top: 28px; }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-item { padding: 26px 16px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item:nth-child(2n) { border-right: 0; }
.trust-item:nth-last-child(-n+2) { border-bottom: 0; }
.trust-item .big { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--ink); line-height: 1; display: block; margin-bottom: 6px; }
.trust-item .small { font-size: 0.86rem; color: var(--muted); }
@media (min-width: 760px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: 0; }
  .trust-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .trust-item:last-child { border-right: 0; }
}

/* ---------- Chips / filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 44px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--text); font-weight: 700; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { font-size: 0.74rem; padding: 1px 7px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.chip[aria-pressed="true"] .count { background: rgba(255,255,255,.16); color: #fff; }
.filter-status { font-size: 0.9rem; color: var(--muted); margin: -14px 0 20px; min-height: 1.5em; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.03em;
  padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--navy-2);
}
.tag-startups { background: #e6eefb; color: #23457c; }
.tag-small-business { background: var(--emerald-soft); color: #0b6650; }
.tag-individuals { background: var(--amber-soft); color: var(--amber-ink); }

/* ---------- Services grid ---------- */
.services-grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, opacity .3s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service-card[hidden] { display: none; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--emerald-bright);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin: 4px 0 0; }
.service-card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.service-card ul { margin: 2px 0 0; padding: 0; list-style: none; font-size: 0.92rem; display: grid; gap: 6px; }
.service-card ul li { display: flex; gap: 9px; align-items: flex-start; }
.service-card ul li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--emerald-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230d7a5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-card .card-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); font-size: 0.9rem; color: var(--muted); }
.service-card .card-foot strong { color: var(--ink); }

/* ---------- Calculators ---------- */
.tools { background: var(--ink); color: #dbe3ef; position: relative; overflow: hidden; }
.tools::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 200, 154, 0.18), transparent 65%); pointer-events: none;
}
.tools .container { position: relative; z-index: 1; }
.tablist {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); margin-bottom: 26px; max-width: 100%;
}
.tab {
  min-height: 48px; padding: 10px 18px; border-radius: 13px; border: 0; background: transparent;
  color: var(--muted-on-dark); font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 9px; text-align: left;
}
.tab svg { width: 18px; height: 18px; flex: none; }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab:focus-visible { outline-color: var(--amber); }

.calc { display: grid; gap: 18px; }
@media (min-width: 940px) { .calc { grid-template-columns: 0.95fr 1.05fr; gap: 22px; } }
.calc-panel { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 26px 22px; }
.calc-panel h3 { margin-bottom: 4px; }
.calc-panel .hint { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.calc-result { background: var(--navy); border: 1px solid var(--line-dark); color: #dbe3ef; border-radius: var(--radius-lg); padding: 26px 22px; display: flex; flex-direction: column; }
.calc-result h3 { color: #fff; }
.result-big { font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 3.4rem); color: #fff; line-height: 1; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.result-sub { color: var(--muted-on-dark); font-size: 0.95rem; }
.result-rows { margin: 18px 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.result-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.94rem; }
.result-rows li span:last-child { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.due-dates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
@media (min-width: 520px) { .due-dates { grid-template-columns: repeat(4, 1fr); } }
.due { background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: 12px; padding: 10px 12px; }
.due small { display: block; color: var(--muted-on-dark); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.due strong { color: #fff; font-variant-numeric: tabular-nums; }
.disclaimer {
  margin-top: auto; display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; line-height: 1.5;
  background: rgba(227, 162, 58, 0.12); border: 1px solid rgba(227, 162, 58, 0.35); color: #f6dcae; border-radius: 12px; padding: 12px 14px;
}
.disclaimer svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--amber); }
.tabpanel[hidden] { display: none; }
.cfo-chart { margin: 14px 0 6px; }
.cfo-chart text { font-family: var(--font-text); }
.cfo-chart .bar { transition: height .5s var(--ease), y .5s var(--ease); }
.verdict { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 4px; align-self: flex-start; }
.verdict.good { background: rgba(47, 200, 154, 0.16); color: var(--emerald-bright); }
.verdict.maybe { background: rgba(227, 162, 58, 0.16); color: #f3c36f; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.field .help { font-size: 0.82rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid #cfcabd; background: #fff; color: var(--ink); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 104px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: #a9a395; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(13, 122, 95, 0.16); outline: none; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 53, 42, 0.1); }
.error-msg { color: var(--danger); font-size: 0.84rem; font-weight: 600; min-height: 0; }
.error-msg:empty { display: none; }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.money .input { padding-left: 28px; font-variant-numeric: tabular-nums; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230b1a2e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row output { min-width: 64px; text-align: right; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--emerald) var(--fill, 50%), #e1ddd2 var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: #e1ddd2; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--emerald); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--emerald); margin-top: -9px; box-shadow: var(--shadow-sm); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--emerald); }
input[type="range"]:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--paper); border-radius: 14px; padding: 5px; border: 1px solid var(--line); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 6px 8px; border-radius: 10px; font-weight: 700; font-size: 0.86rem; line-height: 1.2; color: var(--muted); transition: background .2s, color .2s; }
.segmented input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 1px; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; padding: 0; }
.grid-2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.success-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--emerald-soft); border: 1px solid #b7dfcd; color: #0b4d3c; padding: 16px 18px; border-radius: 14px; font-size: 0.95rem;
}
.success-box svg { width: 24px; height: 24px; flex: none; color: var(--emerald); }
.success-box p { margin: 0 0 4px; }
.success-box .demo-note { font-size: 0.86rem; color: #2f6553; margin: 0; }

/* ---------- Scheduler ---------- */
.scheduler-wrap { display: grid; gap: 28px; }
@media (min-width: 980px) { .scheduler-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; } }
.sched-aside .aside-points { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.sched-aside .aside-points li { display: flex; gap: 14px; }
.sched-aside .aside-points .ico { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--emerald-soft); color: var(--emerald); display: grid; place-items: center; }
.sched-aside .aside-points .ico svg { width: 20px; height: 20px; }
.sched-aside .aside-points strong { display: block; color: var(--ink); }
.sched-aside .aside-points span { color: var(--muted); font-size: 0.93rem; }
.sched-aside .office-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.sched-aside .office-img img { width: 100%; height: 100%; object-fit: cover; }

.scheduler { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.steps { display: flex; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); background: var(--paper); overflow-x: auto; }
.steps li { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 6px; font-size: 0.8rem; font-weight: 700; color: var(--muted); position: relative; }
.steps li .n { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; background: #fff; border: 1.5px solid var(--line); }
.steps li .t { display: none; }
@media (min-width: 600px) { .steps li .t { display: inline; } }
.steps li.is-current { color: var(--ink); }
.steps li.is-current .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps li.is-done .n { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.steps li.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); }
.sched-body { padding: 22px 14px 24px; }
@media (max-width: 599px) {
  .scheduler { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; border-inline: 0; }
}
@media (min-width: 600px) { .sched-body { padding: 30px 32px 32px; } }
.sched-step[hidden] { display: none; }
.sched-step h3 { margin-bottom: 4px; }
.sched-step > .hint { color: var(--muted); font-size: 0.93rem; margin-bottom: 20px; }
.topic-grid { display: grid; gap: 10px; }
@media (min-width: 560px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.topic .topic-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; transition: border-color .2s, background .2s, box-shadow .2s; min-height: 44px; }
.topic .topic-card .ico { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--paper); color: var(--navy-2); display: grid; place-items: center; }
.topic .topic-card .ico svg { width: 20px; height: 20px; }
.topic strong { display: block; color: var(--ink); font-size: 0.97rem; line-height: 1.3; }
.topic small { color: var(--muted); font-size: 0.84rem; line-height: 1.4; display: block; margin-top: 2px; }
.topic:hover .topic-card { border-color: #b9b3a5; }
.topic input:checked + .topic-card { border-color: var(--emerald); background: #f3faf6; box-shadow: 0 0 0 3px rgba(13, 122, 95, 0.12); }
.topic input:checked + .topic-card .ico { background: var(--emerald); color: #fff; }
.topic input:focus-visible + .topic-card { outline: 3px solid var(--amber); outline-offset: 2px; }

.cal-layout { display: grid; gap: 22px; }
@media (min-width: 700px) { .cal-layout { grid-template-columns: 1.15fr 0.85fr; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.cal-head h4 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; }
.cal-nav { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); }
.icon-btn:hover:not([disabled]) { border-color: var(--ink); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.icon-btn svg { width: 18px; height: 18px; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.cal-grid th { font-size: 0.72rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-grid td { padding: 0; text-align: center; }
.cal-day {
  width: 100%; aspect-ratio: 1; min-height: 44px; max-height: 52px; border-radius: 10px; border: 1.5px solid transparent;
  background: transparent; font-weight: 700; font-size: 0.92rem; color: #a7a397; position: relative; padding: 0;
  font-variant-numeric: tabular-nums;
}
.cal-day.is-available { background: #f1f7f4; color: var(--ink); border-color: #d5e9df; }
.cal-day.is-available::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--emerald); }
.cal-day.is-available:hover { border-color: var(--emerald); }
.cal-day.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-day.is-selected::after { background: var(--emerald-bright); }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--amber); }
.cal-day[aria-disabled="true"] { cursor: not-allowed; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.78rem; color: var(--muted); margin-top: 10px; }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.slot-col h4 { font-family: var(--font-text); font-size: 0.9rem; font-weight: 800; margin: 6px 0 10px; color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.slot { min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 0.92rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--emerald); }
.slot[aria-pressed="true"] { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.slot-empty { font-size: 0.9rem; color: var(--muted); background: var(--paper); border-radius: 12px; padding: 16px; }
.sched-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.sched-summary { font-size: 0.86rem; color: var(--muted); flex: 1 1 200px; }
.sched-summary strong { color: var(--ink); }
.confirm-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 18px 0; background: var(--paper); }
.confirm-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 0.94rem; }
.confirm-card dt { color: var(--muted); font-weight: 600; }
.confirm-card dd { margin: 0; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.confirm-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--emerald-soft); color: var(--emerald); display: grid; place-items: center; margin-bottom: 14px; }
.confirm-icon svg { width: 30px; height: 30px; }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 18px; }
@media (min-width: 620px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s var(--ease); }
.team-card:hover { box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 4 / 4.4; background: var(--navy); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.03); }
.team-body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.team-body h3 { margin: 0; font-size: 1.25rem; }
.team-role { color: var(--muted); font-size: 0.9rem; margin: 0; }
.creds { display: flex; flex-wrap: wrap; gap: 6px; }
.cred { font-size: 0.72rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; letter-spacing: .04em; }
.team-toggle {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  min-height: 44px; padding: 8px 0 0; border: 0; border-top: 1px dashed var(--line); background: none;
  font-weight: 700; color: var(--emerald); font-size: 0.92rem; text-align: left;
}
.team-toggle svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.team-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.team-more { font-size: 0.92rem; color: var(--text); }
.team-more[hidden] { display: none; }
.team-more p { margin: 6px 0 10px; color: var(--muted); }
.team-more h4 { font-family: var(--font-text); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 10px 0 6px; }
.team-more ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.team-more .fun { background: var(--paper); border-radius: 10px; padding: 10px 12px; font-size: 0.86rem; color: var(--text); margin-top: 10px; }

/* ---------- Resources ---------- */
.res-tools { display: grid; gap: 14px; margin-bottom: 26px; }
@media (min-width: 860px) { .res-tools { grid-template-columns: 1fr auto; align-items: center; } .res-tools .filter-bar { margin: 0; } }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search .input { padding-left: 42px; border-radius: 999px; }
.res-tools .filter-bar { margin-bottom: 0; }
.res-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .res-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .res-grid.res-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.res-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s; }
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.res-card[hidden] { display: none; }
.res-thumb { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.res-thumb img { width: 100%; height: 100%; object-fit: cover; }
.res-card .res-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.res-meta { display: flex; gap: 10px; align-items: center; font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; }
.res-card h3 { font-size: 1.15rem; margin: 0; }
.res-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.res-card .read { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--emerald); font-size: 0.9rem; display: inline-flex; gap: 6px; align-items: center; }
.no-results { text-align: center; padding: 40px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.no-results[hidden] { display: none; }
mark { background: var(--amber-soft); color: inherit; border-radius: 3px; padding: 0 2px; }

.article-list { display: grid; gap: 22px; }
.article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
@media (min-width: 760px) { .article { padding: 40px 48px; } }
.article:target { box-shadow: 0 0 0 3px var(--emerald), var(--shadow); }
.article header { margin-bottom: 18px; }
.article h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-top: 10px; }
.article h3 { font-size: 1.15rem; margin-top: 1.4em; }
.article .prose { max-width: 70ch; }
.article .prose p, .article .prose li { color: #343f50; }
.article .prose li { margin-bottom: 6px; }
.article .keytake { background: var(--emerald-soft); border-left: 4px solid var(--emerald); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 18px 0; font-size: 0.95rem; color: #0b4d3c; }
.article footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; font-size: 0.86rem; color: var(--muted); }
.toc-layout { display: grid; gap: 28px; }
@media (min-width: 1040px) { .toc-layout { grid-template-columns: 260px 1fr; align-items: start; } .toc { position: sticky; top: calc(var(--header-h) + 20px); } }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.toc h2 { font-family: var(--font-text); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 8px; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc a { display: flex; align-items: center; min-height: 44px; font-size: 0.9rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.3; padding: 6px 0; }
.toc li:last-child a { border-bottom: 0; }
.toc a:hover { color: var(--emerald); }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.billing-toggle .lbl { font-weight: 700; color: var(--muted); }
.billing-toggle .lbl.is-on { color: var(--ink); }
.switch { position: relative; width: 64px; height: 36px; border-radius: 999px; border: 0; background: var(--ink); padding: 0; flex: none; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch[aria-checked="true"] { background: var(--emerald); }
.switch[aria-checked="true"]::after { transform: translateX(28px); }
.save-pill { background: var(--amber-soft); color: var(--amber-ink); font-weight: 800; font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; }
.pricing-grid { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; }
.plan.featured { background: var(--ink); color: #dbe3ef; border-color: var(--ink); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .plan.featured { transform: translateY(-12px); } }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--emerald-bright); color: var(--ink); font-weight: 800; font-size: 0.74rem; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.plan h3 { margin-bottom: 4px; }
.plan .for { color: var(--muted); font-size: 0.92rem; min-height: 3em; }
.plan.featured .for { color: var(--muted-on-dark); }
.price { font-family: var(--font-display); font-size: 3rem; color: var(--ink); line-height: 1; margin: 14px 0 4px; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.price small { font-family: var(--font-text); font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.plan.featured .price small { color: var(--muted-on-dark); }
.price-note { font-size: 0.84rem; color: var(--muted); min-height: 1.4em; margin-bottom: 18px; }
.plan.featured .price-note { color: var(--muted-on-dark); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 0.95rem; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; }
.plan ul li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--emerald); }
.plan.featured ul li svg { color: var(--emerald-bright); }
.plan .btn { margin-top: auto; }
.pricing-foot { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 28px; }

/* ---------- Testimonials ---------- */
.example-label { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; margin-bottom: 12px; }
.quotes { display: grid; gap: 18px; }
@media (min-width: 860px) { .quotes { grid-template-columns: 1.3fr 1fr 1fr; } }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 16px; margin: 0; }
.quote.big { background: var(--emerald); color: #eaf7f1; border-color: var(--emerald); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; color: var(--ink); font-variation-settings: "SOFT" 50, "opsz" 24; }
.quote.big blockquote { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
.quote .stars { display: flex; gap: 2px; color: var(--amber); }
.quote .stars svg { width: 16px; height: 16px; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.quote figcaption .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote.big figcaption strong { color: #fff; }
.quote figcaption span { color: var(--muted); }
.quote.big figcaption span { color: #c6eadb; }

/* ---------- Newsletter / CTA band ---------- */
.cta-band { position: relative; background: var(--navy); color: #dbe3ef; border-radius: var(--radius-lg); padding: 36px 24px; overflow: hidden; display: grid; gap: 24px; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 52px 56px; } }
.cta-band h2 { color: #fff; }
.cta-band::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(47, 200, 154, 0.08); pointer-events: none; }
.cta-band > * { position: relative; }
.newsletter-form { display: grid; gap: 10px; }
@media (min-width: 520px) { .newsletter-form .row { display: flex; gap: 10px; } .newsletter-form .row .input { flex: 1; } }
.newsletter-form .input { border-color: transparent; }
.newsletter-form .fine { font-size: 0.8rem; color: var(--muted-on-dark); margin: 0; }
.newsletter-form label.visually-hidden + .input { margin-bottom: 0; }
.newsletter-form .row .btn { width: 100%; margin-top: 10px; }
@media (min-width: 520px) { .newsletter-form .row .btn { width: auto; margin-top: 0; } }
.newsletter-form .error-msg { color: #ffb4a8; }

/* ---------- Page heroes (inner pages) ---------- */
.page-hero { padding: 48px 0 56px; position: relative; overflow: hidden; }
.page-hero .ph-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 80px; } .page-hero .ph-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.page-hero .ph-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 11; background: var(--navy); }
.page-hero .ph-img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b5b0a3; }

/* services detail */
.svc-detail { display: grid; gap: 28px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 10px); }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .svc-detail { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.svc-detail .svc-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--emerald); font-weight: 600; letter-spacing: .06em; }
.svc-detail h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-top: 6px; }
.svc-detail .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.svc-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.svc-panel h3 { font-family: var(--font-text); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
.svc-panel ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
@media (min-width: 560px) { .svc-panel ul { grid-template-columns: 1fr 1fr; } }
.svc-panel ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.svc-panel ul li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--emerald); }
.svc-panel .svc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.svc-panel .svc-meta small { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.svc-panel .svc-meta strong { color: var(--ink); font-size: 1rem; }
.svc-jump { display: flex; gap: 8px; flex-wrap: wrap; }
.svc-jump a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: 0.88rem; text-decoration: none; }
.svc-jump a:hover { border-color: var(--ink); }

.process { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { list-style: none; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; position: relative; }
.process li::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 2rem; color: var(--emerald-bright); display: block; margin-bottom: 10px; line-height: 1; }
.process li strong { color: #fff; display: block; margin-bottom: 6px; font-size: 1.05rem; }
.process li p { color: var(--muted-on-dark); font-size: 0.93rem; margin: 0; }
.process { padding: 0; margin: 0; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; color: var(--ink); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--emerald); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 64px 0 calc(36px + var(--preview-bar)); font-size: 0.94rem; }
.site-footer a { color: #e6ecf5; text-decoration: none; }
.site-footer a:hover { color: var(--emerald-bright); text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 0.8fr 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand-name small { color: var(--muted-on-dark); }
.site-footer h2 { font-family: var(--font-text); font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 14px; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.site-footer ul a { display: inline-flex; min-height: 40px; align-items: center; }
.site-footer address { font-style: normal; line-height: 1.8; }
.contact-line { display: flex; gap: 10px; align-items: center; min-height: 40px; }
.contact-line svg { width: 16px; height: 16px; color: var(--emerald-bright); flex: none; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.hours dt { color: #e6ecf5; font-weight: 600; } .hours dd { margin: 0; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.84rem; }
.footer-note { max-width: 46ch; margin-top: 14px; }

/* ---------- Back to top (sits above the 90px preview bar) ---------- */
.to-top {
  position: fixed; right: 16px; bottom: calc(var(--preview-bar) + 16px); z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--preview-bar) + 20px); z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; visibility: hidden;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg);
  font-size: 0.92rem; font-weight: 600; max-width: calc(100% - 32px); transition: opacity .25s, transform .25s, visibility .25s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Portal ---------- */
.demo-ribbon { background: var(--amber); color: var(--ink); text-align: center; font-weight: 800; font-size: 0.86rem; padding: 9px 16px; }
.demo-ribbon span { font-weight: 600; }
.portal-login { padding: 48px 0 72px; }
.login-wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .login-wrap { grid-template-columns: 1fr 1fr; gap: 64px; } .portal-login { padding: 80px 0 96px; } }
.login-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 28px 22px; }
@media (min-width: 600px) { .login-card { padding: 38px 40px; } }
.login-card .demo-pill { display: inline-flex; gap: 8px; align-items: center; background: var(--amber-soft); color: var(--amber-ink); font-weight: 800; font-size: 0.78rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.login-card .note { font-size: 0.85rem; color: var(--muted); background: var(--paper); border-radius: 10px; padding: 12px 14px; margin: 4px 0 18px; }
.login-art { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); background: var(--navy); }
.login-art img { width: 100%; height: 100%; object-fit: cover; }

.dash { padding: 32px 0 72px; }
.dash[hidden] { display: none; }
.dash-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; }
.dash-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0; }
.dash-head p { color: var(--muted); margin: 6px 0 0; }
.dash-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
@media (min-width: 860px) { .dash-kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.kpi small { display: block; font-size: 0.76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); font-weight: 560; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpi .sub { font-size: 0.82rem; color: var(--muted); }
.dash-grid { display: grid; gap: 18px; }
@media (min-width: 980px) { .dash-grid { grid-template-columns: 1.25fr 0.75fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.3rem; margin: 0; }
.count-pill { font-size: 0.76rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); }
.count-pill.done { background: var(--emerald-soft); color: var(--emerald); }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.doc-row:first-child { border-top: 0; }
.doc-ico { width: 42px; height: 48px; flex: none; }
.doc-info { flex: 1 1 180px; min-width: 0; }
.doc-info strong { display: block; color: var(--ink); line-height: 1.3; }
.doc-info span { font-size: 0.84rem; color: var(--muted); }
.status { font-size: 0.76rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.status.pending { background: var(--amber-soft); color: var(--amber-ink); }
.status.ok { background: var(--emerald-soft); color: var(--emerald); }
.file-pick { position: relative; display: inline-flex; }
.file-pick input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.file-pick input:focus-visible + .btn { outline: 3px solid var(--amber); outline-offset: 3px; }
.progress { height: 10px; border-radius: 10px; background: var(--paper-2); overflow: hidden; margin: 6px 0 14px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--emerald), var(--emerald-bright)); border-radius: 10px; transition: width .4s var(--ease); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; min-height: 44px; }
.checklist input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--emerald); flex: none; }
.checklist .ci strong { display: block; color: var(--ink); font-size: 0.95rem; line-height: 1.35; }
.checklist .ci span { font-size: 0.82rem; color: var(--muted); }
.checklist input:checked ~ .ci strong { text-decoration: line-through; color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 14px; padding: 10px 0; }
.timeline .date { flex: none; width: 52px; text-align: center; background: var(--paper); border-radius: 10px; padding: 6px 0; line-height: 1.1; }
.timeline .date small { display: block; font-size: 0.7rem; font-weight: 800; color: var(--emerald); text-transform: uppercase; }
.timeline .date strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.timeline .ev strong { display: block; color: var(--ink); font-size: 0.95rem; }
.timeline .ev span { font-size: 0.84rem; color: var(--muted); }
.advisor { display: flex; gap: 14px; align-items: center; }
.advisor img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; background: var(--navy); }
.advisor strong { display: block; color: var(--ink); }
.advisor span { font-size: 0.86rem; color: var(--muted); }

/* Modal (sign document) */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px 16px calc(var(--preview-bar) + 16px); background: rgba(11, 26, 46, 0.6); }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: var(--radius-lg); width: min(560px, 100%); max-height: calc(100vh - var(--preview-bar) - 40px); overflow-y: auto; padding: 26px 22px; box-shadow: var(--shadow-lg); }
@media (min-width: 600px) { .modal-card { padding: 32px; } }
.modal-card h2 { font-size: 1.5rem; }
.doc-preview { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 0.86rem; color: #3b4555; margin-bottom: 16px; max-height: 180px; overflow-y: auto; }
.sig-input { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 8px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .to-top, .toast, .demo-ribbon { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* ---------- Phone tap-target polish (Atomic Helm mobile pass) ---------- */
@media (max-width: 760px) {
  .site-footer a:not(.btn):not([class*="button"]),
  nav[aria-label="Breadcrumb"] a,
  .announce a, .season-bar a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .site-footer li { margin-block: 0; }
}

/* ==========================================================================
   Showcase motion pass (2026-10-25): animated logo, living hero scene,
   growth planner, scroll + micro-interactions. Transform/opacity only.
   ========================================================================== */

/* ---------- Animated logo: bars rise, trend line draws, north needle swings in ---------- */
.np-logo { overflow: visible; }
.np-logo .lg-bar, .np-logo .lg-needle, .np-logo .lg-star { transform-box: view-box; }
.np-logo .lg-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.np-logo.is-play .lg-b1 { animation: lgBar .6s var(--ease) .1s both; }
.np-logo.is-play .lg-b2 { animation: lgBar .6s var(--ease) .25s both; }
.np-logo.is-play .lg-b3 { animation: lgBar .6s var(--ease) .4s both; }
.np-logo.is-play .lg-line { animation: lgLine .55s ease-out .6s both; }
.np-logo.is-play .lg-needle { animation: lgNeedle 1s cubic-bezier(.3, 1.3, .5, 1) .85s both; }
.np-logo.is-play .lg-star { animation: lgStar .6s ease-out 1.45s both, lgTwinkle 4.5s ease-in-out 3s infinite; }
@keyframes lgBar { from { transform: scaleY(0); } 70% { transform: scaleY(1.14); } to { transform: scaleY(1); } }
@keyframes lgLine { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lgNeedle {
  0% { transform: scale(0) rotate(-150deg); opacity: 0; }
  40% { transform: scale(1.12) rotate(28deg); opacity: 1; }
  62% { transform: scale(1) rotate(-12deg); }
  82% { transform: rotate(5deg); }
  100% { transform: none; opacity: 1; }
}
@keyframes lgStar { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.9); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes lgTwinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.brand:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 12px; }

/* ---------- Hero scene ---------- */
.hero-photo .hero-scene { width: 100%; height: 100%; display: block; }
.hero-scene .hs-par { will-change: transform; }
.hero-scene .hs-sunglow, .hero-scene .hs-beam, .hero-scene .hs-boat, .hero-scene .hs-compass,
.hero-scene .hs-pendant, .hero-scene .hs-live, .hero-scene .hs-kpi, .hero-scene .hs-bar,
.hero-scene .hs-tip, .hero-scene .hs-donut, .hero-scene .hs-plant { transform-box: view-box; }
.hs-sunglow { animation: hsGlow 7s ease-in-out infinite; }
.hs-c1 { animation: hsCloud 70s linear -26s infinite; }
.hs-c2 { animation: hsCloud 95s linear -64s infinite; }
.hs-w1 { animation: hsWave66 4.5s linear infinite; }
.hs-w2 { animation: hsWave56 6s linear infinite; }
.hs-w3 { animation: hsWave56 8s linear infinite reverse; }
.hs-beam { animation: hsBeam 7s ease-in-out infinite; }
.hs-boat-drift { animation: hsDrift 30s ease-in-out infinite alternate; }
.hs-boat { animation: hsBob 3.6s ease-in-out infinite; }
.hs-gulls { animation: hsGulls 9s ease-in-out infinite; }
.hs-draw { stroke-dasharray: 1; stroke-dashoffset: 0; animation: hsDraw 1.5s var(--ease) .5s both; }
.hs-draw-2 { animation-delay: .9s; animation-duration: 1.7s; }
.hs-draw-3 { animation-delay: 2s; animation-duration: .7s; }
.hs-compass { animation: hsCompass 9s ease-in-out 1s infinite; }
.hs-pendant { animation: hsSway 7s ease-in-out infinite; }
.hs-bulb { animation: hsBulb 4s ease-in-out infinite; }
.hs-live { animation: hsLive 1.8s ease-in-out infinite; }
.hs-kpi { animation: hsKpi .9s var(--ease) both; }
.hs-k2 { animation-delay: .15s; }
.hs-k3 { animation-delay: .3s; }
.hs-bar { animation: hsBarIn .9s var(--ease) both; }
.hs-bar:nth-child(2) { animation-delay: .08s; } .hs-bar:nth-child(3) { animation-delay: .16s; }
.hs-bar:nth-child(4) { animation-delay: .24s; } .hs-bar:nth-child(5) { animation-delay: .32s; }
.hs-bar:nth-child(6) { animation-delay: .40s; }
.hs-bar-live { animation: hsBarIn .9s var(--ease) .48s both, hsTick 2.6s ease-in-out 2.2s infinite; }
.hs-tip { animation: hsTipIn .5s var(--ease) 2.4s both, hsTip 2.6s ease-in-out 3s infinite; }
.hs-donut { animation: hsDonut 1.2s var(--ease) .6s both; }
.hs-plant { animation: hsPlant 6.5s ease-in-out infinite; }
.hs-s1 { animation: hsSteam 3.4s ease-out infinite; }
.hs-s2 { animation: hsSteam 3.4s ease-out -1.7s infinite; }
.hs-calc rect { animation: hsDigit 2.4s steps(1) infinite; }
.hs-calc .hs-d2 { animation-delay: .4s; } .hs-calc .hs-d3 { animation-delay: .8s; }
@keyframes hsGlow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes hsCloud { from { transform: translateX(0); } to { transform: translateX(640px); } }
@keyframes hsWave66 { from { transform: translateX(-66px); } to { transform: translateX(0); } }
@keyframes hsWave56 { from { transform: translateX(-56px); } to { transform: translateX(0); } }
@keyframes hsBeam {
  0%, 100% { transform: scaleX(1); opacity: .95; }
  25% { transform: scaleX(.06); opacity: .15; }
  50% { transform: scaleX(-1); opacity: .95; }
  75% { transform: scaleX(.06); opacity: .15; }
}
@keyframes hsDrift { from { transform: translateX(0); } to { transform: translateX(80px); } }
@keyframes hsBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(2.5px) rotate(-3deg); } }
@keyframes hsGulls { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -6px); } }
@keyframes hsDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hsCompass { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(22deg); } 35% { transform: rotate(-12deg); } 50% { transform: rotate(5deg); } 60% { transform: rotate(0); } }
@keyframes hsSway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
@keyframes hsBulb { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
@keyframes hsLive { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes hsKpi { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hsBarIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hsTick { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.07); } }
@keyframes hsTipIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes hsTip { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-7px) scale(1.15); } }
@keyframes hsDonut { from { opacity: 0; transform: rotate(-140deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes hsPlant { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2.2deg); } }
@keyframes hsSteam { 0% { opacity: 0; transform: translateY(8px); } 30% { opacity: .95; } 100% { opacity: 0; transform: translateY(-16px); } }
@keyframes hsDigit { 0% { opacity: 1; } 50% { opacity: .25; } }
.float-badge { animation: npFloat 6s ease-in-out 2s infinite; }
@keyframes npFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.chart-card { will-change: transform; }

/* ---------- Micro-interactions ---------- */
.btn:active:not([disabled]):not([aria-disabled="true"]) { transform: translateY(1px) scale(.97); transition-duration: .08s; }
.chip:active, .slot:active, .tab:active { transform: scale(.96); }
.chip, .slot, .tab { transition: background .2s, border-color .2s, color .2s, transform .12s var(--ease); }
.service-card, .res-card, .team-card { transition: transform .3s var(--ease), box-shadow .3s, border-color .25s, opacity .3s; }
.team-card:hover { transform: translateY(-3px); }
.reveal .eyebrow::before { transform: scaleX(0); transform-origin: left center; transition: transform .8s var(--ease) .25s; }
.section-head.center.reveal .eyebrow::before { transform-origin: right center; }
.reveal.is-in .eyebrow::before, .no-js .eyebrow::before { transform: none; }

/* Section divider: a ruled line that draws out with a north needle at its centre */
.np-divider { display: flex; align-items: center; gap: 14px; margin: 0 auto 44px; max-width: 520px; color: var(--navy-3); }
.np-divider::before, .np-divider::after { content: ""; flex: 1; height: 1.5px; background: linear-gradient(90deg, transparent, var(--line) 30%, #c9c3b4); transition: transform 1s var(--ease) .15s; }
.np-divider::before { transform-origin: right center; }
.np-divider::after { transform-origin: left center; background: linear-gradient(90deg, #c9c3b4, var(--line) 70%, transparent); }
.np-divider svg { width: 26px; height: 26px; flex: none; transition: transform .9s cubic-bezier(.3, 1.3, .5, 1) .35s, opacity .4s .35s; }
.np-divider.reveal { opacity: 1; transform: none; }
.js .np-divider.reveal:not(.is-in)::before, .js .np-divider.reveal:not(.is-in)::after { transform: scaleX(0); }
.js .np-divider.reveal:not(.is-in) svg { transform: rotate(-180deg) scale(.4); opacity: 0; }

/* ---------- Growth planner ---------- */
.planner { display: grid; gap: 18px; }
@media (min-width: 940px) { .planner { grid-template-columns: 0.82fr 1.18fr; gap: 22px; align-items: stretch; } }
.planner-controls { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.planner-controls h3 { margin-bottom: 14px; }
.planner-controls .range-row output { min-width: 78px; }
.planner-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.planner-btns .btn svg { width: 16px; height: 16px; }
.planner-stage { background: var(--ink); color: #dbe3ef; border-radius: var(--radius-lg); padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; min-width: 0; }
.planner-stage::before { content: ""; position: absolute; right: -140px; top: -160px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 200, 154, 0.16), transparent 65%); pointer-events: none; }
.pl-top { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.pl-kicker { color: var(--muted-on-dark); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.pl-total { font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 3.2rem); color: #fff; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pl-split { display: grid; gap: 4px; font-size: 0.9rem; }
.pl-split strong { color: #fff; font-variant-numeric: tabular-nums; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 0; }
.sw-in { background: #7fa1d0; } .sw-grow { background: #2fc89a; }
.pl-chart { position: relative; width: 100%; height: auto; display: block; overflow: visible; }
.pl-chart text { font-family: var(--font-text); }
.pl-mdot { transform-box: fill-box; transform-origin: center; }
.pl-mdot.pop { animation: plPop .55s cubic-bezier(.3, 1.4, .5, 1) both; }
.pl-miles { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pl-miles li { font-size: 0.8rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-on-dark); transition: background .3s, color .3s, border-color .3s; font-variant-numeric: tabular-nums; }
.pl-miles li.hit { background: rgba(47, 200, 154, .16); color: var(--emerald-bright); border-color: rgba(47, 200, 154, .45); }
.pl-miles li.pop { animation: plPop .5s cubic-bezier(.3, 1.4, .5, 1); }
.pl-miles li.next { border-style: dashed; }
@keyframes plPop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.pl-wait-note { position: relative; margin: 0; font-size: 0.9rem; color: #f6dcae; background: rgba(227, 162, 58, .12); border: 1px solid rgba(227, 162, 58, .35); border-radius: 12px; padding: 10px 14px; }
.planner .disclaimer { margin-top: 2px; position: relative; }
#pl-wait[aria-pressed="true"] { background: var(--amber-soft); border-color: var(--amber); color: var(--amber-ink); }

@media (hover: hover) and (pointer: fine) {
  .np-tilt { transform-style: preserve-3d; }
}

/* ---------- Reduced motion: everything still and fully visible ---------- */
@media (prefers-reduced-motion: reduce) {
  .np-logo *, .hero-scene *, .float-badge, .pl-mdot, .pl-miles li { animation: none !important; }
  .hero-scene .hs-par, .chart-card { transform: none !important; }
  .reveal .eyebrow::before { transform: none; }
  .js .np-divider.reveal:not(.is-in)::before, .js .np-divider.reveal:not(.is-in)::after, .js .np-divider.reveal:not(.is-in) svg { transform: none; opacity: 1; }
}
