/* RelayLine site theme — the orbit system
   Ink #0A0E1A · Paper #F5F5F2 · Signal #03A7FE · Risk #F45C31 · Client #F4F4F4 */

:root {
  --ink: #0A0E1A;
  --ink-2: #111726;
  --ink-line: #232B3D;
  --ink-line-soft: #1A2133;
  --paper: #F5F5F2;
  --paper-card: #FFFFFF;
  --paper-line: #E3E3DE;
  --client: #F4F4F4;
  --signal: #03A7FE;
  --signal-hover: #5CC6FF;
  --signal-text: #0077C2;   /* signal as text on paper */
  --risk: #F45C31;
  --risk-text: #C8431D;     /* risk as text on paper */
  --text-on-ink: #F4F4F4;
  --muted-on-ink: #B7BFCE;
  --faint-on-ink: #7C869A;
  --text-on-paper: #0A0E1A;
  --muted-on-paper: #4A5263;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 80px;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-on-ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--signal); text-decoration: none; }
a:hover { color: var(--signal-hover); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Sections */
.section { padding: 112px 0; }
.section--paper { background: var(--paper); color: var(--text-on-paper); }
.section--ink { background: var(--ink); color: var(--text-on-ink); }
.section--tight-top { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head__title { display: flex; flex-direction: column; gap: 16px; max-width: 660px; }
.h2 { font-size: 48px; line-height: 1.1; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--signal); }
.section--paper .eyebrow { color: var(--signal-text); }
.eyebrow--risk { color: var(--risk-text) !important; }
.lede { font-size: 17px; line-height: 1.6; max-width: 440px; color: var(--muted-on-paper); }
.section--ink .lede { color: var(--muted-on-ink); }
.note { font-size: 13px; color: var(--faint-on-ink); }
.section--paper .note { color: #6B7385; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-size: 16px; font-weight: 600; padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; min-height: 48px; }
.btn--primary { background: var(--signal); color: var(--ink); }
.btn--primary:hover { background: var(--signal-hover); color: var(--ink); }
.btn--ghost { border-color: #3A455C; color: var(--text-on-ink); font-weight: 500; }
.btn--ghost:hover { border-color: var(--muted-on-ink); color: var(--text-on-ink); }
.btn--sm { font-size: 15px; padding: 11px 22px; min-height: 44px; }
.btn-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Pills */
.score { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.score--healthy { background: var(--signal); }
.score--watch { background: var(--client); }
.score--risk { background: var(--risk); }
.chip { border: 1px solid #2C3750; border-radius: 999px; padding: 8px 14px; font-size: 14px; color: #D5DAE3; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.dot--risk { background: var(--risk); }
.dot--signal { background: var(--signal); }
.dot--client { background: var(--client); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 14, 26, 0.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--ink-line-soft); }
.site-header__inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text-on-ink); }
.brand:hover { color: var(--text-on-ink); }
.brand__mark { width: 38px; height: 38px; }
.brand__word { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 40px; font-size: 15px; }
.site-nav a { color: var(--muted-on-ink); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text-on-ink); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-actions__login { color: var(--text-on-ink); font-size: 15px; font-weight: 500; padding: 12px 0; }
.header-actions__login:hover { color: var(--signal); }
.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid #2C3750; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: var(--text-on-ink); }
.mobile-nav { display: none; }

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero__inner { display: flex; align-items: center; gap: 40px; }
.hero__copy { flex: 0 1 620px; display: flex; flex-direction: column; gap: 28px; }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--signal); font-weight: 500; }
.hero h1 { font-size: 68px; line-height: 1.04; letter-spacing: -0.02em; }
.hero__sub { font-size: 20px; line-height: 1.55; color: var(--muted-on-ink); max-width: 540px; }
.hero__fine { font-size: 14px; color: var(--faint-on-ink); }
.orbit { position: relative; width: 600px; height: 560px; margin-left: auto; flex-shrink: 0; }
.orbit__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__card { position: absolute; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 14px; padding: 14px 16px; }
.orbit__card--risk { left: 55%; top: 70%; width: 250px; border-color: var(--risk); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.orbit__card--healthy { left: 0; top: 4.6%; width: 210px; display: flex; justify-content: space-between; align-items: center; }
.orbit__card--signal { left: 1.6%; top: 84%; border-radius: 999px; padding: 10px 14px; display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted-on-ink); }
.orbit__card-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.orbit__card-title { font-size: 15px; font-weight: 600; }
.orbit__card-body { font-size: 13px; line-height: 1.5; color: var(--muted-on-ink); }
.orbit__card-sub { font-size: 12px; color: var(--faint-on-ink); }
.pulse { animation: pulse 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%, 100% { opacity: .14; transform: scale(1); } 50% { opacity: .3; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } html { scroll-behavior: auto; } }

/* Built-for strip */
.strip { border-top: 1px solid var(--ink-line-soft); border-bottom: 1px solid var(--ink-line-soft); }
.strip__inner { min-height: 108px; display: flex; align-items: center; gap: 48px; }
.strip__label { font-size: 14px; color: var(--faint-on-ink); width: 170px; flex-shrink: 0; line-height: 1.4; }
.strip__list { display: flex; flex-wrap: wrap; gap: 12px 56px; font-family: var(--serif); font-weight: 600; font-size: 18px; color: #D5DAE3; list-style: none; margin: 0; padding: 0; }

/* Cards and grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--paper-card); border: 1px solid var(--paper-line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 20px; color: var(--text-on-paper); }
.card--ink { background: var(--ink-2); border-color: var(--ink-line); color: var(--text-on-ink); }
.card--outline { background: transparent; border-color: var(--ink-line); color: var(--text-on-ink); padding: 24px; gap: 10px; border-radius: 18px; }
a.card { transition: border-color .15s, transform .15s; }
a.card:hover { border-color: #BFC3CC; transform: translateY(-2px); color: var(--text-on-paper); }
.card__title { font-size: 22px; font-weight: 600; font-family: var(--sans); }
.card__title--serif { font-family: var(--serif); font-weight: 700; }
.card__body { font-size: 16px; line-height: 1.6; color: var(--muted-on-paper); }
.card--ink .card__body, .card--outline .card__body { color: var(--muted-on-ink); font-size: 15px; }
.card__link { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--signal-text); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--client); display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.inset { background: var(--paper); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--muted-on-paper); }
.point { display: flex; flex-direction: column; gap: 10px; }
.point__title { font-size: 20px; font-weight: 600; }
.point__body { font-size: 16px; line-height: 1.6; color: var(--muted-on-paper); }

/* Relay line timeline */
.relay { background: var(--paper-card); border: 1px solid var(--paper-line); border-radius: 20px; padding: 36px 40px 28px; margin-bottom: 56px; }
.relay__meta { display: flex; justify-content: space-between; font-size: 13px; color: #6B7385; margin-bottom: 16px; }
.relay__track { position: relative; height: 24px; margin: 0 11px; }
.relay__line { position: absolute; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 2px; }
.relay__line--solid { left: 0; width: 50%; background: var(--signal); }
.relay__line--fade { left: 50%; width: 30%; background: repeating-linear-gradient(90deg, #B9BEC8 0 6px, transparent 6px 14px); }
.relay__line--risk { left: 80%; width: 20%; background: repeating-linear-gradient(90deg, var(--risk) 0 6px, transparent 6px 14px); }
.relay__node { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; transform: translate(-50%, -50%); }
.relay__node--signal { background: var(--signal); }
.relay__node--ink { background: var(--ink); }
.relay__node--risk { background: var(--risk); width: 22px; height: 22px; box-shadow: 0 0 0 12px rgba(244, 92, 49, .15); }
.relay__labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; font-size: 14px; }
.relay__labels span:nth-child(2) { text-align: center; }
.relay__labels span:nth-child(3) { text-align: right; color: var(--risk-text); }

/* Product mock */
.product { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 24px; padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.portfolio__head { display: flex; justify-content: space-between; font-size: 13px; color: var(--faint-on-ink); padding: 0 4px 14px; border-bottom: 1px solid var(--ink-line); }
.portfolio__row { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid #1C2335; }
.portfolio__row:last-child { border-bottom: 0; }
.portfolio__name { flex-grow: 1; font-size: 15px; font-weight: 500; }
.bar { width: 140px; height: 6px; background: var(--ink-line); border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.bar__fill { display: block; height: 100%; border-radius: 3px; }
.bar__fill--risk { background: var(--risk); }
.bar__fill--watch { background: var(--client); }
.bar__fill--healthy { background: var(--signal); }
.portfolio__score { width: 28px; text-align: right; font-size: 14px; font-weight: 600; }
.t-risk { color: var(--risk); }
.t-healthy { color: var(--signal); }
.account { background: var(--ink); border: 1px solid var(--ink-line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.account__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.account__label { font-size: 13px; color: var(--faint-on-ink); }
.account__name { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.2; }
.account__score { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1; text-align: right; }
.account__delta { font-size: 12px; text-align: right; margin-top: 4px; }
.account__spark { width: 100%; height: 70px; }
.reasons { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.reasons li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.5; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; max-width: 460px; }

/* Industry glyph */
.glyph { width: 72px; height: 72px; }

/* Security */
.split { display: flex; gap: 80px; align-items: center; }
.split__head { flex: 0 0 440px; display: flex; flex-direction: column; gap: 16px; }
.split__body { flex-grow: 1; }

/* FAQ */
.faq { display: flex; gap: 80px; }
.faq__head { flex: 0 0 400px; display: flex; flex-direction: column; gap: 16px; }
.faq__list { flex-grow: 1; }
.faq details { border-bottom: 1px solid #DCDCD6; }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--signal-text); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--muted-on-paper); max-width: 640px; }

/* CTA band */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta__copy { display: flex; flex-direction: column; gap: 28px; max-width: 720px; }
.cta h2 { font-size: 56px; line-height: 1.06; letter-spacing: -0.02em; }
.cta__art { width: 360px; height: 300px; flex-shrink: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--ink-line-soft); padding: 48px 0; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer__tag { font-size: 14px; color: var(--faint-on-ink); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.site-footer__links a { color: var(--muted-on-ink); }
.site-footer__links a:hover { color: var(--text-on-ink); }
.site-footer__legal { margin-top: 32px; font-size: 13px; color: var(--faint-on-ink); }

/* Page hero (interior pages) */
.page-hero { padding: 80px 0 64px; position: relative; overflow: hidden; }
.page-hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.page-hero__copy { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.page-hero h1 { font-size: 56px; line-height: 1.06; letter-spacing: -0.02em; }
.page-hero__sub { font-size: 19px; line-height: 1.55; color: var(--muted-on-ink); max-width: 620px; }
.page-hero__art { width: 260px; height: 260px; flex-shrink: 0; }

/* Demo */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tab { font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 11px 20px; min-height: 44px; border-radius: 999px; border: 1px solid #2C3750; background: transparent; color: var(--muted-on-ink); cursor: pointer; }
.tab:hover { color: var(--text-on-ink); border-color: #3A455C; }
.tab[aria-selected="true"] { background: var(--client); color: var(--ink); border-color: var(--client); }
.demo-panel[hidden] { display: none; }
.demo-panel__intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 24px; }
.demo-panel__intro h2 { font-size: 34px; line-height: 1.15; }
.demo-panel__intro p { color: var(--muted-on-ink); max-width: 520px; font-size: 16px; }
.warning { display: flex; gap: 12px; align-items: flex-start; background: rgba(244, 92, 49, .08); border: 1px solid rgba(244, 92, 49, .35); border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 1.5; max-width: 460px; }
.demo-cta { margin-top: 56px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.demo-cta h2 { font-size: 34px; line-height: 1.15; }
.demo-cta p { color: var(--muted-on-ink); margin-top: 8px; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.form-aside { display: flex; flex-direction: column; gap: 28px; }
.form-aside__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.form-aside__list li { display: flex; gap: 14px; align-items: flex-start; }
.form-aside__list strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.form-aside__list span { color: var(--muted-on-paper); font-size: 15px; line-height: 1.55; }
.form-card { background: var(--paper-card); border: 1px solid var(--paper-line); border-radius: 24px; padding: 40px; color: var(--text-on-paper); }
.form-card--ink { background: var(--ink-2); border-color: var(--ink-line); color: var(--text-on-ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field .optional { font-weight: 400; color: #6B7385; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; color: var(--text-on-paper); background: #FFFFFF;
  border: 1px solid #CFD2D8; border-radius: 12px; padding: 13px 14px; min-height: 48px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A5263' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal-text); box-shadow: 0 0 0 3px rgba(3, 167, 254, .2); }
.field [aria-invalid="true"] { border-color: var(--risk-text); }
.field__error { font-size: 13px; color: var(--risk-text); min-height: 0; }
.form-card--ink .field input { background: var(--ink); color: var(--text-on-ink); border-color: #2C3750; }
.form-card--ink .field label { color: var(--text-on-ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.form-foot__fine { font-size: 13px; color: #6B7385; max-width: 320px; }
.form-status { margin-top: 16px; font-size: 15px; }
.form-status--error { color: var(--risk-text); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Center card pages (login, thank-you) */
.center-page { min-height: calc(100vh - 84px); display: flex; align-items: center; padding: 64px 0; }
.center-card { width: 100%; max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.center-card h1 { font-size: 40px; line-height: 1.1; }
.center-card p { color: var(--muted-on-ink); }

/* Responsive */
@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  .hero h1 { font-size: 56px; }
  .orbit { width: 480px; height: 448px; }
  .orbit__card--risk { left: 40%; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: 28px; }
}
@media (max-width: 960px) {
  .site-nav, .header-actions__login--desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { display: block; border-top: 1px solid var(--ink-line-soft); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; }
  .mobile-nav a { display: block; padding: 14px 0; color: var(--text-on-ink); font-size: 17px; border-bottom: 1px solid var(--ink-line-soft); }
  .hero__inner { flex-direction: column; align-items: stretch; }
  .hero__copy { flex-basis: auto; }
  .orbit { margin: 8px auto 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
  .grid--3, .product, .form-layout { grid-template-columns: minmax(0, 1fr); }
  .split, .faq, .cta, .page-hero__inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .split__head, .faq__head { flex-basis: auto; }
  .cta__art, .page-hero__art { display: none; }
  .demo-panel__intro, .demo-cta { flex-direction: column; align-items: flex-start; }
  .chips { justify-content: flex-start; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }
  .site-header__inner { height: 64px; }
  .brand__mark { width: 28px; height: 28px; }
  .brand__word { font-size: 20px; }
  .brand { gap: 8px; }
  .header-actions { gap: 12px; }
  .btn--sm { padding: 10px 16px; font-size: 14px; }
  .section { padding: 64px 0; }
  .section--tight-top { padding-top: 0; }
  .section-head { margin-bottom: 28px; gap: 16px; }
  .h2 { font-size: 32px; line-height: 1.12; }
  .hero { padding: 40px 0 32px; }
  .hero__copy { gap: 20px; }
  .hero h1 { font-size: 40px; line-height: 1.08; }
  .hero__sub { font-size: 17px; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .orbit { width: 100%; max-width: 350px; height: auto; }
  .orbit__art { position: static; height: auto; aspect-ratio: 600 / 560; }
  .orbit__card--healthy, .orbit__card--signal { display: none; }
  .orbit__card--risk { position: static; width: auto; margin-top: 16px; }
  .strip__inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; padding-bottom: 24px; }
  .strip__list { gap: 8px 20px; font-size: 16px; }
  .grid--2, .grid--4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { padding: 20px; gap: 16px; border-radius: 18px; }
  .relay { padding: 20px; margin-bottom: 28px; }
  .relay__labels { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .relay__labels span:nth-child(n) { text-align: left; }
  .product { padding: 16px; gap: 16px; border-radius: 18px; }
  .bar { width: 80px; }
  .account { padding: 18px; }
  .account__name { font-size: 22px; }
  .faq summary { font-size: 16px; padding: 18px 0; }
  .cta h2 { font-size: 34px; }
  .cta .btn-row, .demo-cta .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .page-hero { padding: 48px 0 32px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero__sub { font-size: 17px; }
  .form-card { padding: 22px; border-radius: 18px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .form-foot .btn { width: 100%; }
  .demo-cta { padding: 24px; }
  .demo-panel__intro h2, .demo-cta h2 { font-size: 26px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .tab { white-space: nowrap; }
  .center-card h1 { font-size: 32px; }
}
.form-aside__list .step-num { color: var(--client); font-size: 16px; }

/* Brand logo image (uses the official PNG) */
.brand__logo { height: 40px; width: auto; display: block; }
@media (max-width: 640px) { .brand__logo { height: 32px; } }

/* Demo dashboard */
.dot--good { background: var(--signal); }
.dot--warn { background: var(--client); }
.dot--crit { background: var(--risk); }
.summary { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.stat { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 14px; padding: 12px 18px; min-width: 104px; }
.stat b { display: block; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--faint-on-ink); }
.stat--good b { color: var(--signal); }
.stat--crit b { color: var(--risk); }
.dash { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.dash__list { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.dash__list-label { font-size: 13px; color: var(--faint-on-ink); padding: 4px 8px 8px; }
.acct { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 48px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--text-on-ink); font-family: var(--sans); font-size: 15px; text-align: left; cursor: pointer; }
.acct:hover { background: #161D2E; }
.acct.is-active { background: var(--ink); border-color: var(--ink-line); }
.acct__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__trend { font-size: 14px; width: 14px; text-align: center; }
.acct__trend--up { color: var(--signal); }
.acct__trend--down { color: var(--risk); }
.acct__trend--flat { color: var(--faint-on-ink); }
.acct__score { font-weight: 600; font-size: 14px; color: var(--muted-on-ink); width: 24px; text-align: right; }
.panel { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 20px; padding: 28px; min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--ink-line); }
.panel-head__name { font-size: 28px; line-height: 1.2; }
.panel-head__meta { font-size: 14px; color: var(--faint-on-ink); margin-top: 4px; }
.panel-head__score { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.score-big { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1; }
.score-big--good { color: var(--signal); }
.score-big--crit { color: var(--risk); }
.band { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; color: var(--ink); }
.band--good { background: var(--signal); }
.band--warn { background: var(--client); }
.band--crit { background: var(--risk); }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.panel-label { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--faint-on-ink); margin: 0 0 14px; }
.metric { margin-bottom: 16px; }
.metric__row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.metric__val { font-weight: 600; color: var(--muted-on-ink); }
.metric__bar { height: 6px; background: var(--ink-line); border-radius: 3px; overflow: hidden; }
.metric__fill { display: block; height: 100%; border-radius: 3px; }
.metric__fill--good { background: var(--signal); }
.metric__fill--warn { background: var(--client); }
.metric__fill--crit { background: var(--risk); }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.why-list li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.5; }
.next-step { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(3, 167, 254, .08); border: 1px solid rgba(3, 167, 254, .4); font-size: 15px; line-height: 1.5; color: var(--text-on-ink); }
.next-step svg { color: var(--signal); flex-shrink: 0; margin-top: 2px; }
.next-step b { color: var(--signal); font-weight: 600; }
.timeline { margin-top: 32px; }
.tl-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid #1C2335; }
.tl-item:last-child { border-bottom: 0; }
.tl-date { flex: none; width: 60px; font-size: 13px; color: var(--faint-on-ink); padding-top: 2px; }
.tl-body { flex: 1; min-width: 0; }
.tl-subj { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.tl-from { font-size: 13px; color: var(--faint-on-ink); }
.tl-tag { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; color: var(--ink); }
.tl-tag--good { background: var(--signal); }
.tl-tag--warn { background: var(--client); }
.tl-tag--crit { background: var(--risk); }
.demo-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint-on-ink); border: 1px solid var(--ink-line); border-radius: 999px; padding: 6px 12px; width: fit-content; }
.login-error { color: var(--risk); font-size: 14px; margin: 0 0 16px; }
@media (max-width: 960px) {
  .dash { grid-template-columns: minmax(0, 1fr); }
  .panel-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .panel { padding: 18px; }
  .panel-head__name { font-size: 22px; }
  .panel-head__score { margin-left: 0; }
  .score-big { font-size: 36px; }
  .stat { flex: 1 1 calc(50% - 6px); min-width: 0; }
}
