/* WMS Bee, shared stylesheet for /sr/ and /en/ pages.
   Layout: the warehouse floor plan is the identity. Blueprint bands (hero, page heads, closing)
   carry a top-down plan with racks A–E; a picker keeps receiving new orders and walks a new
   route each time. White pages below read like technical documentation: schedules, spec
   sheets, dashed dimension lines. Each page and language is its own static HTML file. */
:root {
  --bg: #ffffff;
  --soft: #f3f5f9;
  --ink: #0f1b33;
  --muted: #5a6680;
  --line: #dde3ee;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --accent-soft: #e9f0fe;
  --ok: #1f8a4c;
  --ok-soft: #e3f3e9;
  --warn: #9a6200;
  --warn-soft: #fbefd6;
  --bp: #0f2350;
  --bp-2: #13295c;
  --bp-3: #0b1b40;
  --bp-grid: rgba(150,185,255,.10);
  --bp-line: #8fb2f6;
  --bp-text: #eef3ff;
  --bp-muted: #9fb3d9;
  --bp-edge: rgba(143,178,246,.3);
  --pin: #ffd166;
  --done: #6fdc9a;
  --sans: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Archivo", "Barlow", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1020; --soft: #0f1729; --ink: #e8eefb; --muted: #97a5c2; --line: #1f2a42;
    --accent: #5b8def; --accent-ink: #93b4f6; --accent-soft: rgba(91,141,239,.14);
    --ok: #6fdc9a; --ok-soft: rgba(111,220,154,.12); --warn: #f0c060; --warn-soft: rgba(240,192,96,.12);
    --bp: #0b1a3d; --bp-2: #0f2149; --bp-3: #08132e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1020; --soft: #0f1729; --ink: #e8eefb; --muted: #97a5c2; --line: #1f2a42;
  --accent: #5b8def; --accent-ink: #93b4f6; --accent-soft: rgba(91,141,239,.14);
  --ok: #6fdc9a; --ok-soft: rgba(111,220,154,.12); --warn: #f0c060; --warn-soft: rgba(240,192,96,.12);
  --bp: #0b1a3d; --bp-2: #0f2149; --bp-3: #08132e; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bp); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-stretch: 112%; line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pin); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.tag { font: 500 .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.bp .tag { color: var(--pin); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 3px; font: 600 1rem var(--sans); text-decoration: none; border: 1px solid transparent; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-pin { background: var(--pin); color: #0f1b33; }
.btn-pin:hover { background: #ffc23d; }
.btn-ghost-bp { color: var(--bp-text); border-color: rgba(159,179,217,.45); background: transparent; }
.btn-ghost-bp:hover { border-color: var(--bp-text); }
.btn-ink { background: var(--accent); color: #fff; }
.btn-ink:hover { background: var(--accent-ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--soft); }
.arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Blueprint bands */
.bp { background-color: var(--bp); color: var(--bp-text); background-image: linear-gradient(var(--bp-grid) 1px, transparent 1px), linear-gradient(90deg, var(--bp-grid) 1px, transparent 1px); background-size: 24px 24px; }
header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bp); border-bottom: 1px solid rgba(159,179,217,.2); color: var(--bp-text); }
.nav .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.logo small { font: 500 .72rem var(--mono); color: var(--bp-muted); margin-left: 4px; }
.logo .lk { display: grid; line-height: 1.1; }
.logo .lk b { font: 700 1.12rem var(--display); font-stretch: 112%; letter-spacing: -0.01em; }
.logo .lk small { margin: 2px 0 0; font-size: .68rem; letter-spacing: .02em; display: block !important; }
.nav nav { display: flex; gap: 26px; font-size: .95rem; color: var(--bp-muted); }
.nav nav a { text-decoration: none; padding-block: 6px; }
.nav nav a:hover { color: var(--bp-text); }
.nav nav a.active { color: var(--bp-text); box-shadow: inset 0 -2px 0 var(--pin); }
.nav .right { display: flex; align-items: center; gap: 10px; }
.nav .btn { padding: 10px 16px; font-size: .92rem; }
.burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; color: var(--bp-text); border: 1px solid rgba(159,179,217,.45); border-radius: 3px; cursor: pointer; }
@media (max-width: 960px) {
  .nav nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bp); border-bottom: 1px solid rgba(159,179,217,.2); padding: 6px max(20px, env(safe-area-inset-right, 0px)) 14px max(20px, env(safe-area-inset-left, 0px)); }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 0; border-bottom: 1px solid rgba(159,179,217,.15); color: var(--bp-text); }
  .nav nav a.active { box-shadow: none; color: var(--pin); }
  .burger { display: inline-flex; }
}
@media (max-width: 520px) { .nav .right .btn { display: none; } .logo small { display: none; } }

/* Hero */
.hero { padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 60px; align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-top: 16px; letter-spacing: -0.04em; }
.hero .lead { color: var(--bp-muted); font-size: 1.12rem; max-width: 50ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.assure { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .88rem; color: var(--bp-muted); }
.assure li::before { content: "✓ "; color: var(--done); }
@media (max-width: 880px) { .hero-top { grid-template-columns: minmax(0, 1fr); } }

/* Live plan */
.plan-frame { margin-top: clamp(36px, 5vw, 56px); border: 1px solid var(--bp-edge); background: rgba(10,25,60,.45); }
.plan-frame .title { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-bottom: 1px solid var(--bp-edge); font: 500 .74rem var(--mono); color: var(--bp-muted); letter-spacing: .05em; text-transform: uppercase; }
.plan-frame .title .live { color: var(--done); display: inline-flex; gap: 8px; align-items: center; }
.plan-frame .title .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--done); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.plan-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
.plan-scroll { overflow-x: auto; min-width: 0; }
.plan { display: block; width: 100%; min-width: 620px; height: auto; }
.plan text { font-family: var(--mono); }
.order { border-left: 1px solid var(--bp-edge); padding: 18px; display: grid; gap: 14px; align-content: start; background: rgba(8,19,46,.45); }
.order .oh { display: grid; gap: 2px; }
.order .oh small { font: 500 .7rem var(--mono); color: var(--bp-muted); letter-spacing: .06em; text-transform: uppercase; }
.order .oh b { font: 600 1.3rem var(--mono); letter-spacing: -0.02em; }
.order .oh span { font-size: .85rem; color: var(--bp-muted); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lines li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 8px 10px; border: 1px solid var(--bp-edge); font-size: .86rem; transition: background .25s, border-color .25s; }
.lines li code { font: 600 .78rem var(--mono); color: var(--pin); }
.lines li em { font-style: normal; font: 500 .74rem var(--mono); color: var(--bp-muted); }
.lines li.now { border-color: var(--pin); background: rgba(255,209,102,.08); }
.lines li.done { opacity: .62; }
.lines li.done code { color: var(--done); }
.lines li.done em::after { content: " ✓"; color: var(--done); }
.order .status { font: 500 .76rem var(--mono); color: var(--bp-muted); border-top: 1px dashed var(--bp-edge); padding-top: 12px; min-height: 2.6em; }
.order .status b { color: var(--bp-text); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 12px 16px; border-top: 1px solid var(--bp-edge); font: 500 .76rem var(--mono); color: var(--bp-muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 18px; height: 3px; background: var(--pin); display: inline-block; }
.legend i.rack { background: transparent; border: 1px solid var(--bp-line); height: 10px; width: 16px; }
.legend i.dot { width: 10px; height: 10px; border-radius: 50%; }
@media (max-width: 700px) { .plan { min-width: 0; } }
@media (max-width: 980px) { .plan-body { grid-template-columns: minmax(0, 1fr); } .order { border-left: 0; border-top: 1px solid var(--bp-edge); } }

/* Generic sections */
section { padding-block: clamp(72px, 9vw, 120px); }
.sh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; margin-bottom: 44px; }
.sh h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: 12px; }
.sh p { color: var(--muted); max-width: 52ch; }
@media (max-width: 820px) { .sh { grid-template-columns: minmax(0, 1fr); } }

/* Page head for sub pages */
.phead { padding-block: clamp(48px, 6vw, 80px); }
.phead .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; }
.phead h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.04em; margin-top: 14px; }
.phead p.lead { color: var(--bp-muted); font-size: 1.08rem; max-width: 52ch; }
.crumbs { display: flex; gap: 10px; }
.crumbs a { text-decoration: none; color: var(--bp-muted); }
.crumbs a:hover { color: var(--bp-text); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.subnav a { font: 500 .78rem var(--mono); text-decoration: none; padding: 7px 12px; border: 1px dashed rgba(159,179,217,.5); color: var(--bp-text); }
.subnav a:hover { border-style: solid; }
@media (max-width: 820px) { .phead .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Statement */
.statement { background: var(--soft); border-block: 1px solid var(--line); }
.statement .big { font-size: clamp(2.4rem, 7vw, 6rem); font-weight: 800; letter-spacing: -0.05em; line-height: .98; }
.statement .big span { display: block; }
.statement .big .b { color: var(--accent); }
.statement .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 60px; margin-top: 48px; max-width: 980px; }
.statement .cols div { border-top: 1px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.statement .cols p { color: var(--muted); }
.names { font: 500 .85rem var(--mono); color: var(--muted); margin-top: 6px; }
@media (max-width: 720px) { .statement .cols { grid-template-columns: minmax(0, 1fr); } }

/* Teasers to sub pages */
.teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.teaser { border: 1px solid var(--ink); text-decoration: none; display: grid; grid-template-rows: auto 1fr; transition: box-shadow .15s, transform .15s; }
.teaser:hover { box-shadow: 6px 6px 0 var(--accent-soft); transform: translate(-2px, -2px); }
.teaser .hd { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--ink); font: 500 .76rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.teaser .bd { padding: 24px 18px; display: grid; gap: 14px; align-content: start; }
.teaser h3 { font-size: 1.8rem; }
.teaser p { color: var(--muted); }
.teaser ul { list-style: none; margin: 0; padding: 0; }
.teaser li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: .96rem; }
.teaser li span { font: 500 .76rem var(--mono); color: var(--muted); }
.teaser .go { font-weight: 600; color: var(--accent-ink); display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 820px) { .teasers { grid-template-columns: minmax(0, 1fr); } }

/* Zone schedule */
.sched { border-top: 2px solid var(--ink); }
.zr { display: grid; grid-template-columns: 210px minmax(0, 230px) minmax(0, 1fr) 140px; gap: 10px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.zr .mini { width: 100%; max-width: 200px; height: auto; display: block; background: var(--bp); }
.zr .code { font: 600 .82rem var(--mono); color: var(--accent-ink); display: block; margin-bottom: 6px; }
.zr h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.zr p { color: var(--muted); font-size: 1rem; }
.zr .act { font: 500 .78rem var(--mono); color: var(--muted); text-align: right; }
@media (max-width: 960px) { .zr { grid-template-columns: 170px minmax(0, 1fr); } .zr p, .zr .act { grid-column: 2; } .zr .act { text-align: left; } }
@media (max-width: 560px) { .zr { grid-template-columns: minmax(0, 1fr); gap: 10px; } .zr p, .zr .act { grid-column: auto; } .zr .mini { max-width: 260px; } }
.extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 60px; margin-top: 40px; }
.extra div { border-top: 1px dashed var(--muted); padding-top: 16px; display: grid; gap: 8px; }
.extra p { color: var(--muted); }
@media (max-width: 720px) { .extra { grid-template-columns: minmax(0, 1fr); } }

/* Onboarding timeline */
.tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; list-style: none; margin: 0; padding: 0; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; border-top: 2px dashed var(--line); }
.tl li { position: relative; display: grid; gap: 8px; padding-top: 34px; align-content: start; }
.tl li::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl li:first-child::before { background: var(--accent); }
.tl .n { font: 500 .78rem var(--mono); color: var(--muted); }
.tl h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.tl p { color: var(--muted); font-size: .98rem; }
@media (max-width: 820px) { .tl { grid-template-columns: minmax(0, 1fr); gap: 28px; } .tl::before { left: 9px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--line); } .tl li { padding: 0 0 0 40px; } }

/* Floor and office views */
.views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.view { border: 1px solid var(--ink); display: grid; grid-template-rows: auto auto 1fr; }
.view .hd { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--ink); font: 500 .76rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.view .vis { background: var(--bp); padding: 22px; display: grid; place-items: center; border-bottom: 1px solid var(--ink); min-width: 0; }
.view .bd { padding: 22px 18px; display: grid; gap: 12px; align-content: start; }
.view h3 { font-size: 1.6rem; }
.view p { color: var(--muted); }
.view ul { list-style: none; margin: 4px 0 0; padding: 0; }
.view li { padding: 10px 0; border-top: 1px dashed var(--line); font-size: .97rem; color: var(--muted); }
.view li b { color: var(--ink); font-weight: 600; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 420px; }
.three div { border: 1px solid var(--bp-edge); padding: 12px; display: grid; gap: 2px; color: var(--bp-text); background: var(--bp-3); }
.three small { font: 500 .66rem var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--bp-muted); }
.three b { font: 600 1.25rem var(--mono); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.three div:nth-child(2) b { color: var(--pin); }
.three span { font-size: .78rem; color: var(--bp-muted); }
.audit { width: 100%; overflow-x: auto; border: 1px solid var(--bp-edge); background: var(--bp-3); color: var(--bp-text); }
.audit table { width: 100%; border-collapse: collapse; font-size: .8rem; font-variant-numeric: tabular-nums; }
.audit th { text-align: left; font: 500 .64rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--bp-muted); padding: 8px 10px; border-bottom: 1px solid var(--bp-edge); white-space: nowrap; }
.audit td { padding: 8px 10px; border-bottom: 1px solid rgba(143,178,246,.15); white-space: nowrap; }
.audit td.m { font-family: var(--mono); color: var(--pin); }
.audit tr.x td { color: #ff9b8a; }
@media (max-width: 860px) { .views { grid-template-columns: minmax(0, 1fr); } }

/* ERP comparison */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--ink); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px dashed var(--line); vertical-align: top; }
.cmp thead th { font: 500 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.cmp thead th.us { background: var(--accent); color: #fff; }
.cmp td.us { background: var(--accent-soft); }
.cmp td:first-child { font-weight: 500; width: 44%; }
.cmp tr:last-child td { border-bottom: 0; }
.y { color: var(--ok); font-weight: 600; }
.n { color: var(--muted); }
.cmp-note { margin-top: 16px; color: var(--muted); font-size: .95rem; }
.vs { border: 1px solid var(--ink); }
.vs-h, .vs-r { display: grid; grid-template-columns: 170px minmax(0,1fr) minmax(0,1fr); }
.vs-h span { font: 500 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 20px; border-bottom: 1px solid var(--ink); }
.vs-h span.us { background: var(--accent); color: #fff; }
.vs-r > * { padding: 18px 20px; margin: 0; border-bottom: 1px dashed var(--line); }
.vs-r:last-child > * { border-bottom: 0; }
.vs-r b { font-weight: 600; }
.vs-r p { color: var(--muted); font-size: .97rem; }
.vs-r p.us { background: var(--accent-soft); color: var(--ink); }
.vs-r code { font-family: var(--mono); font-size: .9em; }
.vendors { margin-top: 56px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 28px 60px; }
.vendors h3 { font-size: 1.5rem; margin: 10px 0 10px; }
.vendors .vh p:last-child { color: var(--muted); }
.vendors ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.vendors li { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.vendors li .code { font: 500 .8rem var(--mono); color: var(--accent-ink); padding-top: 3px; }
.vendors li p { margin: 0; color: var(--muted); }
.vendors .vf { grid-column: 1 / -1; padding: 18px 22px; border-left: 3px solid var(--pin); background: var(--soft); margin: 0; }
@media (max-width: 760px) {
  .vs-h { display: none; }
  .vs-r { grid-template-columns: minmax(0,1fr); }
  .vs-r > * { border-bottom: 0; padding: 8px 18px; }
  .vs-r b { padding-top: 18px; }
  .vs-r p:not(.us)::before { content: "Samo ERP: "; font-weight: 600; color: var(--ink); }
  .vs-r p.us { margin: 4px 0 0; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
  .vs-r p.us::before { content: "WMS Bee: "; font-weight: 600; }
  .vendors, .vendors li { grid-template-columns: minmax(0,1fr); }
  .vendors li { gap: 4px; }
}

/* Roadmap */
.road { border-top: 2px solid var(--ink); }
.rr { display: grid; grid-template-columns: 130px minmax(0, 260px) minmax(0, 1fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.rr p { color: var(--muted); font-size: .98rem; }
.st { display: inline-block; font: 500 .72rem var(--mono); padding: 3px 8px; letter-spacing: .03em; }
.st.ok { background: var(--ok-soft); color: var(--ok); }
.st.dev { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 760px) { .rr { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* Spec-sheet packages */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.spec { border: 1px solid var(--ink); display: grid; grid-template-rows: auto 1fr auto; }
.spec .hd { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--ink); font: 500 .76rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.spec .bd { padding: 26px 18px; display: grid; gap: 14px; align-content: start; }
.spec h3 { font-size: 1.9rem; }
.spec .for { color: var(--muted); }
.spec table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.spec td { padding: 10px 0; border-top: 1px dashed var(--line); vertical-align: top; }
.spec td:first-child { font: 500 .76rem var(--mono); color: var(--muted); width: 110px; padding-top: 13px; text-transform: uppercase; letter-spacing: .04em; }
.spec .ft { padding: 16px 18px; border-top: 1px solid var(--ink); }
.spec.main { border-color: var(--accent); box-shadow: 6px 6px 0 var(--accent-soft); }
.spec.main .hd, .spec.main .ft { border-color: var(--accent); }
.spec.main .hd { background: var(--accent); color: #fff; }
.pnote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; margin-top: 24px; color: var(--muted); font-size: .95rem; }
.pnote b { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .specs, .pnote { grid-template-columns: minmax(0, 1fr); } }

/* About */
.about { border-top: 1px solid var(--line); }
.about .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px 72px; }
.about h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 12px; }
.about .txt > p { color: var(--muted); margin-top: 16px; }
.about dl { margin: 24px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); border-top: 1px solid var(--line); }
.about dt, .about dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.about dt { font-weight: 600; padding-right: 28px; }
.about dd { color: var(--muted); font-size: .96rem; }
.rules { border: 1px dashed var(--muted); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.rules h3 { font-size: 1.5rem; }
.rules div { border-top: 1px dashed var(--line); padding-top: 12px; }
.rules div p { color: var(--muted); margin-top: 4px; font-size: .97rem; }
@media (max-width: 860px) { .about .grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .about dl { grid-template-columns: minmax(0, 1fr); } .about dt { border-bottom: 0; padding-bottom: 0; } }

/* FAQ */
.faq { border-top: 2px solid var(--ink); max-width: 900px; }
.faq details { border-bottom: 1px dashed var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.3rem var(--mono); color: var(--accent-ink); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 68ch; }

/* Contact */
.contact .grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 72px; }
.contact .intro { display: grid; gap: 16px; align-content: start; }
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); }
.contact .intro > p { color: var(--muted); }
.cinfo { border-top: 1px solid var(--ink); margin-top: 8px; }
.cinfo div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cinfo span { font: 500 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.cinfo b { font-weight: 500; user-select: all; overflow-wrap: anywhere; }
.cinfo a { color: var(--accent-ink); text-decoration: none; }
.cinfo a:hover { text-decoration: underline; }
.contact .reach { display: grid; gap: 24px; align-content: start; justify-items: start; }
.contact .reach .cinfo { justify-self: stretch; margin-top: 0; }
@media (max-width: 900px) { .contact .grid { grid-template-columns: minmax(0, 1fr); } }

/* Closing + footer */
.cta { padding-block: clamp(56px, 7vw, 96px); }
.cta-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; background: #e6efff; color: #0f1b33; padding: clamp(28px, 5vw, 60px); border: 1px solid #8fb2f6; box-shadow: 14px 14px 0 rgba(4,10,30,.45); }
.cta-card h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-top: 12px; }
.cta-card p { color: #42506b; margin-top: 14px; max-width: 46ch; }
.cta-card .tag { color: #1d4ed8; }
.cta-card .ctas { margin-top: 0; }
.btn-solid { background: #2563eb; color: #fff; }
.btn-solid:hover { background: #1d4ed8; }
.btn-line { border-color: #0f1b33; color: #0f1b33; background: transparent; }
.btn-line:hover { background: rgba(15,27,51,.06); }
@media (max-width: 820px) { .cta-card { grid-template-columns: minmax(0, 1fr); box-shadow: 8px 8px 0 rgba(4,10,30,.45); } }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: minmax(0, 1fr); } }
footer { background: var(--bp-3); color: var(--bp-muted); padding-block: 44px 28px; font-size: .92rem; }
footer .cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
footer h4 { font: 500 .72rem var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--bp-text); margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--bp-text); }
footer .logo { color: var(--bp-text); }
footer .legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(159,179,217,.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font: 400 .78rem var(--mono); }
@media (max-width: 820px) { footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer .cols > div:first-child { grid-column: 1 / -1; } }

/* Problems log */
.issues { border-top: 2px solid var(--ink); }
.ih, .is { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px minmax(0, 1.15fr); gap: 8px 24px; align-items: start; }
.ih { padding: 12px 0; border-bottom: 1px solid var(--ink); font: 500 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ih span:last-child { color: var(--accent-ink); }
.is { padding: 22px 0; border-bottom: 1px dashed var(--line); }
.is .c { font: 600 .8rem var(--mono); color: var(--muted); padding-top: 4px; }
.is h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; }
.is .pr p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.is .ar { color: var(--accent); padding-top: 2px; }
.is .so b { display: block; font-weight: 600; font-size: 1.05rem; }
.is .so p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.is .so code { font: 500 .82rem var(--mono); color: var(--accent-ink); background: var(--accent-soft); padding: 1px 6px; }
@media (max-width: 860px) {
  .ih { display: none; }
  .is { grid-template-columns: 48px minmax(0, 1fr); }
  .is .ar { display: none; }
  .is .so { grid-column: 2; border-left: 2px solid var(--accent); padding-left: 14px; margin-top: 8px; }
}

/* Language switch */
.lang { display: inline-flex; border: 1px solid rgba(159,179,217,.45); border-radius: 3px; overflow: hidden; }
.lang a { display: inline-flex; align-items: center; color: var(--bp-muted); font: 600 .74rem var(--mono); letter-spacing: .06em; padding: 0 10px; height: 40px; text-decoration: none; }
.lang a + a { border-left: 1px solid rgba(159,179,217,.45); }
.lang a:hover { color: var(--bp-text); }
.lang a[aria-current="true"] { background: var(--pin); color: #0f1b33; }
@media (max-width: 760px) { html[lang="en"] .vs-r p:not(.us)::before { content: "ERP only: "; } }
