:root {
  --accent: #224dce;
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #151e30;
  background: #e7eaf1;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #2451d2; outline-offset: 4px; }

.toolbar { background: #fff; border-bottom: 1px solid #dce2ee; }
.toolbar-inner { width: min(100% - 2rem, 77rem); min-height: 4.5rem; margin: auto; display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; padding-block: .65rem; }
.toolbar-title { margin-right: auto; font-size: .94rem; font-weight: 700; }
.switch { display: flex; flex-wrap: wrap; gap: .2rem; padding: .2rem; border-radius: .6rem; background: #eef1f7; }
.switch button { min-height: 2.25rem; border: 1px solid transparent; border-radius: .46rem; background: transparent; color: #47536a; padding: .28rem .65rem; font-size: .875rem; }
.switch button:hover { color: #163eae; }
.switch button[aria-pressed="true"] { border-color: #d8e1f7; background: #fff; color: #163eae; font-weight: 700; }
.toolbar .text-link { color: #163eae; font-size: .94rem; }
.entry-previews { display: flex; flex-wrap: wrap; gap: .35rem .8rem; }

.preview { --muted: #505d73; --line: #dce2ed; container-type: inline-size; width: min(100% - 2rem, 79rem); margin: 1.35rem auto; overflow: clip; border: 1px solid #d8dfed; border-radius: 1rem; background: #fbfcff; box-shadow: 0 .9rem 2.5rem #1223450c; }
.preview[data-screen="phone"] { width: min(100% - 1rem, 390px); }
.site-wrap { width: min(100% - 5.5rem, 70rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 700; text-decoration: none; }
.brand i { width: .95rem; height: .95rem; background: var(--accent); border-radius: .24rem; transform: rotate(-10deg); }
nav { display: flex; gap: clamp(.75rem, 2cqi, 1.7rem); }
nav a { font-size: .94rem; font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .22em; }

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); align-items: center; gap: clamp(1.6rem, 4cqi, 3.75rem); min-height: clamp(28rem, 40cqi, 33rem); padding-block: 2.8rem; }
h1, h2, h3 { line-height: 1.04; }
h1 { font-size: clamp(2.75rem, 5.35cqi, 4.65rem); letter-spacing: -.061em; font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
.pitch { max-width: 33rem; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.55cqi, 1.16rem); line-height: 1.52; }
.starting-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; max-width: 34rem; margin: .9rem 0 0; }
.starting-paths > div { padding: .65rem .8rem; border: 1px solid #dce5f6; border-radius: .62rem; background: #eef3ff; }
.starting-paths dt { color: #193c9a; font-weight: 700; line-height: 1.25; }
.starting-paths dd { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.36; }
.hero-actions { display: flex; align-items: center; gap: .85rem 1.15rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-offer { max-width: 33rem; margin-top: .65rem; color: var(--muted); font-size: .94rem; line-height: 1.45; }
.primary { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: .7rem 1.12rem; border-radius: .55rem; color: #fff; background: var(--accent); box-shadow: 0 .32rem .85rem #224dce2b; text-align: center; font-weight: 700; text-decoration: none; }
.primary:hover { background: #183ca8; }
.mobile-lead { position: fixed; z-index: 5; inset-inline: 0; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); display: none; width: min(calc(100% - 2rem), 22rem); margin-inline: auto; }
.preview[data-screen="phone"] ~ .mobile-lead { display: inline-flex; }
.text-link { color: var(--accent); font-weight: 700; text-underline-offset: .22em; }

.case-panel { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.2rem, 2.9cqi, 2.5rem); border-radius: .85rem; background: #162956; color: #fff; text-decoration: none; }
.case-panel:hover .case-kicker { text-decoration: underline; text-underline-offset: .22em; }
.case-panel-link { margin-top: 1rem; text-decoration: underline; text-underline-offset: .22em; font-weight: 700; line-height: 1.4; }
.direct-contacts, .channel-links { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; }
.direct-contacts { gap: .65rem; max-width: 26rem; }
.messenger-button { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: .45rem; min-height: 2.75rem; padding: .55rem .75rem; border: 1px solid var(--messenger-border); border-radius: .55rem; background: var(--messenger-background); color: var(--messenger-color); font-size: .9rem; font-weight: 700; text-align: center; text-decoration: none; }
.messenger-button:is(:hover, :focus-visible) { border-color: currentColor; background: var(--messenger-hover); }
.messenger-telegram { --messenger-color: #10567f; --messenger-border: #9ac7e1; --messenger-background: #e7f5ff; --messenger-hover: #d4edff; }
.messenger-max { --messenger-color: #43329c; --messenger-border: #b5a9e9; --messenger-background: #efebff; --messenger-hover: #e6deff; }
.channel-links a { padding-block: .45rem; color: #183b96; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.channel-links[hidden], [data-contact][hidden] { display: none; }
.pricing-budget p + h3 { margin-top: 1.25rem; }
.case-kicker { color: #deebff; font-size: .92rem; font-weight: 600; }
.case-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: stretch; gap: .75rem; margin-top: .8rem; }
.case-comparison-label { display: block; color: #deebff; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.case-comparison-date { display: block; margin-top: .35rem; color: #deebff; font-size: .85rem; line-height: 1.3; }
.case-comparison strong { display: block; margin-top: .3rem; font-size: clamp(2.65rem, 6.2cqi, 5.2rem); font-weight: 800; line-height: 1; letter-spacing: -.08em; }
.sector-case-result { margin-top: .65rem; font-size: clamp(2rem, 5cqi, 3.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -.055em; }
.case-before { color: #deebff; }
.case-caption { margin-top: .35rem; font-size: clamp(1.02rem, 2cqi, 1.35rem); }
.case-meta { margin-top: .35rem; color: #deebff; font-size: .95rem; }
.bar-chart { display: grid; align-self: stretch; gap: .65rem; margin-top: 1.35rem; padding-top: .9rem; border-top: 1px solid #4b5f86; }
.bar-row { display: grid; grid-template-columns: 6.1rem minmax(0, 1fr); gap: .6rem; align-items: center; color: #deebff; font-size: .875rem; }
.bar-track, .bar-track i { display: block; height: .52rem; border-radius: 1rem; background: #344875; }
.bar-track i { width: 19.24%; background: #9db9fa; }
.bar-row:last-child i { width: 100%; background: #baccff; }
.partner-badge { display: inline-flex; min-height: 2.75rem; align-items: center; margin-top: .75rem; padding: .55rem .8rem; border: 1px solid #dce5f6; border-radius: .5rem; background: #eef3ff; color: #193c9a; font-size: .95rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.partner-badge:hover { text-decoration: underline; text-underline-offset: .23em; }
.partner-word { white-space: nowrap; }
.partner-letter { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .direct-contacts:not(:hover, :focus-within) .messenger-button { animation: messenger-nudge 4s 1.5s 3 ease-in-out; }
  .direct-contacts:not(:hover, :focus-within) .messenger-max { animation-delay: 2.2s; }
  .case-comparison-label, .case-comparison strong { animation: case-drop .34s cubic-bezier(.2, .7, .3, 1) both; }
  .case-comparison strong { animation-delay: .18s; }
  .case-comparison > span:last-child .case-comparison-label { animation-delay: .38s; }
  .case-comparison > span:last-child strong { animation-delay: .56s; }
  .bar-track i { transform-origin: left center; animation: bar-grow .45s cubic-bezier(.2, .7, .3, 1) .91s both; }
  .bar-row:last-child i { animation-delay: 1.04s; }
  .case-teasers .case-arriving { animation: case-drop .34s cubic-bezier(.2, .7, .3, 1) var(--case-drop-delay, 0ms) both; }
  .partner-letter { opacity: 0; }
  .partner-animated .partner-letter { animation: partner-reveal .16s ease-out calc(.4s + var(--letter-index) * .045s) both; }
  .partner-badge:focus-visible .partner-letter { opacity: 1; animation: none; }
}

@keyframes messenger-nudge {
  0%, 14%, 100% { transform: translateX(0); }
  3% { transform: translateX(-2px) rotate(-2deg); }
  6% { transform: translateX(2px) rotate(2deg); }
  9% { transform: translateX(-1px) rotate(-1deg); }
  12% { transform: translateX(1px); }
}

@keyframes partner-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes case-drop {
  from { transform: translateY(-.65rem); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.cases-band { border-block: 1px solid var(--line); background: #eaf0fb; }
.section-inner { padding-block: 2.2rem; }
h2 { font-size: clamp(1.8rem, 3.6cqi, 3rem); letter-spacing: -.05em; }
.case-period { display: inline-flex; align-items: center; margin-top: .65rem; padding: .35rem .7rem; border-radius: .4rem; background: var(--accent); color: #fff; font-size: .95rem; font-weight: 700; line-height: 1.35; }
.case-controls { display: grid; gap: .75rem; margin-top: 1rem; }
.case-search { display: grid; gap: .35rem; width: min(100%, 25rem); color: #253b63; font-size: .94rem; font-weight: 700; }
.case-search input { width: 100%; min-height: 2.7rem; padding: .45rem .7rem; border: 1px solid #a6b8d8; border-radius: .5rem; background: #fff; color: #151e30; font: inherit; font-size: 1rem; font-weight: 400; }
.case-search input::placeholder { color: var(--muted); }
.case-filters { display: flex; flex-wrap: wrap; gap: .42rem; }
.case-filters button { min-height: 2.55rem; padding: .41rem .75rem; border: 1px solid #b1c4e7; border-radius: .5rem; background: #fff; color: #23417c; font-weight: 700; font-size: .9rem; }
.case-filters button:hover { border-color: var(--accent); color: var(--accent); }
.case-filters button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.case-count { color: var(--muted); font-size: .9rem; }
.case-teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: 1rem; }
.case-teasers article { display: flex; flex-direction: column; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.case-teasers .case-teaser-featured { border-color: #afc4f4; border-top: 3px solid var(--accent); }
.case-teasers h3 { margin-bottom: .48rem; font-size: 1rem; line-height: 1.3; }
.case-teasers p { margin-top: auto; }
.case-teasers b { display: block; color: var(--accent); font-size: 1.65rem; line-height: 1.2; letter-spacing: -.03em; }
.case-teasers span, .case-note { color: var(--muted); font-size: .88rem; }
.case-note { margin-top: .8rem; line-height: 1.45; }
.cases-cta { display: flex; width: min(100%, 24rem); margin: 1.5rem auto 0; }
.first-month { padding-block: clamp(2rem, 5.2cqi, 4rem); }
.situation-list, .month-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 1.35rem 0 0; padding: 0; list-style: none; }
.situation-list li, .month-steps li { padding: 1.1rem clamp(.95rem, 2cqi, 1.5rem); border: 1px solid var(--line); border-radius: .65rem; }
.situation-list li { background: #eef3ff; }
.month-steps li { border-top: 3px solid var(--accent); background: #fff; }
.situation-list h3, .month-steps h3, .month-outcome h3 { font-size: clamp(1.12rem, 2cqi, 1.35rem); line-height: 1.2; }
.situation-list p, .month-steps p, .month-outcome p { color: var(--muted); line-height: 1.5; }
.situation-list p, .month-steps p { margin-top: .55rem; }
.month-outcome { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: baseline; gap: .45rem 1rem; margin-top: .9rem; padding: 1rem clamp(.95rem, 2cqi, 1.5rem); border-radius: .65rem; background: #eef3ff; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1.15rem; }
.review-card { display: grid; align-content: space-between; gap: .75rem; padding: 1rem clamp(.95rem, 2cqi, 1.35rem); border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.review-card blockquote { margin: 0; }
.review-card blockquote, .review-card p { line-height: 1.5; }
.review-card figcaption, .atelier-case figcaption { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.atelier-case { scroll-margin-top: 1rem; padding: clamp(.75rem, 2.4cqi, 1.8rem); border: 1px solid var(--line); border-radius: .85rem; background: #eef3ff; }
.atelier-case summary { cursor: pointer; color: #193c9a; }
.atelier-case summary h2 { display: inline; font-size: clamp(1.2rem, 2.8cqi, 2.2rem); line-height: 1.25; }
.atelier-case p { max-width: 54rem; margin-top: .85rem; color: var(--muted); line-height: 1.5; }
.atelier-case table { width: 100%; max-width: 54rem; margin-top: 1rem; border-collapse: collapse; background: #fff; font-size: clamp(.8rem, 2cqi, 1rem); }
.atelier-case :is(th, td) { padding: .5rem clamp(.25rem, 1.2cqi, .85rem); border-bottom: 1px solid var(--line); }
.atelier-case thead { background: #dfe9ff; }
.atelier-case thead th { width: 26%; text-align: right; }
.atelier-case tbody th { text-align: left; overflow-wrap: anywhere; }
.atelier-case tbody td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.atelier-case figure { margin-top: 1rem; min-width: 0; }
.atelier-case figure a { display: block; color: #193c9a; font-size: .88rem; font-weight: 700; }
.atelier-case figure a span { display: inline-block; padding-block: .35rem; }
.atelier-case img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: .45rem; background: #fff; }
.atelier-summaries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.office-invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.75rem; padding: clamp(1.15rem, 3.4cqi, 2.65rem); border: 1px solid var(--line); border-radius: .85rem; background: #eef3ff; }
.office-invite > div { flex: 1 1 24rem; }
.office-invite p { max-width: 37rem; margin-top: .65rem; color: var(--muted); line-height: 1.5; }
.pricing-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(1.25rem, 4cqi, 3rem); padding: clamp(1.15rem, 3.4cqi, 2.65rem); border: 1px solid var(--line); border-radius: .85rem; background: #eaf0fb; }
.pricing-copy p { max-width: 32rem; margin-top: .75rem; color: var(--muted); line-height: 1.5; }
.pricing-copy strong { color: #193c9a; }
.pricing-copy .primary { margin-top: 1rem; }
.pricing-budget { padding: clamp(.85rem, 2.5cqi, 1.6rem); border-radius: .65rem; background: #162956; color: #fff; }
.pricing-budget h3 { font-size: clamp(1.12rem, 2cqi, 1.35rem); line-height: 1.2; }
.pricing-budget p { margin-top: .55rem; color: #deebff; line-height: 1.5; }
.meeting { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.25rem, 4cqi, 3rem); padding-block: clamp(2rem, 5cqi, 4rem); }
.meeting p { max-width: 30rem; margin-block: .85rem 1.15rem; color: var(--muted); line-height: 1.5; }
.lead-form { display: grid; gap: .65rem; scroll-margin-top: 1.25rem; padding: clamp(1rem, 2.4cqi, 1.5rem); border: 1px solid var(--line); border-radius: .75rem; background: #eef3ff; }
.lead-form h3 { font-size: clamp(1.1rem, 2cqi, 1.35rem); line-height: 1.2; }
.lead-form p { margin: 0; }
.lead-copy { font-size: .94rem; }
.lead-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.lead-fields label { display: grid; gap: .3rem; font-size: .94rem; font-weight: 700; }
.lead-fields input { width: 100%; min-height: 2.75rem; padding: .55rem .7rem; border: 1px solid #a6b8d8; border-radius: .5rem; background: #fff; color: inherit; font: inherit; font-size: 1rem; font-weight: 400; }
.lead-fields input::placeholder { color: var(--muted); }
.lead-form .primary { justify-self: start; border: 0; }
.lead-form .primary:disabled { opacity: .65; cursor: default; }
.lead-contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; max-width: 26rem; }
.lead-status { font-size: .85rem; }
.lead-form .lead-status { color: #193c9a; }
.lead-status:empty { margin-top: -.65rem; }
.lead-confirmation { width: min(26rem, calc(100% - 2rem)); padding: clamp(1.25rem, 5vw, 2rem); border: 1px solid #dce2ed; border-radius: .85rem; color: #151e30; background: #fff; box-shadow: 0 1rem 3rem #12234540; }
.lead-confirmation::backdrop { background: #12234580; }
.lead-confirmation h2 { font-size: 1.65rem; }
.lead-confirmation p { margin: .75rem 0 1.25rem; color: #505d73; line-height: 1.5; }
.lead-confirmation button { border: 0; }
.meeting-certificate { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.3rem, 1cqi, .75rem); max-width: 30rem; margin-top: 1.15rem; }
.meeting-certificate a { display: grid; align-content: start; justify-items: center; gap: .38rem; min-width: 0; color: #193c9a; font-size: .8rem; line-height: 1.25; text-align: center; text-underline-offset: .18em; overflow-wrap: anywhere; }
.meeting-certificate img { display: block; width: min(100%, 3.8rem); height: auto; aspect-ratio: 7 / 10; object-fit: contain; border: 1px solid var(--line); border-radius: .25rem; background: #fff; }
.meeting-photo { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: .85rem; }
.faq { max-width: 53rem; }
.faq-list { display: grid; gap: .55rem; margin-top: 1.2rem; }
.faq-list details { border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.faq-list details[open] { background: #eef3ff; }
.faq-list summary { padding: .85rem 1rem; border-radius: .65rem; cursor: pointer; font-weight: 700; line-height: 1.4; }
.faq-list summary::marker { color: var(--accent); }
.faq-list summary:hover { color: var(--accent); }
.faq-list p { padding: 0 1rem .9rem; color: var(--muted); line-height: 1.5; }

@container (max-width: 720px) {
  .site-wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.4rem; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 1.6rem 1.8rem; gap: 1.05rem; }
  h1 { font-size: clamp(2.12rem, 8.9cqi, 3.7rem); }
  .pitch { margin-top: .8rem; }
  .starting-paths { margin-top: .65rem; gap: .45rem; }
  .starting-paths > div { padding: .53rem .58rem; }
  .hero-actions { margin-top: 1rem; gap: .65rem 1rem; }
  .case-panel { padding: 1rem; }
  .case-comparison { margin-top: .6rem; }
  .bar-chart { gap: .45rem; margin-top: .8rem; padding-top: .65rem; }
  .section-inner { padding-block: 1.65rem; }
  .case-teasers { grid-template-columns: minmax(0, 1fr); }
  .atelier-summaries { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .situation-list, .month-steps, .month-outcome { grid-template-columns: minmax(0, 1fr); }
  .review-grid, .pricing-panel, .meeting { grid-template-columns: minmax(0, 1fr); }
  .lead-fields { grid-template-columns: minmax(0, 1fr); }
}

@container (max-width: 410px) {
  nav a:last-child, .process-nav-link { display: none; }
  .brand, nav a { font-size: .9rem; }
}

@container (max-width: 330px) {
  .starting-paths { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 540px) {
  .toolbar-inner { width: calc(100% - 1rem); gap: .38rem .55rem; }
  .toolbar-title, .screen-switch { display: none; }
  .preview { width: calc(100% - 1rem); margin-block: .6rem; }
}

@media (max-width: 752px) {
  .mobile-lead { display: inline-flex; }
}
