/* ==========================================================================
   ClearlineLab — Swiss Technical Editorial Design System
   Ground: #FFFFFF | Surface: #F7F7F7 | Ink: #0A0A0A | Signal: #0E6B70
   Typography: Inter + JetBrains Mono
   ========================================================================== */

:root {
  --ground: #ffffff;
  --raised: #f7f7f7;
  --raised-2: #efefef;
  --line: #e2e2e2;
  --line-bright: #c4c4c4;
  --ink: #0a0a0a;
  --ink-2: #3a3a3a;
  --ink-3: #5c5c5c;
  --signal: #0e6b70;
  --signal-hover: #0a5458;
  --signal-dim: #ddf2f3;
  --human: #7a5a22;
  --human-dim: #f5ebd6;
  --alarm: #b3382f;
  --alarm-dim: #fbeae8;

  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell-max: 1120px;
  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-lg: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--ground);
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

/* Container & Spacing */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: 28px;
}

.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.section--compact {
  padding: 64px 0;
}

.section--no-border {
  border-bottom: 0;
}

/* Typography Helpers */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 14px;
}

.quip {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--human);
  margin-bottom: 12px;
}

.h1 {
  font-family: var(--display);
  font-size: clamp(36px, min(5.4vw, 8.2vh), 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}

.h1-signal {
  display: block;
  color: var(--signal);
}

.h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.026em;
  color: var(--ink);
  text-wrap: balance;
}

.h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.lede {
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 60ch;
}

.mono {
  font-family: var(--mono);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}

.btn--lg {
  height: 44px;
  padding: 0 22px;
  font-size: 14.5px;
}

.btn--full {
  width: 100%;
}

.btn--solid {
  background-color: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.btn--solid:hover {
  background-color: #242424;
  border-color: #242424;
}

.btn--ghost {
  background-color: var(--ground);
  color: var(--ink);
  border-color: var(--line-bright);
}

.btn--ghost:hover {
  background-color: var(--raised-2);
  border-color: var(--ink-3);
}

.btn--signal {
  background-color: var(--signal);
  color: #ffffff;
  border-color: var(--signal);
}

.btn--signal:hover {
  background-color: var(--signal-hover);
  border-color: var(--signal-hover);
}

.btn--white {
  background-color: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.btn--white:hover {
  background-color: var(--raised-2);
}

/* ==========================================================================
   Sticky Header & Mega-Menu
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 26px;
  height: 26px;
}

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

.nav-item {
  position: relative;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.14s ease, background-color 0.14s ease;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-link.is-active,
.nav-trigger[aria-expanded="true"] {
  color: var(--ink);
  background-color: var(--raised);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  color: var(--ink-3);
  transition: transform 0.16s ease;
}

.nav-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-signin {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-signin:hover {
  color: var(--signal);
}

/* Mega-Menu Dropdown Panel */
.nav-panel {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(880px, calc(100vw - 40px));
  background: var(--ground);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 60px -24px rgba(10, 10, 10, 0.32);
  padding: 24px;
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.nav-panel-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nav-panel-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.nav-panel-item:hover {
  background-color: var(--raised);
  border-color: var(--line);
}

.nav-panel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-panel-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
}

.nav-panel-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 10px;
}

/* Mobile Header Toggle & Drawer */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  background: var(--ground);
  color: var(--ink);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ground);
  z-index: 90;
  padding: 24px 20px 40px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.mobile-drawer.is-open {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-group {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 4px;
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
}

/* ==========================================================================
   Hero & Interactive Sketch Board
   ========================================================================== */
.hero {
  padding-top: 68px;
  padding-bottom: 0;
  background: radial-gradient(80% 55% at 50% 0%, #f2f2f2 0%, #ffffff 74%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-center .lede {
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Board Frame (jaah.ai signature centerpiece) */
.board {
  margin-top: 48px;
  background: var(--ground);
  border: 1px solid var(--line-bright);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 24px 70px -34px rgba(10, 10, 10, 0.24);
  overflow: hidden;
}

.board-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: var(--raised);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.board-title {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.board-scenarios {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.board-pill {
  padding: 5px 11px;
  font-family: var(--mono);
  font-size: 11.5px;
  background: var(--ground);
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.14s ease;
}

.board-pill:hover {
  border-color: var(--line-bright);
  color: var(--ink);
}

.board-pill.is-active {
  background: var(--signal-dim);
  color: var(--signal);
  border-color: var(--signal);
  font-weight: 600;
}

.board-stage {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  min-height: 310px;
}

.board-diagram {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
  background-size: 20px 20px;
}

.board-svg {
  width: 100%;
  height: auto;
  min-height: 190px;
}

.board-caption-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-bright);
  margin-top: 16px;
}

.board-caption {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.board-step-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal);
  background: var(--signal-dim);
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Animated SVG strokes inside board */
@keyframes board-travel {
  from {
    stroke-dashoffset: 36;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.flow-dash {
  stroke-dasharray: 6 6;
  animation: board-travel 1.4s linear infinite;
}

.board-ledger {
  padding: 20px 22px;
  background: var(--ground);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.ledger-head-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.ledger-status {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal);
  font-weight: 600;
}

.ledger-rows {
  display: flex;
  flex-direction: column;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row-title {
  font-weight: 600;
  color: var(--ink);
}

.ledger-row-sub {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.ledger-row-val {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

.ledger-row-badge {
  display: inline-block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--signal-dim);
  color: var(--signal);
}

.ledger-foot {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

/* ==========================================================================
   Comparison Matrix (#compare — WITH AND WITHOUT)
   ========================================================================== */
.compare-head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 42px;
}

.compare-head .lede {
  margin-top: 14px;
}

.compare-illustration {
  border: 1px solid var(--line);
  background: var(--raised);
  border-radius: var(--radius-md);
  padding: 20px;
}

.tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  gap: 16px;
}

.tabs-list {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-list::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  position: relative;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease;
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-btn[aria-selected="true"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--signal);
}

.tabs-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.stepper-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ground);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  cursor: pointer;
}

.stepper-btn:hover {
  background: var(--raised-2);
  color: var(--ink);
}

.compare-panel {
  display: none;
}

.compare-panel.is-active {
  display: block;
}

.compare-punchline {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}

.matrix-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
  min-width: 680px;
}

.matrix-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
}

.matrix-table th:last-child {
  color: var(--signal);
}

.matrix-table td {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 15px;
  line-height: 1.52;
  color: var(--ink-2);
}

.matrix-table td:first-child {
  width: 24%;
  font-weight: 600;
  color: var(--ink);
}

.matrix-table td:nth-child(2),
.matrix-table td:nth-child(3) {
  width: 38%;
}

.cell-with-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.status-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.status-circle--plus {
  background-color: var(--signal);
  color: #ffffff;
}

.status-circle--minus {
  border: 1.5px solid var(--line-bright);
  color: var(--ink-3);
  background: transparent;
}

/* ==========================================================================
   Split Sections (5fr / 7fr — Platform & Verification)
   ========================================================================== */
.platform-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.platform-split p {
  margin-top: 16px;
  color: var(--ink-2);
}

.platform-split .btn {
  margin-top: 24px;
}

.dash-list {
  list-style: none;
  padding: 36px 0 0;
  margin: 0;
}

.dash-list li {
  position: relative;
  padding: 16px 0 16px 26px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--ink-2);
}

.dash-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 27px;
  width: 11px;
  height: 2px;
  background-color: var(--signal);
}

.dash-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   Ice-Teal Callout Band + 4-Card Benefit Grid (jaah.ai/wealthtech pattern)
   ========================================================================== */
.signal-band {
  background-color: var(--signal-dim);
  padding: 44px 0;
  border-bottom: 1px solid #c3e4e6;
}

.signal-band-inner {
  border-left: 3px solid var(--signal);
  padding-left: 24px;
  max-width: 78ch;
}

.signal-band-text {
  font-size: clamp(17.5px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.benefit-card {
  background: var(--ground);
  border: 1px solid var(--line);
  border-top: 3px solid var(--signal);
  border-radius: 4px;
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--signal-dim);
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.benefit-card p {
  font-size: 14.5px;
  line-height: 1.56;
  color: var(--ink-2);
}

/* ==========================================================================
   ROI & Close Velocity Calculator
   ========================================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  margin-top: 36px;
  align-items: stretch;
}

.calc-inputs {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  background: var(--ground);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc-field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.calc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.calc-val {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--signal);
}

.calc-range {
  width: 100%;
  accent-color: var(--signal);
  cursor: pointer;
}

.calc-results {
  background: var(--raised);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.calc-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.calc-stat {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.calc-stat-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.calc-stat-num {
  font-family: var(--display);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 4px;
}

.calc-stat-num--signal {
  color: var(--signal);
}

.calc-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ==========================================================================
   Swiss Typographic Columns (Audience & Capabilities Matrices)
   ========================================================================== */
.swiss-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 36px;
  margin-top: 40px;
}

.swiss-grid-asym {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px 36px;
  margin-top: 40px;
}

.swiss-col-title {
  border-top: 2px solid var(--ink);
  padding: 14px 0 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.swiss-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.swiss-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.52;
  color: var(--ink-2);
}

.swiss-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   Closing CTA Band
   ========================================================================== */
.cta-band {
  background-color: var(--raised);
  background-image: radial-gradient(60% 70% at 100% 100%, #ebebeb 0%, transparent 70%);
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.cta-band-split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}

.cta-band-copy p {
  margin-top: 14px;
  color: var(--ink-2);
  max-width: 52ch;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

/* Dark Teal Solutions Banner (jaah.ai/wealthtech bottom band) */
.teal-banner {
  background-color: var(--signal);
  color: #ffffff;
  padding: 68px 0;
}

.teal-banner .h2 {
  color: #ffffff;
}

.teal-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin-top: 14px;
  max-width: 56ch;
}

/* ==========================================================================
   Footer (Minimal copyright bottom per guidelines)
   ========================================================================== */
.site-footer {
  background: var(--ground);
  padding: 64px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-tagline {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 30ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink-3);
  transition: color 0.14s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ==========================================================================
   Pricing Page Components
   ========================================================================== */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  background: var(--raised);
  margin-top: 24px;
}

.billing-btn {
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  border-radius: 2px;
  cursor: pointer;
}

.billing-btn.is-active {
  background: var(--ground);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.save-badge {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--signal-dim);
  color: var(--signal);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  align-items: stretch;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ground);
  padding: 26px 22px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 16px;
}

.price-card--featured {
  border-color: var(--signal);
  box-shadow: 0 18px 44px -30px rgba(14, 107, 112, 0.48);
}

.price-tier {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-tier-pill {
  background: var(--signal-dim);
  color: var(--signal);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 3px;
}

.price-figure {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-amount {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-unit {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}

.price-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.48;
  color: var(--ink-2);
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 2px;
  background: var(--signal);
}

/* FAQ Accordion */
.faq-list {
  margin-top: 32px;
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 18px 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--signal);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 72ch;
}

/* ==========================================================================
   Docs & Code Quickstart Layout
   ========================================================================== */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 52px 0 84px;
  align-items: start;
}

.docs-nav {
  position: sticky;
  top: 88px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-nav a {
  font-size: 14px;
  color: var(--ink-3);
  padding: 4px 0;
}

.docs-nav a:hover,
.docs-nav a.is-active {
  color: var(--signal);
  font-weight: 600;
}

.docs-content section {
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.docs-content section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.code-card {
  margin-top: 18px;
  border: 1px solid var(--line-bright);
  border-radius: 6px;
  overflow: hidden;
  background: #0f1112;
  color: #e6ecec;
}

.code-card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #171a1c;
  border-bottom: 1px solid #262a2d;
  font-family: var(--mono);
  font-size: 12px;
  color: #9ba5a8;
}

.copy-btn {
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  background: #22272a;
  color: #e6ecec;
  border: 1px solid #353b3f;
  border-radius: 3px;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--signal);
  border-color: var(--signal);
}

.code-card pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.58;
}

/* ==========================================================================
   Modal (Demo / Start Free / Sign In)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 480px;
  background: var(--ground);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-md);
  box-shadow: 0 32px 72px -24px rgba(10, 10, 10, 0.38);
  padding: 28px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--ground);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
}

.modal-close:hover {
  background: var(--raised);
  color: var(--ink);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.form-input {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--ground);
}

.form-input:focus {
  outline: 2px solid var(--signal-dim);
  border-color: var(--signal);
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--signal-dim);
  border-left: 3px solid var(--signal);
  font-size: 14px;
  color: var(--ink);
  display: none;
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .nav-center,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .board-stage,
  .compare-head,
  .platform-split,
  .calc-grid,
  .cta-band-split,
  .footer-top,
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .board-diagram {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cards-4,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swiss-grid-3,
  .swiss-grid-asym {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dash-list {
    padding-top: 0;
  }

  .docs-nav {
    position: static;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 16px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 620px) {
  .shell {
    padding-inline: 18px;
  }

  .section {
    padding: 60px 0;
  }

  .cards-4,
  .pricing-grid,
  .footer-cols,
  .calc-stat-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }
}
