/* Keyded — site styles. Brand colors live in :root. */

@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(../fonts/unbounded-latin-wght-normal.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; }
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(../fonts/unbounded-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(../fonts/unbounded-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/onest-latin-wght-normal.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; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/onest-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/onest-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  /* brand — from the Keyded logo sheet */
  --brand: #009999;        /* logo teal */
  --brand-ink: #007373;    /* teal for text and buttons on light backgrounds (AA) */
  --brand-light: #3CC8C8;  /* teal on dark backgrounds */
  --ink: #003333;          /* brand dark: text, dark bands */
  --ink-deep: #002424;
  --ink-2: #3D5757;        /* secondary text */
  --paper: #EEF5F5;        /* page background */
  --surface: #FFFFFF;
  --line: #C3D5D5;
  /* dark band */
  --band-text: #D5E6E6;
  --band-muted: #9DBDBD;
  --panel: #0A4444;
  --panel-line: #1C5C5C;
  /* signals */
  --lvl-0: #B3261E;
  --lvl-1: #C25A0A;
  --lvl-2: #A07A0C;
  --lvl-3: #2E7D4F;
  --lvl-4: #1B6A3E;

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
  --radius: 6px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 1rem; }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em;
  text-decoration: none; color: var(--ink);
}
.brand .logo { display: block; height: 2.15rem; width: auto; color: var(--ink); }
.brand-footer .logo { height: 2.15rem; color: #fff; }
.site-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .975rem;
  padding-block: .4rem; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--brand); }
.lang-switch { display: flex; gap: .25rem; }
.lang-switch a {
  display: inline-block; min-width: 2.4rem; text-align: center;
  padding: .3rem .5rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--ink-2);
}
.lang-switch a:hover { color: var(--ink); background: var(--surface); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: .6rem;
  background: none; border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: .45rem .8rem; font-weight: 600; font-size: .9375rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

/* ---------- Buttons & fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.35rem; border-radius: var(--radius);
  border: 2px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--brand-ink); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small {
  min-height: 2.5rem; padding: .45rem .95rem; font-size: .9375rem;
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink);
}
.btn-small:hover:not(:disabled) { background: var(--ink); color: #fff; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.field-label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .4rem; }
input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%; background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: .75rem .9rem; font-size: 1rem; line-height: 1.4;
  transition: border-color .15s;
}
input::placeholder, textarea::placeholder { color: #8593A6; }
input:focus, textarea:focus { border-color: var(--brand-ink); }
input[type="checkbox"], input[type="range"] { accent-color: var(--brand); }

select {
  width: 100%; appearance: none; -webkit-appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23003333' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right .9rem center;
  color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: .75rem 2.4rem .75rem .9rem; font: inherit; font-size: 1rem; line-height: 1.4; cursor: pointer;
}
select:focus { border-color: var(--brand-ink); }

/* ---------- Hero (dark, media) ---------- */
.hero { background: var(--ink); color: #fff; padding-top: clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.6rem);
  line-height: 1.1; letter-spacing: -.02em; max-width: 14em; text-wrap: balance;
}
.lead { margin-top: 1.5rem; font-size: 1.1875rem; line-height: 1.6; color: #BFD8D8; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero .btn-primary { background: var(--brand-light); color: var(--ink); }
.hero .btn-primary:hover { background: #6BD8D8; }
.hero .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero :focus-visible { outline-color: var(--brand-light); }
.hero-hacked { margin: 1.75rem 0 0; font-size: .9375rem; color: #9DBDBD; max-width: 34em; }
.hero-hacked a { color: var(--brand-light); font-weight: 600; text-underline-offset: 3px; }
.hero-hacked a:hover { color: #fff; }

/* Profile card: the one illustrative element of the page */
.profile-card {
  justify-self: end; width: 100%; max-width: 27rem;
  background: var(--surface); color: var(--ink);
  border-radius: 20px; padding: 1.5rem 1.5rem 1rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.pc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.pc-avatar {
  position: relative; width: 62px; height: 62px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, var(--brand), var(--brand-light), #A6EAEA, var(--brand));
}
.pc-person { width: 100%; height: 100%; border-radius: 50%; background: #DDEBEB; fill: #8DB0B0; border: 3px solid #fff; }
.pc-lock {
  position: absolute; right: -3px; bottom: -3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; border: 2px solid #fff;
}
.pc-lock svg { width: auto; height: 15px; }
.pc-handle { margin: 0; font-weight: 650; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-stats { margin: 0; font-size: .875rem; color: var(--ink-2); }
.pc-stats b { color: var(--ink); font-weight: 650; }
.pc-status {
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  font-size: .8125rem; font-weight: 600; color: var(--brand-ink);
  background: #E2F3F3; padding: .35rem .7rem; border-radius: 999px;
}
.pc-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.pc-label { margin: 1.1rem 0 .3rem; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.pc-feed li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px dashed var(--line); font-size: .9375rem; line-height: 1.35;
  opacity: 0; transform: translateY(6px); animation: feed-in .5s ease forwards;
}
.pc-feed li:last-child { border-bottom: 0; }
.pc-feed li:nth-child(1) { animation-delay: .35s; }
.pc-feed li:nth-child(2) { animation-delay: .75s; }
.pc-feed li:nth-child(3) { animation-delay: 1.15s; }
.pc-feed li:nth-child(4) { animation-delay: 1.55s; }
@keyframes feed-in { to { opacity: 1; transform: none; } }
.pc-dot { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); }
.pc-dot::after {
  content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.pc-time { font-size: .8125rem; color: #6A8888; font-variant-numeric: tabular-nums; }

.platforms {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 2.25rem;
  position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 1.75rem 2rem;
}
.platforms::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .12); }
.platforms-label { margin: 0; font-size: .875rem; color: #7FA9A9; }
.platforms-list { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.platforms-list li { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: #D5E6E6; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-white { background: var(--surface); }
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.55rem, 1.05rem + 1.9vw, 2.3rem);
  line-height: 1.2; letter-spacing: -.015em; text-wrap: balance;
}
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-intro { margin: 1rem 0 0; font-size: 1.125rem; color: var(--ink-2); }

/* Services */
.svc-group {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 1.5rem 3rem;
  padding-block: 2.25rem 2.5rem; border-top: 2px solid var(--ink);
}
.svc-group-title { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.25; color: var(--brand-ink); }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.75rem; }
.svc h4 { margin: 0 0 .5rem; font-weight: 650; font-size: 1.2rem; line-height: 1.3; }
.svc p { margin: 0; color: var(--ink-2); }

/* Process */
.steps { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.step { padding-top: 1.25rem; border-top: 2px solid var(--line); }
.step:first-child { border-top-color: var(--brand); }
.step-num { display: block; font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--brand); margin-bottom: 1rem; }
.step h3 { margin-bottom: .5rem; font-weight: 650; font-size: 1.15rem; line-height: 1.3; }
.step p { margin: 0; color: var(--ink-2); }

/* Threats */
.threats-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.threats-head { position: sticky; top: 6.5rem; margin-bottom: 0; }
.threats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(1.5rem, 3vw, 2.5rem); }
.threat { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.threat h3 { font-weight: 650; font-size: 1.2rem; line-height: 1.3; margin-bottom: 1rem; }
.threat dl { margin: 0; display: grid; gap: .85rem; }
.threat dt { font-size: .875rem; font-weight: 650; color: var(--brand-ink); }
.threat dd { margin: .15rem 0 0; color: var(--ink-2); }
.habits { margin-top: clamp(3rem, 6vw, 4.5rem); background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); }
.habits h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); line-height: 1.3; margin-bottom: 1.75rem; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: .25rem; top: .32em;
  width: .45rem; height: .85rem; border: solid var(--brand); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* Free checks */
.checks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.pw-tool, .panel { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.tool-title { font-family: var(--font-body); font-weight: 650; font-size: 1.3rem; line-height: 1.3; margin-bottom: 1rem; }
.panel-text { color: var(--ink-2); margin-bottom: 1.25rem; }
.pw-field { display: flex; gap: .5rem; }
.pw-field input { font-family: var(--font-mono); font-size: 1.05rem; }
.pw-field input:placeholder-shown { font-family: var(--font-body); }
.pw-toggle {
  flex: none; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 0 .9rem; font-weight: 600; font-size: .9rem; cursor: pointer; min-width: 5.5rem;
}
.pw-toggle:hover { border-color: var(--ink); }
.key { width: 100%; height: auto; margin: 1.5rem 0 1rem; overflow: visible; }
.key-bow { fill: none; stroke: var(--ink); stroke-width: 13; }
.key-shaft, .key-tip { fill: var(--ink); }
.tooth { fill: transparent; stroke: #9DB3B3; stroke-width: 1.5; stroke-dasharray: 3 3; transition: fill .3s ease, stroke .3s ease; }
.tooth:nth-of-type(2) { transition-delay: .05s; }
.tooth:nth-of-type(3) { transition-delay: .1s; }
.tooth:nth-of-type(4) { transition-delay: .15s; }
.tooth:nth-of-type(5) { transition-delay: .2s; }
.tooth.on { fill: var(--lvl); stroke: var(--lvl); stroke-dasharray: none; }
.key[data-level="0"], .pw-tool[data-level="0"] { --lvl: var(--lvl-0); }
.key[data-level="1"], .pw-tool[data-level="1"] { --lvl: var(--lvl-1); }
.key[data-level="2"], .pw-tool[data-level="2"] { --lvl: var(--lvl-2); }
.key[data-level="3"], .pw-tool[data-level="3"] { --lvl: var(--lvl-3); }
.key[data-level="4"], .pw-tool[data-level="4"] { --lvl: var(--lvl-4); }
.pw-result { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; }
.pw-result dt { font-size: .875rem; color: var(--ink-2); }
.pw-result dd { margin: .1rem 0 0; font-weight: 650; font-size: 1.15rem; line-height: 1.35; }
.pw-tool[data-level] #pw-level { color: var(--lvl); }
.pw-hints { margin-top: .9rem; font-size: .9375rem; color: var(--ink-2); }
.pw-hints li { position: relative; padding-left: 1.1rem; margin-bottom: .2rem; }
.pw-hints li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: 2px; background: var(--brand); }
.breach { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.breach-result { margin: .75rem 0 0; font-size: .9375rem; font-weight: 500; }
.breach-result:empty { display: none; }
.breach-result.is-bad { color: var(--lvl-0); }
.breach-result.is-good { color: var(--lvl-3); }
.tool-note { margin: 1rem 0 0; font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.tool-note-quiet { margin-top: .35rem; color: #688282; }
.link-form { display: grid; gap: .75rem; }
.link-form .field-label { margin-bottom: -.35rem; }
.link-form .btn { justify-self: start; }
.link-result { margin-top: 1.5rem; border-left: 4px solid var(--line); padding: .25rem 0 .25rem 1.1rem; }
.link-result[data-verdict="high"] { border-left-color: var(--lvl-0); }
.link-result[data-verdict="caution"] { border-left-color: #D08A0C; }
.link-result[data-verdict="ok"] { border-left-color: var(--lvl-3); }
.link-verdict { font-weight: 650; font-size: 1.05rem; margin-bottom: .5rem; }
.link-domain { font-size: .9375rem; color: var(--ink-2); margin-bottom: .6rem; word-break: break-all; }
.link-domain b { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.link-findings li { position: relative; padding-left: 1.1rem; margin-bottom: .35rem; font-size: .9375rem; color: var(--ink-2); }
.link-findings li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; border-radius: 50%; background: #D08A0C; }
.link-findings li.sev-3::before { background: var(--lvl-0); }

/* Why Keyded (dark band) */
.section-dark { background: var(--ink); color: var(--band-text); }
.section-dark .section-title { color: #fff; }
.statement {
  margin: 1.75rem 0 0; color: #fff;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.35rem, .95rem + 1.5vw, 2.05rem);
  line-height: 1.35; letter-spacing: -.01em; max-width: 26em; text-wrap: pretty;
}
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.principle { border-top: 3px solid var(--brand-light); padding-top: 1.1rem; }
.principle h3 { font-weight: 650; font-size: 1.15rem; margin-bottom: .45rem; color: #fff; }
.principle p { color: var(--band-muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-email { margin-top: 2rem; display: grid; gap: .25rem; }
.contact-email span { font-size: .875rem; color: var(--ink-2); }
.contact-email a {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem);
  text-decoration: none; border-bottom: 2px solid var(--brand); justify-self: start; padding-bottom: .1rem;
}
.contact-email a:hover { color: var(--brand-ink); }
.contact-form { display: grid; gap: .35rem; background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.contact-form .field-label:not(:first-of-type) { margin-top: .85rem; }
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form .btn { margin-top: 1.25rem; justify-self: start; }
.form-status { margin: .75rem 0 0; font-weight: 500; font-size: .9375rem; min-height: 1.4em; }
.form-status:empty { min-height: 0; margin: 0; }
.form-status.is-ok { color: var(--lvl-3); }
.form-status.is-error { color: var(--lvl-0); }
.form-note { margin: .5rem 0 0; font-size: .8125rem; color: #688282; }

/* Footer */
.site-footer { background: var(--ink); color: var(--band-muted); padding-block: 3rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-end; }
.brand-footer { color: #fff; }
.footer-product { margin: .75rem 0 0; font-size: .9375rem; }
.footer-product a { color: var(--brand-light); text-decoration: none; font-weight: 600; border-bottom: 1px solid currentColor; }
.footer-product a:hover { color: #fff; }
.footer-meta { display: grid; gap: .75rem; justify-items: end; }
.lang-switch-footer a { color: var(--band-muted); font-weight: 500; min-width: 0; }
.lang-switch-footer a:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang-switch-footer a[aria-current="true"] { background: rgba(255,255,255,.12); color: #fff; }
.footer-rights { margin: 0; font-size: .875rem; }
.site-footer :focus-visible, .section-dark :focus-visible { outline-color: var(--brand-light); }

/* 404 */
.e404 { padding-block: 3rem 5rem; }
.e404 .brand .logo { height: 2.4rem; }
.e404-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--brand); margin: 3rem 0 2rem; }
.e404-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.e404-list h1, .e404-list h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin-bottom: .5rem; }
.e404-list p { color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 1.1rem; }
  .site-nav { gap: 1.25rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
  }
  .site-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .nav-links a:hover { border-bottom-color: var(--line); }
  .lang-switch { padding-top: .5rem; }
  .hero-grid, .contact-grid, .checks-grid, .threats-grid { grid-template-columns: 1fr; }
  .profile-card { justify-self: start; }
  .svc-group { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .threats-head { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .lead { font-size: 1.0625rem; }
  .svc-list, .threats, .check-list, .steps, .e404-list { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 auto; }
  .footer-meta { justify-items: start; }
  .lang-switch-footer { flex-wrap: wrap; }
  .profile-card { padding: 1.25rem 1.25rem .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .pc-feed li { opacity: 1; transform: none; }
}
