@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-latin-400.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: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-400.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: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin-600.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: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-600.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: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin-700.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: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-700.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: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-800.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: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-800.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;
}
/* Daniel Haviar — IT služby. Premium dark navy theme, flyer light-blue accent. */
:root {
  --bg: #010915;
  --bg-2: #031127;
  --navy: #001129;
  --accent: #7cc8fb;
  --accent-2: #238add;
  --accent-3: #b9e3ff;
  --text: #f4f8fc;
  --muted: #9fb3cb;
  --muted-2: #7389a4;
  --line: rgba(124, 200, 251, 0.12);
  --line-2: rgba(124, 200, 251, 0.24);
  --glass: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  /* ambient glow field */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(35,138,221,0.22), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(124,200,251,0.08), transparent 60%),
    linear-gradient(180deg, #020c1d 0%, var(--bg) 40%, #010712 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(124,200,251,0.35); color: #fff; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: var(--navy); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(1, 9, 21, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-tag { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.brand-name { font-size: .95rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--muted); font-size: .86rem; font-weight: 600; letter-spacing: .01em; transition: color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); }
.nav .nav-cta {
  color: var(--navy); background: var(--accent); padding: .55rem 1rem; border-radius: 999px; font-weight: 700;
  box-shadow: 0 0 0 1px rgba(124,200,251,.4), 0 8px 24px -8px rgba(124,200,251,.6);
}
.nav .nav-cta:hover { color: var(--navy); background: var(--accent-3); }
.lang { display: inline-flex; gap: .15rem; padding: .2rem; border: 1px solid var(--line-2); border-radius: 999px; }
.lang a { padding: .2rem .55rem; border-radius: 999px; font-size: .74rem; letter-spacing: .08em; }
.lang a[aria-current="true"] { background: rgba(124,200,251,.14); color: var(--text); }
.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, #a9dcff 0%, var(--accent) 45%, #4fb0f2 100%);
  box-shadow: 0 0 0 1px rgba(124,200,251,.5), 0 14px 40px -12px rgba(124,200,251,.75), inset 0 1px 0 rgba(255,255,255,.6);
}
.btn-primary:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(124,200,251,.7), 0 20px 50px -12px rgba(124,200,251,.9), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.03); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); background: rgba(124,200,251,.08); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.grad {
  background: linear-gradient(100deg, #ffffff 0%, var(--accent-3) 35%, var(--accent) 70%, #4fb0f2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); line-height: 1.6; max-width: 40rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(124,200,251,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(124,200,251,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -140px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35,138,221,.35), rgba(35,138,221,0) 65%);
  filter: blur(10px);
  animation: breathe 9s ease-in-out infinite;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.1rem); margin: 1.3rem 0 1.4rem; letter-spacing: -0.035em; line-height: 1.04; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-meta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--muted-2); font-size: .84rem; font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.console {
  position: relative; border-radius: 24px; padding: 1.4rem;
  background: linear-gradient(180deg, rgba(10,32,62,.75), rgba(3,14,32,.85));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset, 0 0 80px -20px rgba(35,138,221,.45);
  backdrop-filter: blur(12px);
}
.console::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(124,200,251,.7), transparent 35%, transparent 65%, rgba(124,200,251,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.console-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); }
.console-top .dots { display: flex; gap: 6px; }
.console-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.console-title { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.console-row { display: grid; grid-template-columns: 34px 1fr auto; gap: .9rem; align-items: center; padding: .78rem .2rem; border-bottom: 1px solid rgba(124,200,251,.07); }
.console-row:last-child { border-bottom: 0; }
.console-row .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(124,200,251,.08); color: var(--accent); }
.console-row .ico svg { width: 18px; height: 18px; }
.console-row strong { display: block; font-size: .92rem; font-weight: 700; }
.console-row small { display: block; font-size: .76rem; color: var(--muted-2); font-weight: 500; }
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8ff0c4; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ee39b; box-shadow: 0 0 0 0 rgba(62,227,155,.6); animation: ping 2.4s ease-out infinite; }
.console-row:nth-child(3) .status::before { animation-delay: .4s; }
.console-row:nth-child(4) .status::before { animation-delay: .8s; }
.console-row:nth-child(5) .status::before { animation-delay: 1.2s; }
.console-row:nth-child(6) .status::before { animation-delay: 1.6s; }
.console-row:nth-child(7) .status::before { animation-delay: 2s; }

/* ---------- Stats strip ---------- */
.stats { border-block: 1px solid var(--line); background: linear-gradient(90deg, transparent, rgba(124,200,251,.035), transparent); }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 1.7rem 1.2rem; text-align: center; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.stats span { display: block; margin-top: .25rem; font-size: .8rem; color: var(--muted-2); font-weight: 600; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 1rem 0 1rem; }
.security .section-head { max-width: 56rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: linear-gradient(270deg, transparent, var(--accent)); }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Glass card ---------- */
.card {
  position: relative; border-radius: var(--radius); padding: 1.7rem;
  background: var(--glass);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px 200px at 20% 0%, rgba(124,200,251,.12), transparent 70%);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 0 40px -18px rgba(124,200,251,.4); }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.icon-box {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.3rem; color: var(--accent);
  background: linear-gradient(145deg, rgba(124,200,251,.18), rgba(124,200,251,.04));
  border: 1px solid rgba(124,200,251,.22);
  box-shadow: 0 8px 24px -10px rgba(124,200,251,.5);
}
.icon-box svg { width: 22px; height: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.tags li { font-size: .7rem; font-weight: 600; letter-spacing: .03em; color: var(--accent-3); padding: .28rem .6rem; border-radius: 999px; background: rgba(124,200,251,.07); border: 1px solid rgba(124,200,251,.14); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* ---------- Managed IT ---------- */
.managed { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.managed .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.managed .lead { margin-bottom: 2rem; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.mini-grid .card { padding: 1.5rem; }
.mini-grid .icon-box { margin-bottom: 1rem; }
.note {
  margin-top: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.15rem 1.5rem; border-radius: var(--radius); border: 1px dashed var(--line-2); color: var(--muted); font-size: .94rem;
}
.note a { font-weight: 700; white-space: nowrap; }

/* ---------- Security (AI era) ---------- */
.security {
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(35,138,221,.16), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(124,200,251,.08), transparent 60%),
    linear-gradient(180deg, #020d20, #020a18);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.security::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(124,200,251,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%);
  mask-image: linear-gradient(180deg, #000, transparent 55%);
}
.security .wrap { position: relative; }
.threats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.threat { padding: 1.5rem; }
.threat .icon-box { color: #ffb4a8; background: linear-gradient(145deg, rgba(255,140,120,.16), rgba(255,140,120,.03)); border-color: rgba(255,150,130,.25); box-shadow: 0 8px 24px -10px rgba(255,120,100,.45); }
.threat h3 { font-size: 1.02rem; }
.threat p { font-size: .9rem; }

.checkup {
  position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.6rem, 4vw, 3.5rem);
  padding: clamp(1.8rem, 4vw, 3rem); border-radius: 28px;
  background: linear-gradient(160deg, rgba(14,44,84,.7), rgba(4,18,40,.85));
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.85), 0 0 120px -40px rgba(35,138,221,.55);
}
.checkup::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(124,200,251,.9), transparent 30%, transparent 70%, rgba(124,200,251,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.checkup h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: .9rem 0 .9rem; }
.checkup .intro p { color: var(--muted); }
.checkup .intro p + p { margin-top: .8rem; }
.checkup .intro .btn { margin-top: 1.8rem; }
.checkup .meta { margin-top: 1.4rem; display: grid; gap: .55rem; font-size: .86rem; color: var(--muted); }
.checkup .meta b { color: var(--text); font-weight: 700; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; align-content: start; }
.checklist li {
  display: grid; grid-template-columns: 26px 1fr; gap: .75rem; align-items: start;
  padding: 1rem 1.05rem; border-radius: 14px; background: rgba(1,9,21,.45); border: 1px solid rgba(124,200,251,.1);
  font-size: .9rem; font-weight: 600; line-height: 1.45; color: #e6eef8;
}
.checklist li small { display: block; font-weight: 500; color: var(--muted-2); font-size: .8rem; margin-top: .15rem; }
.checklist svg { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }

/* ---------- Services ---------- */
.subhead { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.subhead h3 { font-size: 1.5rem; }
.subhead p { color: var(--muted); max-width: 32rem; font-size: .95rem; }
.svc-secondary .card { padding: 1.4rem; }
.svc-secondary .card h3 { font-size: 1rem; }
.svc-secondary .card p { font-size: .88rem; }
.svc-secondary .icon-box { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 1rem; }
.svc-secondary .icon-box svg { width: 19px; height: 19px; }

/* ---------- Audience ---------- */
.audience .card { padding: 2rem; }
.audience .card .num { font-size: .74rem; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.audience .card h3 { font-size: 1.3rem; margin: .9rem 0 .6rem; }
.also { margin-top: 1.4rem; padding: 1.8rem 2rem; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 1rem 2.5rem; align-items: center; }
.also h3 { font-size: 1.05rem; font-weight: 700; max-width: 15rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: .82rem; font-weight: 600; color: var(--muted); padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(1,9,21,.4); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), var(--line-2), transparent); }
.step { position: relative; padding: 0 .4rem; }
.step .n {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.3rem;
  font-weight: 800; font-size: 1rem; color: var(--navy);
  background: radial-gradient(circle at 35% 30%, #d4eeff, var(--accent) 60%, #3d9fe0);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line-2), 0 10px 30px -8px rgba(124,200,251,.7);
}
.step h3 { font-size: 1.1rem; margin-bottom: .45rem; font-weight: 700; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about .section-head { margin-bottom: 1.6rem; }
.about .prose p { color: var(--muted); font-size: 1.02rem; }
.about .prose p + p { margin-top: 1rem; }
.about .prose strong { color: var(--text); font-weight: 700; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.facts .card:first-child { grid-column: 1 / -1; }
.about .prose .quote {
  margin-top: 2rem; padding: 1.4rem 0 0 1.4rem; border-left: 2px solid var(--accent);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--text);
}
.facts .card { padding: 1.5rem 1.6rem; }
.facts h3 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: .9rem; }
.facts li { display: flex; gap: .7rem; align-items: baseline; padding: .4rem 0; font-size: .92rem; font-weight: 600; color: #e6eef8; border-bottom: 1px solid rgba(124,200,251,.07); }
.facts li:last-child { border-bottom: 0; }
.facts li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); transform: translateY(-2px) rotate(45deg); }
.facts p { color: var(--muted); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact-panel {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: 28px; overflow: hidden;
  background: radial-gradient(600px 400px at 0% 0%, rgba(35,138,221,.25), transparent 60%), linear-gradient(160deg, rgba(10,36,70,.8), rgba(3,14,32,.9));
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.85);
}
.contact-panel h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 1rem 0 1rem; }
.contact-list { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-item {
  display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: center; padding: .9rem 1rem; border-radius: 16px;
  background: rgba(1,9,21,.45); border: 1px solid rgba(124,200,251,.12); color: var(--text); transition: border-color .25s, transform .25s var(--ease);
}
a.contact-item:hover { border-color: var(--accent); color: var(--text); transform: translateX(3px); }
.contact-item .icon-box { margin: 0; width: 46px; height: 46px; }
.contact-item small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.contact-item span { font-weight: 700; font-size: 1.02rem; }
form { display: grid; gap: 1rem; align-content: start; }
.field label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: rgba(1,9,21,.6);
  border: 1px solid rgba(124,200,251,.18); border-radius: 12px; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #031127; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,200,251,.15); }
.hint { font-size: .8rem; color: var(--muted-2); }
form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.4rem 0 2.8rem; color: var(--muted-2); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { width: 34px; height: auto; opacity: .9; }
.footer-brand b { display: block; color: var(--text); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.site-footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--text); }
.legal { margin-top: 1.4rem; font-size: .78rem; color: var(--muted-2); }

/* ---------- Simple pages ---------- */
.page { padding: clamp(3.5rem, 8vw, 6rem) 0; min-height: 60vh; }
.page h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 1rem 0 1.8rem; }
.page .prose { max-width: 46rem; }
.page .prose p { color: var(--muted); }
.page .prose p + p { margin-top: 1rem; }
.page .actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Motion ---------- */
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(62,227,155,.55); } 70%,100% { box-shadow: 0 0 0 8px rgba(62,227,155,0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.console { animation: rise 1.1s .25s var(--ease) both; }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 1.1rem; }
  .nav a:not(.nav-cta) { font-size: .8rem; }
  .threats { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
    background: rgba(255,255,255,.03); border: 1px solid var(--line-2); color: var(--text); padding: 0;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -6px; }
  .menu-toggle span::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: .6rem 1.25rem 1.4rem; background: #020b19; border-bottom: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); max-height: calc(100vh - 72px); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav a:not(.nav-cta) { padding: .9rem .2rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 0; padding: .9rem; }
  .nav .lang { align-self: flex-start; margin-top: 1rem; }
  .nav .lang a { border-bottom: 0; padding: .3rem .8rem; font-size: .8rem; }
  .hero-grid, .managed, .checkup, .about, .contact-panel { grid-template-columns: 1fr; }
  .managed .section-head { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .steps::before { display: none; }
  .also { grid-template-columns: 1fr; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 2rem, var(--max)); }
  .brand img { width: 40px; }
  .brand-name { font-size: .85rem; }
  .hero { padding-top: 3rem; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-actions .btn { width: 100%; }
  .console { padding: 1.1rem; }
  .console-row { grid-template-columns: 32px 1fr auto; gap: .7rem; }
  .grid-3, .grid-4, .mini-grid, .threats, .checklist, .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats li { padding: 1.3rem .8rem; }
  .subhead { flex-direction: column; align-items: start; }
  .card { padding: 1.4rem; }
  .audience .card { padding: 1.6rem; }
  .also { padding: 1.5rem; }
  .checkup, .contact-panel { border-radius: 22px; }
  .checkup .intro .btn, form .btn { width: 100%; justify-self: stretch; }
  .note { flex-direction: column; align-items: start; }
  .eyebrow { font-size: .68rem; letter-spacing: .16em; }
  .status { font-size: 0; gap: 0; }
  .console-row small { font-size: .72rem; }
  .card:has(> .icon-box) { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; align-items: start; padding: 1.25rem; }
  .card:has(> .icon-box) > .icon-box { grid-row: 1 / span 3; width: 44px; height: 44px; margin: 0; }
  .card:has(> .icon-box) > h3 { margin-top: .55rem; }
  .card:has(> .icon-box) > * { grid-column: 2; }
  .card:has(> .icon-box) > .icon-box { grid-column: 1; }
  .btn { padding-inline: 1.1rem; font-size: .9rem; }
  .checklist li { padding: .85rem .95rem; }
  .checkup { padding: 1.5rem 1.25rem; }
  .checkup .intro .btn svg { display: none; }
  .site-footer nav { row-gap: .5rem; }
  .about .prose .quote { font-size: 1.2rem; }
}

/* ---------- Pillars & AI ---------- */
.pillars { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.pillar { display: block; color: inherit; text-decoration: none; }
.pillar .more { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.2rem; font-size: .84rem; font-weight: 700; color: var(--accent); }
.pillar .more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pillar:hover .more svg { transform: translateX(4px); }
.ai {
  background: radial-gradient(900px 520px at 85% 0%, rgba(124,200,251,.12), transparent 60%), linear-gradient(180deg, #020a18, #010915);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.ai .section-head { max-width: 56rem; }
.ai .grid-3 { margin-bottom: 1.4rem; }
.ai-steps { counter-reset: none; }
.ai-steps li { grid-template-columns: 34px 1fr; }
.ai-steps .stepn { font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: var(--accent); margin-top: 2px; }
.checkup.ai-plan { margin-top: 0; }

/* ---------- Utilities ---------- */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.contact-wizard { margin-top: 1.6rem; }

/* ---------- Offer explorer ---------- */
.px-hint { text-align: center; color: var(--muted-2); font-size: .86rem; font-weight: 600; margin: -1.4rem 0 1.6rem; }
.px { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.px-card { grid-row: 1; position: relative; }
.px-card h3 { margin: 0; height: 100%; }
.px-btn {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; gap: .2rem 1rem;
  width: 100%; height: 100%; padding: 1.6rem 1.5rem 1.4rem; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line);
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; font-family: var(--font); color: var(--text);
}
.px-btn .icon-box { margin: 0 0 1rem; grid-column: 1 / -1; }
.px-btn .px-t { grid-column: 1 / -1; }
.px-btn strong { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: .45rem; }
.px-btn small { display: block; color: var(--muted); font-size: .9rem; font-weight: 500; line-height: 1.55; }
.px-btn:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 0 40px -18px rgba(124,200,251,.4); }
.px-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.px-plus { position: absolute; top: 1.4rem; right: 1.4rem; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(1,9,21,.5); transition: transform .45s var(--ease), background .3s, border-color .3s; }
.px-plus::before, .px-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--accent); border-radius: 2px; transform: translate(-50%,-50%); transition: transform .45s var(--ease); }
.px-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.px-card.is-open .px-btn { border-color: rgba(124,200,251,.55); background: linear-gradient(180deg, rgba(124,200,251,.12), rgba(124,200,251,.02)); box-shadow: 0 0 0 1px rgba(124,200,251,.2), 0 24px 60px -28px rgba(124,200,251,.6); transform: none; }
.px-card.is-open .px-plus { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); }
.px-card.is-open .px-plus::before, .px-card.is-open .px-plus::after { background: var(--navy); }
.px-card.is-open::after { content: ""; position: absolute; left: 50%; bottom: -.62rem; width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg); background: #061a35; border-left: 1px solid rgba(124,200,251,.4); border-top: 1px solid rgba(124,200,251,.4); z-index: 2; }
.px-read { grid-column: 1 / -1; align-self: end; margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8ff0c4; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--ease); }
.px-read svg { width: 16px; height: 16px; }
.px-card.is-read .px-read { opacity: 1; transform: none; }
.px-card.is-read .icon-box { box-shadow: 0 0 0 1px rgba(62,227,155,.35), 0 8px 24px -10px rgba(62,227,155,.45); }
.px-panel { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-rows: 1fr; }
.px.is-js .px-panel { grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease), opacity .4s; opacity: 0; }
.px.is-js .px-panel.is-open { grid-template-rows: 1fr; opacity: 1; }
.px-inner { overflow: hidden; min-height: 0; }
.px-body {
  margin-top: .2rem; padding: 1.8rem 2rem; border-radius: var(--radius); border: 1px solid rgba(124,200,251,.4);
  background: radial-gradient(600px 240px at 20% 0%, rgba(124,200,251,.12), transparent 70%), linear-gradient(180deg, #061a35, #030f22);
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2.5rem; align-items: center;
}
.px.is-js .px-panel:not(.is-open) .px-body { visibility: hidden; transition: visibility 0s .5s; }
.px-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem 1.4rem; }
.px-list li { display: grid; grid-template-columns: 20px 1fr; gap: .65rem; font-size: .9rem; font-weight: 700; line-height: 1.35; }
.px-list li small { display: block; font-weight: 500; color: var(--muted-2); font-size: .78rem; margin-top: .2rem; }
.px-list svg { width: 20px; height: 20px; color: var(--accent); }
.px-actions { display: flex; flex-direction: column; gap: .7rem; min-width: 250px; }
.px-actions .btn svg { width: 18px; height: 18px; }
.px-panel.is-open .px-list li { animation: rise .55s var(--ease) both; }
.px-panel.is-open .px-list li:nth-child(2) { animation-delay: .04s; }
.px-panel.is-open .px-list li:nth-child(3) { animation-delay: .08s; }
.px-panel.is-open .px-list li:nth-child(4) { animation-delay: .12s; }
.px-panel.is-open .px-list li:nth-child(5) { animation-delay: .16s; }
.px-panel.is-open .px-list li:nth-child(6) { animation-delay: .2s; }
@media (max-width: 1080px) {
  .px { grid-template-columns: 1fr; gap: .7rem; }
  .px-card, .px-panel { grid-row: auto; }
  .px-btn { grid-template-columns: auto 1fr; grid-template-rows: auto auto; padding: 1.15rem 4rem 1.15rem 1.15rem; align-items: center; }
  .px-btn .icon-box { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .px-btn .px-t { grid-column: 2; }
  .px-btn strong { font-size: 1.05rem; margin-bottom: .15rem; }
  .px-btn small { font-size: .84rem; }
  .px-read { grid-column: 2; margin-top: .45rem; display: none; }
  .px-card.is-read .px-read { display: inline-flex; }
  .px-plus { top: 50%; right: 1.1rem; margin-top: -16px; }
  .px-card.is-open::after { display: none; }
  .px-body { grid-template-columns: 1fr; padding: 1.4rem; }
  .px-list { grid-template-columns: 1fr 1fr; }
  .px-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .px-list { grid-template-columns: 1fr; }
  .px-actions { flex-direction: column; }
  .px-actions .btn { width: 100%; }
  .px-hint { margin-top: -1rem; }
}

/* ---------- Read state on sections, nav, progress, dock ---------- */
.nav a[data-key] { position: relative; display: inline-flex; align-items: center; gap: .35rem; }
.nav-read { display: inline-grid; place-items: center; width: 0; height: 14px; border-radius: 50%; overflow: hidden; transition: width .35s var(--ease), background .3s; }
.nav a.is-read .nav-read { width: 14px; background: rgba(62,227,155,.16); }
.nav a.is-read .nav-read::before { content: ""; width: 6px; height: 3px; border-left: 1.6px solid #6fe9b4; border-bottom: 1.6px solid #6fe9b4; transform: rotate(-45deg) translate(1px,-1px); }
.nav a.is-active { color: var(--text); }
.nav a[data-key]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); box-shadow: 0 0 12px rgba(124,200,251,.8); }
.nav a.is-active::after { transform: scaleX(1); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3)); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px rgba(124,200,251,.7); }
.section-head .eyebrow { transition: color .3s; }
section.is-read > .wrap > .section-head .eyebrow::after,
section.is-read > .wrap > div > .section-head .eyebrow::after,
section.is-read .managed > .section-head .eyebrow::after {
  content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: .62rem; letter-spacing: 0; color: #6fe9b4; background: rgba(62,227,155,.14); border: 1px solid rgba(62,227,155,.3);
}
.dock {
  position: fixed; right: max(1.2rem, env(safe-area-inset-right)); bottom: max(1.2rem, env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: .5rem; padding: .4rem; border-radius: 999px;
  background: rgba(3,14,32,.78); border: 1px solid var(--line-2); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.9), 0 0 30px -14px rgba(124,200,251,.5);
  opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; transition: opacity .35s, transform .45s var(--ease);
}
.dock.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.dock-top { all: unset; box-sizing: border-box; position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.dock-top:focus-visible, .dock-next:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dock-top .ring { position: absolute; inset: 0; width: 44px; height: 44px; transform: rotate(-90deg); fill: none; stroke-width: 2; }
.dock-top .ring circle { stroke: rgba(124,200,251,.16); }
.dock-top .ring .ring-p { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; transition: stroke-dashoffset .2s; }
.dock-top .up { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dock-top:hover .up { transform: translateY(-2px); transition: transform .25s var(--ease); }
.dock-next { display: inline-flex; align-items: center; gap: .55rem; height: 44px; padding: 0 1rem 0 1.1rem; border-radius: 999px; color: var(--navy); background: linear-gradient(135deg, #a9dcff 0%, var(--accent) 45%, #4fb0f2 100%); font-weight: 700; font-size: .84rem; white-space: nowrap; }
.dock-next:hover { color: var(--navy); }
.dock-next[hidden] { display: none; }
.dock-k { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.dock-next svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.dock-next:hover svg { transform: translateY(2px); }
@media (max-width: 960px) {
  .nav a[data-key]::after { display: none; }
  .nav a[data-key] { display: flex; justify-content: space-between; }
  .nav a.is-active { color: var(--accent); }
}
@media (max-width: 620px) {
  .dock { right: .8rem; bottom: .8rem; }
  .dock-k { display: none; }
  .dock-next { font-size: .8rem; padding: 0 .85rem; max-width: 62vw; }
  .dock-l { overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Request wizard page ---------- */
.rq-page { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); position: relative; isolation: isolate; }
.rq-page::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 700px; z-index: -1; pointer-events: none; background: radial-gradient(700px 420px at 75% 10%, rgba(35,138,221,.2), transparent 65%), radial-gradient(500px 360px at 10% 30%, rgba(124,200,251,.07), transparent 65%); }
.rq { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.rq-aside { position: sticky; top: 110px; }
.rq-aside h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); margin: 1.1rem 0 1.2rem; letter-spacing: -0.035em; line-height: 1.05; }
.rq-points { display: grid; gap: .9rem; margin: 2rem 0; }
.rq-points li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.rq-points .icon-box { width: 44px; height: 44px; margin: 0; }
.rq-points strong { display: block; font-size: .98rem; }
.rq-points small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.rq-direct { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; }
.rq-direct small { width: 100%; color: var(--muted-2); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.rq-direct a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.rq-direct svg { width: 18px; height: 18px; }

.wizard {
  position: relative; border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.4rem);
  background: linear-gradient(180deg, rgba(10,32,64,.75), rgba(3,15,34,.85)); border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(124,200,251,.05) inset, 0 0 80px -40px rgba(124,200,251,.45);
  backdrop-filter: blur(10px);
}
.wizard::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(140deg, rgba(124,200,251,.55), transparent 35%, transparent 70%, rgba(35,138,221,.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.wz-head { margin-bottom: 1.8rem; }
.wz-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .75rem; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.wz-meta b { color: var(--text); }
.wz-name { color: var(--accent); }
.wz-bar { position: relative; height: 4px; border-radius: 4px; background: rgba(124,200,251,.1); overflow: hidden; }
.wz-bar i { position: absolute; inset: 0 auto 0 0; width: var(--p, 25%); border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3)); box-shadow: 0 0 16px rgba(124,200,251,.9); transition: width .6s var(--ease); }
.wz-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); transform: translateX(-100%); animation: sheen 2.6s ease-in-out infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.wz-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1rem; }
.wz-dot { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: .55rem; width: 100%; padding: .35rem .2rem; border-radius: 10px; color: var(--muted-2); font-family: var(--font); font-size: .8rem; font-weight: 600; transition: color .25s; }
.wz-dot .d { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 800; border: 1px solid var(--line-2); transition: background .3s, color .3s, border-color .3s, box-shadow .3s; }
.wz-dot:hover { color: var(--text); }
.wz-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wz-dot[aria-current="step"] { color: var(--text); }
.wz-dot[aria-current="step"] .d { background: var(--accent); color: var(--navy); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,200,251,.15), 0 0 18px rgba(124,200,251,.6); }
.wz-dot.is-done .d { background: rgba(124,200,251,.14); color: var(--accent); border-color: rgba(124,200,251,.4); }

.wz-step { border: 0; }
.wz-step-head { margin-bottom: 1.6rem; }
.wz-kicker { display: none; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.wz-step-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.025em; margin: .2rem 0 .45rem; outline: none; }
.wz-step-head p { color: var(--muted); font-size: .95rem; }
.wz-step + .wz-step { margin-top: 2.6rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.is-wizard .wz-step { display: none; }
.is-wizard .wz-step.is-active { display: grid; gap: 1.5rem; margin: 0; padding: 0; border: 0; }
.is-wizard .wz-step-head { margin-bottom: 0; }

.wz-step.in-fwd { animation: stepIn .5s var(--ease) both; }
.wz-step.in-back { animation: stepBack .5s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

#rq-form { gap: 0; }
#rq-form .field label, .opt legend { display: flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .65rem; padding: 0; }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.tag { font-size: .6rem; font-weight: 700; letter-spacing: .1em; padding: .12rem .45rem; border-radius: 999px; color: var(--muted-2); border: 1px solid var(--line); text-transform: uppercase; }
.tag.req { color: var(--accent); border-color: rgba(124,200,251,.35); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.row-2.tight { gap: 1rem; }
.err { display: block; min-height: 0; color: #ffb4a8; font-size: .8rem; font-weight: 600; margin-top: .35rem; }
.err:empty { display: none; }
.field input[aria-invalid="true"] { border-color: #ff8f7d; box-shadow: 0 0 0 4px rgba(255,143,125,.14); }
.field input::placeholder, .field textarea::placeholder { color: #5c718b; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .7rem; }
.tile { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: .85rem; align-items: center; padding: 1rem 2.6rem 1rem 1rem; border-radius: 16px; cursor: pointer; background: rgba(1,9,21,.5); border: 1px solid rgba(124,200,251,.16); transition: border-color .25s, background .25s, transform .3s var(--ease), box-shadow .3s; }
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tile input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tile-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: rgba(124,200,251,.08); border: 1px solid rgba(124,200,251,.14); transition: background .25s, color .25s; }
.tile-ico svg { width: 20px; height: 20px; }
.tile-t strong { display: block; font-size: .92rem; line-height: 1.25; }
.tile-t small { display: block; font-size: .76rem; color: var(--muted-2); line-height: 1.35; margin-top: .15rem; }
.tile-check { position: absolute; top: 50%; right: .95rem; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px; border: 1.5px solid var(--line-2); transition: background .25s, border-color .25s; }
.tile-check::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.tile:has(input:checked) { border-color: rgba(124,200,251,.6); background: linear-gradient(180deg, rgba(124,200,251,.13), rgba(124,200,251,.03)); box-shadow: 0 0 0 1px rgba(124,200,251,.15), 0 14px 40px -22px rgba(124,200,251,.8); }
.tile:has(input:checked) .tile-ico { background: var(--accent); color: var(--navy); }
.tile:has(input:checked) .tile-check { background: var(--accent); border-color: var(--accent); }
.tile:has(input:checked) .tile-check::after { transform: rotate(45deg) scale(1); }
.tile:has(input:focus-visible), .chip:has(input:focus-visible) > span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* chips */
.chipset { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip > span { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .55rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); background: rgba(1,9,21,.5); border: 1px solid rgba(124,200,251,.18); transition: color .2s, background .2s, border-color .2s, box-shadow .25s, transform .2s var(--ease); user-select: none; }
.chip:hover > span { color: var(--text); border-color: var(--line-2); }
.chip:active > span { transform: scale(.97); }
.chip input:checked + span { color: var(--navy); background: linear-gradient(135deg, #b9e3ff, var(--accent)); border-color: var(--accent); box-shadow: 0 8px 24px -10px rgba(124,200,251,.9); }
.chip input[type=checkbox] + span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .6; flex: none; }
.chip input[type=checkbox]:checked + span::before { opacity: 1; background: var(--navy); border-color: var(--navy); box-shadow: inset 0 0 0 2px var(--accent); }
/* segmented */
.seg { display: grid; gap: 0; padding: 4px; border-radius: 14px; background: rgba(1,9,21,.55); border: 1px solid rgba(124,200,251,.16); }
.seg-3 { grid-template-columns: repeat(3, 1fr); } .seg-4 { grid-template-columns: repeat(4, 1fr); }
.seg .chip > span { width: 100%; justify-content: center; text-align: center; border-radius: 10px; border-color: transparent; background: transparent; min-height: 42px; padding: .5rem .4rem; font-size: .84rem; line-height: 1.2; }
.seg .chip input:checked + span { background: linear-gradient(135deg, #b9e3ff, var(--accent)); }
/* stepper */
.stepper { display: grid; grid-template-columns: 50px 1fr 50px; border-radius: 14px; border: 1px solid rgba(124,200,251,.18); background: rgba(1,9,21,.6); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.stepper:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,200,251,.15); }
.field .stepper input { border: 0; border-radius: 0; background: transparent; text-align: center; font-weight: 800; font-size: 1.1rem; box-shadow: none; -moz-appearance: textfield; padding: .7rem .4rem; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn { all: unset; cursor: pointer; display: grid; place-items: center; font-size: 1.3rem; font-weight: 600; color: var(--accent); transition: background .2s; font-family: var(--font); }
.step-btn:hover { background: rgba(124,200,251,.1); }
.step-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 10px; }
.field .hint { display: block; margin-top: .4rem; }
.gdpr { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(124,200,251,.05); border: 1px solid var(--line); font-size: .82rem; color: var(--muted); line-height: 1.55; }
.gdpr svg { width: 20px; height: 20px; color: var(--accent); }
.gdpr a { font-weight: 700; white-space: nowrap; }

.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.wz-nav [data-next], .wz-nav [data-submit] { margin-left: auto; }
#rq-form .btn { justify-self: auto; }
.wz-nav .btn[hidden] { display: none; }

/* success */
.wz-done { text-align: center; padding: 1rem 0 .4rem; }
.wz-done:not([hidden]) { animation: rise .6s var(--ease) both; }
.done-mark { width: 92px; height: 92px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, rgba(62,227,155,.2), transparent); }
.done-mark svg { width: 80px; height: 80px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke: #3ee39b; stroke-width: 2.5; stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw .8s .1s var(--ease) forwards; filter: drop-shadow(0 0 8px rgba(62,227,155,.6)); }
.done-mark path { stroke: #8ff0c4; stroke-width: 3.5; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .5s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .done-mark circle, .done-mark path { stroke-dashoffset: 0; } }
.wz-done h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: .8rem 0 1rem; outline: none; }
.wz-done p { color: var(--text); max-width: 34rem; margin: 0 auto; }
.wz-done p.muted { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.done-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2.2rem; }
.btn.is-copied { border-color: #3ee39b; color: #8ff0c4; }
.done-sum-h { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .8rem; text-align: left; }
.done-sum { display: grid; grid-template-columns: minmax(130px, auto) 1fr; text-align: left; margin: 0 0 1.4rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(1,9,21,.45); overflow: hidden; }
.done-sum dt, .done-sum dd { margin: 0; padding: .65rem 1rem; border-bottom: 1px solid rgba(124,200,251,.07); font-size: .86rem; }
.done-sum dt { color: var(--muted-2); font-weight: 600; }
.done-sum dd { color: var(--text); font-weight: 600; white-space: pre-wrap; word-break: break-word; }
.done-sum dt:nth-last-of-type(1), .done-sum dd:last-child { border-bottom: 0; }
.link-btn { all: unset; cursor: pointer; color: var(--accent); font-weight: 700; font-size: .88rem; font-family: var(--font); }
.link-btn:hover { color: var(--accent-3); }
.link-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 960px) {
  .rq { grid-template-columns: 1fr; }
  .rq-aside { position: static; }
  .rq-points { grid-template-columns: repeat(3, 1fr); }
  .rq-points li { grid-template-columns: 1fr; gap: .6rem; }
}
@media (max-width: 620px) {
  .rq-page { padding-top: 1.8rem; }
  .rq-aside h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .rq-points { grid-template-columns: 1fr; gap: .8rem; margin: 1.4rem 0; }
  .rq-points li { grid-template-columns: 40px 1fr; gap: .85rem; }
  .rq-points .icon-box { width: 40px; height: 40px; }
  .wizard { border-radius: 22px; padding: 1.2rem 1.05rem 1.3rem; margin-inline: -.25rem; }
  .wz-dots .t { display: none; }
  .wz-dots { display: flex; gap: .4rem; }
  .wz-dot { width: auto; }
  .wz-dot[aria-current="step"] .t { display: inline; }
  .row-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .tiles { grid-template-columns: 1fr; gap: .55rem; }
  .tile { padding: .8rem 2.6rem .8rem .8rem; }
  .seg-4 { grid-template-columns: repeat(2, 1fr); }
  .chip > span { font-size: .84rem; padding: .5rem .85rem; }
  .wz-nav .btn { flex: 1; }
  .wz-nav [data-back] { flex: 0 0 auto; }
  .done-actions .btn { width: 100%; }
  .done-sum { grid-template-columns: 1fr; }
  .done-sum dt { padding-bottom: 0; border-bottom: 0; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
  .done-sum dd { padding-top: .15rem; }
}
#rq-form[hidden], .wz-head[hidden], .wz-done[hidden], .wizard [hidden] { display: none !important; }

@media (max-width: 960px) { .nav .nav-cta { display: flex; justify-content: center; } }
@media (max-width: 960px) {
  .rq { gap: 0; }
  .rq-aside { display: contents; }
  .rq-aside > .eyebrow { order: 0; justify-self: start; }
  .rq-aside > h1 { order: 1; }
  .rq-aside > .lead { order: 2; margin-bottom: 1.6rem; }
  .wizard { order: 3; }
  .rq-points { order: 4; margin-top: 2.4rem; }
  .rq-direct { order: 5; }
}
@media (max-width: 620px) { .rq-aside > .lead { font-size: 1rem; } }

/* No-JS fallback: all steps in one long form that posts to mailto:. request.js adds .wz-js to <html> before first paint. */
html:not(.wz-js) .wz-head, html:not(.wz-js) .wz-nav [data-back], html:not(.wz-js) .wz-nav [data-next] { display: none !important; }
html:not(.wz-js) .wz-kicker { display: block; }
html:not(.wz-js) .nojs-hint { display: block; }
.nojs-hint { display: none; }
.wz-js .wizard:not(.is-wizard) .wz-step:not(.is-active) { display: none; }
.wz-js .wizard:not(.is-wizard) [data-submit] { display: none; }

/* ===================== QA polish pass (Nov 18) ===================== */
/* Brand: IT služby · AI */
.brand-tag { display: inline-flex; align-items: center; gap: .5em; color: var(--muted); white-space: nowrap; }
.brand-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); flex: none; }
.brand-ai {
  color: var(--accent); letter-spacing: .2em;
  background: linear-gradient(100deg, var(--accent-3), var(--accent) 55%, #4fb0f2);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 6px rgba(124,200,251,.45));
}
.footer-brand .brand-ai { letter-spacing: .04em; font-weight: 700; filter: none; }

/* Typography: no widows, no ragged single-word lines */
h1, h2, h3, .eyebrow, .px-hint, .wz-step-head h2 { text-wrap: balance; }
p, .lead, small, li, .card p, .quote { text-wrap: pretty; }
:root { --muted-2: #8297b1; }

/* Vertical rhythm: one scale for every section */
.section { padding: clamp(4rem, 7vw, 6.25rem) 0; }
.hero { padding-bottom: clamp(2.5rem, 4.5vw, 3.75rem); }
.pillars { padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.section-head { margin-bottom: clamp(2rem, 3.6vw, 3rem); }
.section-head .lead { max-width: 42rem; }

/* Managed IT: head on top, 3×2 grid, CTA bar — no dead column */
.managed { display: block; }
.managed .section-head { position: static; margin-bottom: clamp(2rem, 3.6vw, 3rem); }
.managed .lead { margin-bottom: 0; }
.mini-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.note, .svc-cta {
  margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  padding: 1.1rem 1.1rem 1.1rem 1.75rem; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: linear-gradient(90deg, rgba(124,200,251,.07), rgba(124,200,251,.015)); color: var(--muted); font-size: .98rem;
}
.note p, .svc-cta p { flex: 1 1 22rem; max-width: 46rem; }
.note a.btn { white-space: nowrap; }
.svc-cta { margin-top: 1.4rem; }

/* About: facts column sits flush with the bottom of the prose */
.about .facts { align-self: end; }

/* Services subhead baseline */
.subhead { align-items: baseline; }

/* Steps line runs exactly circle-centre to circle-centre */
.steps::before { left: calc(.4rem + 27px); right: calc(25% - 1rem * .75 - .4rem - 27px); }

/* Request tiles: fixed 2-up, odd last tile spans so rows always close */
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* 2-column tablet grids: an odd last card spans the full row in horizontal layout */
@media (min-width: 621px) and (max-width: 960px) {
  .grid-3 > .card:last-child:nth-child(odd),
  .mini-grid > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .audience .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .audience .grid-3 > .card:last-child:nth-child(odd) { grid-column: auto; }
  .audience .card { padding: 1.5rem; }
  .grid-3 > .card:has(> .icon-box):last-child:nth-child(odd) { display: grid; grid-template-columns: 46px 1fr; column-gap: 1.1rem; align-items: start; }
  .grid-3 > .card:has(> .icon-box):last-child:nth-child(odd) > * { grid-column: 2; }
  .grid-3 > .card:has(> .icon-box):last-child:nth-child(odd) > .icon-box { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
}
@media (max-width: 1080px) and (min-width: 961px) {
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .about .facts { align-self: start; }
}

/* Mobile */
@media (max-width: 620px) {
  .section { padding: 3.5rem 0; }
  .pillars { padding-bottom: 2.5rem; }
  .hero { padding-bottom: 2.25rem; }
  .hero .eyebrow { line-height: 1.7; }
  .mini-grid { grid-template-columns: 1fr; }
  .note, .svc-cta { padding: 1.25rem; flex-direction: column; align-items: stretch; }
  .note p, .svc-cta p { flex: none; }
  .note a.btn, .svc-cta .btn { width: 100%; white-space: normal; }
  .tiles { grid-template-columns: 1fr; }
  /* steps as a vertical timeline */
  .steps { gap: 0; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; padding: 0 0 1.6rem; }
  .step:last-child { padding-bottom: 0; }
  .step .n { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; font-size: .9rem; box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--line-2), 0 8px 24px -8px rgba(124,200,251,.7); }
  .step h3 { align-self: center; margin: .55rem 0 .3rem; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 21.5px; top: 52px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--line-2), transparent); }
  /* footer: tidy 2×2 link grid */
  .site-footer nav { display: grid; grid-template-columns: auto auto; justify-content: start; gap: .55rem 1.6rem; }
  .footer-inner { gap: 1.4rem; }
}
@media (max-width: 380px) {
  .brand { gap: .6rem; }
  .brand img { width: 36px; }
  .brand-name { font-size: .8rem; letter-spacing: .12em; }
  .brand-tag { font-size: .6rem; letter-spacing: .2em; }
}
h1 .ln, h2 .ln, h3 .ln { display: block; text-wrap: balance; }
.seg-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) {
  /* wizard nav: Back stays compact, Continue/Submit takes the rest (was 100% + 100% → overflow) */
  .wz-nav .btn { width: auto; min-width: 0; }
  .wz-nav [data-back] { flex: 0 0 auto; padding-inline: 1.3rem; }
  .wz-nav [data-next], .wz-nav [data-submit] { flex: 1 1 auto; }
}
/* field labels: keep the optional/required tag right after the text, even when the label wraps */
#rq-form .field label, #rq-form .opt legend { display: block; }
#rq-form .field label .tag, #rq-form .opt legend .tag { display: inline-block; margin-left: .45rem; vertical-align: 1px; line-height: 1.4; }
/* the wizard adapts to its own width (narrow column at ~1024px, phones) */
.wizard { container-type: inline-size; }
.wz-dot .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 580px) {
  .tiles { grid-template-columns: 1fr; }
  .tiles > .tile:last-child:nth-child(odd) { grid-column: auto; }
  .wz-dots { display: flex; gap: .4rem; }
  .wz-dot { width: auto; }
  .wz-dot .t { display: none; }
  .wz-dot[aria-current="step"] .t { display: inline; }
}
/* footer always rests on the bottom edge, short pages centre their content */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
main.page { display: flex; flex-direction: column; justify-content: center; }
/* keep the floating dock clear of the footer's last line */
@media (max-width: 620px) { .site-footer { padding-bottom: calc(2.4rem + 64px + env(safe-area-inset-bottom)); } }
/* explorer panel: 4 points → one clean row (2×2 where space is tight), never 3 + 1 */
.px-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1240px) { .px-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .px-list { grid-template-columns: 1fr; } }
