@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --bg: #fcfcfd;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #10b981;
  --amber: #f59e0b;
  --slate-dark: #0f172a;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-blue: 0 18px 38px rgba(37, 99, 235, 0.22);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.container.narrow {
  width: min(960px, calc(100% - 32px));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  pointer-events: none;
}

.header-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-card {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.mobile-contact {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.nav-links a,
.phone-inline {
  color: #475569;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.phone-inline:hover {
  color: var(--ink);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 16px;
  padding: 0 24px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
}

.button.secondary:hover {
  background: #f8fafc;
}

.button.nav-button {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--slate-dark);
  color: #fff;
}

.button.full {
  width: 100%;
}

.dark-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 116px 0 72px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 74%);
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, black 38%, transparent 82%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 90px 14% auto;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero-copy {
  max-width: 650px;
  text-align: left;
}

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #475569;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 800;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.hero h1,
h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.07;
}

.hero h1 {
  font-size: clamp(42px, 4.5vw, 58px);
}

.hero h1 span {
  position: relative;
  color: var(--blue);
  white-space: normal;
  display: block;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -4px;
  height: 10px;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.62);
  z-index: -1;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #475569;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 650;
}

.hero-sublead {
  max-width: 590px;
  margin: 18px 0 0;
  color: #64748b;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.quick-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-messengers a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #1e40af;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.analysis-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 30px 0 0;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  display: block;
  border-radius: 34px;
  filter: drop-shadow(0 28px 46px rgba(15, 23, 42, 0.12));
}

.analysis-points div,
.floating-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.analysis-points div {
  min-height: 48px;
  justify-content: center;
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.mini-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  flex: 0 0 auto;
  font-weight: 900;
  font-size: 14px;
}

.mini-icon.blue {
  background: #eff6ff;
  color: var(--blue);
}

.mini-icon.green {
  background: #ecfdf5;
  color: #059669;
}

.mini-icon.amber {
  background: #fffbeb;
  color: var(--amber);
}

.floating-card {
  position: absolute;
  z-index: 1;
  padding: 13px 16px;
}

.floating-card b {
  display: block;
  color: #334155;
  font-size: 14px;
}

.floating-card small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
}

.floating-risk {
  display: none;
}

.floating-law {
  right: max(24px, calc(50% - 650px));
  top: 236px;
}

.floating-plan {
  right: max(32px, calc(50% - 590px));
  bottom: 176px;
}

.stats-strip {
  padding: 44px 0 68px;
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 6px;
  color: var(--faint);
  font-weight: 650;
}

.section {
  scroll-margin-top: 116px;
  padding: 92px 0;
  background: #fff;
}

.section.soft {
  background: var(--surface-soft);
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
}

.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

h2 {
  font-size: clamp(34px, 4.6vw, 54px);
}

.section-head p,
.wide-copy {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 520;
}

.section-head.split p {
  margin-left: 0;
}

.proof-section {
  padding-top: 28px;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.proof-visual img {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.proof-copy p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.proof-checks {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.proof-checks div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.proof-checks b {
  color: var(--ink);
}

.proof-checks span {
  color: var(--muted);
}

.text-link {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 17%;
  right: 17%;
  top: 34px;
  border-top: 2px dashed #cbd5e1;
}

.step {
  position: relative;
  text-align: center;
}

.step-bg {
  position: absolute;
  left: 50%;
  top: -36px;
  transform: translateX(-50%);
  color: #f1f5f9;
  font-family: Outfit, Inter, sans-serif;
  font-size: 112px;
  font-weight: 950;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.step-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  font-size: 28px;
  font-weight: 900;
}

.step b {
  display: block;
  margin-bottom: 8px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 21px;
}

.step p {
  max-width: 280px;
  margin: 0 auto;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.question-card,
.article-card,
.faq-card,
.case-item,
.quiz-card,
.upload-card,
.office-card,
.founder-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card .card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(16, 185, 129, 0.12));
}

.service-card .card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .card-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.service-card span,
.article-card span,
.question-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3,
.question-card h3,
.article-card h3,
.faq-card h3,
.upload-card h3 {
  margin: 14px 0 10px;
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 24px;
  line-height: 1.15;
}

.service-card p,
.question-card p,
.article-card p,
.faq-card p,
.upload-card p,
.trust-copy p,
.office-card p,
.case-item p {
  margin: 0;
  color: var(--muted);
}

.article-card {
  display: block;
  min-height: 238px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.article-card-media {
  display: block;
  aspect-ratio: 1200 / 630;
  margin: -24px -24px 20px;
  overflow: hidden;
  background: #e2e8f0;
}

.article-card-media img,
.knowledge-card-media img,
.article-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.quiz-layout,
.office-layout,
.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 24px;
  align-items: start;
}

.quiz-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.progress-track {
  height: 8px;
  background: #e2e8f0;
}

.progress-bar {
  width: 20%;
  height: 100%;
  background: var(--blue);
  transition: width 240ms ease;
}

.quiz-body {
  padding: clamp(24px, 4vw, 38px);
}

.quiz-hint {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
}

.quiz-step h3 {
  margin: 0 0 20px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.range-row {
  display: grid;
  gap: 14px;
}

.debt-output {
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 42px;
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-row button,
.filter-row select,
.filter-row input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
}

.contact-form textarea {
  min-height: 96px;
  padding: 14px 16px;
  resize: vertical;
}

.choice-row button {
  cursor: pointer;
  font-weight: 800;
}

.choice-row button.is-active {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: var(--blue);
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.link-button {
  min-height: 52px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 850;
  cursor: pointer;
}

.result-box {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  background: #eff6ff;
}

.result-box b {
  color: var(--blue);
  font-size: 13px;
  text-transform: uppercase;
}

.result-box strong {
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 30px;
  line-height: 1.05;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.lead-status {
  margin: 12px 0 0;
  color: #059669;
  font-weight: 750;
}

.privacy-note {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.lead-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.lead-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.upload-card {
  padding: 28px;
}

.upload-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 30px;
  font-weight: 900;
}

.upload-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding-left: 20px;
  color: #475569;
}

.questions-grid,
.article-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.question-card,
.article-card,
.faq-card {
  padding: 24px;
}

.article-page {
  background: #fff;
}

.knowledge-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 74px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.knowledge-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.knowledge-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 0.98;
}

.knowledge-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #475569;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 650;
}

.knowledge-summary {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.knowledge-summary strong {
  display: block;
  color: var(--blue);
  font-family: Outfit, Inter, sans-serif;
  font-size: 54px;
  line-height: 1;
}

.knowledge-summary span,
.knowledge-summary small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.knowledge-summary small {
  color: var(--faint);
  font-size: 13px;
}

.knowledge-section {
  padding-top: 58px;
}

.knowledge-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 14px;
  margin-bottom: 18px;
}

.knowledge-toolbar label {
  display: grid;
  gap: 8px;
}

.knowledge-toolbar span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-toolbar input,
.knowledge-toolbar select {
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
}

.knowledge-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 700;
}

.knowledge-meta p {
  margin: 0;
}

.knowledge-meta strong {
  color: var(--blue);
}

.knowledge-list {
  display: grid;
  gap: 12px;
}

.knowledge-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 220px) 64px minmax(0, 1fr);
  gap: 4px 18px;
  min-height: 184px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.035);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.knowledge-card-media {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border-radius: 6px;
  background: #e2e8f0;
}

.knowledge-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.knowledge-number {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #eff6ff;
  color: var(--blue);
  font-family: Outfit, Inter, sans-serif;
  font-size: 22px;
  font-weight: 950;
}

.knowledge-category {
  grid-column: 3;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-card h2 {
  grid-column: 3;
  margin: 2px 0 0;
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.08;
}

.knowledge-card p {
  grid-column: 3;
  margin: 6px 0 0;
  color: var(--muted);
}

.knowledge-empty {
  padding: 34px;
  border: 1px dashed #bfdbfe;
  border-radius: var(--radius-lg);
  background: #eff6ff;
  text-align: center;
}

.knowledge-empty h2 {
  font-size: 32px;
}

.knowledge-empty p {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.pagination button {
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.pagination button[aria-current="page"] {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.article-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.article-nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.article-shell {
  width: min(820px, calc(100% - 32px));
  min-width: 0;
  margin: 0 auto;
  padding: 68px 0 76px;
  overflow-wrap: anywhere;
}

.article-kicker {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-shell h1 {
  margin: 0;
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.article-lead {
  margin: 24px 0 0;
  color: #475569;
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 650;
}

.article-cover {
  aspect-ratio: 1200 / 630;
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e2e8f0;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.article-breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.article-breadcrumbs a:hover {
  text-decoration: underline;
}

.article-author {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.article-author > div {
  min-width: 0;
}

.article-author-photo {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 50%;
  background: #e2e8f0;
}

.article-author-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 24%;
  transform: scale(1.5);
  transform-origin: 50% 27%;
}

.article-author-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-author-name {
  display: inline-block;
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 850;
  text-decoration: none;
}

.article-author-name:hover {
  color: var(--blue);
}

.article-author p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.article-shell section {
  margin-top: 42px;
}

.article-shell h2 {
  font-size: clamp(27px, 3vw, 36px);
}

.article-shell p {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 18px;
}

.article-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--text);
  font-size: 18px;
}

.article-note {
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 700;
}

.article-sources {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.article-sources a {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.article-sources a:hover {
  text-decoration: underline;
}

.article-related {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.article-related-list {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.related-article-link {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.related-article-link:hover {
  background: #eff6ff;
  color: var(--blue);
}

.related-article-link span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-article-link strong {
  font-size: 17px;
  line-height: 1.35;
}

.policy-shell a {
  color: var(--blue);
}

.profile-hero {
  padding: 72px 0;
  overflow: hidden;
  background: #f1f5f9;
}

.profile-hero-inner {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.profile-photo {
  width: min(144px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #0b0b0d;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 24%;
  transform: scale(1.55);
  transform-origin: 50% 27%;
}

.profile-copy {
  align-self: center;
  padding: 24px 0;
}

.profile-copy h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1;
}

.profile-role {
  margin: 20px 0 0;
  color: var(--blue);
  font-size: 22px;
  font-weight: 850;
}

.profile-summary {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 19px;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

.profile-facts div {
  display: grid;
  gap: 4px;
  padding: 20px 18px 20px 0;
}

.profile-facts strong {
  color: var(--ink);
  font-size: 20px;
}

.profile-facts span {
  color: var(--muted);
  font-size: 13px;
}

.profile-copy .hero-actions {
  margin-top: 30px;
}

.profile-content {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(32px, 7vw, 100px);
}

.profile-principles-list {
  display: grid;
  gap: 0;
}

.profile-principles-list p {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 18px;
}

.profile-principles-list .text-link {
  margin-top: 22px;
}

.author-articles-list {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.author-articles-list a {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 24px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.author-articles-list a:hover {
  color: var(--blue);
  background: #f8fafc;
}

.author-articles-list span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-cta {
  padding: 64px 0;
  background: var(--slate-dark);
  color: #fff;
  text-align: center;
}

.article-cta h2 {
  color: #fff;
}

.article-cta p {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.article-cta .button {
  margin-top: 26px;
}

.question-card div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.question-card b {
  color: var(--faint);
  font-size: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tags span {
  width: 100%;
  color: var(--faint);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tags a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.counter-line {
  color: var(--muted);
  font-weight: 750;
}

.counter-line strong {
  color: var(--blue);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.case-item {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.case-item div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.case-item span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900;
}

.case-item strong {
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 22px;
  line-height: 1.05;
  text-align: right;
}

.case-item dl {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 5px 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.case-item dt {
  color: var(--ink);
  font-weight: 800;
}

.case-item dd {
  margin: 0;
}

.case-result {
  margin-top: auto !important;
  color: var(--ink) !important;
  font-weight: 750;
}

.case-item a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.trust-layout {
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  align-items: center;
}

.founder-card {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #e2e8f0, #f8fafc);
}

.founder-portrait {
  width: min(168px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #0b0b0d;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.founder-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 24%;
  transform: scale(1.55);
  transform-origin: 50% 27%;
}

.section-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-copy h2,
.office-card h2 {
  max-width: 760px;
}

.trust-copy p,
.office-card p {
  margin-top: 18px;
  font-size: 18px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.trust-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.trust-list b,
.office-list b {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.trust-list span,
.office-list span {
  color: var(--muted);
  font-size: 14px;
}

.office-layout {
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 1fr);
  align-items: stretch;
}

.office-card {
  padding: clamp(28px, 5vw, 46px);
}

.office-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.office-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.map-frame {
  min-height: 440px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.final-cta {
  scroll-margin-top: 116px;
  padding: 90px 0;
  background: var(--slate-dark);
  color: #fff;
  text-align: center;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(36px, 5vw, 62px);
}

.final-cta p {
  max-width: 680px;
  margin: 16px auto 0;
  color: #cbd5e1;
  font-size: 18px;
}

.footer {
  padding: 62px 0 28px;
  background: #0b1220;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 0.7fr 0.7fr;
  gap: 48px;
}

.footer-brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer p {
  max-width: 340px;
  margin: 0 0 20px;
  color: #94a3b8;
}

.footer h3 {
  margin: 0 0 16px;
  color: #fff;
}

.footer a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #64748b;
  font-size: 13px;
}

body.reveal-ready .reveal {
  opacity: 1;
  transform: none;
}

body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.messenger-widget {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.messenger-toggle {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}

.messenger-orbit {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  animation: messenger-pulse 2.7s ease-in-out infinite;
  overflow: hidden;
}

.messenger-orbit img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.messenger-toggle b {
  font-size: 14px;
}

.messenger-panel {
  width: min(330px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
}

.messenger-panel[hidden] {
  display: none;
}

.messenger-link {
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas:
    "icon name"
    "icon hint";
  column-gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.messenger-link:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.messenger-logo {
  grid-area: icon;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.messenger-logo img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.messenger-link b {
  grid-area: name;
  align-self: end;
}

.messenger-link small {
  grid-area: hint;
  align-self: start;
  color: var(--muted);
  font-size: 12px;
}

.messenger-link.max .messenger-logo img {
  width: 38px;
  height: 38px;
}

.messenger-widget.is-open .messenger-orbit {
  animation: none;
}

@keyframes messenger-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.36);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .messenger-orbit {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .floating-card {
    display: none;
  }

  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 112px 0 66px;
  }

  .phone-inline {
    display: none;
  }

  .analysis-points,
  .stats-grid,
  .steps,
  .service-grid,
  .questions-grid,
  .article-grid,
  .faq-grid,
  .quiz-layout,
  .office-layout,
  .trust-layout,
  .trust-list,
  .hero-inner,
  .proof-layout,
  .knowledge-hero-inner,
  .knowledge-toolbar,
  .profile-hero-inner,
  .profile-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    padding-top: 36px;
  }

  .profile-photo {
    width: min(132px, 100%);
  }

  .profile-copy {
    padding: 0 0 64px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .hero-lead,
  .hero-sublead,
  .analysis-points {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .quick-messengers {
    justify-content: center;
  }

  .hero-visual {
    max-width: 560px;
    margin: 10px auto 0;
  }

  .steps::before {
    display: none;
  }

  .section-head.split {
    display: block;
  }

  .text-link {
    display: inline-flex;
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 0;
  }

  .nav-card {
    min-height: 58px;
    border-radius: 20px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .mobile-contact {
    display: inline-flex;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .nav-button {
    display: none;
  }

  .hero h1 {
    font-size: clamp(38px, 12.8vw, 54px);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-sublead {
    font-size: 16px;
  }

  .hero-actions,
  .step-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .status-pill {
    align-items: flex-start;
    text-align: left;
    border-radius: 18px;
  }

  .analysis-points {
    text-align: left;
  }

  .quick-messengers a {
    flex: 1 1 calc(33.333% - 10px);
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
  }

  .quick-messengers {
    display: none;
  }

  .stats-strip {
    padding-top: 26px;
  }

  .stats-grid {
    gap: 24px;
  }

  .section {
    padding: 70px 0;
  }

  .knowledge-hero {
    padding: 92px 0 36px;
  }

  .knowledge-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .knowledge-hero p {
    margin-top: 14px;
    font-size: 18px;
  }

  .knowledge-summary {
    padding: 20px;
    border-radius: 24px;
  }

  .knowledge-summary strong {
    font-size: 48px;
  }

  .knowledge-section {
    padding: 32px 0 64px;
  }

  .knowledge-toolbar {
    gap: 10px;
    margin-bottom: 14px;
  }

  .knowledge-toolbar input,
  .knowledge-toolbar select {
    min-height: 52px;
  }

  .knowledge-meta {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
  }

  .knowledge-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .knowledge-card-media {
    grid-column: 1;
    grid-row: auto;
    width: auto;
    margin: -20px -20px 14px;
    border-radius: 8px 8px 0 0;
  }

  .knowledge-number,
  .knowledge-category,
  .knowledge-card h2,
  .knowledge-card p {
    grid-column: 1;
    grid-row: auto;
  }

  .knowledge-number {
    margin-bottom: 8px;
  }

  .article-author {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  .article-author-photo {
    width: 52px;
    height: 52px;
  }

  .article-author-name {
    font-size: 17px;
  }

  .article-author p {
    font-size: 13px;
  }

  .article-shell {
    width: calc(100% - 28px);
    padding: 48px 0 60px;
  }

  .article-shell h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .article-lead {
    font-size: 18px;
  }

  .profile-photo {
    width: min(120px, 100%);
  }

  .profile-copy h1 {
    font-size: 44px;
  }

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .profile-facts div {
    padding: 14px 0;
    border-bottom: 1px solid #cbd5e1;
  }

  .author-articles-list a {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px;
  }

  .knowledge-number {
    grid-row: auto;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 19px;
  }

  .proof-checks div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .choice-row,
  .filter-row,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    min-height: 240px;
    padding: 24px;
  }

  .founder-portrait {
    width: min(144px, 100%);
  }

  .map-frame {
    min-height: 360px;
  }

  .messenger-widget {
    right: 14px;
    bottom: 14px;
  }

  .messenger-toggle b {
    display: none;
  }

  .messenger-toggle {
    min-height: 58px;
    width: 58px;
    justify-content: center;
    padding: 7px;
  }
}

/* Conversion sprint: a shorter lead path and safer responsive stacking. */
.site-header,
.article-header {
  z-index: 200;
  isolation: isolate;
}

.hero {
  min-height: 820px;
}

.hero-copy {
  max-width: 680px;
}

.short-lead {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.hero-lead-form {
  margin-top: 18px;
}

.hero-phone {
  display: inline-block;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 850;
  text-underline-offset: 4px;
}

.short-lead input,
.short-lead select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
}

.short-lead input:focus,
.short-lead select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(37, 99, 235, 0.12);
}

.short-lead .button {
  width: 100%;
}

.short-lead-status,
.short-lead-link,
.short-lead .privacy-note {
  grid-column: 1 / -1;
}

.short-lead-status {
  margin: 2px 0 0;
  color: #166534;
  font-size: 14px;
  font-weight: 750;
}

.form-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lead-status.is-success,
.short-lead-status.is-success {
  color: #157347;
}

.lead-status.is-error,
.short-lead-status.is-error {
  color: #b42318;
}

.lead-confirmation {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid #86efac;
  border-radius: 8px;
  background: #f0fdf4;
  color: #166534;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
}

.short-lead.is-submitted,
.quiz-card.is-submitted {
  display: block;
  padding: 18px;
}

.compact-quiz-layout {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.final-lead-form .button {
  grid-column: 1 / -1;
}

.home-page .section {
  padding-top: 78px;
  padding-bottom: 78px;
}

.short-lead-link {
  color: var(--blue);
  font-weight: 850;
}

.hero-privacy {
  margin: 9px 0 0;
  color: var(--faint);
  font-size: 12px;
}

.privacy-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.expert-inline {
  display: inline-grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  color: var(--ink);
  text-decoration: none;
}

.expert-inline-photo {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
  background: #e2e8f0;
}

.expert-inline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  transform: scale(1.5);
  transform-origin: 50% 27%;
}

.expert-inline b,
.expert-inline small {
  display: block;
}

.expert-inline small {
  margin-top: 3px;
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  min-height: 250px;
}

.upload-note {
  margin-top: 18px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.office-compact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.office-compact h2 {
  max-width: 700px;
}

.office-compact .office-list {
  margin: 0;
}

.final-cta {
  text-align: left;
}

.final-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.final-cta p {
  margin-left: 0;
  margin-right: 0;
}

.final-phone {
  display: inline-block;
  margin-top: 22px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 850;
  text-decoration: none;
}

.final-lead-form {
  color: var(--ink);
}

.final-lead-form .privacy-note {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.pagination-ellipsis {
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 850;
}

.faq-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.faq-card summary {
  position: relative;
  padding: 22px 54px 22px 22px;
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 21px;
  font-weight: 850;
  line-height: 1.18;
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 26px;
}

.faq-card[open] summary::after {
  content: "−";
}

.faq-card p {
  padding: 0 22px 22px;
}

.article-inline-cta {
  margin: 42px 0 0;
  padding: 26px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
}

.article-inline-cta h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
}

.article-inline-cta p {
  margin-top: 10px;
  color: #475569;
}

.article-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.messenger-widget {
  transition: opacity 160ms ease, transform 160ms ease;
}

.messenger-widget.is-clear {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

@media (max-width: 1280px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .final-inner,
  .office-compact {
    grid-template-columns: 1fr;
  }

  .final-cta,
  .final-cta-copy {
    text-align: center;
  }

  .final-cta p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 104px;
    padding-bottom: 52px;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .short-lead {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .short-lead-status,
  .short-lead-link,
  .short-lead .privacy-note {
    grid-column: 1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .stats-grid strong {
    font-size: 25px;
  }

  .stats-grid span {
    font-size: 13px;
  }

  .steps {
    gap: 18px;
  }

  .step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 3px 14px;
    text-align: left;
  }

  .step-bg {
    display: none;
  }

  .step-icon {
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 8px;
    font-size: 22px;
  }

  .step b,
  .step p {
    max-width: none;
    margin: 0;
  }

  .step b {
    font-size: 19px;
  }

  .step p {
    font-size: 14px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-card {
    min-height: 0;
    padding: 18px;
  }

  .service-card .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    border-radius: 8px;
  }

  .service-card h3 {
    margin: 7px 0 6px;
    font-size: 21px;
  }

  .service-card p {
    font-size: 15px;
  }

  .proof-section {
    padding-top: 56px;
  }

  .home-page .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .proof-visual {
    display: none;
  }

  .filter-row {
    gap: 8px;
  }

  .case-item {
    padding: 20px;
  }

  .office-compact {
    gap: 26px;
  }

  .office-compact h2 {
    font-size: 32px;
  }

  #office,
  #faq {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .faq-grid {
    gap: 10px;
  }

  .faq-card summary {
    padding: 18px 48px 18px 18px;
    font-size: 19px;
  }

  .faq-card p {
    padding: 0 18px 18px;
    font-size: 15px;
  }

  .final-cta {
    padding: 68px 0 96px;
  }

  .knowledge-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 5px 14px;
    min-height: 142px;
    padding: 12px;
  }

  .knowledge-card-media {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 112px;
    margin: 0;
    border-radius: 6px;
  }

  .knowledge-number {
    display: none;
  }

  .knowledge-category,
  .knowledge-card h2,
  .knowledge-card p {
    grid-column: 2;
  }

  .knowledge-category {
    font-size: 10px;
  }

  .knowledge-card h2 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.12;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .knowledge-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .pagination {
    gap: 7px;
  }

  .pagination button {
    min-width: 42px;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 8px;
  }

  .article-inline-cta {
    padding: 20px;
  }

  .result-box {
    gap: 8px;
    padding: 18px;
    border-radius: 8px;
  }

  .result-box strong {
    font-size: 27px;
  }

  .result-box p,
  .result-box span {
    font-size: 15px;
  }

  .article-inline-actions {
    display: grid;
  }

  .messenger-widget {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .messenger-toggle {
    width: 52px;
    min-height: 52px;
  }

  .messenger-orbit,
  .messenger-orbit img {
    width: 38px;
    height: 38px;
  }
}
