
html:has(body.angel-homepage-standalone),
body.angel-homepage-standalone {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  background: #fff !important;
}

body.angel-homepage-standalone {
  overflow-x: hidden;
}

body.angel-homepage-standalone #wpadminbar {
  z-index: 99999;
}

body.angel-homepage-standalone .ah-page {
  margin-top: 0;
}

@media screen and (min-width: 783px) {
  body.admin-bar.angel-homepage-standalone .ah-header {
    top: 32px;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar.angel-homepage-standalone .ah-header {
    top: 46px;
  }
}


.ah-page {
  --ah-ink: #153e45;
  --ah-ink-2: #244f54;
  --ah-teal: #0f7775;
  --ah-teal-2: #0b6265;
  --ah-teal-dark: #073f48;
  --ah-cream: #fbf7ef;
  --ah-mint: #edf8f5;
  --ah-card: #ffffff;
  --ah-border: #d1dfdc;
  --ah-muted: #687d7f;
  --ah-warm: #f3ead9;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: var(--ah-ink);
  background: #fff;
  font-family: inherit;
}

.ah-page * { box-sizing: border-box; }

.ah-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ah-header {
  position: relative;
  z-index: 20;
  background: var(--ah-teal-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.ah-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ah-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  text-decoration: none;
  min-width: 260px;
}

.ah-brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
}

.ah-brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: .14em;
}

.ah-brand small {
  display: block;
  margin-top: 3px;
  color: #c6ddda;
  font-size: 11px;
}

.ah-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.ah-nav a,
.ah-footer a {
  color: inherit !important;
  text-decoration: none;
}

.ah-nav a {
  font-size: 14px;
  color: #d7e8e6 !important;
}

.ah-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ah-teal);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.ah-hero {
  position: relative;
  background:
    radial-gradient(circle at 86% 25%, rgba(18,154,149,.24), transparent 24%),
    radial-gradient(circle at 76% 62%, rgba(255,255,255,.07), transparent 32%),
    linear-gradient(120deg, #084953 0%, #0a5c61 54%, #0f7775 100%);
  color: #fff;
  padding: 50px 0 52px;
}

.ah-hero-grid {
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  gap: 38px;
  align-items: center;
}

.ah-eyebrow,
.ah-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ah-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.ah-eyebrow {
  color: #a9e2dc;
}

.ah-eyebrow::before,
.ah-section-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.ah-hero h1,
.ah-section h2,
.ah-path h2,
.ah-final h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.025em;
}

.ah-hero h1 {
  margin: 18px 0 14px;
  max-width: 680px;
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: .98;
  color: #fff;
}

.ah-hero p {
  max-width: 700px;
  color: #e0efed;
  line-height: 1.5;
}

.ah-hero-lead {
  margin: 0 0 8px;
  font-size: 18px;
}

.ah-hero-sub {
  margin: 0 0 14px;
  font-size: 14px;
}

.ah-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 14px;
  transition: transform .16s ease, filter .16s ease;
}

.ah-btn:hover { transform: translateY(-1px); }

.ah-btn-primary {
  background: var(--ah-teal);
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(2,45,47,.16);
}

.ah-btn-secondary {
  color: #e6f2f1 !important;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.04);
}

.ah-hero-note {
  margin-top: 9px;
  color: #afcfcc;
  font-size: 13px;
}

.ah-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ah-tags span {
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #d9e9e7;
  font-size: 12px;
}

.ah-hero-visual {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
}

.ah-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(170,231,224,.17);
}

.ah-orbit-1 { width: 430px; height: 430px; }
.ah-orbit-2 { width: 330px; height: 330px; }
.ah-orbit-3 { width: 240px; height: 240px; }

.ah-map-card {
  position: relative;
  z-index: 2;
  width: min(100%, 455px);
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(6,55,62,.72);
  backdrop-filter: blur(8px);
  box-shadow: 0 28px 60px rgba(0,0,0,.14);
}

.ah-map-label {
  color: #b7dcd8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.ah-map-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 6px 0 11px;
  color: rgba(223,238,237,.72);
  font-size: 10px;
}

.ah-map-flow b { color: rgba(139,201,195,.68); }

.ah-map-example {
  display: grid;
  gap: 7px;
}

.ah-map-node {
  padding: 10px 13px;
  border-radius: 15px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}

.ah-map-node small {
  display: block;
  color: #a7c8c5;
  font-size: 10px;
  margin-bottom: 2px;
}

.ah-map-node strong {
  color: #fff;
  font-size: 14px;
}

.ah-map-node-accent {
  background: rgba(37,184,173,.18);
  border-color: rgba(119,229,218,.28);
}

.ah-section {
  padding: 78px 0;
}

.ah-section-warm { background: var(--ah-cream); }
.ah-section-mint { background: var(--ah-mint); }

.ah-section h2 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
}

.ah-section-intro {
  max-width: 900px;
  margin: 0 0 34px;
  color: var(--ah-muted);
  font-size: 17px;
  line-height: 1.6;
}

.ah-grid-3,
.ah-grid-2 {
  display: grid;
  gap: 18px;
}

.ah-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ah-grid-2 { grid-template-columns: repeat(2, 1fr); }

.ah-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--ah-border);
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 34px rgba(29,62,64,.05);
}

.ah-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #dff3ef;
  color: var(--ah-teal);
  font-size: 13px;
  font-weight: 900;
}

.ah-card h3,
.ah-system-card h3,
.ah-path-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--ah-ink);
}

.ah-card h3 {
  font-size: 28px;
  line-height: 1.1;
}

.ah-card p,
.ah-system-card p {
  margin: 0;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ah-result-card {
  min-height: 250px;
}

.ah-mini-chain {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ah-border);
  color: var(--ah-teal);
  font-size: 12px;
  font-weight: 800;
}

.ah-system-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.ah-system-grid::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 92px;
  height: 1px;
  background: #b9d8d3;
}

.ah-system-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 20px 13px 22px;
  text-align: center;
  border: 1px solid var(--ah-border);
  border-radius: 20px;
  background: #fff;
}

.ah-system-index {
  display: block;
  margin-bottom: 20px;
  color: var(--ah-muted);
  font-size: 11px;
  font-weight: 900;
}

.ah-symbol {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px dashed #75bdb5;
  border-radius: 50%;
  color: var(--ah-teal);
  background: #f7fffd;
  font-size: 28px;
}

.ah-system-card h3 {
  font-size: 22px;
}

.ah-system-card p {
  font-size: 12px;
  line-height: 1.5;
}

.ah-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.ah-quote-card {
  padding: 38px;
  border-radius: 30px;
  background: linear-gradient(160deg, #0d7774 0%, #084d57 100%);
  color: #fff;
  box-shadow: 0 22px 45px rgba(21,62,69,.12);
}

.ah-quote-small {
  color: #f3d69a;
  font-size: 14px;
  margin-bottom: 12px;
}

.ah-quote-card blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.28;
  color: #fff;
}

.ah-split p {
  color: var(--ah-ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.ah-inline-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 20px 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--ah-border);
  background: #fff;
}

.ah-inline-chain span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ah-mint);
  font-size: 13px;
  font-weight: 800;
}

.ah-inline-chain b { color: var(--ah-teal); }

.ah-topic-card,
.ah-question-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.ah-card-label {
  margin-bottom: 24px;
  color: var(--ah-teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ah-topic-card a,
.ah-question-card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--ah-teal) !important;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

.ah-example-box {
  margin: 15px 0;
  padding: 14px 16px;
  border: 1px solid var(--ah-border);
  border-radius: 14px;
  background: rgba(255,255,255,.8);
  color: var(--ah-teal-dark);
  font-size: 14px;
  line-height: 1.5;
}

.ah-path {
  padding: 74px 0;
  background: var(--ah-teal-dark);
  color: #fff;
}

.ah-section-kicker-light {
  color: #5dd0c5;
}

.ah-path h2 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
}

.ah-path-intro {
  color: #c6dedb;
  margin-bottom: 30px;
  font-size: 16px;
}

.ah-path-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(235,247,245,.86);
}

.ah-path-card h3 {
  font-size: 26px;
}

.ah-path-card p {
  margin: 0;
  color: #5f7475;
  font-size: 14px;
  line-height: 1.6;
}

.ah-final {
  padding: 70px 0;
  background: var(--ah-cream);
}

.ah-final-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
  padding: 38px 42px;
  border: 1px solid #a9dcd5;
  border-radius: 30px;
  background: linear-gradient(120deg, #f7fcfa 0%, #e8f7f4 100%);
}

.ah-final h2 {
  margin: 0 0 10px;
  max-width: 760px;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.05;
}

.ah-final p {
  margin: 0;
  max-width: 760px;
  color: var(--ah-muted);
  font-size: 16px;
  line-height: 1.6;
}

.ah-footer {
  padding: 54px 0 24px;
  background: #073f48;
  color: #d7e9e6;
}

.ah-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr .85fr 1fr;
  gap: 34px;
}

.ah-footer-brand {
  margin-bottom: 14px;
  color: #fff;
  font-weight: 900;
  letter-spacing: .12em;
}

.ah-footer p,
.ah-footer a {
  color: #c4ddda !important;
  font-size: 13px;
  line-height: 1.7;
}

.ah-footer strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 13px;
}

.ah-footer a {
  display: block;
  margin: 7px 0;
}

.ah-footer-small {
  margin: 0;
}

.ah-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #9ebebb;
  font-size: 12px;
}

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

  .ah-header-inner {
    justify-content: space-between;
  }

  .ah-hero-grid,
  .ah-split {
    grid-template-columns: 1fr;
  }

  .ah-hero-visual {
    min-height: 420px;
  }

  .ah-system-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ah-system-grid::before { display: none; }

  .ah-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .ah-container {
    width: min(100% - 28px, 1180px);
  }

  .ah-header {
    position: static;
  }

  .ah-header-inner {
    min-height: 68px;
  }

  .ah-brand {
    min-width: 0;
  }

  .ah-brand small,
  .ah-header-cta {
    display: none;
  }

  .ah-hero {
    padding: 40px 0 40px;
  }

  .ah-hero-grid {
    gap: 22px;
  }

  .ah-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .ah-hero-lead {
    font-size: 17px;
  }

  .ah-actions {
    display: grid;
  }

  .ah-btn {
    width: 100%;
  }

  .ah-hero-visual {
    min-height: 280px;
  }

  .ah-orbit-1 { width: 300px; height: 300px; }
  .ah-orbit-2 { width: 235px; height: 235px; }
  .ah-orbit-3 { width: 180px; height: 180px; }

  .ah-map-card {
    border-radius: 20px;
    padding: 15px;
  }

  .ah-section,
  .ah-path,
  .ah-final {
    padding: 54px 0;
  }

  .ah-section h2,
  .ah-path h2 {
    font-size: clamp(34px, 9.5vw, 46px);
  }

  .ah-grid-3,
  .ah-grid-2,
  .ah-system-grid,
  .ah-footer-grid {
    grid-template-columns: 1fr;
  }

  .ah-card {
    padding: 22px;
    border-radius: 20px;
  }

  .ah-system-grid {
    gap: 12px;
  }

  .ah-system-card {
    display: grid;
    grid-template-columns: auto 64px 1fr;
    grid-template-areas:
      "idx symbol title"
      "idx symbol text";
    gap: 2px 14px;
    align-items: center;
    text-align: left;
    padding: 16px;
  }

  .ah-system-index {
    grid-area: idx;
    margin: 0;
  }

  .ah-symbol {
    grid-area: symbol;
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .ah-system-card h3 {
    grid-area: title;
    margin: 0 0 3px;
  }

  .ah-system-card p {
    grid-area: text;
  }

  .ah-split {
    gap: 28px;
  }

  .ah-quote-card {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .ah-quote-card blockquote {
    font-size: clamp(28px, 8vw, 38px);
  }

  .ah-final-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .ah-footer-grid {
    gap: 22px;
  }

  .ah-footer-bottom {
    flex-direction: column;
  }
}


/* v1.2 compact hero refinements */
.ah-hero-copy {
  align-self: center;
}

.ah-hero-copy .ah-btn-primary,
.ah-hero-copy .ah-btn-secondary {
  white-space: nowrap;
}

@media (min-width: 981px) {
  .ah-hero-copy {
    padding-right: 8px;
  }
}

@media (max-width: 1200px) and (min-width: 721px) {
  .ah-hero h1 {
    font-size: clamp(40px, 4.3vw, 54px);
  }
}


/* v1.2.1 hero polish */
.ah-map-card {
  border-radius: 26px;
}

.ah-map-node {
  border-radius: 14px;
}

.ah-header-cta {
  min-width: 244px;
}

@media (min-width: 981px) {
  .ah-hero-copy {
    max-width: 760px;
  }
}


/* v1.3 — compact "Что вы получите" section */
#what-you-get.ah-section {
  padding-top: 66px;
  padding-bottom: 66px;
}

#what-you-get h2 {
  max-width: 760px;
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.04;
}

#what-you-get .ah-section-intro {
  margin-bottom: 26px;
  max-width: 860px;
  color: #586f72;
  font-size: 16px;
  line-height: 1.55;
}

#what-you-get .ah-grid-3 {
  gap: 16px;
}

#what-you-get .ah-result-card {
  min-height: 224px;
  padding: 22px 24px 20px;
}

#what-you-get .ah-number {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  font-size: 12px;
}

#what-you-get .ah-result-card h3 {
  margin-bottom: 9px;
  font-size: 25px;
  line-height: 1.08;
}

#what-you-get .ah-result-card p {
  color: #536d70;
  font-size: 14px;
  line-height: 1.55;
}

#what-you-get .ah-mini-chain {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11px;
  line-height: 1.45;
}

#what-you-get .ah-result-card {
  display: flex;
  flex-direction: column;
}

@media (max-width: 720px) {
  #what-you-get.ah-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #what-you-get h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  #what-you-get .ah-section-intro {
    margin-bottom: 22px;
    font-size: 15px;
  }

  #what-you-get .ah-result-card {
    min-height: 0;
    padding: 20px;
  }

  #what-you-get .ah-result-card h3 {
    font-size: 24px;
  }
}


/* v1.4 — polish "6 точек входа" section only */
#system.ah-section {
  padding-top: 66px;
  padding-bottom: 68px;
}

#system h2 {
  max-width: 780px;
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: clamp(36px, 3.55vw, 52px);
  line-height: 1.04;
}

#system .ah-section-intro {
  max-width: 860px;
  margin-bottom: 27px;
  color: #586f72;
  font-size: 16px;
  line-height: 1.55;
}

#system .ah-system-grid {
  margin-top: 28px;
  gap: 10px;
}

#system .ah-system-grid::before {
  top: 82px;
  left: 5.5%;
  right: 5.5%;
}

#system .ah-system-card {
  min-height: 292px;
  padding: 18px 12px 19px;
}

#system .ah-system-index {
  margin-bottom: 15px;
  font-size: 10px;
}

#system .ah-symbol {
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  font-size: 24px;
}

#system .ah-system-card h3 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.05;
}

#system .ah-system-card p {
  color: #536d70;
  font-size: 12.5px;
  line-height: 1.48;
}

@media (max-width: 1180px) and (min-width: 981px) {
  #system .ah-system-card h3 {
    font-size: 21px;
  }

  #system .ah-system-card p {
    font-size: 11.5px;
  }
}

@media (max-width: 980px) {
  #system .ah-system-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  #system .ah-system-card {
    min-height: 230px;
  }
}

@media (max-width: 720px) {
  #system.ah-section {
    padding-top: 50px;
    padding-bottom: 52px;
  }

  #system h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  #system .ah-section-intro {
    margin-bottom: 22px;
    font-size: 15px;
  }

  #system .ah-system-grid {
    margin-top: 22px;
    grid-template-columns: 1fr;
  }

  #system .ah-system-card {
    min-height: 0;
    padding: 16px;
  }

  #system .ah-symbol {
    width: 56px;
    height: 56px;
    margin: 0;
    font-size: 22px;
  }

  #system .ah-system-card h3 {
    font-size: 22px;
  }

  #system .ah-system-card p {
    font-size: 13px;
  }
}


/* v1.5 — polish reaction sequence section only */
#reaction-sequence.ah-section {
  padding-top: 66px;
  padding-bottom: 66px;
}

#reaction-sequence .ah-split {
  grid-template-columns: .84fr 1.16fr;
  gap: 42px;
}

#reaction-sequence .ah-quote-card {
  padding: 42px 44px;
  border-radius: 28px;
}

#reaction-sequence .ah-quote-small {
  margin-bottom: 13px;
  font-size: 13px;
}

#reaction-sequence .ah-quote-card blockquote {
  font-size: clamp(27px, 2.45vw, 36px);
  line-height: 1.3;
}

#reaction-sequence h2 {
  max-width: 720px;
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: clamp(36px, 3.35vw, 50px);
  line-height: 1.04;
}

#reaction-sequence .ah-split > div:last-child > p {
  margin: 0 0 13px;
  color: #284f54;
  font-size: 15px;
  line-height: 1.58;
}

#reaction-sequence .ah-inline-chain {
  gap: 5px;
  margin: 14px 0 15px;
  padding: 10px 12px;
  border-radius: 14px;
}

#reaction-sequence .ah-inline-chain span {
  padding: 5px 9px;
  font-size: 12px;
}

#reaction-sequence .ah-inline-chain b {
  color: var(--ah-teal);
  font-size: 14px;
  opacity: .78;
}

@media (max-width: 980px) {
  #reaction-sequence .ah-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #reaction-sequence .ah-quote-card {
    padding: 34px;
  }
}

@media (max-width: 720px) {
  #reaction-sequence.ah-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #reaction-sequence h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  #reaction-sequence .ah-quote-card {
    padding: 28px 24px;
    border-radius: 24px;
  }

  #reaction-sequence .ah-quote-card blockquote {
    font-size: clamp(26px, 7.6vw, 34px);
  }

  #reaction-sequence .ah-inline-chain {
    gap: 4px;
    padding: 9px 10px;
  }
}


/* v1.6 — polish "О том, что волнует" section only */
#situations.ah-section {
  padding-top: 62px;
  padding-bottom: 68px;
}

#situations h2 {
  max-width: 850px;
  margin-top: 15px;
  margin-bottom: 14px;
  font-size: clamp(36px, 3.55vw, 52px);
  line-height: 1.04;
}

#situations .ah-section-intro {
  max-width: 900px;
  margin-bottom: 27px;
  color: #536d70;
  font-size: 16px;
  line-height: 1.55;
}

#situations .ah-grid-3 {
  gap: 16px;
  align-items: stretch;
}

#situations .ah-topic-card {
  min-height: 252px;
  padding: 23px 24px 21px;
}

#situations .ah-card-label {
  margin-bottom: 20px;
  font-size: 10px;
  letter-spacing: .09em;
}

#situations .ah-topic-card h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.08;
}

#situations .ah-topic-card p {
  color: #536d70;
  font-size: 14px;
  line-height: 1.55;
}

#situations .ah-topic-card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 17px;
  color: var(--ah-teal) !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

#situations .ah-topic-card a::after {
  content: " →";
  margin-left: 4px;
  transition: transform .15s ease;
}

#situations .ah-topic-card a:hover::after {
  transform: translateX(2px);
}

@media (max-width: 980px) {
  #situations .ah-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  #situations.ah-section {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  #situations h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  #situations .ah-section-intro {
    margin-bottom: 22px;
    font-size: 15px;
  }

  #situations .ah-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #situations .ah-topic-card {
    min-height: 0;
    padding: 20px;
  }

  #situations .ah-topic-card h3 {
    font-size: 24px;
  }
}


/* v1.7 — polish "Вопросы из реальной жизни" section only */
.ah-section-warm:has(.ah-question-card) {
  padding-top: 62px;
  padding-bottom: 68px;
}

.ah-section-warm:has(.ah-question-card) h2 {
  max-width: 860px;
  margin-top: 15px;
  margin-bottom: 14px;
  font-size: clamp(36px, 3.55vw, 52px);
  line-height: 1.04;
}

.ah-section-warm:has(.ah-question-card) .ah-section-intro {
  max-width: 900px;
  margin-bottom: 27px;
  color: #536d70;
  font-size: 16px;
  line-height: 1.55;
}

.ah-section-warm:has(.ah-question-card) .ah-grid-2 {
  gap: 16px;
  align-items: stretch;
}

.ah-section-warm:has(.ah-question-card) .ah-question-card {
  min-height: 230px;
  padding: 23px 25px 21px;
  display: flex;
  flex-direction: column;
}

.ah-section-warm:has(.ah-question-card) .ah-card-label {
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: .09em;
}

.ah-section-warm:has(.ah-question-card) .ah-question-card h3 {
  margin-bottom: 9px;
  font-size: 25px;
  line-height: 1.08;
}

.ah-section-warm:has(.ah-question-card) .ah-question-card p {
  color: #536d70;
  font-size: 14px;
  line-height: 1.55;
}

.ah-section-warm:has(.ah-question-card) .ah-question-card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 17px;
  color: var(--ah-teal) !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.ah-section-warm:has(.ah-question-card) .ah-question-card a::after {
  content: " →";
  margin-left: 4px;
  transition: transform .15s ease;
}

.ah-section-warm:has(.ah-question-card) .ah-question-card a:hover::after {
  transform: translateX(2px);
}

@media (max-width: 720px) {
  .ah-section-warm:has(.ah-question-card) {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .ah-section-warm:has(.ah-question-card) h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .ah-section-warm:has(.ah-question-card) .ah-section-intro {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .ah-section-warm:has(.ah-question-card) .ah-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ah-section-warm:has(.ah-question-card) .ah-question-card {
    min-height: 0;
    padding: 20px;
  }

  .ah-section-warm:has(.ah-question-card) .ah-question-card h3 {
    font-size: 24px;
  }
}


/* v1.8 — final lower-page polish */
#how-it-works.ah-section {
  padding-top: 62px;
  padding-bottom: 64px;
}

#how-it-works .ah-split {
  grid-template-columns: .86fr 1.14fr;
  gap: 44px;
}

#how-it-works .ah-quote-card-mechanics {
  padding: 34px 38px;
}

#how-it-works .ah-quote-card-mechanics blockquote {
  font-size: clamp(27px, 2.65vw, 37px);
  line-height: 1.27;
}

#how-it-works .ah-mechanics-copy h2 {
  max-width: 760px;
  margin-top: 15px;
  margin-bottom: 16px;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.04;
}

#how-it-works .ah-mechanics-copy p {
  margin-top: 0;
  margin-bottom: 13px;
  color: #385d61;
  font-size: 15px;
  line-height: 1.58;
}

#how-it-works .ah-example-box {
  margin: 11px 0;
  padding: 12px 15px;
}

#how-it-works .ah-example-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--ah-teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#how-it-works .ah-example-box strong {
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

#how-it-works .ah-mechanics-final {
  margin-top: 14px !important;
}

.ah-path {
  padding-top: 62px;
  padding-bottom: 64px;
}

.ah-path h2 {
  max-width: 980px;
  margin-top: 15px;
  margin-bottom: 12px;
  font-size: clamp(36px, 3.55vw, 52px);
}

.ah-path-intro {
  margin-bottom: 25px;
  font-size: 15px;
}

.ah-path .ah-grid-3 {
  gap: 16px;
}

.ah-path-card {
  min-height: 190px;
  padding: 22px 24px;
  background: rgba(235,247,245,.92);
}

.ah-path-card .ah-number {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  font-size: 12px;
}

.ah-path-card h3 {
  margin-bottom: 9px;
  font-size: 25px;
}

.ah-path-card p {
  color: #506b6d;
  font-size: 14px;
  line-height: 1.55;
}

.ah-final {
  padding-top: 48px;
  padding-bottom: 50px;
}

.ah-final-card {
  padding: 32px 38px;
}

.ah-final h2 {
  font-size: clamp(32px, 3.1vw, 46px);
}

.ah-final-action {
  min-width: 320px;
  text-align: center;
}

.ah-final-action .ah-btn {
  width: 100%;
}

.ah-final-action span {
  display: block;
  margin-top: 9px;
  color: #637d7f;
  font-size: 12px;
}

.ah-footer {
  padding-top: 46px;
  padding-bottom: 20px;
}

.ah-footer-grid {
  gap: 30px;
}

.ah-footer-bottom {
  align-items: center;
}

.ah-footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.ah-footer-legal a {
  display: inline-block;
  margin: 0;
  color: #b5d2cf !important;
  font-size: 11px;
}

@media (max-width: 980px) {
  #how-it-works .ah-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ah-final-action {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  #how-it-works.ah-section {
    padding-top: 48px;
    padding-bottom: 50px;
  }

  #how-it-works .ah-quote-card-mechanics {
    padding: 27px 23px;
  }

  #how-it-works .ah-quote-card-mechanics blockquote {
    font-size: clamp(27px, 8vw, 36px);
  }

  #how-it-works .ah-mechanics-copy h2,
  .ah-path h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .ah-path {
    padding-top: 50px;
    padding-bottom: 52px;
  }

  .ah-path-card {
    min-height: 0;
    padding: 20px;
  }

  .ah-final {
    padding-top: 40px;
    padding-bottom: 42px;
  }

  .ah-final-card {
    padding: 26px 21px;
  }

  .ah-final-action {
    width: 100%;
  }

  .ah-footer-legal {
    justify-content: flex-start;
    gap: 10px 16px;
  }
}


/* v1.9 — unified typography scale */

/* Main page hierarchy */
.ah-hero h1 {
  font-size: clamp(44px, 4.15vw, 60px);
  line-height: .99;
}

/* All primary section headings use one visual level */
#what-you-get h2,
#system h2,
.ah-section-warm:has(.ah-question-card) h2,
#situations h2,
#how-it-works .ah-mechanics-copy h2,
.ah-path h2 {
  font-size: clamp(34px, 3.25vw, 48px);
  line-height: 1.04;
}

/* The standalone "Не одно число" section */
.ah-section-warm .ah-split > div:not(.ah-quote-card) > h2 {
  font-size: clamp(34px, 3.25vw, 48px);
  line-height: 1.04;
}

/* Final CTA should sit below section hierarchy */
.ah-final h2 {
  font-size: clamp(32px, 2.95vw, 44px);
  line-height: 1.05;
}

/* Large quote cards are accents, not competing H1s */
.ah-quote-card blockquote,
#how-it-works .ah-quote-card-mechanics blockquote {
  font-size: clamp(28px, 2.45vw, 36px);
  line-height: 1.27;
}

/* Result, topic and real-life question cards */
#what-you-get .ah-result-card h3,
#situations .ah-topic-card h3,
.ah-section-warm:has(.ah-question-card) .ah-question-card h3,
.ah-path-card h3 {
  font-size: 24px;
  line-height: 1.09;
}

/* Six system points */
#system .ah-system-card h3 {
  font-size: 22px;
  line-height: 1.06;
}

/* Body copy hierarchy */
.ah-section-intro,
#what-you-get .ah-section-intro,
#system .ah-section-intro,
#situations .ah-section-intro,
.ah-section-warm:has(.ah-question-card) .ah-section-intro {
  font-size: 16px;
  line-height: 1.55;
}

.ah-card p,
#what-you-get .ah-result-card p,
#situations .ah-topic-card p,
.ah-section-warm:has(.ah-question-card) .ah-question-card p,
.ah-path-card p,
#how-it-works .ah-mechanics-copy p {
  font-size: 14px;
  line-height: 1.55;
}

/* Desktop safeguard: no section title should visually approach H1 */
@media (min-width: 1200px) {
  #what-you-get h2,
  #system h2,
  #situations h2,
  .ah-section-warm:has(.ah-question-card) h2,
  #how-it-works .ah-mechanics-copy h2,
  .ah-path h2,
  .ah-section-warm .ah-split > div:not(.ah-quote-card) > h2 {
    font-size: 48px;
  }

  .ah-final h2 {
    font-size: 44px;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .ah-hero h1 {
    font-size: clamp(40px, 7.2vw, 54px);
  }

  #what-you-get h2,
  #system h2,
  #situations h2,
  .ah-section-warm:has(.ah-question-card) h2,
  #how-it-works .ah-mechanics-copy h2,
  .ah-path h2,
  .ah-section-warm .ah-split > div:not(.ah-quote-card) > h2 {
    font-size: clamp(34px, 5.8vw, 44px);
  }
}

/* Mobile */
@media (max-width: 720px) {
  .ah-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.01;
  }

  #what-you-get h2,
  #system h2,
  #situations h2,
  .ah-section-warm:has(.ah-question-card) h2,
  #how-it-works .ah-mechanics-copy h2,
  .ah-path h2,
  .ah-section-warm .ah-split > div:not(.ah-quote-card) > h2 {
    font-size: clamp(30px, 8.6vw, 40px);
    line-height: 1.05;
  }

  .ah-final h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .ah-quote-card blockquote,
  #how-it-works .ah-quote-card-mechanics blockquote {
    font-size: clamp(26px, 7.6vw, 34px);
  }

  #what-you-get .ah-result-card h3,
  #situations .ah-topic-card h3,
  .ah-section-warm:has(.ah-question-card) .ah-question-card h3,
  .ah-path-card h3 {
    font-size: 23px;
  }

  #system .ah-system-card h3 {
    font-size: 21px;
  }
}


/* v1.9.1 — balanced heading line breaks */

/* Let the browser distribute words more evenly between lines */
.ah-hero h1,
.ah-section h2,
.ah-path h2,
.ah-final h2,
.ah-card h3,
.ah-system-card h3,
.ah-path-card h3 {
  text-wrap: balance;
}

/* Keep headline blocks from becoming unnecessarily wide */
.ah-hero h1 {
  max-width: 650px;
}

#what-you-get h2 {
  max-width: 720px;
}

#system h2 {
  max-width: 720px;
}

/* "Не значение одного числа..." */
.ah-section-warm .ah-split > div:not(.ah-quote-card) > h2 {
  max-width: 690px;
}

/* "Начните с того..." */
#situations h2 {
  max-width: 760px;
}

/* "Выберите не число..." */
.ah-section-warm:has(.ah-question-card) h2 {
  max-width: 790px;
}

/* "Как ответы складываются..." */
#how-it-works .ah-mechanics-copy h2 {
  max-width: 700px;
}

/* "От отдельного знака..." */
.ah-path h2 {
  max-width: 830px;
}

/* Final CTA */
.ah-final h2 {
  max-width: 700px;
}

/* Avoid awkward single-word final lines where supported */
@supports (text-wrap: pretty) {
  .ah-hero h1,
  .ah-section h2,
  .ah-path h2,
  .ah-final h2 {
    text-wrap: pretty;
  }
}

/* Tablet: give headings enough width so they do not break into too many lines */
@media (max-width: 980px) and (min-width: 721px) {
  .ah-hero h1,
  #what-you-get h2,
  #system h2,
  #situations h2,
  .ah-section-warm:has(.ah-question-card) h2,
  #how-it-works .ah-mechanics-copy h2,
  .ah-path h2,
  .ah-final h2,
  .ah-section-warm .ah-split > div:not(.ah-quote-card) > h2 {
    max-width: 90%;
  }
}

/* Mobile: natural full-width wrapping */
@media (max-width: 720px) {
  .ah-hero h1,
  #what-you-get h2,
  #system h2,
  #situations h2,
  .ah-section-warm:has(.ah-question-card) h2,
  #how-it-works .ah-mechanics-copy h2,
  .ah-path h2,
  .ah-final h2,
  .ah-section-warm .ah-split > div:not(.ah-quote-card) > h2 {
    max-width: 100%;
  }
}


/* =========================================================
   v1.9.3 — stronger site name
   ========================================================= */
.ah-header .ah-brand strong {
  font-weight: 900 !important;
  text-shadow: 0 0 .01px currentColor;
}


/* =========================================================
   v1.9.4 — unified site header typography
   ========================================================= */

/* Brand standard: same as diagnostic and footer */
.ah-brand {
  gap: 12px;
}

.ah-brand-mark {
  width: 40px;
  height: 40px;
  font-size: 17px;
  line-height: 1;
}

.ah-header .ah-brand strong {
  font-size: 18px;
  line-height: 1;
  font-weight: 900 !important;
  letter-spacing: .14em;
  text-shadow: none;
}

/* Main navigation standard */
.ah-nav a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #d7e8e6 !important;
  transition: color .18s ease;
}

.ah-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: #79e1d0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}

.ah-nav a:hover,
.ah-nav a:focus-visible {
  color: #79e1d0 !important;
  outline: none;
}

.ah-nav a:hover::after,
.ah-nav a:focus-visible::after {
  transform: scaleX(1);
}

.ah-header-cta {
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .ah-brand-mark {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .ah-header .ah-brand strong {
    font-size: 16px;
    letter-spacing: .14em;
  }
}
