/* RXOS landing page — Healthcare Management System. Self-hosted Inter, Inter Display and JetBrains Mono (SIL OFL 1.1). */
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular-Latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium-Latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold-Latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-SemiBold-Latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Bold-Latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Regular-Latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Medium-Latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --black: #000;
  --ink: #0a0a0a;
  --text: #1c1c1c;
  --muted: #5c5c5c;
  --muted-2: #7a7a7a;
  --on-dark: #a3a3a3;
  --red: #c40012;
  --red-bright: #e8202f;
  --red-soft: #fde9eb;
  --paper: #f4f4f4;
  --white: #fff;
  --line: #e5e5e5;
  --line-2: #d9d9d9;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1136px;
  --wrap-wide: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.landing {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mono, .mono-label, .eyebrow, kbd, time { font-family: var(--mono); }
.red { color: var(--red); }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--white); color: var(--black); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap-wide { width: min(var(--wrap-wide), 100% - var(--gutter) * 2); }

/* Eyebrows and mono labels */
.eyebrow { color: var(--red); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.mono-label { font-size: 11.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .ico { width: 18px; height: 18px; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15.25px; }
.btn-lg { height: 55px; padding: 0 22px; font-size: 16px; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #a8000f; }
.btn-outline-dark { border-color: #3a3a3a; color: var(--white); background: transparent; font-weight: 500; font-size: 15.75px; }
.btn-outline-dark:hover { border-color: #8a8a8a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Page wrapper: black with a faint grid behind the header, hero and preview ---------- */
.page {
  background-color: var(--black);
  background-image:
    linear-gradient(to right, #0d0d0d 1px, transparent 1px),
    linear-gradient(to bottom, #0d0d0d 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: 50% 0;
}

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.header-inner { margin-inline: auto; height: 84px; display: flex; align-items: center; gap: 24px; }
.brand { flex: 1 1 0; display: inline-flex; }
.brand img { width: 136px; height: auto; }
.site-nav { flex: 0 1 auto; display: flex; justify-content: center; gap: 29px; }
.site-nav a { color: #bdbdbd; text-decoration: none; font-size: 14.75px; font-weight: 400; }
.site-nav a:hover { color: var(--white); }
.site-nav .nav-account { display: none; }
.header-actions { flex: 1 1 0; display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.link-login { color: var(--white); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.link-login:hover { color: #d4d4d4; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid #333; background: transparent; color: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .ico { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { padding: 104px 0 88px; color: var(--white); }
.live-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 36px; padding: 0 14px 0 6px;
  border: 1px solid #2c2c2c; border-radius: 999px; background: #070707;
  font-size: 13px; color: #e8e8e8;
}
.live-tag {
  display: inline-flex; align-items: center; height: 23px; padding: 0 10px; border-radius: 999px;
  background: var(--red); color: var(--white); white-space: nowrap;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.hero h1 {
  margin-top: 28px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(46px, 6.6vw, 95px); line-height: 1.03; letter-spacing: -.008em;
}
.hero h1 span { display: block; }
.hero-row { margin-top: 38px; display: grid; grid-template-columns: minmax(0, 580px) auto; justify-content: space-between; align-items: end; gap: 32px 48px; }
.hero-lead { color: var(--on-dark); font-size: 19.25px; line-height: 1.6; }
.hero .btn-row { padding-bottom: 6px; }

/* ---------- Product preview: straddles the dark hero and the light page ---------- */
.preview { background: linear-gradient(to bottom, transparent calc(100% - 292px), var(--paper) calc(100% - 292px)); }
.app-mock {
  background: #fafafa; border: 1px solid #dedede; border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .065), 0 40px 70px -24px rgba(0, 0, 0, .5), 0 12px 40px rgba(0, 0, 0, .1);
  color: var(--text); font-size: 13.25px;
}
.mock-top { height: 63px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 405px) minmax(0, 1fr); align-items: center; gap: 16px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.mock-top-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dots { display: inline-flex; gap: 6px; margin-right: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdcdc; }
.mock-logo { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.mock-logo span { color: var(--red); }
.slash { color: #9a9a9a; }
.branch-select { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); white-space: nowrap; }
.branch-select .ico { width: 14px; height: 14px; }
.mock-search { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); color: #6a6a6a; }
.mock-search .ico { width: 15px; height: 15px; }
.mock-search span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-search kbd { display: inline-grid; place-items: center; width: 22px; height: 20px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 11px; color: #777; }
.mock-top-right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.mock-top-right .ico { width: 16px; height: 16px; color: #555; }
.avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 600; }

.mock-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.mock-side { padding: 18px 12px 24px; border-right: 1px solid var(--line); }
.mock-side .mono-label { padding: 0 10px; margin-bottom: 14px; font-size: 10.5px; }
.mock-side li { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid transparent; font-size: 13.75px; color: #2a2a2a; margin-bottom: 2px; }
.mock-side li.active { background: var(--white); border-color: var(--line-2); font-weight: 600; }
.mock-side li.active i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.mock-side li b { margin-left: auto; display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 600; }
.mock-main { background: var(--white); padding: 24px 24px 26px; min-width: 0; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.mock-head .mono-label { font-size: 10.5px; margin-bottom: 4px; }
.mock-head h2 { font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: -.01em; }
.mock-head-actions { display: flex; gap: 8px; }
.mbtn { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--white); font-size: 13px; font-weight: 500; white-space: nowrap; }
.mbtn-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.mbtn-red { background: var(--red); border-color: var(--red); color: var(--white); }
.kpis { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 16px 15px; }
.kpi span { display: flex; align-items: center; gap: 7px; color: #5a5a5a; font-size: 12.25px; }
.kpi strong { display: block; margin-top: 4px; font-family: var(--display); font-weight: 600; font-size: 28.5px; line-height: 1.2; letter-spacing: -.01em; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.dot-soft { background: #e5737d; }
.mock-grid { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: start; }
.stock-table { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.st-row { display: grid; grid-template-columns: minmax(0, 1fr) 102px 78px 94px 118px; align-items: center; padding: 0 0 0 14px; border-top: 1px solid #ececec; height: 62.5px; }
.st-row:first-child { border-top: 0; }
.st-head { height: 38px; background: #fafafa; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #6a6a6a; }
.st-row b { display: block; font-weight: 500; font-size: 13.5px; }
.st-row > span:first-child { min-width: 0; }
.st-row small { display: block; color: #6c6c6c; font-size: 11.75px; }
.st-row .mono { font-size: 12.5px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 500; white-space: nowrap; }
.st-row .tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.tag-grey { background: #ececec; color: #2a2a2a; }
.tag-soft { background: var(--red-soft); color: var(--red); }
.tag-red { background: var(--red); color: var(--white); }
.tag-black { background: var(--ink); color: var(--white); }
.tag-line { border: 1px solid var(--line-2); background: var(--white); color: #2a2a2a; }
.attention-head { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 13px; }
.attention-head strong { font-size: 13.75px; font-weight: 600; }
.attention-head .mono-label { font-size: 10.5px; }
.att-card { display: flex; gap: 12px; padding: 14px 14px 14px 14px; border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 11px; background: var(--white); }
.att-card b { display: block; font-weight: 600; font-size: 13px; line-height: 1.5; letter-spacing: -.003em; }
.att-card small { display: block; color: #6a6a6a; font-size: 12.25px; line-height: 1.55; }
.att-ico { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 8px; display: inline-grid; place-items: center; background: #f0f0f0; color: #333; }
.att-ico .ico { width: 15px; height: 15px; }
.att-ico-soft { background: var(--red-soft); color: var(--red); }
.att-ico-red { background: var(--red); color: var(--white); }
.att-ico-dark { background: var(--ink); color: var(--white); }
.att-card:last-child { margin-bottom: 0; }
.att-actions { display: flex; gap: 6px; margin-top: 10px; }
.att-actions .mbtn { height: 30px; font-size: 12.25px; padding: 0 11px; }

/* ---------- Light sections ---------- */
.paper-zone { background: var(--paper); }
.designed-for { padding: 59px 0 0; }
.designed-inner { display: flex; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.designed-for .mono-label { font-size: 12px; color: #4a4a4a; margin-right: 2px; }
.designed-for ul { display: flex; flex-wrap: wrap; gap: 14px 37px; }
.designed-for li { display: inline-flex; align-items: center; gap: 12px; font-size: 16.5px; font-weight: 500; color: var(--ink); }
.designed-for .ico { width: 20px; height: 20px; color: var(--red); }

.section { padding: 124px 0 128px; }
.section h2, .cta-card h2 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 3.95vw, 57px); line-height: 1.06; letter-spacing: -.01em; color: var(--ink); }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 446px); gap: 32px 80px; align-items: end; }
.split-head > p { font-size: 17.25px; line-height: 1.62; color: var(--muted); }
.split-head h2 { max-width: 640px; }
.scale .split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 466px); }
.scale .split-head > p { font-size: 17.5px; }
.eyebrow + .split-head, .eyebrow + h2 { margin-top: 12px; }
.scale { padding-top: 124px; padding-bottom: 112px; }
.scale .split-head > p { padding-bottom: 4px; }

.pillars { margin-top: 66px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pillars article { border-top: 2px solid var(--ink); padding-top: 28px; }
.pillars h3 { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: 35.25px; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.pillars article > p:last-child { margin-top: 12px; font-size: 15.5px; line-height: 1.62; color: var(--muted); }

.modules { padding-top: 0; padding-bottom: 120px; }
.bento { margin-top: 46px; display: grid; grid-template-columns: minmax(0, 411fr) minmax(0, 292fr) minmax(0, 411fr); gap: 22px 21px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; min-width: 0; }
.bento > .card:nth-child(1) { grid-column: 1 / 3; }
.bento > .card:nth-child(2) { grid-column: 3 / 4; }
.bento > .card:nth-child(3) { grid-column: 1 / 2; }
.bento > .card:nth-child(4) { grid-column: 2 / 4; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.tile { width: 44px; height: 44px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--red-soft); color: var(--red); }
.tile .ico { width: 20px; height: 20px; }
.tile-red { background: var(--red); color: var(--white); }
.card-num { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.card h3 { margin-top: 21px; font-family: var(--display); font-weight: 600; font-size: 26.5px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.card-text { margin-top: 8px; font-size: 15.25px; line-height: 1.62; color: var(--muted); max-width: 520px; }
.panel { margin-top: auto; background: var(--paper); border-radius: 16px; padding: 20px; }
.card-text + .panel { margin-top: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-head strong, .audit-panel > strong { font-size: 13.25px; font-weight: 600; color: var(--ink); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.25px; color: #555; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.sq { width: 9px; height: 9px; border-radius: 2px; }
.sq-black { background: var(--ink); }
.sq-grey { background: #bdbdbd; }
.sq-red { background: var(--red); }
.seg-bar { display: flex; gap: 3px; margin: 17px 0 16px; height: 10px; }
.seg-bar i { border-radius: 999px; background: var(--ink); }
.seg-bar i:nth-child(2) { background: #bdbdbd; }
.seg-bar i:nth-child(3) { background: var(--red); }
.exp-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 46px; align-items: center; gap: 14px; background: var(--white); border-radius: 12px; height: 62px; padding: 0 14px; margin-top: 11px; }
.exp-row:first-of-type { margin-top: 0; }
.exp-row b, .chain-item b { display: block; font-weight: 500; font-size: 13.25px; color: var(--ink); }
.exp-row small, .chain-item small { display: block; font-size: 11.5px; color: #6c6c6c; }
.bar { height: 5px; border-radius: 999px; background: #e3e3e3; position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; }
.bar-black { background: var(--ink); }
.bar-soft { background: #e5737d; }
.bar-red { background: var(--red); }
.num { text-align: right; font-size: 13.5px; color: #333; }
.chain-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--white); border-radius: 12px; height: 62px; padding: 0 14px; position: relative; }
.chain-item + .chain-item { margin-top: 17px; }
.chain-item + .chain-item::before { content: ""; position: absolute; left: 26px; top: -17px; height: 18px; width: 1px; background: #c4c4c4; }
.chain-item .tag { height: 24px; font-size: 11.75px; }
.credit { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: #444; }
.credit-bar { margin-top: 10px; height: 5px; border-radius: 999px; background: #e0e0e0; overflow: hidden; }
.credit-bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.audit-panel ol { margin-top: 14px; display: grid; gap: 14px; }
.audit-panel li { display: grid; grid-template-columns: 46px minmax(0, 1fr); }
.audit-panel time { font-size: 12.5px; color: #6a6a6a; padding-top: 1px; }
.audit-panel b { display: block; font-weight: 500; font-size: 13.25px; color: var(--ink); }
.audit-panel small { display: block; font-size: 12.25px; color: #6a6a6a; }

.card-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.card-dark h3 { color: var(--white); font-size: clamp(28px, 2.5vw, 36px); letter-spacing: -.01em; font-weight: 700; margin-top: 21px; }
.card-dark .card-text { color: var(--on-dark); max-width: 560px; font-size: 15.5px; }
.badge-next { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid #3c3c3c; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #ddd; }
.chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; background: #1a1a1a; border: 1px solid #353535; color: #f1f1f1; font-size: 13.5px; }
.chips .chip-planned { background: transparent; border: 1px dashed #4a4a4a; color: #a8a8a8; }
.roadmap-link { margin-top: auto; padding-top: 48px; display: inline-flex; align-items: center; gap: 10px; color: var(--red-bright); font-weight: 600; font-size: 15.5px; text-decoration: none; align-self: flex-start; }
.roadmap-link .ico { width: 17px; height: 17px; transition: transform .15s ease; }
.roadmap-link:hover .ico { transform: translateX(3px); }

/* ---------- Built for every healthcare setting (white) ---------- */
.settings { background: var(--white); border-top: 1px solid var(--line); }
.split-tabs { grid-template-columns: minmax(0, 1fr) auto; }
.split-tabs h2 { max-width: 700px; }
.tabs { justify-self: end; display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.tabs [role="tab"] { height: 44px; padding: 0 19px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 14.25px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--white); }
.tabs [role="tab"]:not([aria-selected="true"]):hover { background: #e9e9e9; }
.tab-panel { margin-top: 50px; display: grid; grid-template-columns: minmax(0, 530px) minmax(0, 546px); justify-content: space-between; gap: 48px; align-items: start; }
.tab-panel[hidden] { display: none; }
.tab-panel:focus-visible { outline-offset: 8px; border-radius: 12px; }
.setting-copy .mono-label { font-size: 12px; color: #4a4a4a; }
.setting-copy h3 { margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 2.65vw, 38px); line-height: 1.04; letter-spacing: -.01em; color: var(--ink); }
.setting-lead { margin-top: 16px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.checklist { margin-top: 24px; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.62; color: #1f1f1f; }
.check { width: 24px; height: 24px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: inline-grid; place-items: center; margin-top: 1px; }
.check .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.setting-close { margin-top: 26px; font-weight: 600; font-size: 15.75px; color: var(--ink); }
.request-card { background: var(--paper); border-radius: 24px; padding: 28px; }
.request-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.request-head strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.request-head .mono-label { font-size: 12px; }
.request { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--white); border-radius: 14px; min-height: 73px; padding: 12px 16px; }
.request + .request { margin-top: 10px; }
.request b { display: block; font-weight: 500; font-size: 15.25px; color: var(--ink); }
.request small { display: block; margin-top: 1px; font-size: 12.5px; color: #666; }
.request .tag { height: 25px; font-size: 12px; }

/* ---------- Roadmap (dark) ---------- */
.roadmap { background: var(--black); color: var(--white); padding-bottom: 112px; }
.roadmap .eyebrow { color: #ff3b48; }
.roadmap h2 { color: var(--white); }
.roadmap .split-head > p { color: var(--on-dark); }
.timeline { margin-top: 70px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.stage-line { display: flex; align-items: center; height: 14px; margin-bottom: 26px; }
.stage-line::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--white); background: var(--black); flex: 0 0 auto; }
.stage-line::after { content: ""; flex: 1; margin-left: 6px; border-top: 1px dashed #555; }
.stage:last-child .stage-line::before { border-color: #9a9a9a; }
.stage-live .stage-line::before { border: 0; background: var(--red); }
.stage-live .stage-line::after { border-top: 2px solid var(--red); }
.stage-label { display: flex; align-items: center; gap: 10px; min-height: 23px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #d0d0d0; }
.stage-label .live-tag { font-size: 11px; }
.stage h3 { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.18; letter-spacing: -.01em; color: var(--white); max-width: 340px; }
.stage > p:last-child { margin-top: 14px; font-size: 15.25px; line-height: 1.62; color: var(--on-dark); max-width: 360px; }

/* ---------- Getting started ---------- */
.steps-title { max-width: 700px; }
.step-cards { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; }
.step-cards li { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 30px; }
.step-top { display: flex; align-items: center; gap: 12px; }
.step-top::after { content: ""; flex: 1; border-top: 1px solid var(--line-2); }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: var(--white); font-family: var(--mono); font-size: 12.5px; }
.step-num-red { background: var(--red); }
.step-cards h3 { margin-top: 24px; font-family: var(--display); font-weight: 600; font-size: 20.5px; line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.step-cards p { margin-top: 6px; font-size: 15.25px; line-height: 1.6; color: var(--muted); }

/* ---------- Closing call to action ---------- */
.cta-section { padding: 0 0 120px; margin-top: -8px; }
.cta-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px;
  padding: 80px 80px 78px; border-radius: 28px; color: var(--white);
  background-color: var(--black);
  background-image:
    linear-gradient(to right, #161616 1px, transparent 1px),
    linear-gradient(to bottom, #161616 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}
.cta-card h2 { margin-top: 16px; color: var(--white); max-width: 400px; font-size: clamp(36px, 4.45vw, 64px); line-height: 1.06; }
.cta-card .cta-copy > p:last-child { margin-top: 22px; font-size: 17.25px; color: var(--on-dark); }
.cta-card .eyebrow { color: #ff3b48; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #bdbdbd; padding: 46px 0 52px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 24px; }
.footer-brand img { width: 114px; height: auto; }
.footer-brand p { font-size: 13.5px; color: #bdbdbd; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: #bdbdbd; text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: var(--white); }
.copyright { grid-column: 1 / -1; font-family: var(--mono); font-size: 12.5px; color: #8a8a8a; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .mock-grid { grid-template-columns: minmax(0, 1fr); }
  .attention { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .attention-head { grid-column: 1 / -1; }
  .exp-row { grid-template-columns: 160px minmax(0, 1fr) 46px; }
}
@media (max-width: 1024px) {
  .site-nav { gap: 22px; }
  .footer-brand { flex-wrap: wrap; gap: 12px 24px; }
  .hero-row { grid-template-columns: minmax(0, 1fr); }
  .split-head, .scale .split-head, .split-tabs { grid-template-columns: minmax(0, 1fr); }
  .split-head > p { max-width: 640px; }
  .tabs { justify-self: start; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > .card:nth-child(n) { grid-column: auto; }
  .bento > .card:nth-child(1), .bento > .card:nth-child(4) { grid-column: 1 / -1; }
  .tab-panel { grid-template-columns: minmax(0, 1fr); }
  .step-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-card { grid-template-columns: minmax(0, 1fr); padding: 64px 48px; }
  .mock-body { grid-template-columns: minmax(0, 1fr); }
  .mock-side { display: none; }
  .mock-top { grid-template-columns: auto minmax(0, 1fr) auto; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 14px; }
  .site-header.menu-open .site-nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: var(--gutter); right: var(--gutter);
    padding: 10px; border: 1px solid #262626; border-radius: 18px; background: #0b0b0b;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  }
  .site-header.menu-open .site-nav a { padding: 14px 12px; border-radius: 10px; font-size: 16px; color: #e5e5e5; }
  .site-header.menu-open .site-nav a:hover { background: #161616; }
  .site-header.menu-open .nav-account { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid #222; }
  .site-header.menu-open .nav-account a { text-align: center; border: 1px solid #333; border-radius: 999px; }
  .site-header.menu-open .nav-account a:last-child { background: var(--red); border-color: var(--red); color: var(--white); }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .section { padding: 96px 0; }
  .modules { padding-top: 16px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .header-inner { height: 72px; }
  .brand img { width: 112px; }
  .link-login { display: none; }
  .btn-sm { height: 40px; padding: 0 16px; }
  .site-header.menu-open .site-nav { top: 66px; }
  .hero { padding: 64px 0 56px; }
  .live-pill { height: auto; min-height: 34px; padding: 5px 12px 5px 5px; font-size: 13px; }
  .hero h1 { margin-top: 24px; font-size: clamp(34px, 10vw, 56px); line-height: 1.04; }
  .hero-row { margin-top: 28px; }
  .hero-lead { font-size: 17px; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .btn-lg { height: 52px; font-size: 16px; }
  .preview { background: linear-gradient(to bottom, transparent calc(100% - 160px), var(--paper) calc(100% - 160px)); }
  .app-mock { border-radius: 12px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .065), 0 30px 50px -20px rgba(0, 0, 0, .4); }
  .mock-top { height: 54px; padding: 0 12px; grid-template-columns: auto auto; justify-content: space-between; }
  .mock-search, .dots, .slash, .branch-select { display: none; }
  .mock-main { padding: 18px 14px; }
  .mock-head { flex-direction: column; align-items: flex-start; }
  .mock-head-actions .mbtn:first-child { display: none; }
  .kpi { padding: 12px; }
  .kpi strong { font-size: 22px; }
  .st-row { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 12px; }
  .st-row > span:nth-child(2), .st-row > span:nth-child(3), .st-row > span:nth-child(4) { display: none; }
  .attention { grid-template-columns: minmax(0, 1fr); }
  .designed-for { padding-top: 40px; }
  .designed-inner { gap: 16px; }
  .designed-for ul { gap: 12px 22px; }
  .designed-for li { font-size: 16px; }
  .section { padding: 72px 0; }
  .scale { padding-top: 64px; }
  .modules { padding-top: 8px; }
  .split-head > p { font-size: 17px; }
  .pillars h3 { font-size: 30px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > .card:nth-child(n) { grid-column: auto; }
  .card { padding: 22px; border-radius: 18px; }
  .card h3 { font-size: 23px; }
  .card-text { font-size: 16px; }
  .panel { padding: 14px; }
  .legend { gap: 6px 12px; font-size: 12px; }
  .exp-row { grid-template-columns: minmax(0, 1fr) 44px; }
  .exp-row .bar { grid-column: 1 / -1; grid-row: 2; }
  .tabs { justify-self: stretch; }
  .tabs [role="tab"] { flex: 1; padding: 0 10px; font-size: 14px; }
  .tab-panel { margin-top: 36px; }
  .request-card { padding: 18px; border-radius: 18px; }
  .request b { font-size: 16px; }
  .step-cards { grid-template-columns: minmax(0, 1fr); }
  .cta-section { padding-bottom: 72px; }
  .cta-card { padding: 44px 22px 26px; border-radius: 20px; gap: 28px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-nav { gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
