/* Rawmark brand layer on top of Bootstrap 5.3.
   Layout and breakpoints come from Bootstrap's grid and utilities in index.html;
   this file only sets colors, type and the site's own components.
   Sizes that change with screen width use clamp() instead of media queries. */

/* IBM Plex, self-hosted (Latin subset, from @fontsource 5.3.0; license in assets/fonts/OFL.txt) */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-500.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-600.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-latin-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-latin-500.woff2) format("woff2"); }

:root {
  --rm-night: #0A0F16;
  --rm-panel: #0F1620;
  --rm-line: #1D2733;
  --rm-snow: #EEF0EA;
  --rm-mute: #A3AEBA;
  --rm-green: #34C08E;      /* Ledger green on dark grounds */
  --rm-green-ink: #12775A;  /* Ledger green, text-safe on light grounds */
  --rm-green-hover: #0C5A44;
  --rm-paper: #F5F6F3;
  --rm-ink: #141A26;
  --rm-ink-mute: #4C5563;
  --rm-rule: #DADCD5;
  --rm-soft: #EAF4EF;
  --rm-soft-ink: #0F5F48;
  --rm-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --bs-body-font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --bs-body-color: var(--rm-ink);
  --bs-body-bg: var(--rm-paper);
  --bs-body-line-height: 1.55;
  --bs-link-color-rgb: 18, 119, 90;
  --bs-link-hover-color-rgb: 12, 90, 68;
  --bs-border-color: var(--rm-rule);
}

html { scroll-padding-top: 76px; }
h1, h2, h3, h4 { color: inherit; }
/* 3rem gutter = 24px side padding, wide enough for the g-5 rows used in the page */
.container { max-width: 1248px; --bs-gutter-x: 3rem; }

/* ---------- type ---------- */
.eyebrow { font: 500 12px/1.2 var(--rm-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rm-green-ink); }
.rm-dark .eyebrow { color: var(--rm-green); }
.rm-h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.03; letter-spacing: -.028em; font-weight: 600; text-wrap: balance; }
.rm-h2 { font-size: clamp(30px, 3.7vw, 44px); line-height: 1.08; letter-spacing: -.022em; font-weight: 600; text-wrap: balance; margin: 0; }
.text-rm-green { color: var(--rm-green); }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: #B9C3CD; max-width: 33em; }
.sec-lede { font-size: 17.5px; color: var(--rm-ink-mute); max-width: 34em; }
.rm-dark .sec-lede, .body-copy { color: #AFB9C4; }
.body-copy { font-size: 17px; line-height: 1.65; max-width: 33em; }

/* ---------- buttons ---------- */
.btn { --bs-btn-padding-x: 20px; --bs-btn-padding-y: 11px; --bs-btn-font-weight: 600; --bs-btn-font-size: 15px; --bs-btn-border-radius: 6px; }
.btn-rm-primary { --bs-btn-bg: var(--rm-green); --bs-btn-border-color: var(--rm-green); --bs-btn-color: #04120C;
  --bs-btn-hover-bg: #5DCDA5; --bs-btn-hover-border-color: #5DCDA5; --bs-btn-hover-color: #04120C;
  --bs-btn-active-bg: #2BA87B; --bs-btn-active-border-color: #2BA87B; --bs-btn-active-color: #04120C; --bs-btn-focus-shadow-rgb: 52, 192, 142; }
.btn-rm-ghost { --bs-btn-color: var(--rm-snow); --bs-btn-border-color: #2E3B4A; --bs-btn-hover-color: var(--rm-snow); --bs-btn-hover-border-color: #4A5A6C; --bs-btn-hover-bg: transparent;
  --bs-btn-active-color: var(--rm-snow); --bs-btn-active-border-color: #4A5A6C; --bs-btn-focus-shadow-rgb: 52, 192, 142; }
.btn-rm-ink { --bs-btn-bg: var(--rm-ink); --bs-btn-border-color: var(--rm-ink); --bs-btn-color: var(--rm-snow); --bs-btn-hover-bg: #243044; --bs-btn-hover-border-color: #243044; --bs-btn-hover-color: var(--rm-snow);
  --bs-btn-active-bg: #243044; --bs-btn-active-color: var(--rm-snow); --bs-btn-padding-y: 13px; }

/* ---------- navbar ---------- */
.rm-nav { background: rgba(10, 15, 22, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rm-line); --bs-navbar-padding-y: 14px;
  --bs-navbar-color: #C6CED7; --bs-navbar-hover-color: var(--rm-snow); --bs-navbar-active-color: var(--rm-snow);
  --bs-navbar-nav-link-padding-x: 14px; --bs-navbar-toggler-border-color: #2E3B4A; --bs-navbar-toggler-focus-width: 2px; }
.rm-nav .navbar-brand img { display: block; height: 26px; width: auto; }
.rm-nav .nav-link { font-size: 15px; font-weight: 500; }
.rm-nav .navbar-toggler:focus { box-shadow: 0 0 0 2px var(--rm-green); }
.rm-nav .navbar-collapse.show .nav-link, .rm-nav .navbar-collapse.collapsing .nav-link { padding: 12px 0; border-bottom: 1px solid var(--rm-line); }

/* ---------- dark grounds ---------- */
.rm-dark { background: var(--rm-night); color: var(--rm-snow); }
.rm-paper { background: var(--rm-paper); }
.rm-sec { padding: clamp(72px, 9vw, 112px) 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- hero ---------- */
.rm-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; }
.hero-proof { font: 400 13px/1.4 var(--rm-mono); color: #8E9AA7; }
.hero-proof li, .ind-key span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { width: 7px; height: 7px; background: var(--rm-green); display: inline-block; }

/* rights file card */
.rf { background: var(--rm-panel); border: 1px solid #243142; border-radius: 12px; box-shadow: 0 40px 90px rgba(0,0,0,.5); font: 13px/1.55 var(--rm-mono); overflow: hidden; }
.rf-head { padding: 18px 22px; border-bottom: 1px solid var(--rm-line); }
.rf-head img { flex: none; }
.rf-title { display: grid; gap: 2px; min-width: 0; }
.rf-title b { color: var(--rm-snow); font-weight: 500; font-size: 13.5px; }
.rf-title span { color: #7D8996; font-size: 12px; }
.rf-row { margin: 0; padding: 12px 22px 12px 10px; border-bottom: 1px solid #18212C; }
.rf-k { color: #7D8996; }
.rf-v { color: #E3E8EC; }
.rf-v em { font-style: normal; color: var(--rm-green); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid #263445; border-radius: 4px; color: #D3DAE0; font-size: 11.5px; }
.chip i { width: 5px; height: 5px; background: var(--rm-green); display: inline-block; }
.rf-foot { padding: 12px 22px; color: #6C7885; font-size: 11.5px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(52, 192, 142, .14); color: var(--rm-green); font: 500 11.5px/1 var(--rm-mono); letter-spacing: .04em; white-space: nowrap; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--rm-green); display: inline-block; }

/* audience band */
.rm-band { border-top: 1px solid var(--rm-line); padding: 30px 0; }
.band-label { font: 500 11.5px/1.3 var(--rm-mono); letter-spacing: .12em; text-transform: uppercase; color: #7D8996; max-width: 15em; }
.band-list li { font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; letter-spacing: -.01em; color: #AEB8C3; }

/* ---------- platform steps ---------- */
.steps { margin: 0; }
.step { position: relative; border-top: 1px solid var(--rm-rule); padding: 30px 22px 28px 0; display: grid; gap: 10px; align-content: start; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--rm-green-ink); }
.step-n { font: 500 12px var(--rm-mono); color: var(--rm-green-ink); letter-spacing: .08em; }
.step h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 0; }
.step p { font-size: 14.5px; color: var(--rm-ink-mute); margin: 0; }
.step .tool { font: 400 11.5px/1.5 var(--rm-mono); color: #6B7482; }
.pipe-note { padding: 20px 24px; background: var(--rm-paper); border: 1px solid var(--rm-rule); border-radius: 8px; font-size: 15px; color: var(--rm-ink-mute); }
.pipe-note b { color: var(--rm-ink); font-weight: 600; }

/* ---------- rights ---------- */
.layers { border-top: 1px solid var(--rm-line); }
.layers li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rm-line); }
.layers svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--rm-green); stroke-width: 2; }
.layers b { display: block; font-weight: 600; color: var(--rm-snow); font-size: 15.5px; }
.layers span { color: var(--rm-mute); font-size: 14.5px; }
.ledger { background: var(--rm-panel); border: 1px solid #243142; border-radius: 12px; overflow: hidden; font-family: var(--rm-mono); }
.ledger-head { padding: 16px 20px; border-bottom: 1px solid var(--rm-line); font-size: 12.5px; color: #8E9AA7; }
.ledger-head b { color: var(--rm-snow); font-weight: 500; }
.ledger-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 560px; }
.ledger-table th { text-align: left; font-weight: 500; color: #6F7C8A; padding: 10px 20px; border-bottom: 1px solid var(--rm-line); letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; }
.ledger-table td { padding: 10px 20px; border-bottom: 1px solid #16202A; color: #D6DDE3; vertical-align: top; font-variant-numeric: tabular-nums; }
.ledger-table td:first-child { color: #6F7C8A; white-space: nowrap; }
.ledger-table td.ok { color: var(--rm-green); white-space: nowrap; }
.ledger-foot { padding: 12px 20px; font-size: 11.5px; color: #6C7885; }

/* ---------- data ---------- */
.rm-card { background: #fff; border: 1px solid var(--rm-rule); border-radius: 10px; padding: 26px 24px; display: grid; gap: 12px; align-content: start; }
.rm-card .k, .tier .k, .incl .lbl, .launch .lbl { font: 500 11.5px var(--rm-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--rm-green-ink); }
.rm-card h3 { font-size: 19px; font-weight: 600; line-height: 1.25; margin: 0; }
.rm-card p { font-size: 14.5px; color: var(--rm-ink-mute); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font: 400 12px/1 var(--rm-mono); padding: 6px 8px; border-radius: 4px; background: var(--rm-soft); color: var(--rm-soft-ink); }
.incl { padding: 18px 0; border-top: 1px solid var(--rm-rule); border-bottom: 1px solid var(--rm-rule); font-size: 14px; color: var(--rm-ink-mute); }
.incl b { color: var(--rm-ink); font-weight: 600; margin-right: 6px; }
.why { margin-top: clamp(40px, 5vw, 64px); }
.why h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.why p { font-size: 15px; color: var(--rm-ink-mute); margin: 0; }
.launch { margin-top: 48px; padding: 20px 24px; border: 1px solid var(--rm-rule); border-radius: 10px; background: #fff; }
.launch p { flex: 1 1 420px; font-size: 15px; color: var(--rm-ink-mute); }
.launch p b { color: var(--rm-ink); font-weight: 600; }
.launch a { font-weight: 600; font-size: 15px; }

/* ---------- industries ---------- */
.ind-key { font: 400 12.5px var(--rm-mono); color: var(--rm-mute); }
.ind-key i, .ind li i { flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #6F7C8A; display: inline-block; transform: translateY(-1px); }
.ind-key .p0 i, .ind li.p0 i { background: var(--rm-green); border-color: var(--rm-green); }
.ind { background: var(--rm-panel); border: 1px solid var(--rm-line); border-radius: 10px; padding: 24px 22px; }
.ind h3 { font-size: 17px; font-weight: 600; color: var(--rm-snow); margin-bottom: 16px; }
.ind ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; line-height: 1.4; color: var(--rm-mute); }
.ind li { display: flex; align-items: baseline; gap: 10px; padding: 5px 12px 5px 0; }
.ind li.p0 { color: var(--rm-snow); }
.supply { margin-top: 40px; padding: 28px; border: 1px solid #243142; border-radius: 12px; background: #101D1F; }
.supply p { font-size: 16px; color: #C6CED7; max-width: 46em; }
.supply p b { color: var(--rm-snow); font-weight: 600; }

/* ---------- licensing ---------- */
.line { border: 1px solid var(--rm-rule); border-radius: 10px; padding: 28px 26px; display: grid; gap: 10px; align-content: start; }
.line h3 { font-size: 18px; font-weight: 600; margin: 0; }
.line p { font-size: 14.5px; color: var(--rm-ink-mute); margin: 0; }
.line .gets { font: 400 12px/1.5 var(--rm-mono); color: var(--rm-green-ink); }
.tier { border: 1px solid var(--rm-rule); border-radius: 10px; padding: 30px 28px; display: grid; gap: 14px; align-content: start; background: #fff; }
.tier.lead { background: var(--rm-night); color: var(--rm-snow); border-color: var(--rm-night); }
.tier.lead .k { color: var(--rm-green); }
.tier h3 { font-size: 26px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.tier p { font-size: 15px; color: var(--rm-ink-mute); margin: 0; }
.tier.lead p { color: #B3BDC8; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.tier li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; }
.tier li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; background: var(--rm-green-ink); }
.tier.lead li::before { background: var(--rm-green); }
.path { margin-top: clamp(48px, 6vw, 72px); }
.path h3 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.ps { border-top: 2px solid var(--rm-ink); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.ps .n { font: 500 12px var(--rm-mono); color: var(--rm-green-ink); letter-spacing: .08em; }
.ps b { font-size: 17px; font-weight: 600; }
.ps p { font-size: 14.5px; color: var(--rm-ink-mute); margin: 0; }

/* ---------- security ---------- */
.stat { border: 1px solid var(--rm-line); border-radius: 12px; padding: 30px 28px; display: grid; gap: 8px; align-content: start; }
.stat b { font-size: clamp(40px, 4.4vw, 52px); line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--rm-snow); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14.5px; color: var(--rm-mute); }
.controls { border-top: 1px solid var(--rm-line); }
.ctl { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--rm-line); display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; align-content: start; }
.ctl svg { width: 26px; height: 26px; fill: none; stroke: var(--rm-green); stroke-width: 2; }
.ctl h3 { font-size: 17px; font-weight: 600; color: var(--rm-snow); margin-bottom: 6px; }
.ctl p { font-size: 14.5px; color: var(--rm-mute); margin: 0; }

/* ---------- contact ---------- */
.inbox { border-top: 1px solid var(--rm-rule); }
.inbox .row { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rm-rule); }
.inbox dt { padding-left: 0; font: 500 12px/1.9 var(--rm-mono); letter-spacing: .06em; text-transform: uppercase; color: #6B7482; }
.inbox dd { margin: 0; font-size: 15px; }
.rm-form { background: #fff; border: 1px solid var(--rm-rule); border-radius: 12px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 24px 60px rgba(20,26,38,.07); }
.rm-form h3 { font-size: 20px; font-weight: 600; }
.rm-form .form-label { font-size: 13.5px; font-weight: 500; margin-bottom: 7px; }
.rm-form .form-control, .rm-form .form-select { font-size: 15px; background-color: var(--rm-paper); border-color: #CDD0C8; padding-top: 11px; padding-bottom: 11px; }
.rm-form .form-control:focus, .rm-form .form-select:focus { border-color: var(--rm-green-ink); box-shadow: 0 0 0 .2rem rgba(18, 119, 90, .2); }
.fine { font-size: 12.5px; color: #6B7482; }
.sent { padding: 14px 16px; border-radius: 8px; background: var(--rm-soft); color: var(--rm-soft-ink); font-size: 14.5px; }

/* ---------- footer ---------- */
.rm-foot { padding: 56px 0 40px; border-top: 1px solid var(--rm-line); }
.rm-foot img { display: block; height: 24px; width: auto; }
.foot-tag { color: #8E9AA7; font-size: 14px; max-width: 30em; }
.foot-links a { color: #C6CED7; text-decoration: none; font-size: 14px; padding: 6px 0; }
.foot-links a:hover { color: var(--rm-snow); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rm-line); font: 400 12px var(--rm-mono); color: #6C7885; }
.foot-base a { color: #A3AEBA; }
.foot-base a:hover { color: var(--rm-snow); }

/* focus rings on dark grounds */
.rm-dark a:focus-visible, .rm-nav a:focus-visible { outline: 2px solid var(--rm-green); outline-offset: 3px; }

/* ---------- supplier-first additions (same look as existing pills, tags and bands) ---------- */
.hot { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--rm-soft); color: var(--rm-soft-ink); font: 500 11px/1.4 var(--rm-mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.hot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rm-green-ink); }
.hot-next { background: #F1F2EE; color: var(--rm-ink-mute); }
.hot-next::before { background: #8A93A0; }
.systems li { font-size: clamp(15px, 1.4vw, 17px); font-weight: 600; letter-spacing: -.01em; color: #AEB8C3; }
.promises { border-top: 1px solid var(--rm-rule); }
.promises .ctl { border-bottom-color: var(--rm-rule); }
.promises .ctl svg { stroke: var(--rm-green-ink); }
.promises .ctl h3 { color: var(--rm-ink); }
.promises .ctl p { color: var(--rm-ink-mute); }
.rm-pills { --bs-nav-pills-border-radius: 999px; --bs-nav-pills-link-active-bg: var(--rm-ink); --bs-nav-pills-link-active-color: var(--rm-snow); --bs-nav-link-color: var(--rm-ink-mute); --bs-nav-link-hover-color: var(--rm-ink); gap: 6px; padding: 4px; background: var(--rm-paper); border: 1px solid var(--rm-rule); border-radius: 999px; display: inline-flex; flex-wrap: wrap; }
.rm-pills .nav-link { font-size: 14px; font-weight: 600; padding: 8px 16px; }
.rm-form legend.form-label { font-size: 13.5px; font-weight: 500; margin-bottom: 7px; float: none; }
.rm-form .form-check-input:checked { background-color: var(--rm-green-ink); border-color: var(--rm-green-ink); }
.rm-form .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(18, 119, 90, .2); border-color: var(--rm-green-ink); }
.rm-form .form-check-label { font-size: 14.5px; }
