/* Page sections, top to bottom. */

/* ---------- Section heading: kicker, title, short description ---------- */

.shead {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(48px, calc(6 * var(--vw)), 80px);
}

.shead .kicker {
  grid-column: 1 / -1;
}

.shead p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 18px;
}

/* same look as the lead text under the main heading */
/* the description goes under the heading, not in a column to the right */
#solutions .shead,
#how .shead,
#turnkey .shead,
#faq .shead {
  grid-template-columns: minmax(0, 1fr);
}

#how .shead p,
#solutions .shead p,
#turnkey .shead p,
#faq .shead p {
  max-width: 52ch;
  font-size: clamp(17px, calc(1.5 * var(--vw)), 20px);
}

.shead h2 .hand {
  display: inline-block;
  margin-left: 0.1em;
  font-size: 1.15em;
}

@media (max-width: 860px) {
  .shead {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(48px, calc(7 * var(--vw)), 96px) clamp(40px, calc(5 * var(--vw)), 64px);
}

.hero h1 {
  font-size: clamp(30px, calc(4.6 * var(--vw)), 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.hero h1 .l {
  display: block;
}

.hero .hand {
  display: block;
  margin-top: 0.08em;
  font-size: 1em;
  letter-spacing: inherit;
}

/* blue plate with the typewriter word */
.mark {
  display: inline-block;
  margin: 0.04em 0 0.02em -0.08em;
  padding: 0.02em 0.16em 0.1em;
  border-radius: 0.12em;
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* the plate flips up with its word: the old one leaves through the top, the new one enters from below;
   the line clips it (extra left room keeps the plate's negative margin visible) */
.hero h1 .flip {
  overflow: hidden;
  margin-left: -0.16em;
  padding-left: 0.16em;
}

.mark.out {
  transform: translateY(-110%);
  opacity: 0;
}

.mark.in-from-below {
  transform: translateY(110%);
  opacity: 0;
  transition: none;
}

.hero .lead {
  max-width: 52ch;
  margin-top: 36px;
  color: var(--muted);
  font-size: clamp(17px, calc(1.5 * var(--vw)), 20px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

/* stage: chat demo + what the agent does */
.s1 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, calc(3 * var(--vw)), 40px);
  margin-top: clamp(56px, calc(7 * var(--vw)), 88px);
}

.s1-text {
  padding-left: clamp(12px, calc(2.5 * var(--vw)), 40px);
}

.s1 .big {
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(30px, calc(3 * var(--vw)), 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.s1-text p {
  max-width: 36ch;
  margin-top: 18px;
  font-size: clamp(17px, calc(1.5 * var(--vw)), 21px);
  color: var(--stage-muted);
}

#demo {
  justify-content: flex-end;
}

.flow {
  --g: 36px;
  margin-left: clamp(16px, 8%, 100px);
  display: grid;
  gap: var(--g);
}

/* narrow plates zigzag left and right, tilted a little */
.fc {
  --r: 0deg;
  position: relative;
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(18px, calc(1.7 * var(--vw)), 24px);
  font-weight: 700;
  line-height: 1.2;
  transform: rotate(var(--r));
  transition: transform 0.25s;
}

.fc:nth-child(even) {
  margin-left: clamp(24px, 14%, 120px);
}

.fc:nth-child(1) {
  --r: -8deg;
}

.fc:nth-child(3) {
  --r: 8deg;
}

.fc:nth-child(4) {
  --r: -3deg;
}

.fc:hover {
  transform: translateY(-3px) rotate(var(--r));
}


.fc i {
  width: 66px;
  height: 66px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.fc i svg {
  width: 40px;
  height: 40px;
}

@media (max-width: 820px) {
  .s1 {
    grid-template-columns: 1fr;
  }

  /* the zigzag stays, but within the panel: plates never go past its right edge */
  .flow {
    margin-left: 0;
  }

  .fc {
    max-width: 88%;
  }

  .fc:nth-child(even) {
    margin-left: auto;
  }
}

/* plain-text strip of facts */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
  margin-top: 40px;
  font-weight: 600;
}

.facts span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.facts span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- How it works: integrations + funnel ---------- */

.s3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, calc(4 * var(--vw)), 56px);
}

.ints {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ic2 {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(15px, calc(1.3 * var(--vw)), 18px);
  font-weight: 700;
  line-height: 1.2;
}

.ic2 img {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
}

.s3-note {
  margin-top: 18px;
  color: var(--stage-muted);
}

.s3-note + .s3-note {
  margin-top: 6px;
}

.s3-note a {
  color: #fff;
  font-weight: 700;
}

/* same note under the channel hub, centred */
.chan-note {
  margin-top: 40px;
  text-align: center;
}

.funnel {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.funnel div {
  padding: 18px 24px;
  /* bottom corners rounder than the top ones, so each row looks like it narrows downwards */
  border-radius: 20px 20px 34px 34px / 18px 18px 26px 26px;
  background: #fff;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(15px, calc(1.5 * var(--vw)), 20px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.funnel div:nth-child(1) {
  width: 100%;
}

.funnel div:nth-child(2) {
  width: 90%;
}

.funnel div:nth-child(3) {
  width: 80%;
}

.funnel div:nth-child(4) {
  width: 70%;
}

.funnel div:nth-child(5) {
  width: 60%;
  background: var(--blue);
  color: #fff;
}

@media (max-width: 900px) {
  .s3 {
    grid-template-columns: 1fr;
  }

  .funnel {
    order: -1;
  }
}

/* phones: keep the 2 × 2 grid of the desktop, just more compact */
@media (max-width: 460px) {
  .ints {
    gap: 10px;
  }

  /* logo above the name, so long names like "Битрикс24" fit the half-width card */
  .ic2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    font-size: 15px;
  }

  .ic2 img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
}

/* ---------- Channels: dark band with a hub ---------- */

/* ---------- Solutions: pains, agent roles, industries ---------- */

.sol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
}

.pains {
  display: grid;
  gap: 22px;
}

.pains-t {
  font-family: var(--display);
  font-size: clamp(26px, calc(2.4 * var(--vw)), 36px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pains ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* the owner's own words, styled as chat bubbles */
.pains li {
  justify-self: start;
  max-width: 92%;
  padding: 14px 18px;
  border-radius: 18px 18px 18px 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
  font-size: clamp(15px, calc(1.2 * var(--vw)), 17px);
  line-height: 1.4;
}

.pains li:nth-child(even) {
  justify-self: end;
  border-radius: 18px 18px 6px 18px;
}

.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr; /* both rows the same height, together as tall as the "Знакомо?" panel */
  gap: 12px;
}

@media (max-width: 520px) {
  .roles {
    grid-template-columns: 1fr;
  }
}

.role {
  padding: 0 24px;
  border-radius: 24px;
  background: var(--white);
}

.role-h {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0 16px;
  font-family: var(--display);
  font-size: clamp(17px, calc(1.5 * var(--vw)), 21px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.role-h i {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.role-h i svg {
  width: 26px;
  height: 26px;
}

.role ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 24px;
  list-style: none;
}

.role li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.role li svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--blue-deep);
  stroke-width: 2.5;
}

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

.ind {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  transition: transform 0.25s;
}

.ind:hover {
  transform: translateY(-3px);
}

.ind i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.ind i svg {
  width: 28px;
  height: 28px;
}

.ind b {
  font-family: var(--display);
  font-size: clamp(17px, calc(1.4 * var(--vw)), 20px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.ind p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .sol {
    grid-template-columns: 1fr;
  }

  .inds {
    grid-template-columns: 1fr 1fr;
  }
}

/* phones: two compact columns instead of one long list */
@media (max-width: 520px) {
  .inds {
    gap: 10px;
  }

  .ind {
    gap: 8px;
    padding: 16px;
    border-radius: 20px;
  }

  .ind i {
    width: 44px;
    height: 44px;
    margin-bottom: 4px;
    border-radius: 14px;
  }

  .ind i svg {
    width: 24px;
    height: 24px;
  }

  .ind b {
    font-size: 16px;
  }

  .ind p {
    font-size: 13.5px;
  }
}

/* ---------- How it works: three steps, each "what you do → what you get" ---------- */

.step-h {
  display: grid;
  grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px clamp(20px, calc(3 * var(--vw)), 48px);
  margin-bottom: clamp(32px, calc(4 * var(--vw)), 56px);
}

.step-n {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.step-t h3 {
  max-width: 24ch;
  font-size: clamp(24px, calc(2.4 * var(--vw)), 38px);
  line-height: 1.1;
}

.step-t p {
  max-width: 52ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(16px, calc(1.3 * var(--vw)), 18px);
}

/* what the client gets from this step */
.gains {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gains li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--white);
  font-weight: 700;
  line-height: 1.3;
}

.gains svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--blue-deep);
  stroke-width: 2.5;
}

.dark .step-t p {
  color: var(--on-dark-muted);
}

.dark .gains li {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
}

.dark .gains svg {
  color: var(--blue);
}

@media (max-width: 860px) {
  .step-h {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .gains {
    grid-column: 1 / -1;
  }
}

/* phones: the step number goes above the title, so the text gets the full width */
@media (max-width: 520px) {
  .step-h {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .step-n {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 20px;
  }
}

/* blocks inside the merged "How it works" section */
.sub {
  margin-top: clamp(64px, calc(8 * var(--vw)), 110px);
}

.chan {
  padding: clamp(28px, calc(4 * var(--vw)), 64px);
  border-radius: 28px;
}

.dark {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(0, 111, 255, 0.6), transparent 45%),
    radial-gradient(ellipse at 0% 100%, rgba(0, 111, 255, 0.4), transparent 40%),
    var(--stage);
  color: var(--on-dark);
}

.dark .kicker,
.dark .shead p {
  color: var(--on-dark-muted);
}

.hubgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px 36px;
  max-width: 900px;
  margin: 0 auto;
}

.hubgrid .col {
  display: grid;
  gap: 16px;
}

.tilew {
  position: relative;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  font-size: clamp(14px, calc(1.2 * var(--vw)), 17px);
  font-weight: 700;
  transition: transform 0.25s;
}

.tilew:hover {
  transform: translateY(-3px);
}

.tilew img {
  width: clamp(32px, calc(3 * var(--vw)), 44px);
  height: clamp(32px, calc(3 * var(--vw)), 44px);
  flex: none;
  border-radius: 11px;
}

.tilew .sk {
  flex-basis: 100%;
  margin-top: 4px;
}

.hubc {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 28px 16px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 30px 60px -20px var(--glow);
}

.hubc svg {
  width: 64px;
  height: 64px;
}

.hubc b {
  font-family: var(--display);
  font-size: clamp(16px, calc(1.6 * var(--vw)), 21px);
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.hubc small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hub-note {
  margin-top: 48px;
  color: var(--ink);
  font-size: clamp(28px, calc(3 * var(--vw)), 40px);
  text-align: center;
}

@media (max-width: 700px) {
  .hubgrid {
    grid-template-columns: 1fr 1fr;
  }

  .hubc {
    grid-column: 1 / -1;
    order: -1;
  }
}

/* ---------- Knowledge base: sources → chat ---------- */

/* sources and chat sit side by side as one centred group */
.s4 {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 440px);
  justify-content: center;
  align-items: center;
  gap: clamp(28px, calc(4 * var(--vw)), 72px);
}

.srcs {
  display: grid;
  gap: 14px;
}

.src {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
}

.src > span:last-child {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.src b {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.src small {
  color: var(--muted);
  font-size: 14px;
}

.src .sk {
  max-width: 180px;
  margin-top: 8px;
}

/* source type badge */
.si {
  width: 52px;
  height: 52px;
  flex: none;
}

@media (max-width: 860px) {
  .s4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Getting started ---------- */

/* three ways to start: by yourself (main, dark), setup by us, turnkey */
.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.way {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(24px, calc(3 * var(--vw)), 40px);
  border-radius: 28px;
}

/* the main way keeps the dark .stagebox background, the other two are white */
.way:not(.stagebox) {
  background: var(--white);
}

.way-tag {
  padding: 7px 14px;
  border-radius: 99px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.way h3 {
  font-size: clamp(22px, calc(2 * var(--vw)), 30px);
  line-height: 1.1;
}

.way-for {
  color: var(--muted);
  font-size: 16px;
}

.way-list,
.way-steps {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.way-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.45;
}

.way-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--blue-deep);
  stroke-width: 2.5;
}

/* numbered steps of the self-service way */
.way-steps {
  counter-reset: way;
}

.way-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  line-height: 1.4;
  counter-increment: way;
}

.way-steps li::before {
  content: counter(way);
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
}

/* the button sits at the bottom of every card, so the three line up */
.way .btn {
  margin-top: auto;
}

.way.stagebox .way-tag {
  background: var(--blue);
  color: #fff;
}

.way.stagebox .way-for {
  color: var(--on-dark-muted);
}

@media (max-width: 1100px) {
  .ways {
    grid-template-columns: 1fr;
  }
}

.path-t {
  margin-bottom: 36px;
  font-size: clamp(22px, calc(2 * var(--vw)), 30px);
}

/* launch steps; the line fills up on scroll via --p set in main.js */
.path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.path::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) var(--p, 0%), var(--line) var(--p, 0%));
}

.path div {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 40px 24px 0 0;
}

.path div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--sheet);
}

.path div:last-child::before {
  background: var(--blue);
}

.path b {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.path span {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 860px) {
  .path {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .path::before {
    left: 9px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: var(--blue);
  }

  .path div {
    padding: 0 0 0 44px;
  }
}

/* ---------- Subscription ---------- */

/* three bars that grow with the number of dialogs; the heading sits in the free space above the low bars */
.tiers {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(16px, calc(2 * var(--vw)), 32px);
  height: clamp(460px, calc(34 * var(--vw)), 680px);
}

.tiers-h {
  position: absolute;
  top: 0;
  left: 0;
  width: 64%;
  display: grid;
  gap: 16px;
}

.tiers-h p {
  max-width: 26ch;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(20px, calc(1.9 * var(--vw)), 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.tier {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(20px, calc(2 * var(--vw)), 32px);
  border-radius: 28px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tier.t1 {
  height: 46%;
  background: #e3e7ee;
  color: var(--ink);
}

.tier.t2 {
  height: 72%;
  background: var(--blue);
  color: #fff;
}

.tier.t3 {
  background: var(--graph);
  color: #fff;
}

.tier-n {
  align-self: flex-end;
  font-size: clamp(28px, calc(2.8 * var(--vw)), 48px);
  text-align: right;
}

.tier-p {
  display: grid;
  gap: 10px;
  font-size: clamp(28px, calc(2.8 * var(--vw)), 48px);
}

.tier-p span {
  font-size: 0.82em;
}

.t1 .tier-p span {
  color: var(--muted);
}

.t2 .tier-p span {
  color: rgba(255, 255, 255, 0.7);
}

.t3 .tier-p span {
  color: var(--on-dark-muted);
}

/* what every tier includes, with the call to action */
/* heading and the button on one line, the list below */
.tiers-all {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 48px;
  margin-top: clamp(48px, calc(5 * var(--vw)), 80px);
}

.tiers-all h3 {
  font-size: clamp(22px, calc(2 * var(--vw)), 30px);
}

/* same check list as in the "Как начать" cards, in two columns */
.tiers-list {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  margin-top: 24px;
}

@media (max-width: 560px) {
  .tiers-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .tiers {
    grid-template-columns: 1fr;
    height: auto;
  }

  .tiers-h {
    position: static;
    width: auto;
    margin-bottom: 12px;
  }

  /* the growth stays visible: bars get wider instead of taller */
  .tier,
  .tier.t1,
  .tier.t2 {
    height: auto;
    gap: 32px;
  }

  .tier.t1 {
    width: 66%;
  }

  .tier.t2 {
    width: 83%;
  }

  .tiers-all {
    grid-template-columns: 1fr;
  }

  .tiers-all .btn {
    justify-self: start;
  }
}


/* ---------- FAQ ---------- */

/* every question is its own white rounded card */
.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 0 clamp(20px, calc(2.4 * var(--vw)), 32px);
  border-radius: 24px;
  background: var(--white);
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--display);
  font-size: clamp(16px, calc(1.4 * var(--vw)), 19px);
  font-weight: 700;
  letter-spacing: -0.025em;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

/* blue arrow (Tabler chevron-down) that turns up when the answer is open */
summary::after {
  content: "";
  width: 28px;
  height: 28px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9bff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.3s;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details p {
  max-width: 64ch;
  padding: 0 0 26px;
  color: var(--muted);
}

/* ---------- Final call to action ---------- */

/* a compact band: heading on the left, buttons on the right */
.final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px 48px;
  padding-block: clamp(40px, calc(3 * var(--vw)), 56px);
  /* same dark panel with a blue glow as the other stages */
  background:
    radial-gradient(ellipse at 88% 8%, rgba(0, 111, 255, 0.6), transparent 45%),
    radial-gradient(ellipse at 0% 100%, rgba(0, 111, 255, 0.4), transparent 40%),
    var(--stage);
  color: #fff;
}

.final h2 {
  max-width: 22ch;
  font-size: clamp(28px, calc(2.8 * var(--vw)), 52px);
}

.final h2 .hand {
  display: inline-block;
  color: #fff;
  font-size: 1.1em;
}

.final .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {
  .final {
    grid-template-columns: 1fr;
  }
}

.final .btn-line {
  border-color: #fff;
  color: #fff;
}

.final .btn-line:hover {
  background: #fff;
  color: var(--blue-deep);
}
