/* Devseis home (v0.3). Inconsolata is self-hosted (SIL OFL, see assets/fonts/inconsolata/OFL.txt). */
@font-face {
  font-family: "Inconsolata";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/inconsolata/inconsolata-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout: trustmrr-style directory, centred hero, dense bordered listings and tables, in Devseis navy, blue and orange. */
:root {
  --bg: #f6f8fb; --card: #ffffff; --fg: #0b1f44; --muted: #5d6a82; --soft: #97a2b6; --line: #e1e6ef; --hover: #f1f4f9; --chip: #eef2f8;
  --blue: #0047ab; --blue-ink: #ffffff; --orange: #f26b1d; --orange-ink: #a83c0c; --orange-btn: #c2410c; --teal: #0d6b63; --navy: #0b1f44;
  --ok-bg: #e2f4ea; --ok: #137a43; --warn-bg: #fdeee3; --warn: #a64a0c; --grey-bg: #eef1f5; --grey: #5d6a82;
  --glow1: rgba(0, 71, 171, .13); --glow2: rgba(242, 107, 29, .11); --robot: #0b1f44; --visor: #5b9cff;
  --font: "Inconsolata", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060d1c; --card: #0d1830; --fg: #e8eef9; --muted: #9aa8c2; --soft: #64748b; --line: rgba(148, 170, 214, .16); --hover: #13213d; --chip: #15233f;
    --blue: #5b9cff; --blue-ink: #06122a; --orange: #ff8a3d; --orange-ink: #ff9a5c; --orange-btn: #c2410c; --teal: #2dd4bf;
    --ok-bg: rgba(74, 222, 128, .13); --ok: #4ade80; --warn-bg: rgba(253, 186, 116, .13); --warn: #fdba74; --grey-bg: #15233f; --grey: #9aa8c2;
    --glow1: rgba(91, 156, 255, .16); --glow2: rgba(255, 138, 61, .1); --robot: #d3def2; --visor: #0b1f44;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060d1c; --card: #0d1830; --fg: #e8eef9; --muted: #9aa8c2; --soft: #64748b; --line: rgba(148, 170, 214, .16); --hover: #13213d; --chip: #15233f;
  --blue: #5b9cff; --blue-ink: #06122a; --orange: #ff8a3d; --orange-ink: #ff9a5c; --orange-btn: #c2410c; --teal: #2dd4bf;
  --ok-bg: rgba(74, 222, 128, .13); --ok: #4ade80; --warn-bg: rgba(253, 186, 116, .13); --warn: #fdba74; --grey-bg: #15233f; --grey: #9aa8c2;
  --glow1: rgba(91, 156, 255, .16); --glow2: rgba(255, 138, 61, .1); --robot: #d3def2; --visor: #0b1f44;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; width: auto; height: auto; clip: auto; background: #fff; color: #0b1f44; padding: 10px 14px; border-radius: 8px; }
html { scroll-behavior: smooth; }
body { color: var(--fg); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; background: radial-gradient(900px 420px at 12% -60px, var(--glow1), transparent 70%), radial-gradient(800px 380px at 88% -40px, var(--glow2), transparent 70%), var(--bg); background-repeat: no-repeat; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: #fff; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1060px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.tiny { font-size: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--fg); font: 700 15px var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--hover); }
.btn-blue { background: var(--blue); color: var(--blue-ink); border-color: var(--blue); }
.btn-blue:hover { background: color-mix(in srgb, var(--blue) 88%, #000); }
.btn-orange { background: var(--orange-btn); color: #fff; border-color: var(--orange-btn); }
.btn-orange:hover { background: color-mix(in srgb, var(--orange-btn) 88%, #000); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 14px; }
.btn:focus-visible, .pill:focus-visible, a:focus-visible, .seg button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* nav (white in both themes) */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: #fff; border-bottom: 1px solid #e3e8f1; }
.nav-in { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 20px; margin-left: auto; font-size: 15px; color: #4a5770; }
.nav-links a:hover { color: #0047ab; }
.nav .btn-blue { background: #0047ab; border-color: #0047ab; color: #fff; }
.menu-btn { display: none; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #dfe5ef; border-radius: 8px; background: #fff; color: #0b1f44; cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.menu-btn svg { width: 22px; height: 22px; }
.mnav { background: #fff; border-top: 1px solid #e3e8f1; }
.mnav[hidden] { display: none; }
.mnav-in { display: grid; padding-block: 4px 16px; }
.mnav a { display: flex; justify-content: space-between; padding: 14px 2px; color: #0b1f44; font: 700 16px var(--font); border-bottom: 1px solid #eef1f6; }
.mnav a small { color: #6b7790; font-weight: 500; }

/* hero */
/* full-screen hero on every device: one screen minus the sticky top bar (svh avoids the mobile address-bar jump) */
.hero { text-align: center; padding-block: 48px 28px; min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero .lead { margin-bottom: 0; }
/* headline block sits in the middle of the screen, the scroll cue at the bottom */
.hero h1 { margin-top: auto; }
.hero::after { pointer-events: none; }
.scroll-cue { margin-top: auto; padding-top: 40px; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--muted); min-height: 44px; }
.scroll-cue span { font-size: 22px; color: var(--orange); line-height: 1; }
.scroll-cue:hover { color: var(--blue); }
.check-sec { padding-top: 48px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--orange); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 7vw, 64px); line-height: 1.1; font-weight: 800; margin-bottom: 18px; }
.hero h1 .b { color: var(--blue); }
.hero h1 .o { color: var(--orange); white-space: nowrap; }
.lead { max-width: 680px; margin: 0 auto 26px; color: var(--muted); }
.lead b { color: var(--fg); }

/* quick check */
.check { max-width: 760px; margin: 0 auto; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: 0 18px 40px -28px rgba(11, 31, 68, .45); }
.check-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.check-title h2 { font-size: 20px; font-weight: 800; }
.check-row { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 10px; align-items: center; padding-block: 8px; border-bottom: 1px dashed var(--line); }
.check-row:last-of-type { border-bottom: 0; }
.check-row > span { font-weight: 700; font-size: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 999px; padding: 6px 12px; font: 600 14px var(--font); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }
.check-out { margin-top: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 10px; }
.out-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.out-head b { font-size: 15px; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; }
a.need { color: inherit; transition: border-color .15s, box-shadow .15s; }
a.need:hover { border-color: var(--blue); box-shadow: 0 6px 16px -12px var(--blue); }
a.need::after { content: "→"; color: var(--blue); font-weight: 800; }
.need { display: inline-flex; gap: 8px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 14px; }
.reg { font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 5px; }
.reg-p { background: color-mix(in srgb, var(--blue) 14%, var(--card)); color: var(--blue); }
.reg-c { background: color-mix(in srgb, var(--orange) 16%, var(--card)); color: var(--orange-ink); }
.reg-t { background: color-mix(in srgb, var(--teal) 16%, var(--card)); color: var(--teal); }
.reg-f { background: var(--ok-bg); color: var(--ok); }
.out-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.stat { display: flex; flex-direction: column; gap: 2px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 8%, var(--card)), var(--card) 70%); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: var(--r); padding: 14px; transition: transform .15s, border-color .15s; }
.stat:hover { transform: translateY(-2px); border-color: var(--c); }
.stat b { font-size: 28px; font-weight: 800; color: var(--c); line-height: 1.2; }
.c-blue { --c: var(--blue); } .c-orange { --c: var(--orange); } .c-navy { --c: #3d5a99; } .c-teal { --c: #0f8a7e; }

/* sections */
.sec { padding-top: 56px; scroll-margin-top: 84px; }
/* the check card lands just below the sticky top bar, title and first question in view */
#check { scroll-margin-top: 88px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-head h2 { font-size: 21px; font-weight: 800; }
.sec-head a { color: var(--blue); font-weight: 700; font-size: 14px; }

/* listing cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; overflow: hidden; min-width: 0; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--blue); box-shadow: 0 10px 28px -20px var(--blue); }
.top { display: flex; gap: 12px; align-items: center; padding-right: 76px; }
.ava { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); font-size: 24px; overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.date { flex-direction: column; line-height: 1.05; background: color-mix(in srgb, var(--blue) 12%, var(--card)); color: var(--blue); }
.date b { font-size: 18px; font-weight: 800; }
.date span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.name { font-weight: 800; font-size: 17px; line-height: 1.2; }
.cat { font-size: 13px; color: var(--muted); }
.card p { font-size: 14px; color: var(--muted); }
.cards.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.date b:only-child { font-size: 14px; }
.soldout { margin-top: 10px; }
.soldout a { color: var(--blue); font-weight: 700; }
.sold { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: auto; }
.mini span { display: flex; flex-direction: column; min-width: 0; font-size: 11px; color: var(--muted); }
.mini b { font-size: 15px; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ribbon { position: absolute; top: 0; right: 0; font-size: 10px; font-weight: 800; padding: 3px 8px; border-bottom-left-radius: 8px; letter-spacing: .05em; }
.r-ok { background: var(--ok-bg); color: var(--ok); }
.r-warn { background: var(--warn-bg); color: var(--warn); }
.r-grey { background: var(--grey-bg); color: var(--grey); }
.r-blue { background: color-mix(in srgb, var(--blue) 14%, var(--card)); color: var(--blue); }

/* tables */
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pill { border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 999px; padding: 4px 12px; font: 700 13px var(--font); cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--hover); }
.svc { font-weight: 700; }
.sub { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.area { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.a-cyber { background: color-mix(in srgb, var(--orange) 16%, var(--card)); color: var(--orange-ink); }
.a-priv { background: color-mix(in srgb, var(--blue) 14%, var(--card)); color: var(--blue); }
td.rank { width: 46px; text-align: center; color: var(--muted); }
td.num { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.medal { font-size: 17px; }
.quote { color: var(--blue); font-weight: 700; white-space: nowrap; }
.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }

/* most downloaded: three medal cards in one row */
.sec-head.left { justify-content: flex-start; gap: 8px 16px; }
.sec-head .when { margin-left: auto; }
#models { padding-top: 10px; }
.medals-note { margin-top: 8px; }
.medals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.medal-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.mtop { display: flex; gap: 12px; align-items: center; min-width: 0; }
.mtop > div { min-width: 0; }
.mtop .cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.medal-big { font-size: 34px; line-height: 1; flex: 0 0 auto; }
.kind { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; vertical-align: 2px; margin-left: 4px; }
.k-model { background: color-mix(in srgb, var(--blue) 14%, var(--card)); color: var(--blue); }
.k-data { background: color-mix(in srgb, var(--teal) 16%, var(--card)); color: var(--teal); }
.dl { text-align: right; flex: 0 0 auto; }
.dl b { display: block; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.dl span { font-size: 12px; color: var(--muted); }


/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 14px; align-items: stretch; }
.c-info, .c-form { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.c-lead { font-size: 16px; margin-bottom: 14px; }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.c-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; border-top: 1px dashed var(--line); padding-top: 12px; }
.c-k { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.c-form { display: flex; flex-direction: column; gap: 12px; }
.c-form .grow { flex: 1; display: flex; flex-direction: column; }
.c-form .grow textarea { flex: 1; min-height: 130px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.c-form input[type="text"], .c-form input[type="email"], .c-form select, .c-form textarea { width: 100%; font: 500 15px var(--font); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.c-form textarea { resize: vertical; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.c-form .consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.c-form .consent input { margin-top: 3px; accent-color: var(--blue); }
.f-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.f-err { color: var(--warn); font-size: 14px; font-weight: 700; }
.f-done { background: var(--ok-bg); color: var(--fg); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.f-done b { color: var(--ok); }
#contact { scroll-margin-top: 84px; }
#contact.arrive .c-form { animation: arrive 1.6s ease-out; }
@keyframes arrive { 0%, 30% { box-shadow: 0 0 0 4px var(--orange); } 100% { box-shadow: 0 0 0 0 transparent; } }


/* partner logos: black lettering, so they always sit on white (also in dark mode) */
.partner { flex: 0 0 auto; display: grid; place-items: center; background: #fff; border: 1px solid #e3e8f1; border-radius: 9px; height: 46px; width: 60px; padding: 5px; }
.partner.wide { width: 96px; }
.partner img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.partner.sm { height: 34px; width: 46px; padding: 4px; }
.partner.sm.wide { width: 78px; }
.partners-head { display: inline-flex; align-items: center; gap: 8px; }
.badges .logo-badge { padding: 0; }
.badges .logo-badge a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; width: 100%; color: inherit; border-radius: 10px; transition: background .15s; }
.badges .logo-badge a:hover { background: var(--hover); }
.badges .logo-badge a:hover b { color: var(--blue); }
a.partner:hover { border-color: var(--blue); }

/* feed */
.feed { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.post { display: flex; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.dot { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: var(--chip); }
.post b { display: block; font-size: 14.5px; }
.post small { color: var(--muted); font-size: 12.5px; }

/* trust */
.trust { margin-top: 56px; margin-bottom: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.trust-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.trust-head h2 { font-size: 24px; font-weight: 800; }
.trust-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 16px; align-items: center; padding-block: 12px; border-top: 1px dashed var(--line); }
.row-label { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.badges.b2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.badges.b3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.badges li { display: flex; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-width: 0; }
.badges b { display: block; font-size: 14px; line-height: 1.25; }
.badges small { color: var(--muted); font-size: 12.5px; }
.bi { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; }
.bi svg { width: 20px; height: 20px; }
.bi-b { background: color-mix(in srgb, var(--blue) 14%, var(--card)); color: var(--blue); }
.bi-o { background: color-mix(in srgb, var(--orange) 16%, var(--card)); color: var(--orange); }
.bi-g { background: var(--ok-bg); font-size: 18px; }
/* Nox: orange moon on the same light tile as Caveat */
.moon { fill: var(--orange); }
.ava-nox .moon { width: 26px; height: 26px; }
.bi-nox .moon { width: 19px; height: 19px; }
.bi-img { background: var(--ok-bg); overflow: hidden; padding: 4px; }
.bi-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.badges.sol li { padding: 0; }
.badges.sol a { display: flex; gap: 10px; align-items: center; padding: 12px; width: 100%; color: inherit; border-radius: 10px; transition: background .15s; }
.badges.sol a:hover { background: var(--hover); }
.badges.sol a:hover b { color: var(--blue); }

/* footer */
/* footer: white in both themes, matching the top bar */
.foot { margin-top: 64px; background: #fff; color: #0b1f44; border-top: 1px solid #e3e8f1; padding-block: 36px 40px; font-size: 14px; }
.foot .muted { color: #5d6a82; }
.cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols h3 { font-size: 13px; color: #5d6a82; font-weight: 700; margin-bottom: 10px; }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cols a:hover { color: #0047ab; }
.copy button { font: 700 12px var(--font); border: 1px solid #dfe5ef; background: #fff; color: #0b1f44; border-radius: 999px; padding: 2px 10px; cursor: pointer; margin-left: 6px; }
.copy button:hover { border-color: #0047ab; color: #0047ab; }
.legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid #eef1f6; color: #5d6a82; font-size: 13px; }

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .medals { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-in { gap: 10px; height: 62px; }
  .logo img { height: 30px; }
  .nav-in .btn { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .hero { padding-top: 32px; min-height: calc(100vh - 62px); min-height: calc(100svh - 62px); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .cards.two-col { grid-template-columns: 1fr; }
  .check-row { grid-template-columns: 1fr; gap: 6px; }
  .hide-sm { display: none; }
  .f2 { grid-template-columns: 1fr; }
  .sec-head .when { margin-left: 0; width: 100%; }
  .trust-row { grid-template-columns: 1fr; }
  .badges.b2, .badges.b3 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .stat, .card, .btn { transition: none; } }




/* ---------- section backgrounds: faint patterns tied to each section, full width, fading at the edges ---------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.hero, .sec { position: relative; isolation: isolate; }
.trust { position: relative; } /* no isolation: its glow must sit behind the white card, like the contact cards */
.hero::before, .sec::before, .hero::after, .trust::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
/* hero: drifting grid with a blue and an orange glow */
.hero::before {
  background:
    radial-gradient(360px 260px at 22% 32%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 70%),
    linear-gradient(color-mix(in srgb, var(--blue) 9%, transparent) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, color-mix(in srgb, var(--blue) 9%, transparent) 1px, transparent 1px) 0 0 / 44px 44px;
}
.hero::after { background: radial-gradient(340px 240px at 78% 62%, color-mix(in srgb, var(--orange) 15%, transparent), transparent 70%); }
/* AI tools: circuit-board dots */
#tools::before { background: radial-gradient(color-mix(in srgb, var(--blue) 24%, transparent) 1.2px, transparent 1.8px) 0 0 / 22px 22px; }
/* trainings: notebook diagonals */
#trainings::before { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--teal) 9%, transparent) 0 1.5px, transparent 1.5px 26px); }
/* consultancy: a soft scanning band */
#services::before { background: linear-gradient(105deg, transparent 25%, color-mix(in srgb, var(--blue) 9%, transparent) 42%, color-mix(in srgb, var(--orange) 9%, transparent) 58%, transparent 75%) 0 0 / 260% 100%; }
/* what's new: ticker lines */
#news::before { background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--blue) 8%, transparent) 0 1px, transparent 1px 30px); }
/* contact: warm glow behind the form */
/* trust and contact: the same warm glow behind the cards */
#contact::before, .trust::before { background: radial-gradient(520px 320px at 68% 58%, color-mix(in srgb, var(--orange) 14%, transparent), transparent 70%); }
.trust::before { top: -40px; bottom: -40px; }

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: gridDrift 30s linear infinite; }
  .hero::after { animation: glowFloat 16s ease-in-out infinite alternate; }
  #tools::before { animation: dotsDrift 40s linear infinite; }
  #trainings::before { animation: lineDrift 36s linear infinite; }
  #services::before { animation: sweep 14s ease-in-out infinite alternate; }
  #news::before { animation: ticker 24s linear infinite; }
  #contact::before, .trust::before { animation: breathe 7s ease-in-out infinite; }
  @keyframes gridDrift { to { background-position: 0 0, 0 44px, 44px 0; } }
  @keyframes glowFloat { from { transform: translateY(2%); } to { transform: translateY(-3%); } }
  @keyframes dotsDrift { to { background-position: 44px 44px; } }
  @keyframes lineDrift { to { background-position: 74px 0; } }
  @keyframes sweep { from { background-position: 0% 0; } to { background-position: 100% 0; } }
  @keyframes ticker { to { background-position: 0 -60px; } }
  @keyframes breathe { 50% { opacity: .55; transform: scale(1.04); } }
}

/* ---------- section animations (motion only; everything is readable at rest) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* hero: terminal cursor and underlines drawing in */
  .hero h1::after { content: "_"; color: var(--orange); margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
  .hero h1 .b, .hero h1 .o { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 92%; background-size: 0 3px; animation: draw 1s .5s cubic-bezier(.2, .8, .2, 1) forwards; }
  .hero h1 .o { animation-delay: .9s; }
  @keyframes blink { 50% { opacity: 0; } }
  @keyframes draw { to { background-size: 100% 3px; } }

  /* check: capsules pop in on every change */
  .need { animation: pop .38s cubic-bezier(.3, 1.4, .5, 1) both; }
  .need:nth-child(2) { animation-delay: .06s; } .need:nth-child(3) { animation-delay: .12s; } .need:nth-child(4) { animation-delay: .18s; }
  @keyframes pop { from { transform: scale(.9); } }

  /* live and open labels pulse */
  .r-ok::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: 1px; animation: pulse 1.8s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

  /* AI tools: Arx scans, Caveat weighs, Nox glows */
  .tool-arx .ava { position: relative; }
  .tool-arx .ava::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(91, 156, 255, .55), transparent); }
  .in .tool-arx .ava::after { animation: scan 2.8s ease-in-out infinite; }
  @keyframes scan { 0% { top: -30%; } 60%, 100% { top: 100%; } }
  .in .tool-caveat .ava { animation: weigh 3.2s ease-in-out infinite; transform-origin: 50% 20%; }
  @keyframes weigh { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
  .in .tool-nox .ava { animation: glow 3s ease-in-out infinite; }
  @keyframes glow { 50% { box-shadow: 0 0 0 4px rgba(242, 107, 29, .18), 0 0 22px rgba(242, 107, 29, .45); } }

  /* most downloaded: medals drop in */
  .in .medal-big { animation: drop .8s cubic-bezier(.3, 1.6, .5, 1) both; }
  .in .medal-card:nth-child(2) .medal-big { animation-delay: .15s; }
  .in .medal-card:nth-child(3) .medal-big { animation-delay: .3s; }
  @keyframes drop { from { transform: translateY(-18px) rotate(-14deg); } }

  /* trainings: date badges flip like calendar pages */
  #trainings .top { perspective: 500px; }
  .in .date { animation: flip .8s cubic-bezier(.2, .8, .2, 1) both; transform-origin: 50% 0; }
  .in .card:nth-child(2) .date { animation-delay: .1s; } .in .card:nth-child(3) .date { animation-delay: .2s; } .in .card:nth-child(4) .date { animation-delay: .3s; }
  @keyframes flip { from { transform: rotateX(-85deg); } }

  /* consultancy: rows slide in one after another */
  .in #svcRows tr:not([hidden]) { animation: slide .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
  @keyframes slide { from { transform: translateX(-12px); } }

  /* what's new: posts arrive like a feed, newest pulses */
  .in .post { animation: feed .55s cubic-bezier(.2, .8, .2, 1) both; }
  .in .post:nth-child(2) { animation-delay: .12s; } .in .post:nth-child(3) { animation-delay: .24s; } .in .post:nth-child(4) { animation-delay: .36s; }
  @keyframes feed { from { transform: translateY(12px); } }
  .post:first-child .dot { position: relative; }
  .post:first-child .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ring 2.2s ease-out infinite; }
  @keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

  /* trust: icons pop, one shine across each badge */
  .badges li { position: relative; overflow: hidden; }
  .in .badges .bi { animation: pop .5s cubic-bezier(.3, 1.5, .5, 1) both; }
  .badges li::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); pointer-events: none; }
  .in .badges li::after { animation: shine 1.1s ease-out both; }
  .in .badges li:nth-child(2)::after, .in .badges li:nth-child(2) .bi { animation-delay: .1s; }
  .in .badges li:nth-child(3)::after, .in .badges li:nth-child(3) .bi { animation-delay: .2s; }
  .in .badges li:nth-child(4)::after, .in .badges li:nth-child(4) .bi { animation-delay: .3s; }
  .in .badges li:nth-child(5)::after, .in .badges li:nth-child(5) .bi { animation-delay: .4s; }
  @keyframes shine { to { left: 130%; } }
}

/* ---------- mobile first: most visitors are on phones ---------- */
@media (max-width: 720px) {
  /* comfortable tap targets (44 px) */
  .seg button { min-height: 42px; padding: 8px 14px; font-size: 14px; }
  .pill { min-height: 40px; padding: 8px 14px; }
  .btn-sm { min-height: 42px; }
  .menu-btn { width: 44px; height: 44px; flex-basis: 44px; }
  .mnav a { min-height: 52px; align-items: center; }
  .quote { display: inline-block; padding: 10px 0; }
  .c-form .consent { align-items: center; min-height: 44px; }
  .c-form .consent input { width: 22px; height: 22px; margin-top: 0; }
  /* 16 px inputs so iPhones do not zoom into the form */
  .c-form input[type="text"], .c-form input[type="email"], .c-form input[type="number"], .c-form select, .c-form textarea { font-size: 16px; min-height: 46px; }
  /* calmer backgrounds on phones: patterns stay, motion stops (saves battery and keeps scrolling smooth) */
  .hero::before, .hero::after, #tools::before, #trainings::before, #services::before, #news::before, #contact::before, .trust::before { animation: none !important; }
  /* the services table becomes stacked rows */
  .tcard table, .tcard tbody, .tcard tr, .tcard td { display: block; }
  .tcard thead { display: none; }
  .tcard tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .tcard tr:last-child { border-bottom: 0; }
  .tcard td { padding: 0; border: 0; }
  .tcard td + td { margin-top: 6px; }
  .tcard td:last-child { margin-top: 2px; }
}
.c-form input[type="number"] { width: 100%; font: 500 15px var(--font); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-done.err { background: var(--warn-bg); }
.f-done.err b { color: var(--warn); }
.svc a { color: inherit; }
.svc a:hover { color: var(--blue); }
.lang { font-size: 13px; }
.lang select { font: 500 13px var(--font); border: 1px solid #dfe5ef; border-radius: 8px; padding: 6px 8px; background: #fff; color: #0b1f44; max-width: 120px; }
@media (max-width: 720px) { .lang { margin-left: auto; } .lang + .btn { margin-left: 0; } }
.copy a, .c-list a { color: inherit; }

/* phone fixes from the audit: bigger tap areas, no zoom on the security-check field */
@media (max-width: 720px) {
  .c-form input[type="number"] { font-size: 16px; min-height: 46px; }
  a.need { min-height: 44px; }
  .sec-head > a { display: inline-flex; align-items: center; min-height: 44px; }
  .partner.sm { height: 44px; width: 56px; }
  .partner.sm.wide { width: 92px; }
  .svc a { display: block; padding: 6px 0; }
  .soldout a, .medals-note { line-height: 2; }
}
@media (max-width: 720px) {
  .svc a { padding: 10px 0; }
  .c-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .copy button { min-height: 36px; padding: 6px 14px; margin-left: 8px; }
}
@media (max-width: 720px) {
  .cols ul { gap: 0; }
  .cols li a { display: inline-flex; align-items: center; min-height: 40px; }
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-cue span { animation: cueBounce 1.8s ease-in-out infinite; }
  @keyframes cueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
}

/* language flags (GTranslate): spaced out, each with a comfortable tap area */
.lang .gtranslate_wrapper { display: flex; align-items: center; gap: 10px; }
.lang a.glink { display: inline-flex; align-items: center; justify-content: center; padding: 6px; border-radius: 8px; line-height: 0; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.lang a.glink img { width: 24px; height: 24px; display: block; }
.lang a.glink:hover { background: #f1f4f9; }
.lang a.glink.gt-current-lang { border-color: #dfe5ef; background: #fff; }
@media (max-width: 720px) {
  .lang { margin-left: auto; }
  .lang .gtranslate_wrapper { gap: 4px; }
  .lang a.glink { padding: 7px; }
  .menu-btn { margin-left: auto; }
  .lang ~ .menu-btn { margin-left: 0; }
}

/* trainings: one per row; on wider screens each row reads left to right (date + title | text | facts) */
#trainings .cards.two-col { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  #trainings .card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(320px, auto); align-items: center; gap: 24px; padding: 22px 20px 18px; }
  #trainings .card .top { padding-right: 0; }
  #trainings .card p { margin: 0; }
  #trainings .card .mini { margin-top: 0; border-top: 0; padding-top: 0; border-left: 1px dashed var(--line); padding-left: 20px; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 28px; }
  #trainings .card .mini b { overflow: visible; text-overflow: clip; }
}

#trust { scroll-margin-top: 84px; }

/* ---------- section separators: hairline with a short brand-colour accent, more space between sections ---------- */
main > .sec:not(#models):not(.check-sec) { margin-top: 48px; padding-top: 64px; border-top: 1px solid var(--line); }
main > .sec:not(#models):not(.check-sec)::after { content: ""; position: absolute; top: -2px; left: 50%; width: 72px; height: 3px; transform: translateX(-50%); border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
main > .trust { margin-top: 72px; }
main > .trust + .sec { margin-top: 72px; }
@media (max-width: 720px) {
  main > .sec:not(#models):not(.check-sec) { margin-top: 36px; padding-top: 52px; }
  main > .sec:not(#models):not(.check-sec)::after { width: 56px; }
  main > .trust, main > .trust + .sec { margin-top: 56px; }
}

/* ---------- consultancy services: each row opens a description panel ---------- */
#svcRows tr.svc-row { cursor: pointer; }
.svc-toggle { all: unset; display: block; cursor: pointer; width: 100%; position: relative; padding-right: 28px; }
.svc-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }
.svc-name { display: block; font-weight: 700; }
.chev { position: absolute; right: 4px; top: 4px; width: 9px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
tr.svc-row.open .chev { transform: translate(0, 4px) rotate(-135deg); }
tr.svc-row.open td { background: color-mix(in srgb, var(--blue) 5%, var(--card)); border-bottom-color: transparent; }
tr.svc-detail td { background: color-mix(in srgb, var(--blue) 5%, var(--card)); cursor: default; padding-top: 0; }
tbody tr.svc-detail:hover td { background: color-mix(in srgb, var(--blue) 5%, var(--card)); }
.svc-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; padding: 6px 4px 14px; font-size: 14px; }
.svc-body h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.svc-body p { margin: 0 0 12px; }
.svc-body ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.svc-objective { font-size: 15px; font-weight: 600; color: var(--fg); }
.level { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--muted); margin-bottom: 8px; }
.svc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) { tr.svc-detail:not([hidden]) .svc-body { animation: dropIn .25s ease-out; } @keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } } }
@media (max-width: 720px) {
  .svc-body { grid-template-columns: 1fr; gap: 6px; padding: 4px 0 6px; }
  tr.svc-detail { padding-top: 0 !important; }
  .svc-toggle { padding-right: 30px; }
  .svc-actions .btn { flex: 1; }
}
/* dropdown fixes: keep the arrow inside its cell; on phones shade the whole open row */
.svc-toggle { box-sizing: border-box; }
.tcard td.svc { padding-right: 28px; }
@media (max-width: 720px) {
  .tcard td.svc { padding-right: 0; }
  tr.svc-row.open, tr.svc-detail { background: color-mix(in srgb, var(--blue) 5%, var(--card)); }
  tr.svc-row.open td, tr.svc-detail td { background: transparent !important; }
  tr.svc-row.open { border-bottom-color: transparent; }
}

/* ---------- privacy and cookie policy pop-ups ---------- */
dialog.policy { width: min(680px, calc(100vw - 32px)); max-height: min(80vh, 760px); padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--fg); box-shadow: 0 24px 60px rgba(11, 31, 68, .25); overflow: hidden; }
dialog.policy[open] { display: flex; flex-direction: column; }
dialog.policy::backdrop { background: rgba(11, 31, 68, .45); }
.policy-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.policy-head h2 { margin: 0; font-size: 20px; }
.policy-close { all: unset; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; font-size: 24px; line-height: 1; color: var(--muted); }
.policy-close:hover { background: var(--hover); color: var(--fg); }
.policy-close:focus-visible { outline: 2px solid var(--orange); }
.policy-body { overflow-y: auto; padding: 4px 20px 20px; font-size: 14px; line-height: 1.6; }
.policy-body h3 { margin: 18px 0 6px; font-size: 15px; }
.policy-body p { margin: 0 0 10px; }
.policy-body ul { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 8px; }
.policy-body a { color: var(--blue); }
.consent a { color: var(--blue); }
@media (prefers-reduced-motion: no-preference) { dialog.policy[open] { animation: dropIn .2s ease-out; } }

/* ---------- FAQ ---------- */
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details { position: relative; transition: background .2s; }
.faq details + details { border-top: 1px solid var(--line); }
.faq details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--blue), var(--orange)); transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.faq details[open] { background: color-mix(in srgb, var(--blue) 4%, var(--card)); }
.faq details[open]::before { transform: scaleY(1); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--hover); }
.faq details[open] summary:hover { background: transparent; }
.faq summary:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.faq-n { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: var(--chip); color: var(--muted); font-weight: 800; font-size: 14px; transition: background .2s, color .2s; }
.faq details[open] .faq-n { background: var(--blue); color: var(--blue-ink); }
.faq-q { flex: 1; font-weight: 700; font-size: 16px; }
.faq-tag { flex: none; }
.faq-tag:not(.a-cyber):not(.a-priv) { background: var(--grey-bg); color: var(--grey); }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-left: 4px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 22px 20px 76px; color: var(--muted); line-height: 1.65; }
.faq-more { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 22px; border-top: 1px dashed var(--line); background: var(--bg); font-weight: 700; }
.faq-more a { color: var(--orange-ink); }
@media (prefers-reduced-motion: no-preference) { .faq details[open] p { animation: dropIn .25s ease-out; } }
@media (max-width: 720px) {
  .faq summary { flex-wrap: wrap; gap: 8px 12px; padding: 14px 16px; }
  .faq-n { width: 32px; height: 32px; font-size: 13px; }
  .faq-q { flex: 1 1 calc(100% - 80px); font-size: 15px; }
  .faq-tag { order: 3; margin-left: 44px; }
  .faq summary::after { order: 2; }
  .faq details p { padding: 0 16px 16px; }
  .faq-more { padding: 14px 16px; }
}

/* larger logo on desktop */
@media (min-width: 900px) { .logo img { height: 44px; } }

/* ---------- WhatsApp: floating chat button ---------- */
.wa-float { position: fixed; z-index: 25; right: max(16px, calc(env(safe-area-inset-right, 0px) + 16px)); bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 16px)); display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-radius: 999px; background: #128c4a; color: #fff; font-weight: 800; box-shadow: 0 10px 28px rgba(11, 31, 68, .22); text-decoration: none; transition: transform .15s, background .15s; }
.wa-float svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.wa-float:hover { background: #0e7a40; transform: translateY(-2px); color: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (max-width: 720px) { .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; } .wa-label { display: none; } }
@media (prefers-reduced-motion: no-preference) { .wa-float { animation: waIn .4s .6s both cubic-bezier(.3, 1.4, .5, 1); } @keyframes waIn { from { transform: scale(.6); opacity: 0; } } }

/* ---------- language flags: links to /, /fr/ and /de/ ---------- */
.lang { display: flex; align-items: center; gap: 6px; }
.lang .flag { display: inline-flex; padding: 6px; border-radius: 8px; line-height: 0; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.lang .flag svg { width: 24px; height: 16px; display: block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11, 31, 68, .14); }
.lang .flag:hover { background: #f1f4f9; }
.lang .flag.current { border-color: #dfe5ef; background: #fff; }
.lang .flag:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
@media (max-width: 720px) { .lang { gap: 2px; } .lang .flag { padding: 7px 5px; } }
