@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope/manrope-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope/manrope-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --ink: #13203a;
  --muted: #536178;
  --blue: #1769e8;
  --blue-dark: #0754bd;
  --mint: #159f77;
  --paper: #ffffff;
  --wash: #f5f8fc;
  --soft: #edf4ff;
  --line: #d8e1ed;
  --line-strong: #bdccde;
  --radius: 16px;
  --shadow: 0 14px 38px rgba(29, 54, 91, 0.09);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font: 16px/1.65 "Manrope Variable", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3 { margin: 0 0 0.62em; line-height: 1.12; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.55rem, 5.2vw, 4.45rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1.1em; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid #0b65d8;
  outline-offset: 3px;
  border-radius: 8px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.eyebrow {
  margin: 0 0 0.78rem;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(189, 204, 222, 0.58);
  background: rgba(245, 249, 255, 0.88);
  backdrop-filter: blur(18px);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 48px));
  min-height: 88px;
  margin: auto;
}
.site-brand { display: flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; }
.site-brand-glyph {
  width: 46px;
  height: 46px;
  flex: none;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 9px 26px rgba(50, 89, 139, 0.12);
}
.site-brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.site-brand-name { font-size: 1.02rem; font-weight: 820; letter-spacing: -0.025em; }
.site-brand-tagline { margin-top: 5px; color: #61718a; font-size: 0.72rem; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(180, 199, 224, 0.6);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(49, 84, 132, 0.07);
  backdrop-filter: blur(14px);
}
.site-nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 12px;
  color: #33435c;
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.site-nav-link:hover { color: var(--blue-dark); background: rgba(235, 244, 255, 0.82); transform: translateY(-1px); }
.site-nav-link.is-current {
  color: #fff;
  background: linear-gradient(135deg, #278af1, #1263e8);
  box-shadow: 0 7px 16px rgba(27, 105, 218, 0.2);
}
.site-menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(180, 199, 224, 0.7);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 20px rgba(49, 84, 132, 0.08);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-weight: 750;
}
.site-menu-button i { font-size: 1.25rem; }

main { overflow: hidden; }

.home-page .site-header {
  position: absolute;
  right: 0;
  left: 0;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  animation: header-enter 0.72s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
.home-page .site-header-inner { min-height: 96px; }

@keyframes header-enter {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Home hero and partner action */
.home-hero {
  width: 100%;
  min-height: auto;
  padding: 150px 28px 0;
  background:
    radial-gradient(circle at 9% 12%, rgba(91, 163, 255, 0.29), transparent 34%),
    radial-gradient(circle at 91% 14%, rgba(82, 222, 189, 0.22), transparent 36%),
    radial-gradient(circle at 50% 72%, rgba(255, 255, 255, 0.92), transparent 46%),
    linear-gradient(135deg, #eaf3ff 0%, #f6faff 48%, #eaf9f5 100%);
  border-bottom: 1px solid var(--line);
}
.hero-intro { max-width: 1240px; margin: 0 auto 50px; text-align: left; }
.home-hero h1 { max-width: 960px; margin-bottom: 24px; font-size: clamp(3.55rem, 5.45vw, 5rem); line-height: 1.025; }
.hero-lead {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}
.hero-widget-wrap { width: min(1240px, 100%); margin: 0 auto; }
.search-widget {
  display: grid;
  grid-template-columns: 1fr;
  gap: 21px;
  padding: 50px 54px 40px;
  border: 1px solid rgba(189, 204, 222, 0.82);
  border-radius: 32px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 30px 78px rgba(42, 85, 145, 0.16), 0 2px 8px rgba(42, 85, 145, 0.05);
  backdrop-filter: blur(14px);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.search-widget:hover {
  border-color: #8fb4e8;
  box-shadow: 0 16px 34px rgba(29, 81, 151, 0.1);
  transform: translateY(-2px);
}
.widget-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: center;
  color: #46566d;
  font-size: 0.9rem;
  font-weight: 650;
}
.widget-status > span {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #27b980;
  animation: status-pulse 2.1s ease-in-out infinite;
}
.widget-line { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.widget-address {
  min-width: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 28px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  color: #7a879a;
  background: #fbfcfe;
  box-shadow: inset 0 1px 2px rgba(34, 54, 81, 0.03);
}
.widget-address i { margin-right: 12px; color: #687a94; font-size: 1.2rem; }
.widget-prefix {
  margin-right: 7px;
  color: #495a72;
  font-size: 1rem;
  white-space: nowrap;
}
.typed-address {
  min-width: 0;
  overflow: hidden;
  color: #53657e;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.typing-caret {
  width: 1px;
  height: 21px;
  flex: none;
  margin-left: 2px;
  background: rgba(65, 84, 111, 0.74);
  animation: typing-caret 1s step-end infinite;
}
.widget-button {
  min-height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #2488f1, #1263e8);
  box-shadow: 0 10px 24px rgba(20, 103, 226, 0.22);
  font-weight: 800;
  white-space: nowrap;
  animation: button-pulse 7s ease-in-out infinite;
}
.widget-button i { font-size: 1.12rem; }
@keyframes typing-caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(33, 184, 109, 0.34); }
  50% { box-shadow: 0 0 0 8px rgba(33, 184, 109, 0.08); }
}
@keyframes button-pulse {
  0%, 28.6%, 100% {
    transform: translateZ(0) scale(1);
    box-shadow: 0 12px 24px rgba(36, 140, 223, 0.34);
  }
  14.3% {
    transform: translateZ(0) scale(1.03);
    box-shadow: 0 14px 30px rgba(36, 140, 223, 0.44);
  }
}
.widget-note {
  grid-column: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  margin-top: 2px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #5b687c;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}
.widget-note i {
  flex: none;
  margin-top: 2px;
  color: #6b7d95;
  font-size: 0.9rem;
}
.widget-note strong { color: #40516a; font-weight: 750; }
.home-trust-strip {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 96px auto 0;
  background: transparent;
}
.home-trust-strip > div { display: flex; align-items: center; gap: 18px; min-height: 118px; padding: 20px 28px; }
.home-trust-strip > div + div { border-left: 1px solid rgba(171, 190, 214, 0.7); }
.home-trust-strip i { width: 54px; height: 54px; display: grid; flex: none; place-items: center; border-radius: 14px; color: var(--blue); background: rgba(226, 239, 255, 0.86); font-size: 1.55rem; }
.home-trust-strip span, .home-trust-strip strong, .home-trust-strip small { display: block; }
.home-trust-strip strong { font-size: 0.96rem; }
.home-trust-strip small { margin-top: 4px; color: var(--muted); font-size: 0.8rem; }

.expert-help-section { border-bottom: 1px solid var(--line); background: #fff; }
.expert-help-inner {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 72px;
  min-height: 380px;
  margin: 0 auto;
  padding: 54px 0;
}
.expert-help-copy { max-width: 500px; }
.expert-help-copy h2 { max-width: 480px; }
.expert-help-copy > p:not(.eyebrow) { color: var(--muted); }
.expert-help-copy .text-link { display: inline-flex; align-items: center; gap: 10px; }
.expert-help-visual { overflow: hidden; margin: 0; border-radius: 24px; background: #eaf3ff; }
.expert-help-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Shared sections */
.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 68px 0; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.02rem; }
.split-heading { display: flex; align-items: end; justify-content: space-between; max-width: none; gap: 30px; }
.text-link, .card-link { font-weight: 750; text-decoration: none; }
.text-link:hover, .card-link:hover { text-decoration: underline; }

.process-section { padding-top: 56px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.process-grid article {
  position: relative;
  min-height: 205px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
}
.process-grid article > span { color: #667a95; font-size: 0.74rem; font-weight: 850; }
.process-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin: 18px 0;
  border-radius: 12px;
  color: var(--blue-dark);
  background: var(--soft);
  font-size: 1.18rem;
}
.process-grid p { color: var(--muted); font-size: 0.88rem; }

.trust-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  padding: 46px;
  border-radius: 20px;
  color: #fff;
  background: #142c4b;
}
.trust-panel .eyebrow { color: #70dfbd; }
.trust-panel p { color: #d1dbe8; }
.trust-panel a { color: #fff; }
.trust-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.trust-list li { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.trust-list li:first-child { padding-top: 0; }
.trust-list li:last-child { border-bottom: 0; }
.trust-list strong, .trust-list span { display: block; }
.trust-list span { margin-top: 4px; color: #c5d2e1; font-size: 0.87rem; }

/* Guide cards and archive filters */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: border-color 0.2s, transform 0.2s;
}
.guide-card:hover { border-color: #a9bfdc; transform: translateY(-2px); }
.guide-image { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #dde8f7; }
.guide-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.guide-card:hover .guide-image img { transform: scale(1.025); }
.guide-card > div { padding: 22px; }
.guide-card h2, .guide-card h3 { font-size: 1.14rem; }
.guide-card h2 a, .guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card p { color: var(--muted); font-size: 0.88rem; }
.guide-grid-list { padding-bottom: 80px; }

.guide-tools {
  display: grid;
  gap: 15px;
  margin: -10px 0 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.guide-search { position: relative; display: block; }
.guide-search i { position: absolute; top: 50%; left: 16px; color: #6b7d95; transform: translateY(-50%); }
.guide-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px 0 45px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--ink);
  background: #fbfcfe;
}
.guide-search input::placeholder { color: #768499; }
.guide-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-filters button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
}
.guide-filters button:hover, .guide-filters button.is-active { color: var(--blue-dark); border-color: #a9c7eb; background: var(--soft); }
.guide-results { margin: 0; color: var(--muted); font-size: 0.84rem; }
.guide-empty { margin: 0 0 80px; padding: 34px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); text-align: center; }

.editorial-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.editorial-columns > div { padding: 24px; border-top: 3px solid var(--blue); background: #fff; }
.editorial-columns p { color: var(--muted); }

/* Home speed calculator */
.calculator-heading { max-width: 850px; }
.calculator-heading > p:last-child { max-width: 760px; color: var(--muted); }
.calculator-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: -6px 0 18px; }
.calculator-presets > span { margin-right: 4px; color: var(--muted); font-size: 0.78rem; font-weight: 750; }
.calculator-presets button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #42536b;
  background: #fff;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.calculator-presets button:hover { border-color: #9ebee7; transform: translateY(-1px); }
.calculator-presets button.is-active { color: var(--blue-dark); border-color: #9fc2ee; background: var(--soft); }
.speed-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(32, 72, 124, 0.1);
}
.calculator-controls { padding: 34px 38px; }
.calculator-control { padding: 22px 0; border-bottom: 1px solid var(--line); }
.calculator-control:first-child { padding-top: 0; }
.calculator-control-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.calculator-control-heading label { font-weight: 800; }
.calculator-control-heading output {
  min-width: 44px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--soft);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}
.calculator-control input[type="range"] {
  width: 100%;
  height: 20px;
  margin: 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.range-labels { display: flex; justify-content: space-between; margin-top: -1px; color: #7c899b; font-size: 0.7rem; font-weight: 700; }
.calculator-control p { margin: 7px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.calculator-toggle { display: flex; align-items: flex-start; gap: 14px; padding-top: 23px; cursor: pointer; }
.calculator-toggle > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-track {
  width: 46px;
  height: 26px;
  position: relative;
  flex: none;
  margin-top: 2px;
  border-radius: 999px;
  background: #cbd5e2;
  transition: background 0.2s;
}
.toggle-track > span {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(23, 43, 70, 0.22);
  transition: transform 0.2s;
}
.calculator-toggle > input:checked + .toggle-track { background: var(--blue); }
.calculator-toggle > input:checked + .toggle-track > span { transform: translateX(20px); }
.calculator-toggle > input:focus-visible + .toggle-track { outline: 3px solid #0b65d8; outline-offset: 3px; }
.calculator-toggle strong, .calculator-toggle small { display: block; }
.calculator-toggle strong { font-size: 0.9rem; }
.calculator-toggle small { margin-top: 3px; color: var(--muted); font-size: 0.74rem; line-height: 1.45; }
.calculator-result {
  display: flex;
  flex-direction: column;
  padding: 42px 40px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(80, 221, 190, 0.2), transparent 33%),
    linear-gradient(145deg, #102b55 0%, #0c4f7d 56%, #087a70 100%);
}
.result-label { margin: 0; color: #c9ddf2; font-size: 0.8rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.result-speed { display: flex; align-items: baseline; gap: 10px; margin: 5px 0 10px; line-height: 1; }
.result-speed strong { font-size: clamp(3.7rem, 6.8vw, 5.8rem); letter-spacing: -0.07em; }
.result-speed span { color: #dbeaf7; font-size: 1rem; font-weight: 700; }
.result-summary { min-height: 52px; margin-bottom: 28px; color: #e2edf7; font-size: 0.92rem; line-height: 1.55; }
.result-math {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -5px 0 25px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #cfe0ef;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  line-height: 1.4;
}
.result-math strong { flex: none; color: #fff; font-size: 0.82rem; }
.speed-scale { height: 8px; position: relative; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); }
.speed-scale-fill { width: 10%; height: 100%; display: block; border-radius: inherit; background: #7af0ce; box-shadow: 0 0 18px rgba(122, 240, 206, 0.34); transition: width 0.28s ease; }
.speed-scale-fill.speed-100 { width: 10%; }
.speed-scale-fill.speed-200 { width: 20%; }
.speed-scale-fill.speed-300 { width: 30%; }
.speed-scale-fill.speed-500 { width: 50%; }
.speed-scale-fill.speed-1000 { width: 100%; }
.speed-scale i { width: 1px; height: 14px; position: absolute; top: -3px; background: rgba(255, 255, 255, 0.42); }
.speed-scale i:nth-of-type(1), .speed-scale-labels span:nth-child(1) { left: 10%; }
.speed-scale i:nth-of-type(2), .speed-scale-labels span:nth-child(2) { left: 20%; }
.speed-scale i:nth-of-type(3), .speed-scale-labels span:nth-child(3) { left: 30%; }
.speed-scale i:nth-of-type(4), .speed-scale-labels span:nth-child(4) { left: 50%; }
.speed-scale i:nth-of-type(5), .speed-scale-labels span:nth-child(5) { left: 100%; }
.speed-scale-labels { height: 28px; position: relative; margin: 7px 0 22px; color: #bed2e5; font-size: 0.66rem; }
.speed-scale-labels span { position: absolute; transform: translateX(-50%); }
.speed-scale-labels span:last-child { transform: translateX(-100%); }
.result-checks { display: grid; gap: 13px; margin: 0 0 28px; padding: 0; list-style: none; }
.result-checks li { display: flex; align-items: flex-start; gap: 11px; color: #e1edf7; font-size: 0.79rem; line-height: 1.5; }
.result-checks i { margin-top: 2px; color: #7af0ce; font-size: 1rem; }
.calculator-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: auto;
  padding: 0 20px;
  border-radius: 13px;
  color: #12335c;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 24, 58, 0.18);
  font-size: 0.87rem;
  font-weight: 850;
  text-decoration: none;
}
.calculator-action:hover { color: var(--blue-dark); transform: translateY(-1px); }
.calculator-methodology { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,0.68); }
.calculator-methodology summary { padding: 16px 20px; cursor: pointer; color: #3f5067; font-size: 0.84rem; font-weight: 800; }
.calculator-methodology > div { max-width: 940px; padding: 0 20px 18px; color: var(--muted); font-size: 0.78rem; }
.calculator-methodology p { margin-bottom: 0.7em; }
.calculator-methodology p:last-child { margin-bottom: 0; }
.calculator-sources a { white-space: nowrap; }

.faq-list { display: grid; gap: 10px; max-width: 880px; }
.faq-list details { border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.faq-list summary { position: relative; padding: 18px 54px 18px 20px; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; color: var(--blue); font-size: 1.25rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 20px 18px; color: var(--muted); }

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 72px;
  padding: 38px;
  border: 1px solid #c9d9ec;
  border-radius: 18px;
  background: #eef5fc;
}
.final-cta > div { max-width: 720px; }
.button-primary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex: none;
  padding: 0 20px;
  border-radius: 11px;
  color: #fff;
  background: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

/* Content and article pages */
.content-main { width: min(920px, calc(100% - 40px)); margin: auto; padding: 30px 0 86px; overflow: visible; }
.wide-main { width: min(1180px, calc(100% - 40px)); }
.breadcrumbs { margin: 8px 0 34px; color: #65758c; font-size: 0.82rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #909db0; }
.breadcrumbs a { color: #566a83; }
.post-article { padding: 50px 60px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.post-header { max-width: 790px; margin: 0 auto 38px; }
.post-title { font-size: clamp(2.25rem, 5vw, 3.85rem); }
.post-lead { color: #4c5d74; font-size: 1.12rem; line-height: 1.7; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 20px; color: #65758c; font-size: 0.82rem; }
.post-cover { overflow: hidden; margin: 0 -8px 42px; border-radius: 16px; aspect-ratio: 3 / 2; background: #e7eef8; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-content { max-width: 760px; margin: auto; }
.post-content h2 { margin-top: 2.1em; font-size: 1.7rem; }
.post-content h3 { margin-top: 1.75em; }
.post-content p, .post-content li { color: #35445a; }
.post-content li + li { margin-top: 0.45em; }
.post-content a { font-weight: 650; }
.post-content ul, .post-content ol { padding-left: 1.4rem; }

.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: 13px; }
.table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; }
.table-wrap th, .table-wrap td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { color: #2d405a; background: #edf5ff; font-size: 0.8rem; letter-spacing: 0.035em; text-transform: uppercase; }
.table-wrap tr:last-child td { border-bottom: 0; }
.note { display: block; margin: 28px 0; padding: 20px 22px; border-left: 4px solid var(--mint); color: #354b63; background: #edf8f4; }
.answer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin: 26px 0; }
.answer-grid section { padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: #f9fbfe; }
.answer-grid section h3 { margin-top: 0; }
.answer-grid section p { margin: 0; }
.flow-diagram { display: flex; align-items: center; gap: 9px; margin: 28px 0; padding: 18px; border-radius: 14px; background: #edf5ff; }
.flow-diagram span { flex: 1; padding: 11px; border-radius: 9px; background: #fff; text-align: center; font-size: 0.84rem; font-weight: 750; }
.flow-diagram b { color: var(--blue); }
.tech-diagram { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.tech-diagram > div { display: flex; flex-direction: column; padding: 17px; border-radius: 12px; color: #fff; background: #1769e8; }
.tech-diagram span { margin-top: 5px; font-size: 0.82rem; }
.formula { margin: 17px 0; padding: 18px; border: 1px dashed #82aee6; border-radius: 12px; color: #1e538f; background: #f2f7ff; font-weight: 750; }
.check-list { padding: 0 !important; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 900; }
.check-card { display: grid; gap: 8px; margin: 23px 0; padding: 20px; border-radius: 13px; background: #f4f7fb; }
.check-card label { display: flex; gap: 10px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px 0; }
.timeline > div { position: relative; padding: 20px 11px; border-top: 3px solid var(--blue); }
.timeline > div::before { content: ""; position: absolute; width: 11px; height: 11px; top: -7px; left: 11px; border: 2px solid #fff; border-radius: 50%; background: var(--blue); }
.timeline b, .timeline span { display: block; }
.timeline span { margin-top: 5px; color: var(--muted); font-size: 0.81rem; }
.related-section { max-width: 760px; margin: 50px auto 0; padding-top: 32px; border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.related-card { padding: 16px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #f9fbfe; font-weight: 750; text-decoration: none; }
.related-card small { display: block; margin-top: 8px; color: var(--muted); font-weight: 400; }
.article-cta { max-width: 760px; margin: 42px auto 0; padding: 25px; border: 1px solid #cbdcf0; border-radius: 15px; background: #eef5fd; }
.article-cta .search-widget { grid-template-columns: 1fr; margin-top: 18px; padding: 20px; border-radius: 13px; box-shadow: none; }
.article-cta .widget-status, .article-cta .widget-line, .article-cta .widget-note { grid-column: 1; }
.article-cta .widget-status { margin-bottom: 2px; }
.archive-header { max-width: 1040px; padding: 18px 0 24px; }
.archive-header h1 { font-size: clamp(2.3rem, 4vw, 3.2rem); }
.archive-header p:last-child { color: var(--muted); font-size: 1.03rem; }
.guides-page .breadcrumbs { margin-bottom: 18px; }
.info-page .post-header { margin-right: auto; margin-left: auto; }
.contact-card { display: flex; flex-direction: column; gap: 8px; margin: 15px 0 34px; padding: 26px; border: 1px solid #cbdcf0; border-radius: 14px; background: #eef5fd; }
.contact-card span { color: var(--muted); }
.contact-card a { font-size: clamp(1.1rem, 3vw, 1.6rem); font-weight: 850; }
.glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.glossary-grid section { padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: #fafcff; }
.glossary-grid section h3 { margin-top: 0; color: #194b88; }
.glossary-grid section p { margin: 0; font-size: 0.89rem; }
.post-footer-meta { max-width: 760px; margin: 38px auto 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.83rem; }

.answer-box, .callout { margin: 24px 0; padding: 20px 22px; border-radius: 13px; background: #edf5ff; }
.answer-box { border-left: 4px solid var(--blue); }
.answer-box strong, .callout strong { display: block; margin-bottom: 5px; }
.answer-box p, .callout p { margin: 0; }
.callout.warning { border-left: 4px solid #d89412; background: #fff8e8; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.decision-grid section { padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: #f9fbfe; }
.decision-grid h3 { margin-top: 0; }
.decision-grid p { margin: 0; }
.comparison-table { width: 100%; margin: 26px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.comparison-table th, .comparison-table td { padding: 12px 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; text-align: left; vertical-align: top; }
.comparison-table th { color: #31445f; background: #edf5ff; font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table th:last-child, .comparison-table td:last-child { border-right: 0; }
.mini-diagram, .capacity-diagram { display: flex; align-items: stretch; gap: 9px; margin: 26px 0; padding: 15px; border-radius: 13px; background: #edf5ff; }
.mini-diagram > * { flex: 1; padding: 12px; border-radius: 9px; background: #fff; text-align: center; font-size: 0.8rem; }
.signal-source { color: #fff !important; background: var(--blue) !important; font-weight: 850; }
.capacity-diagram > div { display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 13px; border-radius: 10px; background: #fff; }
.capacity-diagram span { color: var(--muted); font-size: 0.76rem; }
.capacity-total { color: #fff; background: var(--blue) !important; }
.capacity-total span { color: #eafff8; }

/* Footer */
.site-footer { padding: 58px max(20px, calc((100% - 1180px) / 2)); color: #c9d4e5; background: #101a2b; }
.site-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 58px; }
.site-footer strong { display: block; margin-bottom: 14px; color: #fff; }
.site-footer p { max-width: 530px; font-size: 0.88rem; }
.site-footer a { display: block; margin: 8px 0; color: #d9e5f6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.affiliate-note { color: #a9b8cd; }
.site-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.76rem; }

@media (max-width: 900px) {
  .site-brand-tagline { display: none; }
  .home-trust-strip { grid-template-columns: 1fr; }
  .home-trust-strip > div { min-height: 72px; }
  .home-trust-strip > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .process-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-panel { grid-template-columns: 1fr; gap: 32px; }
  .editorial-columns { grid-template-columns: 1fr; }
  .speed-calculator { grid-template-columns: 1fr; }
  .calculator-result { min-height: 560px; }
  .post-article { padding: 40px 30px; }
  .site-footer-grid { grid-template-columns: 1.5fr 1fr; gap: 34px; }
  .footer-about { grid-column: 1 / -1; }
  .related-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .search-widget { grid-template-columns: 1fr; }
  .widget-status, .widget-line, .widget-note { grid-column: 1; }
  .expert-help-inner { grid-template-columns: 1fr; gap: 30px; }
  .expert-help-copy { max-width: 660px; }
}

@media (max-width: 700px) {
  .site-header-inner { position: relative; width: min(100% - 28px, 1180px); min-height: 74px; }
  .home-page .site-header-inner { min-height: 82px; }
  .site-brand-copy { display: flex; }
  .site-brand-tagline { display: none; }
  .site-brand-glyph { width: 40px; height: 40px; border-radius: 13px; }
  .site-menu-button { display: inline-flex; }
  .site-menu-button span { display: none; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(180, 199, 224, 0.72);
    border-radius: 18px;
    background: rgba(250, 252, 255, 0.94);
    box-shadow: 0 18px 48px rgba(35, 67, 108, 0.16);
    backdrop-filter: blur(18px);
  }
  .site-nav.is-open { display: flex; }
  .site-nav-link { width: 100%; min-height: 46px; padding: 0 14px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .home-hero { padding: 112px 14px 0; }
  .hero-intro { margin-bottom: 36px; text-align: center; }
  .home-hero h1 { font-size: clamp(2rem, 10.3vw, 2.45rem); }
  .hero-lead { margin: 0 auto; font-size: 0.98rem; line-height: 1.62; }
  .search-widget { gap: 16px; padding: 30px 24px 28px; border-radius: 23px; }
  .widget-line { grid-template-columns: 1fr; }
  .widget-address, .widget-button { min-height: 64px; }
  .widget-address { padding: 0 18px; border-radius: 13px; }
  .widget-button { border-radius: 13px; }
  .widget-prefix { font-size: 0.9rem; }
  .typed-address { font-size: 0.94rem; }
  .widget-button { width: 100%; }
  .widget-note { font-size: 0.76rem; }
  .home-trust-strip { margin-top: 68px; }
  .home-trust-strip > div { min-height: 72px; padding: 12px 8px; }
  .home-trust-strip i { width: 42px; height: 42px; font-size: 1.22rem; }
  .home-trust-strip small { display: none; }
  .home-trust-strip strong { font-size: 0.8rem; }
  .section, .content-main, .wide-main { width: calc(100% - 28px); }
  .expert-help-inner { width: calc(100% - 28px); padding: 46px 0; }
  .expert-help-visual { border-radius: 18px; }
  .section { padding: 52px 0; }
  .speed-calculator { border-radius: 20px; }
  .calculator-presets { align-items: stretch; }
  .calculator-presets > span { width: 100%; }
  .calculator-presets button { flex: 1 1 calc(50% - 9px); justify-content: center; }
  .calculator-controls { padding: 26px 20px; }
  .calculator-result { min-height: 0; padding: 32px 22px; }
  .result-speed strong { font-size: 3.7rem; }
  .result-summary { min-height: 0; }
  .result-math { align-items: flex-start; flex-direction: column; gap: 5px; }
  .calculator-methodology summary { padding: 15px 16px; }
  .calculator-methodology > div { padding: 0 16px 16px; }
  .process-grid, .guide-grid, .answer-grid, .tech-diagram, .glossary-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 0; }
  .split-heading, .final-cta, .site-footer-bottom { align-items: flex-start; flex-direction: column; }
  .trust-panel { padding: 29px 22px; }
  .post-article { padding: 29px 19px; border-radius: 16px; }
  .post-cover { margin: 0 0 32px; }
  .post-title { font-size: 2.15rem; }
  .post-lead { font-size: 1rem; }
  .post-meta { gap: 8px 16px; }
  .flow-diagram { align-items: stretch; flex-direction: column; }
  .flow-diagram b { transform: rotate(90deg); text-align: center; }
  .timeline { grid-template-columns: 1fr; }
  .site-footer { padding: 46px 22px; }
  .site-footer-grid { grid-template-columns: 1fr; }
  .footer-about { grid-column: auto; }
  .final-cta { margin-bottom: 58px; padding: 28px; }
  .guide-tools { padding: 15px; }
  .guide-filters { flex-wrap: nowrap; margin: 0 -15px; padding: 0 15px 3px; overflow-x: auto; scrollbar-width: thin; }
  .guide-filters button { white-space: nowrap; }
  .decision-grid { grid-template-columns: 1fr; }
  .comparison-table th, .comparison-table td { padding: 9px 7px; font-size: 0.71rem; }
  .mini-diagram, .capacity-diagram { flex-direction: column; }
  .article-cta .widget-line { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .typing-caret { display: none; }
  .widget-status > span, .widget-button { animation: none; }
}
