/* ==========================================================
   VoltForge — electronics demo site
   Deep navy + electric cyan + lime accent, circuit-board motifs.
   ========================================================== */
:root {
  --ink-d: #0a1220;
  --ink-d2: #101c33;
  --bg: #f4f7fb;
  --card: #ffffff;
  --ink: #0e1a2e;
  --muted: #5a6b85;
  --line: #dde5f0;
  --cyan: #0bb8d9;
  --cyan-2: #3fe0ff;
  --cyan-soft: #d9f5fc;
  --lime: #b6f23a;
  --lime-2: #d4ff6b;
  --lime-soft: #eefccb;
  --amber: #f5a524;
  --danger: #e5484d;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(10, 40, 80, 0.45);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: 16px; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn--block { width: 100%; }
/* narrow phones: long button texts (French, German) wrap instead of widening the page */
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; padding-block: 8px; } .kit { min-width: 0; } }
/* narrow desktop windows: the header button would not fit next to the longer menus (the hero has the same button) */
@media (min-width: 481px) and (max-width: 1559px) { .header__actions > .btn { display: none; } }
/* kit cards may shrink at any width: their button text wraps instead of pushing the third card off the screen */
.kit { min-width: 0; }
.kit .btn { white-space: normal; text-align: center; padding-block: 8px; }
.btn--primary { background: linear-gradient(135deg, var(--lime-2), var(--lime)); color: #0a1a05; box-shadow: 0 12px 28px -12px rgba(150, 220, 20, .85); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(150, 220, 20, .95); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--light { background: var(--ink-d); color: #fff; }
.btn--light:hover { transform: translateY(-2px); background: var(--ink-d2); }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--cyan); font-weight: 700; font-size: 15px; }
.link-btn:hover { text-decoration: underline; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(10, 18, 32, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.header.is-scrolled { background: rgba(10, 18, 32, .96); border-bottom-color: rgba(255, 255, 255, .1); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--cyan-2), var(--lime)); }
.logo__mark svg { width: 26px; height: 26px; fill: none; stroke: #0a1220; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.logo__text { font-family: var(--font-display); font-weight: 700; font-size: 21px; white-space: nowrap; }
.logo__text b { color: var(--lime); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 9px 13px; border-radius: 999px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .72); white-space: nowrap; transition: color .15s, background .15s; }
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav__back { display: inline-flex; align-items: center; gap: 6px; color: var(--lime) !important; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: transparent; color: #fff; font-weight: 700; font-size: 14px; }
.lang__toggle:hover { background: rgba(255, 255, 255, .1); }
.lang__caret { width: 1em; height: 1em; transition: transform .2s; }
.lang.is-open .lang__caret { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; background: none; border: 0; border-radius: 10px; text-align: left; font-weight: 600; }
.lang__menu button b { display: inline-grid; place-items: center; width: 30px; font-size: 12px; color: var(--cyan); }
.lang__menu button:hover, .lang__menu button[aria-checked="true"] { background: var(--cyan-soft); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; background: transparent; place-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink-d); color: #fff; padding: 72px 0 96px; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(63, 224, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 224, 255, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(75% 85% at 70% 30%, #000, transparent 85%); mask-image: radial-gradient(75% 85% at 70% 30%, #000, transparent 85%); }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(55% 65% at 84% 10%, rgba(11, 184, 217, .45), transparent 70%), radial-gradient(40% 50% at 4% 95%, rgba(182, 242, 58, .22), transparent 70%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); font-size: 14.5px; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(182, 242, 58, .25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(182, 242, 58, .08); } }
.hero__title { margin-top: 22px; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 58px); line-height: 1.1; letter-spacing: -.02em; }
.hero__title em { font-style: normal; background: linear-gradient(90deg, var(--cyan-2), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 22px; max-width: 56ch; font-size: 19px; color: rgba(255, 255, 255, .8); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-display); font-size: 28px; color: var(--lime); }
.hero__facts span { font-size: 15px; color: rgba(255, 255, 255, .7); }
.hero__visual { position: relative; padding: 40px 0 28px; }
.board-card { background: #0f1b31; border: 1px solid rgba(63, 224, 255, .25); border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 60px -20px rgba(63, 224, 255, .35); overflow: hidden; }
.board-card__bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; background: rgba(255, 255, 255, .05); font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .7); }
.board-card__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.board-card__bar span { margin-left: 10px; }
.board-card .pcb { padding: 14px 14px 4px; }
.readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 8px 16px 18px; }
.readout div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: flex; flex-direction: column; }
.readout span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.readout b { font-family: var(--font-display); font-size: 19px; color: var(--cyan-2); }
.readout .readout__on { color: var(--lime); }

/* Board drawing (shared by hero and summary) */
.pcb { width: 100%; height: auto; }
.pcb__board { fill: #0d6b52; stroke: #17a37c; stroke-width: 2; }
.pcb--sm .pcb__board { fill: #0b5e49; }
.pcb__traces path { fill: none; stroke: #7be3c0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.pcb__pins circle { fill: #e9d27a; }
.pcb__chip { fill: #101a2b; stroke: #3a5075; stroke-width: 2; }
.pcb__chiptext { fill: #fff; font: 700 16px var(--font-display); }
.pcb__chipsub { fill: #8fb0d6; font: 600 10px var(--font-body); }
.pcb__oled { fill: #05080f; stroke: var(--cyan-2); stroke-width: 2; }
.pcb__oledtext { fill: var(--cyan-2); font: 700 13px var(--font-display); }
.pcb__mod { fill: #243a5c; stroke: #5f86bb; stroke-width: 1.5; }
.pcb__led { fill: var(--lime); }
.pcb__led--a { animation: blink 1.6s steps(2) infinite; }
.pcb__led--b { fill: var(--cyan-2); animation: blink 1.6s steps(2) infinite .8s; }
@keyframes blink { 50% { opacity: .2; } }
.pcb__part { opacity: .12; transition: opacity .25s, fill .25s; }
.pcb__part.is-on { opacity: 1; }
.pcb__part.pcb__oled.is-on { fill: #05080f; }

.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); font-size: 14px; }
.float-card b { display: block; line-height: 1.25; }
.float-card small { color: var(--muted); font-size: 13px; }
.float-card--a { top: -4px; right: -10px; }
.float-card--b { bottom: -22px; left: -14px; }
.float-card__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--cyan-soft); color: #078aa6; }
.float-card__ico--lime { background: var(--lime-soft); color: #4c7a00; }

/* Marquee */
.marquee { overflow: hidden; background: var(--lime); color: #0a1a05; padding: 16px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.marquee__track span::after { content: "◆"; margin-left: 48px; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: #e9eff8; }
.section--dark { position: relative; background: var(--ink-d); color: #fff; }
.section--dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(63, 224, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 224, 255, .05) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.section--dark > .container { position: relative; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.kicker { font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.section--dark .kicker { color: var(--lime); }
.section__title { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -.015em; }
.section__lead { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section--dark .section__lead { color: rgba(255, 255, 255, .75); }
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 15px; background: var(--cyan-soft); color: #078aa6; font-size: 24px; }
.card h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16.5px; }

/* Kits */
.kit { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; transition: transform .2s, box-shadow .2s; }
.kit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.kit--hot { border: 2px solid var(--cyan); box-shadow: var(--shadow); }
.kit__flag { position: absolute; top: -14px; left: 28px; padding: 4px 14px; border-radius: 999px; background: var(--cyan); color: #fff; font-size: 13px; font-weight: 800; }
.kit__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kit__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--ink-d); color: var(--lime); font-size: 24px; }
.kit__price { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--cyan); }
.kit__price small { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.kit h3 { font-family: var(--font-display); font-size: 22px; }
.kit > p { color: var(--muted); }
.kit__tags { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; align-content: flex-start; }
.kit__tags li { padding: 4px 12px; border-radius: 999px; background: #eef3fa; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.kit .btn { margin-top: 8px; }

/* Configurator */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { padding: 18px 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; display: flex; flex-direction: column; }
.stat span { font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.stat strong { font-family: var(--font-display); font-size: 30px; color: var(--cyan-2); }
.demo { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.demo--b { grid-template-columns: 1fr 1fr; margin-top: 22px; }
.cfg { background: var(--card); color: var(--ink); border-radius: 24px; padding: 28px; display: grid; gap: 26px; }
.cfg__group h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 19px; margin-bottom: 14px; }
.cfg__n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink-d); color: var(--lime); font-size: 15px; }
.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: repeat(2, 1fr); }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
.opts--4 { grid-template-columns: repeat(4, 1fr); }
.opt { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 66px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fafcff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.opt:hover { border-color: var(--cyan); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__body { display: flex; flex-direction: column; gap: 2px; padding-right: 20px; min-width: 0; }
.opt__body b { font-size: 15.5px; line-height: 1.3; overflow-wrap: anywhere; }
.opt__body small { font-size: 13px; line-height: 1.4; color: var(--muted); }
.opt em { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border: 2px solid #b8c6dc; border-radius: 50%; transition: all .15s; }
.opt--check em { border-radius: 5px; }
.opt:has(input:checked) { border-color: var(--cyan); background: var(--cyan-soft); box-shadow: 0 0 0 3px rgba(11, 184, 217, .15); }
.opt:has(input:checked) em { border-color: var(--cyan); background: var(--cyan); box-shadow: inset 0 0 0 3px #fff; }
.opt--check:has(input:checked) em { box-shadow: none; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.opt:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.opt:has(input:disabled) { cursor: default; }
.opt__note { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: #078aa6; }

.summary { position: sticky; top: calc(var(--header-h) + 14px); background: var(--card); color: var(--ink); border-radius: 24px; padding: 24px; }
.summary h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 12px; }
.summary .pcb { border-radius: 14px; background: #06101f; padding: 8px; }
.parts { margin-top: 14px; }
.parts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.parts li:first-child { border-top: 0; }
.parts li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.parts li b { flex: none; font-variant-numeric: tabular-nums; }
.parts li .free { color: #078aa6; font-weight: 700; font-size: 14px; }
.total { margin-top: 10px; padding: 16px 18px; border-radius: 16px; background: var(--ink-d); color: #fff; }
.total > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.total span { color: rgba(255, 255, 255, .75); }
.total strong { font-family: var(--font-display); font-size: 36px; color: var(--lime); }
.total__days { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--cyan-2); font-weight: 600; font-size: 15px; }
.total__days span { color: inherit; }
.total.is-bump strong { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }

/* Quote form + requests */
.order, .board { background: var(--card); color: var(--ink); border-radius: 24px; padding: 28px; }
.order h3, .board h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 8px; }
.order__intro { margin-bottom: 18px; color: var(--muted); font-size: 16px; }
.field { margin-bottom: 14px; }
.field > label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.control { position: relative; }
.control input { width: 100%; min-height: 50px; padding: 0 44px 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fafcff; font-size: 16px; }
.control input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
.tick { position: absolute; right: 12px; top: 14px; display: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan); color: #fff; font-size: 12px; pointer-events: none; }
.field--ok .tick { display: grid; }
.field--ok .control input { border-color: var(--cyan); }
.field.is-error .control input { border-color: var(--danger); }
.field__err { display: none; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--danger); }
.field.is-error .field__err, .field__err--block { display: block; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 6px; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--cyan); }
.order .btn { margin-top: 14px; }
.order__note { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }

.board__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.board__head h3 { margin-bottom: 14px; }
.inbox { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.msg { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); }
.msg:first-child { border-top: 0; }
.msg.is-new { animation: flash 1.8s ease-out; }
@keyframes flash { 0% { background: var(--cyan-soft); } 100% { background: transparent; } }
.msg__av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink-d); color: var(--lime); font-weight: 700; font-family: var(--font-display); }
.msg__main { min-width: 0; }
.msg__main b { display: block; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg__main small { display: block; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg__meta { text-align: right; font-size: 13px; color: var(--muted); white-space: nowrap; }
.msg__meta strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.tag { display: inline-block; margin-top: 2px; padding: 2px 10px; border-radius: 999px; background: var(--cyan-soft); color: #066a82; font-size: 12.5px; font-weight: 700; }
.tag--new { background: var(--lime-soft); color: #3f6600; }
.tag--done { background: #e8edf5; color: #44556f; }
.board__hint { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.mails { display: grid; gap: 12px; margin-top: 18px; }
.mail { padding: 16px 18px; border: 1px dashed var(--cyan); border-radius: 14px; background: #f3fbfe; font-size: 15px; animation: flash 1.8s ease-out; }
.mail--b { border-color: #8fc21c; background: #fafdf0; }
.mail__bar { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #078aa6; margin-bottom: 8px; }
.mail--b .mail__bar { color: #4c7a00; }
.mail__to { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.mail__subj { font-weight: 800; margin: 4px 0; overflow-wrap: anywhere; }
.mail__body { overflow-wrap: anywhere; white-space: pre-line; }

/* Steps / benefits */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step__n { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan-2), var(--cyan)); color: #04222b; font-family: var(--font-display); font-weight: 700; }
.step h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.benefit { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--cyan-soft); color: #055a6e; font-weight: 700; }
.benefit .ico { font-size: 26px; }

/* Reviews */
.quote { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 2px; color: var(--amber); }
.stars .ico { fill: currentColor; stroke: none; }
.quote blockquote { font-size: 17.5px; flex: 1; }
.quote figcaption b { display: block; }
.quote figcaption span { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--cyan); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* CTA / footer */
.cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; padding: 48px; border-radius: 28px; background: linear-gradient(135deg, var(--ink-d), var(--ink-d2)); color: #fff; }
.cta h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .78); font-size: 18px; }
.cta__list { display: grid; gap: 14px; }
.cta__list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(255, 255, 255, .08); border-radius: 14px; font-weight: 600; }
.cta__list .ico { color: var(--lime); font-size: 22px; }
.cta__list a, .cta__list span { overflow-wrap: anywhere; }
.footer { padding: 26px 0 34px; color: var(--muted); font-size: 14.5px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 14px; background: var(--ink-d); color: #fff; font-weight: 600; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero__inner > *, .demo > *, .cta > *, .msg > * { min-width: 0; }

@media (max-width: 1100px) {
  .burger { display: grid; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; background: var(--ink-d); border-bottom: 1px solid rgba(255, 255, 255, .12); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .grid--4, .benefits { grid-template-columns: repeat(2, 1fr); }
  .opts--4 { grid-template-columns: repeat(2, 1fr); }
  .demo { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero__inner, .demo--b, .cta { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .opts--3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .cta { padding: 32px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .container { width: min(1180px, 100% - 32px); }
  .header .btn--sm { display: none; }
  .grid--4, .benefits, .opts--2, .opts--3, .opts--4 { grid-template-columns: 1fr; }
  .stats { gap: 8px; }
  .stat { padding: 12px; }
  .stat strong { font-size: 22px; }
  .stat span { font-size: 13px; }
  .cfg, .summary, .order, .board { padding: 20px 16px; border-radius: 20px; }
  .msg { grid-template-columns: 36px 1fr; }
  .msg__meta { grid-column: 2; text-align: left; }
  .float-card--a { right: 0; }
  .float-card--b { left: 0; }
  .hero__lead { font-size: 18px; }
  .readout { grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 8px 10px 14px; }
  .readout b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .dot, .pcb__led { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Flags in the language switcher, on every device (images, because Windows does not draw emoji flags) */
.lang__toggle > .ico:not(.lang__caret) { display: none; }
#langCurrent::before, .lang__menu [data-lang]::before { content: ""; flex: none; display: inline-block; width: 20px; height: 15px; border-radius: 2px; background: url(https://flagcdn.com/48x36/gb.png) center / cover no-repeat; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
#langCurrent::before { margin-right: 6px; vertical-align: -2px; }
html[lang="pl"] #langCurrent::before, .lang__menu [data-lang="pl"]::before { background-image: url(https://flagcdn.com/48x36/pl.png); }
html[lang="de"] #langCurrent::before, .lang__menu [data-lang="de"]::before { background-image: url(https://flagcdn.com/48x36/de.png); }
html[lang="fr"] #langCurrent::before, .lang__menu [data-lang="fr"]::before { background-image: url(https://flagcdn.com/48x36/fr.png); }
html[lang="it"] #langCurrent::before, .lang__menu [data-lang="it"]::before { background-image: url(https://flagcdn.com/48x36/it.png); }
html[lang="es"] #langCurrent::before, .lang__menu [data-lang="es"]::before { background-image: url(https://flagcdn.com/48x36/es.png); }
html[lang="ru"] #langCurrent::before, .lang__menu [data-lang="ru"]::before { background-image: url(https://flagcdn.com/48x36/ru.png); }
/* 320 px phones: keep the logo, the language switcher and the menu button inside the screen */
@media (max-width: 360px) { .header__inner { gap: 8px; } .header__actions { gap: 6px; } .logo__text { font-size: 17px; } .logo__text small { display: none; } .logo__mark { width: 34px; height: 34px; } .lang__toggle { padding-inline: 8px; gap: 3px; } .lang__caret { display: none; } }
