/* Klinika TES — site stylesheet (v2, continuous canvas)
   One soft canvas instead of coloured bands: rhythm comes from spacing, cards and
   inset dark panels (.bg-dusk). Brand colours unchanged.
   Sections: 1 tokens · 2 base · 3 header/footer · 4 layout & panels
             5 components · 6 forms · 7 page-specific · 8 responsive */

/* 1 — tokens */
:root {
  --primary: #6e73b6;
  --primary-deep: #4f5496;
  --primary-light: #9ba0d4;
  --secondary: #bc78ba;
  --tertiary: #f981a7;
  --accent: #ff9c86;
  --cream: #f8efe7;
  --cream-2: #fff3dd;
  --teal: #9cd0cb;
  --bronze: #cdae75;
  --silver: #9dbec3;
  --gold: #e7c110;

  --ink: #26284a;
  --ink-soft: #5a5d80;
  --ink-mute: #8b8ea6;
  --canvas: #fbf9f6;
  --surface: #ffffff;
  --line: rgba(38, 40, 74, 0.08);
  --shadow-sm: 0 1px 2px rgba(38, 40, 74, 0.04), 0 8px 24px rgba(38, 40, 74, 0.05);
  --shadow-md: 0 2px 4px rgba(38, 40, 74, 0.05), 0 20px 48px rgba(38, 40, 74, 0.09);

  --dusk-a: #33376f;
  --dusk-b: #6e73b6;

  --font: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --radius: 24px;
  --radius-lg: 36px;
  --radius-sm: 14px;
  --measure: 62ch;
  --wrap: 1140px;
  --gutter: 24px;
  --section: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2 — base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  min-width: 320px;
  overflow-x: hidden;
  position: relative;
}
/* the soft colour veil at the top of every page — the only "background" on the canvas */
body::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1100px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 8% 4%, rgba(156, 208, 203, 0.38) 0%, rgba(156, 208, 203, 0) 60%),
    radial-gradient(50% 45% at 92% 10%, rgba(249, 129, 167, 0.22) 0%, rgba(249, 129, 167, 0) 60%),
    radial-gradient(60% 40% at 55% 0%, rgba(255, 243, 221, 0.9) 0%, rgba(255, 243, 221, 0) 65%);
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent);
}
body > * { position: relative; z-index: 1; }
main { padding-top: clamp(28px, 4vw, 56px); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-deep); text-decoration: none; }
a:hover { color: var(--secondary); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }
strong { font-weight: 600; }
::selection { background: var(--cream-2); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
[id] { scroll-margin-top: 96px; }

/* 3 — header / footer */
.site-header { position: sticky; top: 12px; z-index: 50; padding: 0 var(--gutter); }
.site-header .bar {
  max-width: none; margin: 0 auto; padding: 10px 14px 10px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img.eye { width: 36px; height: 36px; }
.brand img.wordmark { height: 21px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a { display: inline-block; color: var(--ink-soft); font-weight: 600; font-size: 1rem; padding: 8px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav a:hover { background: rgba(110, 115, 182, 0.1); color: var(--primary-deep); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-toggle {
  display: none; font: inherit; font-weight: 600; color: var(--ink); background: rgba(110, 115, 182, 0.1);
  border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer;
}

.site-footer {
  margin: var(--section) var(--gutter) var(--gutter);
  background: linear-gradient(160deg, var(--dusk-a), var(--dusk-b));
  color: rgba(255, 255, 255, 0.85); padding: 64px 0 36px; border-radius: var(--radius-lg);
}
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; font-size: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--cream-2); }
.site-footer .brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.site-footer .brandline img { width: 34px; height: 34px; }
.site-footer .brandline span { font-weight: 700; color: #fff; font-size: 1.15rem; }
.site-footer .tagline { max-width: 34ch; color: rgba(255, 255, 255, 0.72); }
.site-footer .legal {
  max-width: var(--wrap); margin: 48px auto 0; padding: 24px var(--gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.9rem; color: rgba(255, 255, 255, 0.65);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* 4 — layout & panels */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 880px; }
.wrap.text { max-width: 780px; }
section { padding: var(--section) 0; }
/* the old colour bands are now transparent: one continuous canvas */
.bg-cream, .bg-paper, .bg-white, .bg-wash { background: transparent; }
/* dark sections become inset, rounded panels */
section.bg-dusk { padding: calc(var(--section) / 2) var(--gutter); color: #fff; }
section.bg-dusk > .wrap {
  position: relative; overflow: hidden; max-width: var(--wrap);
  background: linear-gradient(150deg, var(--dusk-a) 0%, var(--dusk-b) 65%, var(--secondary) 135%);
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  box-shadow: var(--shadow-md);
}
section.bg-dusk > .wrap.narrow { max-width: var(--wrap); }
section.bg-dusk > .wrap.narrow > * { max-width: 820px; margin-left: auto; margin-right: auto; }
section.bg-dusk > .wrap.text > * { max-width: 760px; margin-left: auto; margin-right: auto; }
section.bg-dusk > .wrap > * { position: relative; z-index: 1; }
section.bg-dusk > .wrap::before, section.bg-dusk > .wrap::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0;
}
section.bg-dusk > .wrap::before { width: 460px; height: 460px; background: var(--tertiary); opacity: 0.35; top: -160px; right: -120px; }
section.bg-dusk > .wrap::after { width: 380px; height: 380px; background: var(--teal); opacity: 0.35; bottom: -160px; left: -120px; }
.bg-dusk h1, .bg-dusk h2, .bg-dusk h3 { color: #fff; }
.bg-dusk .lead, .bg-dusk p { color: rgba(255, 255, 255, 0.88); }
/* light sections carry no blobs any more; the class stays harmless */
.blobs { position: relative; }
.center { text-align: center; }
.center .lead, .center p.measure { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}
.bg-dusk .eyebrow { color: var(--cream-2); }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.2rem); color: var(--ink-soft); max-width: var(--measure); line-height: 1.55; }
.measure { max-width: var(--measure); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-2.wide { gap: clamp(40px, 7vw, 96px); }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .team > *, .stats > *, .tier-note > * { min-width: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stack > * + * { margin-top: 20px; }
.mt-lg { margin-top: 48px; }
.mt-md { margin-top: 28px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.actions.center { justify-content: center; }
.head { margin-bottom: clamp(32px, 5vw, 56px); }
.head.center { text-align: center; }
.head .lead { margin-top: 8px; }
.head.center .lead { margin-left: auto; margin-right: auto; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* framed photo: rounded picture with a soft colour slab behind it */
.frame { position: relative; display: block; max-width: 100%; }
.frame img { border-radius: var(--radius-lg); position: relative; box-shadow: var(--shadow-md); }
.frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal), var(--primary-light)); opacity: 0.5;
}
.frame.warm::before { background: linear-gradient(135deg, var(--cream-2), var(--accent)); }
.frame.plain::before { display: none; }
.frame.plain img { box-shadow: none; }

/* 5 — components */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: 0 8px 22px rgba(110, 115, 182, 0.28); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(110, 115, 182, 0.38); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--tertiary)); color: #fff; box-shadow: 0 8px 22px rgba(255, 156, 134, 0.3); }
.btn-accent:hover { color: #fff; }
.btn-outline { background: rgba(255, 255, 255, 0.6); color: var(--primary-deep); border-color: rgba(110, 115, 182, 0.5); }
.btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.bg-dusk .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.bg-dusk .btn-outline:hover { background: #fff; color: var(--primary-deep); border-color: #fff; }
.btn-light { background: #fff; color: var(--primary-deep); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12); }
.btn-light:hover { color: var(--primary-deep); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.link { font-weight: 600; color: var(--primary-deep); border-bottom: 1.5px solid var(--primary-light); }
.link:hover { color: var(--secondary); border-color: var(--secondary); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 10px; }
.card .meta { color: var(--ink-mute); font-size: 1rem; }
.card.flex { display: flex; flex-direction: column; }
.card.flex .spacer { flex: 1; }
.card.tint { background: var(--cream-2); border-color: rgba(205, 174, 117, 0.3); box-shadow: none; }
.card.glass { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.24); color: #fff; backdrop-filter: blur(10px); box-shadow: none; }
.card.glass h3 { color: #fff; }
.card.glass p { color: rgba(255, 255, 255, 0.88); }
.card.glass .meta { color: rgba(255, 255, 255, 0.7); }
.card.featured { border: 1.5px solid var(--primary); position: relative; background: linear-gradient(180deg, #fff, var(--cream-2)); }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}

/* dash lists — a short brand-coloured line instead of an icon */
.dashes { list-style: none; margin: 0; padding: 0; }
.dashes li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-soft); }
.dashes li::before {
  content: ""; position: absolute; left: 0; top: 0.78em; width: 16px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
}
.bg-dusk .dashes li { color: rgba(255, 255, 255, 0.88); }
.bg-dusk .dashes li::before { background: linear-gradient(90deg, var(--cream-2), var(--accent)); }

/* price */
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0; }
.price b { font-size: 2rem; font-weight: 600; color: var(--primary-deep); letter-spacing: -0.03em; }
.price span { color: var(--ink-mute); }

/* numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.steps li::before {
  content: "0" counter(step); display: block; font-size: 2.2rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--primary); margin-bottom: 16px;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); }
.steps.vertical { grid-template-columns: 1fr; gap: 12px; }
.steps.vertical li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; padding: 22px 28px; }
.steps.vertical li::before { margin: 0; font-size: 2.2rem; }

/* quotes */
.quote { position: relative; padding: 30px 32px 28px 64px; }
.quote::before {
  content: "\201C"; position: absolute; left: 22px; top: 12px; font-size: 4.2rem; line-height: 1; font-weight: 700;
  color: var(--accent); opacity: 0.9;
}
.quote p { font-size: 1.05rem; color: var(--ink); }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.92rem; color: var(--ink-mute); }
.quote.person { display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: center; padding-left: 32px; }
.quote.person::before { display: none; }
.quote.person img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.bg-dusk .quote p { color: #fff; }
.bg-dusk .quote cite { color: rgba(255, 255, 255, 0.7); }
.bg-dusk .quote::before { color: var(--cream-2); }

/* stat tiles */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; text-align: center; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--primary-deep); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.stat span { color: var(--ink-soft); }

/* comparison table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: 1rem; }
.compare th, .compare td { padding: 24px 26px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: rgba(110, 115, 182, 0.06); padding-top: 28px; padding-bottom: 24px; vertical-align: top; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .tier { display: block; font-weight: 700; letter-spacing: 0.12em; font-size: 0.92rem; text-transform: uppercase; }
.compare .tier-sub { display: block; font-size: 1rem; color: var(--ink-soft); font-weight: 500; margin-top: 6px; }
.compare .bronze .tier { color: #b8955a; }
.compare .silver .tier { color: #5f8f96; }
.compare .gold .tier { color: #a9880a; }
.compare .gold { background: rgba(255, 243, 221, 0.55); }
.compare .yes, .compare .no { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.compare .yes { background: currentColor; }
.compare .bronze .yes { color: var(--bronze); }
.compare .silver .yes { color: var(--silver); }
.compare .gold .yes { color: var(--gold); }
.compare .no { width: 16px; height: 2px; border-radius: 2px; background: #d9d6e2; }
.compare td.feature { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.compare td.list { text-align: left; vertical-align: top; }
.compare td.list .dashes li { margin-bottom: 12px; font-size: 1rem; color: var(--ink); line-height: 1.5; }
.compare td.amount b { display: block; font-size: 1.9rem; font-weight: 600; color: var(--primary-deep); letter-spacing: -0.02em; line-height: 1.1; }
.compare td.amount span { font-size: 0.92rem; color: var(--ink-mute); }
.footnote { font-size: 0.95rem; color: var(--ink-mute); }

/* logo row */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px 56px; }
.logos img { height: 44px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: 0.3s; }
.logos img:hover { filter: none; opacity: 1; }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { text-align: center; }
.member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; box-shadow: 0 0 0 6px var(--cream-2); }
.member h3 { font-size: 1.2rem; margin-bottom: 2px; }
.member .role { color: var(--primary); font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; }
.member p { font-size: 1rem; color: var(--ink-soft); }

/* big contact links (screening page) */
.contact-big { display: grid; gap: 14px; max-width: 460px; margin: 32px auto 0; }
.contact-big a { display: block; text-align: center; border-radius: var(--radius-sm); padding: 20px 24px; transition: 0.25s var(--ease); }
.contact-big a.tel { background: #fff; color: var(--primary-deep); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: 0.02em; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); }
.contact-big a.tel:hover { transform: translateY(-2px); }
.contact-big a.mail { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); font-size: 1.1rem; }
.contact-big a.mail:hover { background: rgba(255, 255, 255, 0.24); }

/* 6 — forms */
.form-panel { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); color: var(--ink); box-shadow: 0 24px 60px rgba(20, 22, 60, 0.25); }
.form-panel h2, .form-panel h3 { color: var(--ink); }
.form-panel p { color: var(--ink-soft); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 1rem; color: var(--ink); }
.field label small { font-weight: 400; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1.5px solid transparent;
  border-radius: var(--radius-sm); padding: 14px 16px; width: 100%; transition: 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(110, 115, 182, 0.15); }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field ::placeholder { color: #a5a7bd; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.95rem; color: var(--ink-mute); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; display: none; }
.form-status.error { display: block; background: #fff0ee; color: #b0402e; }
.form-done { display: none; text-align: center; padding: 24px 0; }
.form-done h3 { font-size: 1.4rem; margin-bottom: 8px; }
form.is-done .form-body { display: none; }
form.is-done .form-done { display: block; }
form.is-busy button[type="submit"] { opacity: 0.6; pointer-events: none; }

/* 7 — page specific */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero .grid-2 { align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.hero .frame { margin-left: 4%; }
/* the dark hero (companies page) is an inset panel too, with the photo inside */
section.hero.bg-dusk { padding: 0 var(--gutter) calc(var(--section) / 2); }
section.hero.bg-dusk > .wrap { padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); }
section.hero.bg-dusk .frame::before { opacity: 0.35; }
.hero-simple { padding: clamp(24px, 4vw, 56px) 0 clamp(32px, 5vw, 64px); }
.hero-simple h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
.hero-simple .lead { font-size: clamp(1.05rem, 1.25vw, 1.15rem); }
section.hero-simple.bg-dusk { padding: 0 var(--gutter) calc(var(--section) / 2); }
section.hero-simple.bg-dusk > .wrap { text-align: center; }
.pubs .card h3 { font-size: 1.15rem; }
.pubs .card p { font-size: 1rem; color: var(--ink-soft); }
.pubs .card a { margin-top: auto; font-weight: 600; color: var(--primary-deep); border-bottom: 1.5px solid var(--primary-light); align-self: flex-start; }
.pubs .card a:hover { color: var(--secondary); border-color: var(--secondary); }
.tier-note { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-bottom: 40px; }
.services-pro .card { display: flex; flex-direction: column; }
.services-pro .card .actions { margin-top: auto; padding-top: 20px; }
.status-page { min-height: 60vh; display: flex; align-items: center; }
.status-page .card { max-width: 620px; margin: 0 auto; text-align: center; padding: 48px 36px; }
.status-page .links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 18px; font-size: 0.95rem; }

/* 8 — responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4, .team, .steps { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .site-header { top: 8px; padding: 0 12px; }
  .site-header .bar { padding: 8px 8px 8px 14px; }
  .nav { display: none; }
  .nav.open { display: block; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-md); }
  .nav.open ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.open a { display: block; padding: 12px 16px; }
  .nav-toggle { display: inline-block; }
  .grid-2, .grid-2.wide, .grid-3, .grid-4, .team, .steps, .stats, .tier-note, .form-row, .site-footer .wrap { grid-template-columns: 1fr; }
  .hero .frame { margin-left: 0; margin-top: 8px; }
  .frame::before { inset: 14px -14px -14px 14px; }
  section.bg-dusk { padding-left: 12px; padding-right: 12px; }
  section.bg-dusk > .wrap { border-radius: 28px; }
  .site-footer { margin-left: 12px; margin-right: 12px; border-radius: 28px; }
  .card { padding: 24px; }
  .quote { padding: 26px 22px 24px 52px; }
  .quote::before { left: 14px; }
  .quote.person { grid-template-columns: 1fr; text-align: center; padding-left: 22px; }
  .quote.person img { margin: 0 auto; }
  .compare { display: block; overflow-x: auto; font-size: 1rem; }
  .compare th, .compare td { padding: 16px 14px; min-width: 200px; }
  .compare th:first-child, .compare td:first-child { min-width: 120px; }
  .steps.vertical li { grid-template-columns: 56px 1fr; }
  .logos { gap: 24px 32px; }
  .logos img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .nav a { transition: none; }
}
