/* Dhruti Finsol. All colours are sampled from the company logo. */
:root {
  --navy: #0A1F32;
  --navy-2: #102C45;
  --navy-line: #27445E;
  --blue: #1A5286;
  --blue-deep: #12426F;
  --gold: #F5CA5B;
  --gold-fold: #C7922A;
  --gold-ink: #7F5B10;
  --gold-wash: #FBF0CF;
  --paper: #FBFAF6;
  --paper-2: #F2F0E8;
  --white: #FFFFFF;
  --ink: #0A1F32;
  --ink-2: #41546A;
  --line: #DCD9CD;
  --on-navy: #DCE4EC;
  --on-navy-2: #A9BACB;
  --ok: #1B6B4A;
  --ok-wash: #E3F2EA;
  --bad: #A5322B;
  --bad-wash: #FAE9E7;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--gold-fold); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.5rem + 2.9vw, 3.75rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.5vw, 2.5rem); line-height: 1.16; font-weight: 600; letter-spacing: -0.016em; }
h3 { font-size: 1.14rem; line-height: 1.32; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; }
p + p { margin-top: 0.9em; }

.wrap { width: min(100% - 40px, 1180px); margin-inline: auto; }
.mono { font-family: var(--font-mono); }
.sprite { position: absolute; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }

.eyebrow, .mono-label {
  font: 500 0.76rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow { margin-bottom: 16px; }
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 8px;
  margin-right: 10px;
  vertical-align: 1px;
  background: linear-gradient(var(--blue) 50%, var(--gold) 50%);
}
.lede { font-size: 1.17rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; margin-top: 20px; }
.section-intro { max-width: 720px; margin-bottom: 48px; }
.section-intro .lede { margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 0.95rem/1.25 var(--font-display);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-small { padding: 10px 16px; font-size: 0.87rem; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--white); color: var(--navy); }
.btn-quiet { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-quiet:hover { background: var(--ink); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-word { width: 106px; height: auto; }
.brand-sub { font: 500 0.6rem/1 var(--font-display); letter-spacing: 0.085em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { color: var(--blue); }
.site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--gold-fold); }
.site-nav .btn { margin-left: 4px; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 44px; padding: 8px 12px;
    background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--ink); font: 500 0.92rem/1 var(--font-body); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: var(--ink); content: "";
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .header-row { flex-wrap: wrap; min-height: 68px; padding-block: 10px; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding-bottom: 12px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 2px; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--gold-fold); font-weight: 600; }
  .site-nav .btn { margin: 12px 0 0; text-align: center; }
}

/* Sections */
.section { padding-block: clamp(60px, 4vw + 40px, 104px); }
.section-tint { background: var(--paper-2); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy); color: var(--on-navy); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow, .section-dark .mono-label { color: var(--gold); }
.section-dark .lede { color: var(--on-navy); }
.section-dark a { color: var(--gold); }

/* Ribbon from the logo mark */
.r-blue { fill: var(--blue); }
.r-fold { fill: var(--gold-fold); }
.r-gold { fill: var(--gold); }

/* Home hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(46px, 4vw + 28px, 88px) clamp(56px, 5vw + 30px, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 66%, var(--gold) 66%, var(--gold) 92%, transparent 92%);
  padding-inline: 0.04em;
}
.hero-facts {
  list-style: none; margin: 34px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 0.93rem; color: var(--ink-2);
}
.hero-facts li { display: flex; gap: 8px; align-items: baseline; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; background: var(--gold-fold); flex: none; transform: translateY(-1px); }

/* Illustrative console */
.console {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 22px 48px -30px rgba(10, 31, 50, .55);
  font-size: 0.86rem;
}
.console-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.console-title { font: 600 0.92rem/1.3 var(--font-display); }
.console-title small { display: block; font: 400 0.73rem/1.4 var(--font-mono); color: var(--ink-2); }
.state {
  display: inline-block; padding: 3px 9px; border-radius: 2px;
  font: 500 0.72rem/1.5 var(--font-mono); letter-spacing: 0.05em;
  background: var(--ok-wash); color: var(--ok);
}
.state-gold { background: var(--gold-wash); color: var(--gold-ink); }
.console-status { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.console-status div { padding: 10px 18px; border-left: 1px solid var(--line); }
.console-status div:first-child { border-left: 0; }
.console-status b { display: block; font: 500 0.82rem/1.4 var(--font-mono); color: var(--ok); }
.console-status span { font: 400 0.68rem/1.4 var(--font-mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.05em; }
.rail { padding: 20px 18px 16px; border-bottom: 1px solid var(--line); }
.rail-track { position: relative; height: 10px; background: linear-gradient(90deg, var(--gold) 0 16%, var(--paper-2) 16% 84%, var(--gold) 84% 100%); border: 1px solid var(--line); }
.rail-atm { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; background: var(--ink-2); }
.rail-spot {
  position: absolute; top: -6px; left: 42%; width: 4px; height: 20px; background: var(--blue);
  animation: spot-drift 9s ease-in-out infinite alternate;
}
@keyframes spot-drift { from { left: 37%; } to { left: 63%; } }
.rail-labels { display: flex; justify-content: space-between; margin-top: 8px; font: 400 0.7rem/1.4 var(--font-mono); color: var(--ink-2); }
.console table { width: 100%; border-collapse: collapse; font: 400 0.78rem/1.4 var(--font-mono); }
.console th, .console td { padding: 8px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.console th { font-weight: 500; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.console td:last-child, .console th:last-child { text-align: right; }
.console td .tick { color: var(--ok); }
.console-note { padding: 11px 18px; font-size: 0.75rem; line-height: 1.5; color: var(--ink-2); background: var(--paper); }

/* Two-sided hero card: options on the front, stocks on the back */
.flip { min-width: 0; }
.flip-tabs { display: none; gap: 6px; margin-bottom: 12px; position: relative; z-index: 2; }
.js .flip-tabs { display: flex; }
.flip-tab {
  min-height: 40px; padding: 8px 14px;
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  font: 500 0.82rem/1.2 var(--font-mono); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.flip-tab:hover { border-color: var(--ink); color: var(--ink); }
.flip-tab.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.flip-stage { perspective: 1800px; }
.flip-inner {
  display: grid;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.45, .05, .25, 1);
}
.flip-face {
  grid-area: 1 / 1;
  display: flex; flex-direction: column;
  min-width: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flip-face .rail { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.flip-face .console-note { flex: none; }
.flip-back { transform: rotateY(180deg); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }

/* Stock side */
.flip-back .console-top { border-top-color: var(--gold-fold); }
.flip-back { border-top-color: var(--gold-fold); }
.stock-chart { padding-top: 14px; padding-bottom: 12px; }
.stock-chart svg { width: 100%; height: 84px; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-price, .chart-ma { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart-price { stroke: var(--blue); stroke-width: 2.5; }
.chart-ma { stroke: var(--gold-fold); stroke-width: 2; }
.dot-edge, .dot-fill { stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dot-edge { stroke: var(--navy); stroke-width: 11; }
.dot-fill { stroke: var(--gold); stroke-width: 8; }
.key::before { content: ""; display: inline-block; width: 14px; height: 3px; margin-right: 6px; vertical-align: 3px; background: var(--blue); }
.key-ma::before { background: var(--gold-fold); }
.key-buy::before { width: 8px; height: 8px; vertical-align: 0; border-radius: 50%; background: var(--gold); border: 1px solid var(--navy); }

/* The line redraws each time the stock side turns to face the visitor */
.flip.is-flipped .chart-price, .flip.is-flipped .chart-ma { stroke-dasharray: 1; animation: chart-draw 2.6s ease-out .55s both; }
.flip.is-flipped .chart-buy { animation: chart-pop .35s ease-out both; }
.flip.is-flipped .chart-buy-1 { animation-delay: 1.35s; }
.flip.is-flipped .chart-buy-2 { animation-delay: 2s; }
.flip.is-flipped .chart-buy-3 { animation-delay: 2.65s; }
@keyframes chart-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes chart-pop { from { opacity: 0; } to { opacity: 1; } }

/* Three services */
.services-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.service-col { padding: 26px 30px 6px 0; }
.service-col + .service-col { padding-left: 30px; border-left: 1px solid var(--line); }
.service-col .step-no { font: 500 0.78rem/1 var(--font-mono); color: var(--gold-ink); }
.service-col h3 { font-size: 1.36rem; margin: 14px 0 12px; }
.service-col p { color: var(--ink-2); }
.service-col a { display: inline-block; margin-top: 16px; font-weight: 500; }

/* Rule translation */
.translate { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); }
.translate-head, .translate-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.translate-head > div { padding: 13px 24px; font: 500 0.74rem/1.4 var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.translate-head > div + div, .translate-row > div + div { border-left: 1px solid var(--line); }
.translate-row > div { padding: 18px 24px; }
.translate-row + .translate-row > div { border-top: 1px solid var(--line); }
.translate-row .rule { font-size: 1.04rem; }
.translate-row .eng { color: var(--ink-2); font-size: 0.96rem; }
.translate-row .eng strong { color: var(--ink); font-weight: 600; }
.fine { font-size: 0.87rem; line-height: 1.55; color: var(--ink-2); margin-top: 14px; }

/* Failure list on navy */
.failure-list { border-top: 1px solid var(--navy-line); }
.failure { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px 40px; padding: 24px 0; border-bottom: 1px solid var(--navy-line); }
.failure h3 { font-size: 1.1rem; }
.failure p { color: var(--on-navy); }
.dark-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 20px 60px; align-items: end; margin-bottom: 48px; }

/* Capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.cap h3 { margin-bottom: 10px; padding-top: 14px; border-top: 3px solid var(--gold); }
.cap p { color: var(--ink-2); font-size: 0.98rem; }
.instrument-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; align-items: center; }
.instrument-strip .mono-label { margin-right: 8px; }
.tag { padding: 5px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; font: 500 0.79rem/1.3 var(--font-mono); }

/* Two column with list */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 84px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.stick { position: sticky; top: 104px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 19px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.lede + .checklist { margin-top: 20px; }
.section-dark .subhead { color: var(--gold); }
.section-dark .checklist li { border-color: var(--navy-line); }
.section-dark .checklist li::before { border-color: var(--gold); }
.checklist-no li::before {
  width: 12px; height: 2px; top: 23px; left: 1px; border: 0; background: var(--gold); transform: none;
}

/* Range of systems, simple to complex */
.spectrum { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; position: relative; }
.spectrum::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-fold) 45%, var(--blue) 75%, var(--navy)); }
.spectrum li { padding-top: 20px; }
.spectrum .mono-label { display: block; margin-bottom: 8px; }
.spectrum h3 { margin-bottom: 6px; }
.spectrum p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }
.block-gap { margin-top: 56px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* NDA band */
.nda-band { background: var(--gold-wash); border-block: 1px solid var(--gold); padding-block: clamp(52px, 5vw + 28px, 88px); }
.nda-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.nda-band .lede { color: var(--ink); }
.nda-steps { list-style: none; margin: 0; padding: 0; counter-reset: nda; background: var(--white); border-top: 5px solid var(--blue); border-radius: var(--radius); }
.nda-steps li { counter-increment: nda; display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 18px 24px; border-bottom: 1px solid var(--line); }
.nda-steps li:last-child { border-bottom: 0; }
.nda-steps li::before { content: counter(nda); font: 500 0.95rem/1.5 var(--font-mono); color: var(--gold-ink); }
.nda-steps strong { display: block; font-weight: 600; }
.nda-steps span { display: block; margin-top: 2px; font-size: 0.95rem; line-height: 1.5; color: var(--ink-2); }

/* Closing CTA */
.cta { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); padding-block: clamp(56px, 6vw, 88px); }
.cta h2 { color: var(--white); max-width: 22ch; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.cta .eyebrow { color: var(--gold); }
.cta-text > p:not(.eyebrow) { max-width: 52ch; margin-top: 16px; }
.cta-direct a { display: block; margin-top: 6px; color: var(--gold); font-weight: 500; }
.cta-direct a:hover { color: var(--white); }
.callback-form { background: var(--white); color: var(--ink); padding: clamp(20px, 3vw, 32px); border-top: 5px solid var(--gold); border-radius: var(--radius); gap: 16px; }
.form-note { margin-top: -12px; }

/* Inner page head */
.page-head { position: relative; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); padding-block: clamp(50px, 5vw + 26px, 92px); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 19ch; }
.page-head .lede { max-width: 58ch; }
.page-ribbon { position: absolute; right: max(-70px, calc((100vw - 1180px) / 2 - 150px)); top: 50%; width: 390px; height: 438px; transform: translateY(-50%); }

/* Service detail */
.service-detail { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px clamp(32px, 6vw, 84px); align-items: start; }
.service-detail + .service-detail { margin-top: clamp(56px, 6vw, 90px); padding-top: clamp(56px, 6vw, 90px); border-top: 1px solid var(--line); }
.service-detail h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.05rem); margin: 8px 0 14px; }
.service-detail > div > p { color: var(--ink-2); }
.subhead { font: 500 0.76rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 6px; }
.subhead:not(:first-child) { margin-top: 30px; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 34px; }
.process li { counter-increment: step; padding-top: 14px; border-top: 2px solid var(--ink); }
.process li::before { content: counter(step, decimal-leading-zero); display: block; font: 500 0.78rem/1 var(--font-mono); color: var(--gold-ink); margin-bottom: 12px; }
.process h3 { margin-bottom: 8px; }
.process p { color: var(--ink-2); font-size: 0.97rem; }
.section-dark .process li { border-color: var(--gold); }
.section-dark .process li::before { color: var(--gold); }
.section-dark .process p { color: var(--on-navy); }

/* Callout */
.callout { border-left: 5px solid var(--gold); background: var(--white); padding: 24px 28px; }
.callout h3 { margin-bottom: 8px; }
.callout p { color: var(--ink-2); font-size: 0.98rem; }
.section-white .callout { background: var(--paper); }

/* Diagrams */
.diagram { width: 100%; height: auto; }
.diagram text { font-family: var(--font-mono); font-size: 13px; fill: var(--ink-2); }
.diagram .d-title { font-family: var(--font-display); font-weight: 600; fill: var(--ink); font-size: 14px; }
.figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.figure figcaption { margin-top: 14px; font-size: 0.87rem; line-height: 1.55; color: var(--ink-2); }

/* State flow */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; }
.flow li { position: relative; padding: 16px 18px 18px 0; border-top: 4px solid var(--blue); }
.flow li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.flow li:last-child { border-top-color: var(--gold-fold); }
.flow b { display: block; font: 500 0.83rem/1.4 var(--font-mono); letter-spacing: 0.03em; margin-bottom: 7px; }
.flow span { display: block; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.data-table th, .data-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { font: 500 0.74rem/1.4 var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.data-table td:first-child { font: 500 0.88rem/1.5 var(--font-mono); white-space: nowrap; }

/* Fleet diagram */
.fleet { display: grid; gap: 14px; }
.fleet-node { padding: 16px 18px; border: 1px solid var(--navy-line); background: var(--navy-2); border-radius: var(--radius); }
.fleet-node b { display: block; color: var(--white); font: 600 0.98rem/1.3 var(--font-display); }
.fleet-node span { display: block; margin-top: 5px; font-size: 0.88rem; line-height: 1.5; color: var(--on-navy-2); }
.fleet-super { border-color: var(--gold); border-width: 2px; }
.fleet-link { display: flex; align-items: center; gap: 10px; font: 400 0.74rem/1.4 var(--font-mono); color: var(--gold); }
.fleet-link::before { content: ""; width: 2px; height: 26px; margin-left: 20px; background: var(--gold); flex: none; }
.fleet-users { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

/* Stats from release checks */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 8px; }
.proof div { border-top: 2px solid var(--ink); padding-top: 12px; }
.proof b { display: block; font: 600 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.proof span { display: block; margin-top: 7px; font-size: 0.94rem; line-height: 1.5; color: var(--ink-2); }

/* Long-form text */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.36rem; margin: 40px 0 10px; letter-spacing: -0.008em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 12px 0 0; padding-left: 22px; }
.prose li { margin-top: 7px; }
.prose p { color: var(--ink-2); }
.prose .updated { font: 400 0.84rem/1.4 var(--font-mono); margin-bottom: 26px; }

/* FAQ */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 1.42rem; margin-bottom: 14px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; gap: 22px; align-items: baseline;
  padding: 17px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.04rem; line-height: 1.42;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 500 1.28rem/1 var(--font-mono); color: var(--gold-ink); flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--blue); }
.faq-body { padding: 0 34px 20px 0; color: var(--ink-2); }

/* Forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 6px; }
.optional { color: var(--ink-2); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  background: var(--white); color: var(--ink);
  border: 1px solid #A9AFB4; border-radius: var(--radius);
  font: 400 1rem/1.5 var(--font-body);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--blue); }
.field-hint { margin-top: 6px; font-size: 0.87rem; line-height: 1.5; color: var(--ink-2); }
.field-error { margin-top: 6px; font-size: 0.89rem; font-weight: 500; color: var(--bad); }
.has-error input[type="text"], .has-error input[type="email"], .has-error input[type="tel"], .has-error select, .has-error textarea { border-color: var(--bad); }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.93rem; line-height: 1.5; color: var(--ink-2); }
.field-check input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--blue); }
.form .btn { justify-self: start; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 15px 18px; margin-bottom: 22px; border-left: 4px solid; font-size: 0.97rem; }
.notice p { margin-top: 4px; }
.notice-ok { background: var(--ok-wash); border-color: var(--ok); }
.notice-error { background: var(--bad-wash); border-color: var(--bad); }
.contact-aside h2 { font-size: 1.22rem; margin-bottom: 8px; letter-spacing: -0.005em; }
.contact-aside h2:not(:first-child) { margin-top: 36px; }
.contact-aside .checklist li { font-size: 0.97rem; padding-block: 9px; }
.contact-aside .checklist li::before { top: 16px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list .mono-label { display: block; margin-bottom: 2px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding-block: 60px 28px; font-size: 0.95rem; border-top: 4px solid var(--gold); }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: var(--gold); }
.site-footer strong { color: var(--white); font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--navy-line); }
.footer-logo { display: block; width: 122px; padding: 14px; margin-bottom: 18px; background: var(--white); border-radius: var(--radius); }
.footer-brand p { max-width: 36ch; }
.footer-head { font: 500 0.74rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-top: 7px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-risk { padding-block: 22px; font-size: 0.86rem; line-height: 1.6; border-bottom: 1px solid var(--navy-line); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 26px; padding-top: 18px; font-size: 0.84rem; }
.footer-base p { margin: 0; }

/* Medium screens */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .console { max-width: 640px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .page-ribbon { width: 280px; height: 314px; right: -95px; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .flow li:nth-child(4) { border-left: 0; padding-left: 0; }
}

/* Small screens */
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 32px); }
  .services-row, .cap-grid, .split, .split-wide, .service-detail, .contact-grid, .process, .dark-head, .failure, .proof { grid-template-columns: minmax(0, 1fr); }
  .service-col, .service-col + .service-col { padding: 22px 0; border-left: 0; }
  .service-col + .service-col { border-top: 1px solid var(--line); }
  .translate-head { display: none; }
  .translate-row { grid-template-columns: minmax(0, 1fr); }
  .translate-row > div + div { border-left: 0; padding-top: 0; }
  .translate-row > div { padding: 16px 18px; }
  .translate-row .rule { font-weight: 600; }
  .failure { gap: 8px; padding: 20px 0; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .stick { position: static; }
  .page-ribbon { width: 112px; height: 126px; right: -52px; top: 14px; transform: none; }
  .page-head h1 { padding-right: 52px; }
  .diagram text { font-size: 20px; }
  .diagram .d-title { font-size: 20px; }
  .figure { padding: 16px; }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .flow li, .flow li + li, .flow li:nth-child(4) { padding: 14px 0 16px; border-left: 0; }
  .fleet-users { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-grid, .nda-grid { grid-template-columns: minmax(0, 1fr); }
  .spectrum { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-left: 20px; }
  .spectrum::before { right: auto; bottom: 0; width: 6px; height: auto; background: linear-gradient(180deg, var(--gold), var(--gold-fold) 45%, var(--blue) 75%, var(--navy)); }
  .spectrum li { padding-top: 0; }
  .nda-steps li { padding: 16px 18px; }
  .console th, .console td { padding-inline: 12px; }
  .console-status div { padding-inline: 12px; }
  .console-top, .rail, .console-note { padding-inline: 12px; }
  .faq-body { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail-spot { animation: none; }
  .btn, .flip-inner, .flip-tab { transition: none; }
  .flip.is-flipped .chart-price, .flip.is-flipped .chart-ma, .flip.is-flipped .chart-buy { animation: none; }
}

@media print {
  .site-header, .nav-toggle, .cta, .page-ribbon { display: none; }
  body { background: #fff; }
}
