/* URMS public site. Glass Aqua tokens from design/css/style.css, public-site components only.
   Self-hosted fonts, no external requests. Light/dark: system preference, overridable via [data-theme]. */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plexmono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plexmono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #F4F6F9; --surface: #FFFFFF; --sunken: #EEF1F6;
  --ink: #111827; --ink-2: #4B5563; --ink-3: #5E6A7E;
  --line: #DDE2EA; --line-strong: #C5CDD9;
  --midnight: #0A1630; --deep: #0F3D82; --glow: #7DE6F2;
  --brand-gradient: linear-gradient(120deg, #0A1630, #0F3D82 45%, #1C6FD1 75%, #1FB6D9);
  --primary: #1C6FD1; --primary-ink: #FFFFFF; --primary-wash: #E4EEFB;
  --accent: #1FB6D9; --accent-ink: #0A1630; --accent-wash: #DDF5FA;
  --link: #1760B8;
  --ok: #0E7F52; --ok-wash: #E3F4EC; --warn: #B85508; --warn-wash: #FCEEDF; --down: #D2364B; --down-wash: #FBE6E9; --idle: #8791A3;
  --code-bg: #0A1630;
  --f: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --r-ctl: 6px; --r-panel: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0A1630; --surface: #101F3E; --sunken: #0D1A36;
    --ink: #E8EEF8; --ink-2: #AAB7D0; --ink-3: #8F9EBD;
    --line: #1F3156; --line-strong: #2E4573;
    --primary-wash: #14305C; --accent-wash: #11384F; --link: #6DB3FF;
    --ok: #3CC48A; --ok-wash: #11352C; --warn: #F29A45; --warn-wash: #3D2B1C; --down: #F0677A; --down-wash: #40202E; --idle: #7F8FB0;
    --code-bg: #07102A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0A1630; --surface: #101F3E; --sunken: #0D1A36;
  --ink: #E8EEF8; --ink-2: #AAB7D0; --ink-3: #8F9EBD;
  --line: #1F3156; --line-strong: #2E4573;
  --primary-wash: #14305C; --accent-wash: #11384F; --link: #6DB3FF;
  --ok: #3CC48A; --ok-wash: #11352C; --warn: #F29A45; --warn-wash: #3D2B1C; --down: #F0677A; --down-wash: #40202E; --idle: #7F8FB0;
  --code-bg: #07102A;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 15px/1.55 var(--f); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
code, .mono { font-family: var(--mono); font-size: .86em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.ic { width: 18px; height: 18px; flex: none; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--surface); padding: 10px 14px; border-radius: var(--r-ctl); font-weight: 600; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- logo: icon height = wordmark cap height ---------- */
.logo { display: inline-flex; align-items: center; gap: .3em; color: var(--ink); font-weight: 800; font-size: 26px; line-height: 1; font-variation-settings: "wdth" 125; font-stretch: 125%; letter-spacing: 0.03em; }
.logo:hover { text-decoration: none; }
.logo img { height: .7em; width: auto; display: block; }
.site-foot .logo { font-size: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 15px;
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface);
  color: var(--ink); font: 600 14px/1 var(--f); cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; border-color: var(--ink-3); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn.primary:hover { filter: brightness(0.95); }
.btn.quiet { border-color: transparent; background: transparent; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15.5px; }
.iconbtn { width: 38px; padding: 0; }
.iconbtn .moon { display: none; }
:root[data-theme="dark"] .iconbtn .sun { display: none; }
:root[data-theme="dark"] .iconbtn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .iconbtn .sun { display: none; }
  :root:not([data-theme="light"]) .iconbtn .moon { display: block; }
}

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-head nav.main { display: flex; gap: 22px; font-weight: 550; font-size: 14.5px; }
.site-head nav.main a { color: var(--ink-2); }
.site-head nav.main a[aria-current="page"] { color: var(--ink); box-shadow: 0 3px 0 -0px var(--accent); padding-bottom: 4px; }
.site-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lang { font-weight: 600; font-size: 13.5px; color: var(--ink-2); padding: 0 8px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu .panel { position: absolute; right: 0; top: 46px; width: min(86vw, 320px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px; box-shadow: 0 24px 48px -20px rgba(10,22,48,.45); display: grid; }
.menu .panel a { padding: 11px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; }
.menu .panel a:hover { background: var(--sunken); text-decoration: none; }
.menu .panel .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 4px 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.menu .panel .btns a { padding: 0; color: inherit; }
.menu .panel .btns .btn.primary { color: var(--primary-ink); }

/* ---------- hero ---------- */
.hero { background: var(--brand-gradient); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.02; font-weight: 760; font-variation-settings: "wdth" 125; font-stretch: 125%; letter-spacing: -0.04em; max-width: 13ch; }
.hero .lede { font-size: 18.5px; line-height: 1.55; max-width: 46ch; margin: 22px 0 30px; color: rgba(255,255,255,.9); }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn:not(.primary) { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn.primary { border-color: rgba(255,255,255,.55); box-shadow: 0 8px 24px -8px rgba(10,22,48,.6); }
.hero .fine { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.82); max-width: 52ch; }
.hero .fine a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); margin-bottom: 22px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); }

/* port map illustration (static, built at build time) */
.panelmap { position: relative; background: #fff; color: #111827; border: 1px solid #C5CDD9; border-radius: 14px; padding: 18px 18px 16px; box-shadow: 0 30px 60px -30px rgba(10, 22, 48, .45); }
:root[data-theme="dark"] .panelmap { background: #101F3E; color: #E8EEF8; border-color: #2E4573; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .panelmap { background: #101F3E; color: #E8EEF8; border-color: #2E4573; } }
.panelmap .bar-top { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 14px; flex-wrap: wrap; }
.panelmap .bar-top b { font-size: 14px; }
.legend { margin-left: auto; display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i, .ports i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; background: var(--ok); }
.legend i.w, .ports i.w { background: var(--warn); clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; }
.legend i.d, .ports i.d { background: transparent; box-shadow: inset 0 0 0 1.5px var(--down); }
.ports { display: grid; grid-template-columns: repeat(auto-fill, 10px); gap: 3px; }
.ports i { display: block; }
.ports i.sel { background: var(--accent); box-shadow: 0 0 0 2px var(--ink); clip-path: none; border-radius: 2px; }
.panelmap .cap { margin: 12px 0 0; font-size: 12px; color: var(--ink-3); }
.tip { position: absolute; width: 268px; background: #111827; color: #fff; border-radius: 10px; padding: 14px 16px; font-size: 13px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); left: 92px; top: 92px; }
.tip::before { content: ""; position: absolute; top: -6px; left: 28px; width: 12px; height: 12px; background: #111827; transform: rotate(45deg); }
.tip dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 10px 0 12px; }
.tip dt { color: rgba(255,255,255,.66); } .tip dd { margin: 0; font-weight: 600; }
.tip .acts { display: flex; gap: 6px; }
.tip .acts span { padding: 4px 9px; border-radius: 5px; border: 1px solid rgba(255,255,255,.28); font-size: 12px; font-weight: 600; }
.tip .acts span.y { background: var(--primary); border-color: var(--primary); }
.label { display: inline-flex; align-items: center; height: 22px; padding: 0 8px 0 10px; border-radius: 3px; border: 1px solid var(--line-strong); position: relative; font: 500 12px var(--mono); white-space: nowrap; }
.label::before { content: ""; position: absolute; left: 3px; top: 4px; bottom: 4px; width: 2px; background: var(--accent); border-radius: 1px; }
.tip .label { border-color: rgba(255,255,255,.3); color: #fff; }

/* ---------- page header (inner pages) ---------- */
.page-head { background: var(--brand-gradient); color: #fff; }
.page-head .wrap { padding-top: 64px; padding-bottom: 60px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; font-weight: 760; font-variation-settings: "wdth" 125; font-stretch: 125%; letter-spacing: -0.035em; max-width: 20ch; }
.page-head p { font-size: 18px; color: rgba(255,255,255,.88); max-width: 60ch; margin: 18px 0 0; }
.page-head .pill { margin-bottom: 18px; }

/* ---------- sections ---------- */
.sec { padding: 88px 0; border-bottom: 1px solid var(--line); }
.sec.tight { padding: 64px 0; }
.sec.alt { background: var(--paper); }
.sec h2 { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.08; font-weight: 740; font-variation-settings: "wdth" 122; font-stretch: 122%; letter-spacing: -0.03em; max-width: 22ch; }
.sec h3 { font-size: 19px; font-variation-settings: "wdth" 112; font-stretch: 112%; }
.sec .intro { font-size: 17px; color: var(--ink-2); max-width: 62ch; margin: 16px 0 0; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 2px solid var(--ink); }
.how > div { padding: 24px 28px 0 0; }
.how > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.how .no { font-size: 15px; font-weight: 700; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); margin-bottom: 18px; }
.how h3 { margin-bottom: 8px; }
.how p { color: var(--ink-2); }
.how code { background: var(--sunken); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }

.feat { display: grid; grid-template-columns: 300px 1fr; gap: 0 64px; margin-top: 52px; }
.feat dl, .grid2 { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.feat dl > div, .grid2 > div { padding: 22px 28px 22px 0; border-bottom: 1px solid var(--line); }
.feat dl > div:nth-child(even), .grid2 > div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.feat dt, .grid2 h3 { font-weight: 700; font-size: 16.5px; display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.feat dt svg, .grid2 h3 svg { width: 20px; height: 20px; color: var(--primary); }
:root[data-theme="dark"] .feat dt svg, :root[data-theme="dark"] .grid2 h3 svg { color: var(--link); }
.feat dd { margin: 0; color: var(--ink-2); }
.grid2 p { color: var(--ink-2); margin: 0; }
.grid2 { margin-top: 40px; }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--sunken); font-size: 14px; color: var(--ink-2); }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ink); }
.note.warn { background: var(--warn-wash); color: var(--ink); }
.feat aside .note { margin-top: 20px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 650; background: var(--sunken); color: var(--ink-2); white-space: nowrap; vertical-align: 2px; margin-left: 4px; font-variation-settings: "wdth" 100; font-stretch: 100%; letter-spacing: 0; }
.tag.ok { background: var(--ok-wash); color: var(--ok); }
.tag.soon { background: var(--accent-wash); color: var(--ink); }
.tag.beta { background: var(--warn-wash); color: var(--warn); }

/* zero-touch flow strip */
.flowline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: var(--surface); }
.flowline > div { padding: 22px 22px 24px; border-left: 1px solid var(--line); }
.flowline > div:first-child { border-left: 0; }
.flowline b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.flowline span { color: var(--ink-2); font-size: 14px; }
.flowline .k { font: 500 12px var(--mono); color: var(--ink-3); display: block; margin-bottom: 10px; }

/* dark band (API / security) */
.dark-sec { background: var(--midnight); color: #E8EEF8; border-bottom: 0; }
.dark-sec h2 { color: #fff; }
.dark-sec .intro { color: rgba(232,238,248,.78); }
.dark-sec a { color: #8DBBFF; }
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.flow { margin-top: 32px; display: grid; }
.flow > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14.5px; }
.flow > div b { color: var(--glow); font-weight: 650; }
.flow span { color: rgba(232,238,248,.86); }
.codeblock { background: var(--code-bg); color: #E3EBF7; border-radius: var(--r-panel); padding: 16px 18px; font: 400 12.8px/1.7 var(--mono); overflow-x: auto; white-space: pre; margin: 0; border: 1px solid rgba(255,255,255,.08); }
.dark-sec .codeblock { background: #101F3E; }
.codeblock .c { color: #93A3C4; } .codeblock .k { color: #7DE6F2; } .codeblock .s { color: #8FE0B8; } .codeblock .p { color: #8DBBFF; }

/* CTA band */
.signup { padding: 88px 0; background: var(--brand-gradient); color: #fff; }
.signup .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.signup h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.03; font-weight: 760; font-variation-settings: "wdth" 125; font-stretch: 125%; letter-spacing: -0.04em; max-width: 17ch; }
.signup .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.signup .btn.primary { background: #fff; border-color: #fff; color: var(--midnight); }
.signup .btn:not(.primary) { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.signup p { margin: 12px 0 0; font-size: 13.5px; color: rgba(255,255,255,.88); max-width: 44ch; }

/* tables */
.tbl-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line-strong); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; background: var(--paper); font-size: 13px; color: var(--ink-2); font-weight: 650; white-space: nowrap; }
td .label { background: var(--surface); }
.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; white-space: nowrap; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.led.plan { background: transparent; box-shadow: inset 0 0 0 1.5px var(--idle); }
.led.no { background: transparent; box-shadow: inset 0 0 0 2px var(--down); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; }
.plans > div { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.plans > div:first-child { border-left: 0; }
.plans > div.pick { background: var(--midnight); color: #fff; border-left-color: var(--midnight); }
.plans > div.pick .muted, .plans > div.pick li { color: rgba(255,255,255,.82); }
.plans h3 { font-size: 18px; }
.plans .amt { font-size: 30px; font-weight: 740; font-variation-settings: "wdth" 118; font-stretch: 118%; letter-spacing: -0.03em; line-height: 1.05; }
.plans ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.plans li { display: flex; gap: 8px; }
.plans li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ok); }
.plans .btn { margin-top: auto; }

/* FAQ / prose */
.faq { margin-top: 36px; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--ink-3); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; max-width: 72ch; }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-variation-settings: "wdth" 112; font-stretch: 112%; margin: 40px 0 12px; max-width: none; letter-spacing: -0.01em; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.tbd { background: var(--warn-wash); color: var(--ink); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.draft { margin-bottom: 28px; }
.contact-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; margin-top: 36px; }
.contact-card > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.contact-card > div:first-child { border-left: 0; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--ink-2); }
.big-mail { font: 600 20px var(--f); font-variation-settings: "wdth" 112; font-stretch: 112%; }

/* footer */
.site-foot { padding: 44px 0 52px; font-size: 13.5px; color: var(--ink-3); border-top: 1px solid var(--line); }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-foot h2 { font-size: 13px; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--ink-2); }
.site-foot .fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }

/* 404 */
.nf { padding: 120px 0 140px; }
.nf .code { font: 500 14px var(--mono); color: var(--ink-3); }
.nf h1 { line-height: 1.04; font-size: clamp(34px, 4.4vw, 52px); font-variation-settings: "wdth" 125; font-stretch: 125%; letter-spacing: -0.035em; margin: 12px 0 16px; }
.nf .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

@media (max-width: 1060px) {
  .site-head nav.main, .site-head .right .hide-m { display: none; }
  .menu { display: block; }
}
@media (max-width: 980px) {
  .hero .wrap, .split, .feat, .signup .wrap { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .how > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; }
  .flowline { grid-template-columns: 1fr 1fr; }
  .flowline > div:nth-child(3) { border-left: 0; }
  .flowline > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  .plans > div { border-left: 0; border-top: 1px solid var(--line); }
  .plans > div:first-child { border-top: 0; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .feat dl, .grid2, .flowline, .contact-card { grid-template-columns: 1fr; }
  .feat dl > div:nth-child(even), .grid2 > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .flowline > div, .contact-card > div { border-left: 0; border-top: 1px solid var(--line); }
  .flowline > div:first-child, .contact-card > div:first-child { border-top: 0; }
  .sec { padding: 60px 0; }
  .hero .wrap { padding-top: 52px; padding-bottom: 60px; }
  .tip { display: none; }
  .ports i:nth-child(n+241) { display: none; }
  .flow > div { grid-template-columns: 1fr; gap: 4px; }
  .site-head .wrap { gap: 12px; }
  .site-head .right .lang { display: none; }
  .logo { font-size: 23px; }
}

/* spacing helpers (no inline styles: the CSP allows only same-origin stylesheets) */
.m0 { margin: 0; }
.mt-20 { margin-top: 20px; }
.mt-36 { margin-top: 36px; }
.mt-44 { margin-top: 44px; }
.nf-lede { font-size: 17px; max-width: 52ch; }
.foot-tag { margin-top: 14px; max-width: 34ch; }

/* links inside running text are underlined, not told apart by colour alone */
main p a:not(.btn), main dd a, main li a, main .note a, main td a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tag.ok, .tag.beta { color: var(--ink); }
.tag.ok::before, .tag.beta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; }
.tag.beta::before { background: var(--warn); border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
