/* My IT Hero – static site stylesheet
   Brand colours taken from the existing logo/theme (blue #3367B0).
   Fonts are self-hosted (SIL Open Font License, see ../fonts/OFL-*.txt). */

@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --blue: #3367b0;
  --blue-600: #2a5596;
  --blue-700: #1f4279;
  --blue-200: #bad0ed;
  --blue-100: #dce7f6;
  --blue-50: #eef3fa;
  --ink: #171a1e;
  --ink-2: #3d4450;
  --muted: #5b6472;
  --line: #d8e0eb;
  --white: #ffffff;
  --amber: #f3b23c;
  --amber-ink: #5a3b00;
  --green: #1f7a4d;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(23, 26, 30, .06), 0 8px 24px rgba(23, 26, 30, .06);
  --shadow-lg: 0 2px 6px rgba(23, 26, 30, .06), 0 20px 48px rgba(31, 66, 121, .14);
  --wrap: 1160px;
  --gutter: 24px;

  --font-head: "Quicksand", "Segoe UI", system-ui, sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
.nowrap { white-space: nowrap; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--blue-50); }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46rem; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(51, 103, 176, .28); }
.btn--primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--blue-700); border-color: var(--blue-200); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-700); }
.btn--light { background: #fff; color: var(--blue-700); }
.btn--light:hover { background: var(--blue-50); color: var(--blue-700); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: .5em .8em; border-radius: 8px;
}
.nav a:not(.btn):hover { color: var(--blue-700); background: var(--blue-50); }
.nav a:not(.btn)[aria-current="page"] { color: var(--blue-700); font-weight: 600; }
.nav .btn { margin-left: 8px; padding: .7em 1.15em; }
.nav-phone { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 10px; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1120px) {
  .nav-phone { display: none !important; }
}
@media (max-width: 880px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px; box-shadow: 0 16px 32px rgba(23, 26, 30, .08);
  }
  .js .nav a:not(.btn) { padding: .8em .6em; font-size: 1rem; }
  .js .nav .btn { margin: 10px 0 0; }
  .js .nav .nav-phone { display: inline-flex !important; }
  .js .site-header.is-open .nav { display: flex; }
  .js .site-header.is-open .icon-menu { display: none; }
  .js .site-header.is-open .icon-close { display: block; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  html:not(.js) .nav { flex-wrap: wrap; margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 820px; height: 820px; right: -260px; top: -300px;
  background: radial-gradient(closest-side, var(--blue-100), rgba(220, 231, 246, 0));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .accent { color: var(--blue); }
.hero .lead { margin-bottom: 1.8rem; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 55% 50%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero-figure figcaption { position: absolute; right: 12px; bottom: 10px; font-size: .7rem; color: rgba(23, 26, 30, .55); }
.hero-badge {
  position: absolute; left: -22px; top: 28px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg);
  max-width: 270px; font-size: .85rem; line-height: 1.4; color: var(--ink-2);
}
.hero-badge strong { display: block; font-size: .95rem; }
.hero-badge .icon-bubble { flex: none; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .88rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: .45em; }
.trust svg { width: 18px; height: 18px; color: var(--green); }

.page-hero { padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px); background: linear-gradient(180deg, var(--blue-50), #fff); }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 1.8rem; }

/* ---------- Icon bubble ---------- */
.icon-bubble {
  width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue); flex: none;
}
.icon-bubble svg { width: 24px; height: 24px; }
.icon-bubble--solid { background: var(--blue); color: #fff; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow);
}
.card h3 { margin-top: 16px; }
.card p { color: var(--muted); }

.audience-card { display: flex; flex-direction: column; padding: clamp(26px, 3.5vw, 40px); position: relative; overflow: hidden; }
.audience-card::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -90px; border-radius: 50%;
  background: var(--blue-50); z-index: 0;
}
.audience-card > * { position: relative; z-index: 1; }
.audience-card h3 { font-size: 1.6rem; margin-top: 18px; }
.audience-card ul { margin: 0 0 24px; }
.audience-card .price-from { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-from b { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }
.price-from small { color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin: .45em 0; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233367b0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist--x li::before {
  background: #fbeeee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3261e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--blue-200);
  display: block; margin-bottom: 14px;
}
.step h3 { margin-top: 0; }
.step::after {
  content: ""; position: absolute; top: 30px; left: 76px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-200) 0 6px, transparent 6px 12px);
}
.steps > .step:last-child::after { display: none; }

/* ---------- Feature list (relationship) ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.feature-list { display: grid; gap: 18px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature h3, .feature h4 { margin: 2px 0 4px; font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--amber-ink); font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan-tier { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 4px; }
.plan h3 { margin: 0 0 6px; font-size: 1.45rem; }
.plan-for { color: var(--muted); font-size: .95rem; min-height: 3.2em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 2px; }
.plan-price b { font-family: var(--font-head); font-size: 2.5rem; color: var(--ink); line-height: 1; }
.plan-price span { color: var(--muted); font-weight: 500; }
.plan-vat { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.plan .checklist { margin-bottom: 22px; }
.plan-response {
  display: flex; gap: 10px; align-items: center; margin-top: auto; margin-bottom: 18px;
  background: var(--blue-50); border-radius: 10px; padding: 10px 12px; font-size: .88rem; color: var(--ink-2);
}
.plan-response svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.plans-note {
  margin-top: 28px; display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px dashed var(--blue-200); border-radius: var(--radius); padding: 18px 20px; font-size: .95rem;
}
.plans-note svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }

.plan-single { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }

/* ---------- Engagement table ---------- */
.engage { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.engage th, .engage td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.engage tr:last-child td { border-bottom: 0; }
.engage thead th { background: var(--blue-50); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700); }
.engage td:first-child { font-style: italic; color: var(--ink); }
.tag {
  display: inline-flex; align-items: center; gap: .4em; padding: 4px 11px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; white-space: nowrap; background: var(--blue-50); color: var(--blue-700);
}
.tag--fixed { background: #e7f4ec; color: #17603b; }
.tag--time { background: #fff4de; color: #6b4600; }
.tag--incl { background: var(--blue-50); color: var(--blue-700); }
.tag--quote { background: #f0ecfa; color: #4b3a8a; }

.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.rule { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.rule h4 { margin: 12px 0 4px; font-size: 1rem; }
.rule p { font-size: .9rem; color: var(--muted); margin: 0; }
.rule .icon-bubble { width: 40px; height: 40px; border-radius: 12px; }
.rule .icon-bubble svg { width: 20px; height: 20px; }

/* ---------- Package menu ---------- */
.package { display: flex; flex-direction: column; }
.package-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.package h3 { font-size: 1.12rem; margin: 16px 0 6px; }
.package p { font-size: .95rem; }

/* ---------- Courses ---------- */
.topic { scroll-margin-top: 96px; }
.topic + .topic { margin-top: clamp(48px, 7vw, 72px); }
.topic-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.topic-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.topic-head p { margin: 2px 0 0; color: var(--muted); }
.topic-head .icon-bubble { width: 56px; height: 56px; border-radius: 16px; }
.topic-head .icon-bubble svg { width: 28px; height: 28px; }
.course { display: flex; flex-direction: column; }
.course h3 { font-size: 1.15rem; margin: 0 0 8px; }
.course p { font-size: .95rem; }
.course-meta {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .85rem; color: var(--muted);
}
.course-meta .len { display: inline-flex; align-items: center; gap: .35em; margin-right: auto; }
.course-meta .len svg { width: 16px; height: 16px; color: var(--blue); }
.tag--group { background: #f0ecfa; color: #4b3a8a; }
.topic-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.topic-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: inherit; }
.topic-link h3 { margin-top: 16px; }
.topic-link .link-arrow { margin-top: auto; padding-top: 10px; }

/* ---------- Callout / CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%); color: #e9f0fa;
  padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #d6e2f3; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }

.callout {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius-lg);
  background: #fff8e8; border: 1px solid #f5dfa8;
}
.callout .icon-bubble { background: #fff; color: #8a5a00; }
.callout h3 { margin: 0 0 4px; font-size: 1.15rem; }
.callout p { margin: 0; color: var(--ink-2); }

/* ---------- Services ---------- */
.service h3 { font-size: 1.15rem; }
.service p { font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 40px; }
.faq-group > h2 { font-size: 1.4rem; margin-bottom: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 600; color: var(--ink); line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 32px; align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field .req { color: #b3261e; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51, 103, 176, .15); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: .5em; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  cursor: pointer; font-weight: 500; font-size: .95rem; background: #fff;
}
.choice span svg { width: 18px; height: 18px; color: var(--blue); }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-700); }
.choice input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.form-note { font-size: .85rem; color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; }
.contact-list a { text-decoration: none; font-weight: 500; }

/* ---------- Media block ---------- */
.media-figure { margin: 0; position: relative; }
.media-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }
.media-figure figcaption { font-size: .75rem; color: var(--muted); margin-top: 8px; }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.stat span { font-size: .9rem; color: var(--muted); }

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c1cc; padding: 64px 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #dfe6ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand img { width: 150px; height: auto; background: #fff; border-radius: 10px; padding: 8px 10px; }
.footer-brand p { margin-top: 16px; max-width: 22rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 4px; color: var(--blue-200); flex: none; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: #8b94a1; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4, .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .plan-single { grid-template-columns: 1fr; }
  .hero-figure { max-width: 560px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 32px; }
  .plan-for { min-height: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .steps.grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .step::after { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .grid-2, .grid-3, .grid-4, .rules, .stat-row, .form-row { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; right: 12px; top: 12px; max-width: none; padding: 10px 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .engage thead { display: none; }
  .engage, .engage tbody, .engage tr, .engage td { display: block; width: 100%; }
  .engage tr { border-bottom: 1px solid var(--line); padding: 14px 18px; }
  .engage tr:last-child { border-bottom: 0; }
  .engage td { border: 0; padding: 2px 0; }
  .brand img { width: 130px; }
}
