/* semurg-ic.css: the ONE stylesheet for one.semurg.io.
   The IC deck's design system (investment/ROOM/IC_PRESENTATION/src/ic.css) carried to the web: same tokens, same
   hexagon motif, same card / stat / table / bullet forms. The deck is print (mm, fixed slides); this is fluid and
   works at 1280 and 390. WHITE ground, BLACK type, red #DE3122. No auto-dark, no system-font stack, no legacy accent.
   One file: a page adds no stylesheet of its own. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --red:#DE3122; --red-dk:#c41f12; --ink:#0b0b0d; --ink2:#141416; --mute:#55555c;
  --rule:#e6e6e9; --tint:#fbeceb; --wash:#f7f7f8;
  --sans:Inter,"Helvetica Neue",Arial,sans-serif;
  --hex-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49'%3E%3Cpath d='M14 33L0 25L0 8L14 0L28 8L28 25L14 33L14 49' fill='none' stroke='%23DE3122' stroke-width='1.2'/%3E%3C/svg%3E");
  --hex-white:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49'%3E%3Cpath d='M14 33L0 25L0 8L14 0L28 8L28 25L14 33L14 49' fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-opacity='.6'/%3E%3C/svg%3E");
  --hexclip:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:#fff;-webkit-text-size-adjust:100%}
body{background:#fff;color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5}

/* ── the red hex rail, the deck's cover band ─────────────────────────────────────────────────── */
.rail{height:14px;background:var(--red) var(--hex-white);background-size:12px 21px}

/* ── shell ───────────────────────────────────────────────────────────────────────────────────── */
.wrap{max-width:1120px;margin:0 auto;padding:0 16px}
header.top{border-bottom:1px solid var(--rule)}
.nav{display:flex;align-items:center;gap:22px;padding:14px 0;flex-wrap:wrap}
.brand{font-weight:900;letter-spacing:.28em;font-size:15px;color:var(--ink);text-decoration:none}
.nav a{color:var(--ink);text-decoration:none;font-size:14px;font-weight:500}
.nav a:hover,.nav a[aria-current="page"]{color:var(--red)}
.nav .sp{margin-left:auto}
.btn{display:inline-block;padding:9px 16px;font-size:14px;font-weight:700;text-decoration:none;border:2px solid var(--red)}
.btn.primary{background:var(--red);color:#fff}
.btn.primary:hover{background:var(--red-dk);border-color:var(--red-dk)}
.btn.ghost{color:var(--red);background:#fff}
.btn.ghost:hover{background:var(--tint)}

/* ── sections; the faded hex field is the deck's ::after, kept behind content ─────────────────── */
section{padding:64px 0;border-bottom:1px solid var(--rule);position:relative;isolation:isolate}
section.hero{padding:84px 0 72px;overflow:hidden}
section.hero::after{content:"";position:absolute;top:0;right:0;width:52%;height:100%;background:var(--hex-red);opacity:.2;z-index:-1;pointer-events:none;
  -webkit-mask-image:linear-gradient(225deg,#000 0%,transparent 68%);mask-image:linear-gradient(225deg,#000 0%,transparent 68%)}
.eb{color:var(--red);font-weight:700;font-size:12px;letter-spacing:.2em;text-transform:uppercase;margin-bottom:14px}
h1{font-size:clamp(34px,4.7vw,58px);line-height:1.04;font-weight:900;letter-spacing:-.025em;margin-bottom:20px;max-width:26ch}
h1 em{font-style:normal;color:var(--red)}
h2{font-size:clamp(24px,2.6vw,32px);line-height:1.12;font-weight:800;letter-spacing:-.01em;margin-bottom:16px}
h3{font-size:18px;font-weight:700;margin-bottom:6px}
.lede{font-size:20px;line-height:1.45;color:var(--ink2);max-width:80ch;margin-bottom:24px}
p{color:var(--ink2);max-width:80ch;font-size:16.5px}
p+p{margin-top:12px}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}

/* ── the deck's bullets, cards, stats, tables, notes ──────────────────────────────────────────── */
ul.p{list-style:none}
ul.p li{font-size:16.5px;line-height:1.45;color:var(--ink);padding:10px 0 10px 22px;position:relative;border-bottom:1px solid var(--rule)}
ul.p li::before{content:"";position:absolute;left:0;top:16px;width:9px;height:10px;background:var(--red);clip-path:var(--hexclip)}
ul.p li b{color:var(--ink)}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.g2>*,.g3>*,.g4>*,.cols>*{min-width:0}
.c{border:1px solid var(--rule);border-top:3px solid var(--red);padding:18px 20px;background:#fff}
.c p{font-size:15px;line-height:1.45}
.st{border-left:3px solid var(--red);padding-left:16px}
.st .n{font-size:40px;font-weight:900;letter-spacing:-.02em;line-height:1}
.st .l{font-size:12px;color:var(--mute);text-transform:uppercase;letter-spacing:.12em;margin-top:6px}
.tablewrap{overflow-x:auto;max-width:100%}
table{width:100%;border-collapse:collapse;font-size:15px}
th{text-align:left;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);padding:10px 12px;border-bottom:2px solid var(--ink);white-space:nowrap}
td{padding:11px 12px;border-bottom:1px solid var(--rule);color:var(--ink2)}
td b{color:var(--ink)}
td.r,th.r{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.note{font-size:13px;color:var(--mute);line-height:1.4;margin-top:14px;max-width:80ch}
.bx{border:1px dashed #c9c9cf;padding:16px 18px;font-size:15px;color:var(--ink2);line-height:1.45}
.bx b{color:var(--ink)}
.tag{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.14em;padding:3px 8px;margin-right:8px;vertical-align:middle;text-transform:uppercase}
.tag.built{background:var(--ink);color:#fff}
.tag.next{background:var(--red);color:#fff}
pre{background:var(--ink);color:#fff;padding:16px 18px;overflow-x:auto;max-width:100%;font-size:14px;line-height:1.55;font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace}
pre b{color:#ff9d93;font-weight:600}
code{font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;font-size:.94em}

/* ── figures: inline SVG in brand colours, never a raster ─────────────────────────────────────── */
.fig{margin:0}
.fig svg{display:block;width:100%;height:auto}
.fig svg text{font-family:var(--sans)}
.fig figcaption{font-size:13px;color:var(--mute);margin-top:8px}

/* ── footer ──────────────────────────────────────────────────────────────────────────────────── */
.mt{margin-top:22px}
.mt2{margin-top:26px}
footer{padding:32px 0 48px}
footer .cols{display:flex;gap:32px;flex-wrap:wrap;justify-content:space-between}
footer a{color:var(--ink2);text-decoration:none;font-size:14px;display:block;padding:3px 0}
footer a:hover{color:var(--red)}
footer .fb{font-weight:900;letter-spacing:.28em;font-size:13px}
footer .lic{font-size:13px;color:var(--mute);margin-top:18px}

/* ── phone: one column, no sideways scroll ───────────────────────────────────────────────────── */
@media (max-width:760px){
  h1{font-size:32px;max-width:none}
  h2{font-size:23px}
  .lede{font-size:17px}
  section{padding:40px 0}
  section.hero{padding:44px 0 40px}
  section.hero::after{width:70%;opacity:.12}
  .g2,.g3,.g4{grid-template-columns:1fr}
  .nav{gap:14px}
  .nav .sp{margin-left:0;width:100%;height:0}
}

/* ── the contact form ─────────────────────────────────────────────────────────────────────────── */
.c-form label{display:block;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--mute);margin:16px 0 6px}
.c-form label .opt{font-weight:500;text-transform:none;letter-spacing:0}
.c-form input,.c-form textarea{width:100%;font-family:var(--sans);font-size:16px;color:var(--ink);background:#fff;border:1px solid var(--rule);border-radius:0;padding:11px 12px}
.c-form input:focus,.c-form textarea:focus{outline:none;border-color:var(--red);box-shadow:inset 0 -2px 0 var(--red)}
.c-form textarea{resize:vertical;line-height:1.45}
/* the honeypot: off-screen rather than display:none, which some bots detect */
.c-form .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.note.bad{color:var(--red)}
.sent{padding:24px 0}
.sent h3{font-size:22px;margin-bottom:10px}
.sent p{font-size:16px;line-height:1.5}
a{color:var(--red)}
a:hover{color:var(--red-dk)}
/* legal links: footer only, never the nav (Manager ruling 2026-09-18) */
footer .lic a.leg{display:inline-block;margin-right:14px;margin-top:8px;color:var(--mute);font-size:13px}
footer .lic a.leg:hover{color:var(--red)}
/* the hero is two columns on desktop: the claim, then the hex cluster the deck's cover uses */
section.hero.split .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}
section.hero.split .herotext{min-width:0}
.herofig{max-width:560px;margin:0 auto}
@media (max-width:900px){
  section.hero.split .wrap{grid-template-columns:1fr;gap:24px}
  .herofig{max-width:420px}
}
/* A WIDE DIAGRAM SCROLLS RATHER THAN SHRINKS. Squeezing a 1000-unit drawing into a 358px column makes its
   labels unreadable, which is worse than a swipe: the reader cannot tell what it says at all. */
.fig.wide{overflow-x:auto}
@media (max-width:760px){
  .fig.wide svg{width:860px;max-width:none}
  .fig.wide{padding-bottom:6px}
}

/* THE DECK PUTS THE FADED HEX FIELD ON EVERY SLIDE, top-right, not only the cover (ic.css `.s::after`).
   The site had it on the hero alone, which is why the pages read as a strip of brand over plain documents.
   Behind content (z-index:-1 under `isolation:isolate`), so nothing over it changes. */
section:not(.hero)::after{content:"";position:absolute;top:0;right:0;width:34%;height:62%;background:var(--hex-red);opacity:.09;z-index:-1;pointer-events:none;
  -webkit-mask-image:linear-gradient(225deg,#000 0%,transparent 70%);mask-image:linear-gradient(225deg,#000 0%,transparent 70%)}
figure.fig{margin-top:6px}
@media (max-width:760px){
  section:not(.hero)::after{width:58%;height:38%;opacity:.07}
  h1{letter-spacing:-.02em}
  .lede{font-size:18px}
  p{font-size:16px}
}

/* THE CURRENT-PAGE RULE MUST NOT REACH THE BUTTONS. `.nav a[aria-current]{color:red}` turned the Install
   button's label red ON red, so /install shipped a blank red rectangle where its own nav button should be.
   Scoped here rather than by removing the attribute: the attribute is correct, the colour rule was too broad. */
.nav a.btn.primary,.nav a.btn.primary[aria-current="page"]{color:#fff}
.nav a.btn.ghost[aria-current="page"]{color:var(--red)}
/* Commands WRAP rather than scroll out of sight: a reader in the narrower column was shown
   `...semurg-r11-installer.tar` with no sign the line continued. Newlines are still preserved. */
pre{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}
