/* konfokus.com — system fonts only, no third-party assets, no tracking. Palette follows the Medi product UI. */
:root {
  --fg: #111418;
  --muted: #4a5360;
  --bg: #f4f6f8;
  --card: #ffffff;
  --line: #d3d8de;
  --primary: #0b4f9c;
  --primary-dark: #083d7a;
  --primary-soft: #e8f0fb;
  --accent: #1b6e2e;
  --warn-bg: #fff3c4;
  --warn-fg: #4d3800;
  --demo: #4c1d95;
  --radius: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--primary); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* header */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--fg); display: flex; align-items: center; gap: .55rem; }
.brand .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.brand small { font-weight: 500; color: var(--muted); font-size: .9rem; }
.nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; color: var(--fg); }
.nav a.cta { background: var(--primary); color: #fff; padding: .55rem 1rem; border-radius: 8px; }
.nav a.cta:hover { background: var(--primary-dark); }
@media (max-width: 700px) { .nav a:not(.cta) { display: none; } }

/* hero */
.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 2.5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: .3rem .7rem; border-radius: 999px; font-size: .9rem; margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .65rem 1.25rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid var(--primary); color: var(--primary); background: var(--card); }
.btn:hover { background: var(--primary-soft); }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.trust { display: flex; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.trust li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

.video-card { background: #0f172a; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(11, 79, 156, .18); position: relative; }
.video-card video { display: block; width: 100%; height: auto; background: #0f172a; }
.video-card figcaption { color: #cbd5e1; font-size: .9rem; padding: .6rem .9rem; }

/* sections */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
section.alt .card { background: var(--bg); }
.step { counter-increment: step; }
.step h3::before { content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--primary); color: #fff; margin-inline-end: .6rem; font-size: 1rem; }
.steps { counter-reset: step; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.yes, .no { list-style: none; padding: 0; margin: 0; }
.yes li, .no li { padding: .4rem 0 .4rem 1.8rem; position: relative; }
.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.no li::before { content: "✕"; position: absolute; left: 0; color: #a11a1a; font-weight: 800; }

.shots { display: grid; grid-template-columns: 2.2fr 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 800px) { .shots { grid-template-columns: 1fr; } }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.shots figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }

.notice { background: var(--warn-bg); color: var(--warn-fg); border-radius: 10px; padding: .9rem 1.1rem; font-weight: 600; }
.notice a { color: inherit; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0; }
dl.facts dt { font-weight: 700; }
dl.facts dd { margin: 0; }
@media (max-width: 600px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-bottom: .6rem; } }

.contact .card { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 800px) { .contact .card { grid-template-columns: 1fr; } }
.big-mail { font-size: 1.35rem; font-weight: 800; word-break: break-all; }

footer { padding: 2rem 0 3rem; color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
footer nav a { margin-inline-end: 1.25rem; }

/* legal pages */
.legal { max-width: 820px; }
.legal h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: .5rem .4rem; vertical-align: top; }
.address { white-space: pre-line; font-style: normal; }
.todo { background: var(--warn-bg); color: var(--warn-fg); padding: .1rem .4rem; border-radius: 4px; }
