/* Symbioza site — the engraved plate. Tokens first; classes extracted from the generator's helpers; breakpoints at the end. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/IBMPlexSans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/IBMPlexSans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/IBMPlexSans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/IBMPlexSans-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/IBMPlexMono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/IBMPlexMono-500.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #070b09; --well: #0b110e; --panel: #0e1512; --panel-2: #121a16; --deep: #040705;
  --line: #1b2620; --line-2: #243029;
  --ink: #e3eae5; --ink-2: #93a69b; --ink-3: #75877d; --body: #b3bfb7; --dot: #5f7068;
  --accent: #40a56f; --accent-hi: #4db87d; --accent-dim: #2d8557; --signal: #d4a34a; --bad: #e5635a;
  --lockup-bowl: var(--accent);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 96px; --pad: 48px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15.5px; line-height: 1.65; overflow-x: hidden; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
a:hover { color: var(--accent-hi); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
code, .code { font-family: var(--mono); font-size: 0.92em; color: var(--ink); }
pre, .pre { margin: 0; padding: 20px 22px; background: var(--well); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; line-height: 1.75; color: var(--ink); overflow-x: auto; width: 100%; tab-size: 2; }
[dir="rtl"] { unicode-bidi: isolate; }
.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; }

/* ---- type ---- */
.h1 { font-size: 66px; line-height: 1.04; letter-spacing: -0.024em; max-width: 640px; }
.h2 { font-size: 30px; line-height: 1.15; letter-spacing: -0.012em; max-width: 760px; }
.h3 { font-size: 17px; line-height: 1.3; }
.lede { font-size: 19px; line-height: 1.55; letter-spacing: 0.004em; color: var(--ink-2); max-width: 60ch; }
.body { font-size: 15.5px; line-height: 1.65; color: var(--body); }
.body--15 { font-size: 15px; }
.body--muted { color: var(--ink-2); }
.small { font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.small--11 { font-size: 11.5px; }
.label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.label--accent { color: var(--accent); }
.label--signal { color: var(--signal); }
.label--ink { color: var(--ink-2); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ink { color: var(--ink); }
.ital { font-style: italic; color: var(--ink-3); font-size: 14px; line-height: 1.6; }

/* ---- layout ---- */
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--deep { background: var(--deep); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack--tight { gap: 12px; }
.stack--loose { gap: 36px; }
.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)); }
.grid--pair { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.col .h3 { font-weight: 600; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 6px; background: var(--accent); color: var(--bg); font-family: var(--sans); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--accent-hi); color: var(--bg); }
.btn--ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink); font-weight: 500; }
.btn--ghost:hover { background: var(--panel); color: var(--ink); border-color: var(--ink-3); }
.btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- nav ---- */
.nav { border-bottom: 1px solid var(--line); }
.nav__row { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand__tile { width: 30px; height: 30px; border-radius: 6px; background: var(--well); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.brand__tile img { height: 22px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); text-decoration: none; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--ink); }
.nav__links a.btn { color: var(--bg); font-family: var(--sans); font-size: 13px; }
.nav__menu { display: none; }
.nav__menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; color: var(--ink-2); }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu[open] .nav__sheet { display: flex; }
.nav__sheet { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; z-index: 5; }
.nav__sheet a { font-family: var(--mono); font-size: 14px; color: var(--ink); text-decoration: none; padding: 12px 0; border-top: 1px solid var(--line); }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 72px; align-items: start; padding-top: 72px; padding-bottom: 88px; }
.hero__left { display: flex; flex-direction: column; gap: 26px; }
.hero__right { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding-top: 24px; align-self: stretch; }
.hero__lockup { width: 560px; max-width: 100%; margin: 10px 0 0 -12px; }
.hero__lockup svg { width: 100%; height: auto; display: block; -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%); mask-image: linear-gradient(to bottom, #000 74%, transparent 100%); }
.plate { position: absolute; width: 560px; height: 560px; left: 20px; top: 20px; border-radius: 50%; overflow: hidden; pointer-events: none; -webkit-mask-image: radial-gradient(circle closest-side, #000 96%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 96%, transparent 100%); }
.plate svg { display: block; width: 100%; height: 100%; opacity: 0.9; }
.plate::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }

/* ---- ledger ---- */
.ledger { background: var(--well); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ledger__head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.ledger__grid { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 4px; font-family: var(--mono); font-size: 12.5px; line-height: 1.85; padding: 12px 0 14px; }
.ledger__n { text-align: right; padding-right: 10px; color: var(--ink-3); font-size: 11px; line-height: 2.1; }
.ledger__l { padding: 0 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ledger__l--you { color: var(--ink); } .ledger__l--call { color: var(--accent); } .ledger__l--out { color: var(--ink-2); }
.ledger__l--rule, .ledger__l--dim { color: var(--ink-3); } .ledger__l--dim { font-style: italic; }
.ledger__n--rule, .ledger__l--rule { padding-top: 22px; padding-bottom: 22px; }
.ledger__l--break, .ledger__n--break { color: var(--signal); background: var(--bg); border-top: 1px dotted var(--dot); border-bottom: 1px dotted var(--dot); margin: 4px 0; }
.ledger__n--break { color: var(--ink-3); }
.ledger__l--pass { color: var(--accent-hi); }
.ledger__rail { grid-column: 3; grid-row: 1 / span var(--rows, 12); position: relative; background: linear-gradient(to top, var(--accent-dim) 0 var(--fill, 53%), var(--line) var(--fill, 53%)); }
.ledger__rail::before { content: ""; position: absolute; left: -2px; right: -2px; top: 0; height: 2px; background: var(--signal); }
.ledger__receipt { border-top: 1px solid var(--line); padding: 12px 18px 14px; display: flex; flex-direction: column; gap: 2px; }
.ledger__receipt .label { margin-bottom: 8px; }
.you { color: var(--accent); }

/* ---- leaders ---- */
.leader { display: flex; align-items: baseline; gap: 10px; font-size: 13px; line-height: 1.75; }
.leader__k { white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.leader__k--mono { font-family: var(--mono); }
.leader__k--ink { color: var(--ink); }
.leader__k--wrap { white-space: normal; }
.leader__dots { flex: 1; min-width: 24px; height: 1em; background-image: radial-gradient(var(--dot) 0.9px, transparent 1px); background-size: 5px 100%; background-position: 0 60%; background-repeat: repeat-x; }
.leader__dots--accent { background-image: radial-gradient(var(--accent) 0.9px, transparent 1px); }
.leader__v { color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.leader__v--ink { color: var(--ink); }
.leader--14 { font-size: 14px; } .leader--12 { font-size: 12px; }

/* ---- fact strip ---- */
.strip { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 36px; row-gap: 32px; }
.strip__item { display: flex; flex-direction: column; gap: 12px; }
.strip__stub { display: block; }
.ico { display: flex; }

/* ---- figures ---- */
.fig { position: relative; padding-top: 64px; display: grid; grid-template-columns: var(--gutter) minmax(0, 1fr); column-gap: 24px; row-gap: 24px; border-top: 1px solid var(--line); }
.fig::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.fig--norule::before { display: none; }
.fig__num { padding-top: 6px; position: relative; }
.fig__num .label { display: inline-block; background: var(--bg); padding: 4px 8px 4px 0; margin-left: -1px; }
.band--deep .fig__num .label { background: var(--deep); }
.fig__head { display: flex; flex-direction: column; gap: 14px; }
.fig__body { grid-column: 2; }
.fig--last { padding-bottom: 72px; }

/* ---- steps / records / own / tools ---- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.record { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.record__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.own { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); }
.own__rule { background: var(--line); }
.own__col { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.own__col--l { padding-right: 28px; } .own__col--r { padding-left: 28px; }
.own__col--r .label, .own__col--r .ital { text-align: right; }
.own__col--r .own__head { justify-content: flex-end; }
.own__head { display: flex; }
.own__list { display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.own__row { display: flex; align-items: baseline; gap: 12px; }
.own__row--r { text-align: right; }
.tools { display: flex; flex-direction: column; }
.tool { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.tool:last-child { border-bottom: 1px solid var(--line); }
.tool__tag { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; }
.tag--free { color: var(--accent); } .tag--spends { color: var(--signal); } .tag--stops { color: var(--ink-2); }
.bul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--body); }
.bul__row { display: flex; gap: 12px; align-items: baseline; }
.bul__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dot); flex: none; position: relative; top: -3px; }
.bul__dot--accent { background: var(--accent); }

/* ---- figures: filament, dividers ---- */
.filament { display: block; width: 100%; height: auto; }
.filament--v { display: none; }
.filament-wrap { margin-left: calc(-1 * (var(--gutter) + 24px)); }
.divider { border-top: 1px solid var(--line); padding-top: 0; margin-top: 72px; }
.divider svg { display: block; width: 100%; height: auto; }

/* ---- CTA + footer ---- */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--deep); margin-top: 72px; }
.cta__inner { position: relative; padding-top: 96px; padding-bottom: 104px; }
.cta__roots { position: absolute; inset: 0; background: url("brand/symbioza-mark-340.webp") right 120px top -1560px / 1500px auto no-repeat; opacity: 0.16; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent 38%, #000 60%); mask-image: linear-gradient(to right, transparent 38%, #000 60%); }
.cta__copy { position: relative; max-width: 640px; display: flex; flex-direction: column; gap: 18px; margin-left: 120px; }
.cta__title { font-size: 40px; letter-spacing: -0.018em; line-height: 1.1; }
.footer { border-top: 1px solid var(--line); }
.footer__grid { padding-top: 26px; padding-bottom: 30px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.footer__brand img { height: 16px; width: auto; }
.footer__links { display: flex; flex-direction: column; }

/* ---- guide ---- */
.guide { display: grid; grid-template-columns: var(--gutter) minmax(0, 880px); column-gap: 24px; padding-top: 64px; padding-bottom: 88px; }
.guide__col { display: flex; flex-direction: column; gap: 56px; }
.guide__title { position: relative; display: flex; flex-direction: column; gap: 18px; }
.guide__title .h1 { font-size: 46px; max-width: 720px; }
.gstep { display: flex; flex-direction: column; gap: 22px; border-top: 1px solid var(--line); padding-top: 48px; }
.gstep .h2 { font-size: 28px; }
.gblock { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 40px; }
.gdiag-wrap { overflow-x: auto; }
.gdiag { display: block; width: 100%; min-width: 560px; height: auto; }
.errs { display: flex; flex-direction: column; }
.err { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.err:last-child { border-bottom: 1px solid var(--line); }
.err__k { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.err__k--signal { color: var(--signal); }
.err__v { font-size: 14px; line-height: 1.55; color: var(--body); }
.wf { display: flex; flex-direction: column; padding: 4px 0 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wf__row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 4px 0; }
.wf__n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.wf .leader__v { white-space: normal; }
.closing { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--deep); padding: 36px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.closing__roots { position: absolute; inset: 0; background: url("brand/symbioza-mark-340.webp") right 40px top -1150px / 1100px auto no-repeat; opacity: 0.14; pointer-events: none; }
.closing__copy { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 560px; }

/* ---- breakpoints ---- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .hero__right { padding-top: 0; }
  .h1 { font-size: 52px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plate { left: -60px; top: 0; width: 520px; height: 520px; }
  .cta__copy { margin-left: 0; }
}
@media (max-width: 900px) {
  :root { --gutter: 0px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .fig::before { display: none; }
  .fig__num .label { margin-left: 0; padding-left: 0; }
  .fig__body { grid-column: 1; }
  .filament-wrap { margin-left: 0; }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .guide__num { display: none; }
  .grid--pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  :root { --pad: 24px; }
  .grid--3, .grid--2, .records { grid-template-columns: minmax(0, 1fr); }
  .own { grid-template-columns: minmax(0, 1fr); }
  .own__rule { display: none; }
  .own__col--l, .own__col--r { padding: 14px 0 0; }
  .own__col--r .label, .own__col--r .ital { text-align: left; }
  .own__col--r .own__head { justify-content: flex-start; }
  .own__row--r { flex-direction: row-reverse; text-align: left; }
  .tool { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .nav__links { display: none; }
  .nav__menu { display: block; position: static; }
  .nav { position: relative; }
  .h1 { font-size: 40px; }
  .h2 { font-size: 26px; }
  .cta__title { font-size: 28px; }
  .cta__inner { padding-top: 56px; padding-bottom: 64px; }
  .cta__roots { background-position: right -120px top -690px; background-size: 760px auto; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%); mask-image: linear-gradient(to bottom, transparent, #000 30%); }
  .err { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .closing { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .filament { display: none; }
  .filament--v { display: block; width: 100%; max-width: 360px; height: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero__lockup { width: 360px; margin-left: -8px; }
  .plate { left: -140px; top: -20px; width: 420px; height: 420px; }
  .fig { padding-top: 48px; }
}
@media (max-width: 640px) {
  .strip { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ledger__grid { grid-template-columns: minmax(0, 1fr) 4px; font-size: 11.5px; line-height: 1.6; }
  .ledger__n { display: none; }
  .ledger__l { grid-column: 1; }
  .ledger__rail { grid-column: 2; }
  .ledger__l { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; padding: 0 14px; }
  .ledger__head { flex-wrap: wrap; }
  .leader__k, .leader__v { white-space: normal; }
  .leader { flex-wrap: wrap; }
  .leader__dots { min-width: 16px; }
  pre, .pre { font-size: 11px; padding: 16px 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .h1 { font-size: 36px; }
  .lede { font-size: 16px; }
  .btns { flex-direction: column; } .btns .btn { width: 100%; }
  .hero__lockup { width: 300px; }
  .hero__grid { padding-top: 40px; padding-bottom: 44px; }
}
