/* ==========================================================================
   MiraPlay — miraplay.ca
   Design DNA cloned from crawled reference (light/corporate, electric blue).
   Palette verified against the reference's real inline CSS:
   #175cff accent · #437eff accent-light · #010059 ink · #22223d body ink
   #04DA8D success · #f0f5ff / #f7f9fc tints · Poppins + DM Sans
   ========================================================================== */

:root {
  --blue: #175cff;
  --blue-light: #437eff;
  --blue-deep: #1234a5;
  --blue-bright: #1783ff;
  --ink: #010059;
  --ink-soft: #22223d;
  --green: #04da8d;
  --green-deep: #126849;
  --amber: #f59e0b;
  --white: #ffffff;
  --tint: #f0f5ff;
  --tint-2: #f7f9fc;
  --tint-3: #f8fafc;
  --muted: #94a3b8;
  --line: #e5e7eb;
  --line-soft: #eef2f9;
  --shadow-sm: 0 2px 10px rgba(23, 92, 255, .08), 0 4px 20px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 30px rgba(23, 92, 255, .12);
  --shadow-lg: 0 1px 3px rgba(0, 0, 0, .04), 0 18px 50px rgba(1, 0, 89, .10);
  --btn-shadow: 0 4px 16px rgba(23, 92, 255, .32);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 9999px;
  --head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-soft);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
p { margin: 0 0 1.05rem; }
h1, h2, h3, h4, h5 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .7rem;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.24rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 78px 0; }
.section-tint { background: var(--tint); }
.section-tint-2 { background: var(--tint-2); }
.section-ink { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%); color: #dfe4f5; }
.section-ink h2, .section-ink h3 { color: #fff; }
.sec-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.sec-head p { color: #5a6382; margin: 0; }
.section-ink .sec-head p { color: #b9c2e0; }
.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--tint);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  margin-bottom: 14px;
}
.section-ink .eyebrow { background: rgba(67, 126, 255, .2); color: #9fc0ff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 30px;
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--btn-shadow); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue-light); }
.btn-ghost:hover { background: var(--blue-light); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink-deep); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .92rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-bar { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.logo {
  font-family: var(--head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  white-space: nowrap;
}
.logo:hover { color: var(--ink); }
.logo span { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 9px 13px;
  font-family: var(--head);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--tint); }
.nav-cta { margin-left: 10px; }
.nav-lang {
  font-family: var(--head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 13px;
}
.nav-lang:hover { color: var(--blue); border-color: var(--blue-light); }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  background: var(--tint);
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 82px 0 76px;
  background:
    radial-gradient(900px 420px at 88% -12%, rgba(67, 126, 255, .16), transparent 62%),
    linear-gradient(180deg, var(--tint) 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 54px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-lead { font-size: 1.12rem; color: #4d566f; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; }
.hero-trust li {
  font-size: .93rem;
  font-weight: 500;
  color: #4d566f;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(4, 218, 141, .18);
}
.hero-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .7);
}
.hero-media img { width: 100%; }

/* ---------- intro deal banner ---------- */
.intro-deal-banner {
  padding: 26px 0 6px;
  background: var(--white);
}
.idb-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 38px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--ink) 0%, var(--blue-deep) 58%, var(--blue) 100%);
  color: #e8edff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.idb-inner::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 218, 141, .32), transparent 68%);
}
.idb-badge {
  position: relative;
  display: inline-block;
  font-family: var(--head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #052e1f;
  background: var(--green);
  border-radius: var(--r-pill);
  padding: 6px 15px;
}
.idb-title {
  position: relative;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin: 15px 0 10px;
}
.idb-lead { position: relative; max-width: 660px; color: #cbd6ff; margin-bottom: 18px; }
.idb-feats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.idb-feats li { font-size: .95rem; color: #e8edff; display: flex; align-items: center; gap: 9px; }
.idb-feats li::before { content: "\2714"; color: var(--green); font-weight: 700; }
.idb-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 15px 34px;
  font-family: var(--head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border-radius: var(--r-sm);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}
.idb-cta:hover { background: var(--green); color: #052e1f; transform: translateY(-2px); }
.idb-note { position: relative; margin: 16px 0 0; font-size: .88rem; color: #a9b6ea; }

/* ---------- stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat b {
  display: block;
  font-family: var(--head);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}
.stat span { font-size: .9rem; color: #5a6382; }

/* ---------- generic card grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  background: var(--tint);
  color: var(--blue);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.section-ink .card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
  color: #cdd5f0;
}
.section-ink .card-icon { background: rgba(67, 126, 255, .22); color: #9fc0ff; }

/* ---------- sport / channel chips ---------- */
.chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.chip {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-sm);
  padding: 22px 22px;
  box-shadow: var(--shadow-sm);
}
.chip b { display: block; font-family: var(--head); color: var(--ink); font-size: 1.05rem; }
.chip i { font-style: normal; display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 6px; }
.chip p { margin: .35rem 0 0; font-size: .92rem; color: #5a6382; }

/* ---------- pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-grid--5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.price-grid--5 .plan { padding: 30px 20px 26px; }
.price-grid--5 .plan-price { font-size: 2.15rem; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-light); }
.plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow-md); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  white-space: nowrap;
}
.plan-name { font-family: var(--head); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.plan-price {
  font-family: var(--head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.05;
  margin: 10px 0 2px;
}
.plan-price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan-per { font-size: .88rem; color: #5a6382; margin-bottom: 14px; }
.plan-save {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-deep);
  background: rgba(4, 218, 141, .14);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  margin-bottom: 16px;
}
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plan ul li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: .94rem;
  color: #47506a;
  border-bottom: 1px dashed var(--line-soft);
}
.plan ul li:last-child { border-bottom: 0; }
.plan ul li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--green);
  font-weight: 700;
}
.plan .btn { margin-top: auto; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: st; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 34px 28px 28px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: st;
  content: counter(st);
  position: absolute;
  top: -20px;
  left: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--head);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 12px;
  box-shadow: var(--btn-shadow);
}
.step h3 { margin-top: 10px; }
.step p:last-child { margin-bottom: 0; }

/* ---------- comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.cmp { min-width: 680px; font-size: .95rem; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.cmp thead th {
  font-family: var(--head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--tint);
}
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 600; color: var(--ink); }
.cmp .col-us { background: rgba(23, 92, 255, .05); color: var(--blue-deep); font-weight: 600; }
.cmp thead th.col-us { background: var(--blue); color: #fff; }

/* ---------- testimonials ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.quote-stars { color: var(--amber); letter-spacing: .12em; font-size: .95rem; }
.quote p { margin: 12px 0 16px; font-size: .97rem; color: #47506a; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--head);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
}
.quote-who b { display: block; font-family: var(--head); color: var(--ink); font-size: .96rem; }
.quote-who span { font-size: .84rem; color: var(--muted); }

/* ---------- faq accordion ---------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item.active { border-color: var(--blue-light); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  font-family: var(--head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}
.faq-question::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--blue); line-height: 1; }
.faq-item.active .faq-question::after { content: "\2013"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 24px 20px; margin: 0; color: #47506a; font-size: .97rem; }
.faq-answer p + p { padding-top: 0; }

/* ---------- forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink-soft);
  background: var(--tint-3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--blue-light);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 92, 255, .12);
}
.field-hint { font-size: .84rem; color: var(--muted); margin: 6px 0 0; }
.form-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; padding: 0; list-style: none; }
.form-trust li { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.form-trust li::before { content: "\1F512"; font-size: .82rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: .93rem;
}
.form-message--success { background: rgba(4, 218, 141, .14); color: var(--green-deep); }
.form-message--error { background: rgba(207, 46, 46, .1); color: #a11; }

/* ---------- lead split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--blue-deep) 60%, var(--blue) 100%);
  color: #dfe6ff;
  padding: 66px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin: 0 auto 26px; color: #c2cdf5; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- breadcrumb ---------- */
.crumbs { padding: 16px 0 0; font-size: .87rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

/* ---------- page head ---------- */
.page-head {
  padding: 56px 0 44px;
  background: radial-gradient(760px 320px at 82% -30%, rgba(67, 126, 255, .16), transparent 60%), var(--tint);
  border-bottom: 1px solid var(--line-soft);
}
.page-head h1 { margin-bottom: 12px; }
.page-head p { max-width: 720px; color: #4d566f; margin: 0; font-size: 1.06rem; }

/* ---------- prose (legal / guides) ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { margin: 2.2rem 0 .8rem; font-size: 1.55rem; }
.prose h3 { margin: 1.7rem 0 .6rem; }
.prose ul, .prose ol { margin-bottom: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose table { margin: 1.4rem 0; font-size: .95rem; }
.prose th, .prose td { padding: 12px 15px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--tint); font-family: var(--head); color: var(--ink); }
.prose .note {
  background: var(--tint);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 22px;
  margin: 1.5rem 0;
}
.prose .note p:last-child { margin-bottom: 0; }
.updated { font-size: .9rem; color: var(--muted); margin-bottom: 1.8rem; }

/* ---------- channels ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.cat-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cat-top h3 { margin: 0; font-size: 1.08rem; }
.cat-count { font-family: var(--head); font-size: .82rem; font-weight: 700; color: var(--blue); background: var(--tint); border-radius: var(--r-pill); padding: 4px 11px; white-space: nowrap; }
.cat ul { list-style: none; padding: 0; margin: 0; }
.cat ul li { font-size: .92rem; color: #5a6382; padding: 5px 0; border-bottom: 1px dashed var(--line-soft); }
.cat ul li:last-child { border-bottom: 0; }

/* ---------- steps list (setup guide) ---------- */
.howto { counter-reset: hs; list-style: none; padding: 0; margin: 1.2rem 0; }
.howto > li {
  position: relative;
  padding: 0 0 0 52px;
  margin-bottom: 20px;
}
.howto > li::before {
  counter-increment: hs;
  content: counter(hs);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--head);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border-radius: var(--r-sm);
}
.howto > li b { display: block; font-family: var(--head); color: var(--ink); margin-bottom: 3px; }

/* ---------- footer ---------- */
.site-footer {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: #aab3d4;
  padding: 62px 0 0;
  font-size: .94rem;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 38px; }
.site-footer .logo { color: #fff; font-size: 1.4rem; }
.site-footer .logo span { color: var(--blue-light); }
.foot-about { margin-top: 14px; color: #9aa4c8; max-width: 330px; }
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 9px; }
.foot-links a { color: #aab3d4; font-size: .93rem; }
.foot-links a:hover { color: #fff; }
.foot-addr { font-style: normal; color: #9aa4c8; line-height: 1.75; }
.foot-addr a { color: var(--blue-light); }
.foot-bottom {
  margin-top: 46px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  color: #828db4;
}
.foot-bottom p { margin: 0 0 8px; }
.foot-bottom p:last-child { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .price-grid--5 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 1024px) {
  .grid-4, .price-grid, .chip-grid, .stats-row { grid-template-columns: repeat(2, 1fr); }
  .price-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 22px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-cta, .nav-lang { margin: 6px 0 0; text-align: center; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .steps, .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .price-grid, .price-grid--5, .chip-grid, .stats-row, .steps, .cat-grid, .foot-grid {
    grid-template-columns: 1fr;
  }
  .idb-inner { padding: 30px 22px; }
  .form-card { padding: 26px 20px; }
  .hero { padding: 58px 0 52px; }
}
