/* The map, profile stack and centered screenshot carousel. */
/* Trim narrow desktop slivers inside the screenshot frames. */
.screen-layer img,
.profile-card img,
.function-gallery-card img,
.macbook-screen img,
.browser-window img { transform: scale(1.012); transform-origin: center; }
.how-panel--feature .how-panel-inner {
  max-width: 1480px; display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: center; gap: clamp(32px,5vw,80px);
}
.how-panel--feature h2 { font-size: clamp(2rem,3.2vw,3.1rem); line-height: 1.12; }
.how-panel--feature .how-copy > p { max-width: 43ch; font-size: 18px; }
.network-source { display: inline-flex; gap: 10px; margin-top: 25px; color: var(--c-text-tertiary); font-size: 12px; }
.network-source:hover { color: #f6a96b; }
.network-visual { position: relative; width: 100%; max-width: 760px; justify-self: center; }
.network-map-land { display: block; width: 100%; height: auto; }
.network-visual .network-map-routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.network-route { fill: none; stroke: #ed8c43; stroke-width: 1; opacity: .3; }
.network-packet { fill: #ffc085; }
.map-cloud > path:first-child { fill: #f48120; stroke: #fba255; stroke-width: .6; }
.map-cloud-detail { fill: none; stroke: #522b13; stroke-width: 1.7; stroke-linecap: round; }
.map-point circle:first-child { fill: #f48120; opacity: .13; }
.map-point circle:last-child { fill: #ffac62; }

/* The left edge recedes into the scene; the right edge stays nearer. */
.customization-visual { width: 100%; position: relative; }
.profile-stack {
  --profile-fan: 0; --profile-turn: -28deg;
  position: relative; display: block; width: 100%; aspect-ratio: 1.2;
  padding: 0; perspective: 1600px; perspective-origin: 50% 45%;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.profile-stack-scene {
  position: absolute; inset: 0; display: block; transform-style: preserve-3d;
  transform: translateX(2%) rotateX(9deg) rotateY(var(--profile-turn)) rotateZ(-3deg);
  transition: transform 800ms var(--ease-out);
}
.profile-card {
  --px: 0%; --py: 0%; --pz: 0px;
  position: absolute; left: 3%; top: 16%; display: block; width: 94%;
  overflow: hidden; border: 1px solid rgba(200,182,255,.28); border-radius: 12px;
  background: #080709; backface-visibility: hidden;
  box-shadow: 0 20px 44px -22px rgba(0,0,0,.8);
  transform: translate3d(
    calc(var(--px) + (var(--px)*.3 + 3%)*var(--profile-fan)),
    calc(var(--py) + (var(--py)*3 + 23%)*var(--profile-fan)),
    calc(var(--pz) + (var(--pz)*.6 + 50px)*var(--profile-fan))
  );
  transition: border-color .5s;
}
.profile-card img { display: block; width: 100%; height: auto; user-select: none; }
.profile-card--back { --px: -24%; --py: -14%; --pz: -140px; }
.profile-card--middle { --px: -12%; --py: -7%; --pz: -70px; }
.profile-stack.is-expanded .profile-stack-scene { transform: translateX(2%) rotateX(6deg) rotateY(-20deg) rotateZ(-3deg); }
.profile-stack.is-expanded .profile-card { border-color: rgba(200,182,255,.48); }
.profile-stack:focus-visible { outline: 1px solid var(--c-accent); outline-offset: 8px; border-radius: 10px; }

/* The reference layout: centered image, copy underneath, adjacent planes at both sides. */
.function-gallery-section {
  --gallery-card-width: min(62vw,calc((100svh - 265px)*1.67),1000px);
  position: relative; display: flex; align-items: center; min-height: 100svh;
  overflow: hidden; padding-block: 44px; background: var(--c-bg);
}
.function-gallery-layout { width: 100%; outline: none; }
.function-gallery-stage {
  position: relative; width: 100%; height: calc(var(--gallery-card-width)/1.67);
  perspective: 1600px; perspective-origin: 50% 50%; isolation: isolate;
}
.function-gallery-card {
  position: absolute; left: 50%; top: 50%; width: var(--gallery-card-width); height: 100%; margin: 0;
  border-radius: 12px; border: 1px solid rgba(205,184,233,.2); overflow: hidden;
  background: #050505; opacity: 0; transform: translate(-50%,-50%);
  transform-style: preserve-3d;
  box-shadow: 0 20px 40px -26px rgba(0,0,0,.7);
}
.function-gallery-card.is-active { opacity: 1; }
.function-gallery-section.is-in-view .function-gallery-card { will-change: transform; }
.function-gallery-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-edge {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  display: grid; place-items: center; width: 62px; height: 90px;
  background: transparent; color: #eee6f3; opacity: .75;
  transition: opacity .25s, color .25s;
}
.gallery-edge--left { left: max(18px,calc(50% - var(--gallery-card-width)/2 - 90px)); }
.gallery-edge--right { right: max(18px,calc(50% - var(--gallery-card-width)/2 - 90px)); }
.gallery-edge svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.gallery-edge:hover { color: var(--c-accent-light); opacity: 1; }
.gallery-edge:focus-visible { outline: 1px solid var(--c-accent); outline-offset: -8px; }
.gallery-copy { position: relative; z-index: 6; width: min(var(--gallery-card-width),900px); margin: 30px auto 0; text-align: center; }
.gallery-copy h2 { font-size: clamp(1.5rem,2.35vw,2.25rem); line-height: 1.2; min-height: 1.2em; }
.gallery-copy > p { max-width: 65ch; min-height: 3.2em; margin: 16px auto 0; font-size: 17px; }
.showcase-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (min-width: 901px) and (max-width: 1100px) {
  .how-panel--feature .how-panel-inner { gap: 30px; grid-template-columns: .85fr 1.15fr; }
  .how-panel--feature h2 { font-size: 32px; }
  .how-panel--feature .how-copy > p { font-size: 16px; }
}
@media (max-width: 900px) {
  .how-panel--feature .how-panel-inner { grid-template-columns: 1fr; gap: 32px; max-width: 720px; }
  .how-panel--feature .how-copy > p { font-size: 17px; }
  .how-panel--feature h2 { font-size: clamp(1.9rem,5vw,2.8rem); }
  .network-visual { max-width: 620px; }
  .customization-visual { max-width: 640px; justify-self: center; }
  .profile-stack { aspect-ratio: 1.3; perspective: 1400px; }
  .profile-stack-scene { transform: translateX(2%) rotateX(9deg) rotateY(var(--profile-turn)) rotateZ(-3deg); }
  .profile-stack.is-expanded .profile-stack-scene { transform: translateX(2%) rotateX(6deg) rotateY(-20deg) rotateZ(-3deg); }
  .function-gallery-section { --gallery-card-width: min(72vw,650px); }
  .gallery-copy { width: min(80%,650px); }
  .gallery-copy h2 { min-height: 2.4em; }
  .gallery-copy > p { min-height: 4.8em; }
}
@media (max-width: 540px) {
  .how-panel--feature { min-height: 0; padding-block: 70px; }
  .how-panel--feature .how-panel-inner { gap: 30px; }
  .profile-stack { perspective: 1000px; aspect-ratio: 1.1; }
  .profile-stack-scene { transform: translateX(1%) rotateX(7deg) rotateY(-24deg) rotateZ(-3deg); }
  .profile-stack.is-expanded .profile-stack-scene { transform: translateX(1%) rotateX(6deg) rotateY(-18deg) rotateZ(-3deg); }
  .profile-card { left: 8%; width: 86%; border-radius: 7px; }
  .profile-card--back { --px: -28%; --pz: -100px; }
  .profile-card--middle { --px: -14%; --pz: -50px; }
  .function-gallery-section { --gallery-card-width: 76vw; padding-block: 54px; }
  .function-gallery-card { border-radius: 7px; }
  .gallery-edge { width: 40px; height: 66px; }
  .gallery-edge--left { left: 0; }
  .gallery-edge--right { right: 0; }
  .gallery-edge svg { width: 25px; height: 25px; }
  .gallery-copy { width: 88%; margin-top: 25px; }
  .gallery-copy h2 { font-size: 24px; }
  .gallery-copy > p { font-size: 15px; min-height: 6.4em; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-stack { aspect-ratio: auto; perspective: none; }
  .profile-stack-scene { position: relative; display: grid; gap: 16px; transform: none !important; }
  .profile-card { position: relative; left: auto; top: auto; width: 100%; transform: none; transition: none; }
  .function-gallery-card { will-change: auto; }
}

/* Fourth screen: uptime statistics and the focus on three integrations. */
.reliability-section { min-height: 100svh; display: flex; align-items: center; padding-block: clamp(54px,7vh,80px); background: #080708; }
.reliability-inner { width: 100%; }
.reliability-header { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: clamp(36px,5vw,76px); }
.reliability-header h2 { max-width: 20ch; font-size: clamp(2rem,3.55vw,3.5rem); line-height: 1.14; letter-spacing: -.045em; }
.reliability-header h2 span { color: var(--c-accent-light); }
.reliability-description { max-width: 36ch; color: var(--c-text-secondary); font-size: 18px; line-height: 1.65; padding-bottom: 3px; }
.reliability-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: clamp(40px,6vh,64px); }
.reliability-stat { padding: 0 clamp(20px,3vw,44px); border-left: 1px solid rgba(243,239,233,.12); }
.reliability-stat:first-child { padding-left: 0; border-left: 0; }
.reliability-stat:last-child { padding-right: 0; }
.reliability-service { display: flex; align-items: center; gap: 13px; min-height: 40px; }
.reliability-service img { flex: 0 0 36px; width: 36px; height: 36px; object-fit: contain; border-radius: 9px; }
.reliability-service h3 { font-family: var(--f-body); font-size: 18px; font-weight: 600; line-height: 1.25; }
.reliability-value { margin-top: 28px; }
.reliability-metric { display: flex; align-items: baseline; gap: 5px; color: var(--c-text-primary); font-family: var(--f-display); font-size: clamp(46px,5.1vw,76px); font-weight: 600; line-height: 1; letter-spacing: -.06em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.reliability-percent { font-size: .43em; color: var(--c-accent-light); letter-spacing: -.03em; }
.reliability-label { margin-top: 12px; color: var(--c-text-tertiary); font: 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.reliability-trace { width: 100%; height: 42px; margin-top: 25px; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.reliability-trace-base { stroke: var(--c-accent); stroke-width: 1; opacity: .17; }
.reliability-trace-line { stroke: var(--c-accent); stroke-width: 1.25; opacity: .55; }
.reliability-signal { stroke: var(--c-accent-light); stroke-width: 2; stroke-dasharray: 13 500; stroke-dashoffset: 513; animation: reliability-signal 7s linear infinite; animation-delay: var(--signal-delay); animation-play-state: paused; }
.reliability-section.is-in-view .reliability-signal { animation-play-state: running; }
.reliability-note { max-width: none; width: 100%; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(243,239,233,.1); color: var(--c-text-tertiary); font-size: 14px; }
@keyframes reliability-signal { to { stroke-dashoffset: -513; } }
@media (min-width: 901px) and (max-width: 1100px) {
  .reliability-header { gap: 32px; grid-template-columns: 1.1fr .9fr; }
  .reliability-description { font-size: 16px; }
  .reliability-service h3 { font-size: 16px; }
  .reliability-service { gap: 9px; }
  .reliability-metric { font-size: 45px; }
  .reliability-stat { padding-inline: 24px; }
}
@media (max-width: 900px) {
  .reliability-header { grid-template-columns: 1fr; gap: 24px; }
  .reliability-header h2 { max-width: 24ch; font-size: clamp(32px,5vw,44px); }
  .reliability-description { max-width: 52ch; }
  .reliability-service h3 { font-size: 16px; }
  .reliability-stat { padding-inline: 20px; }
  .reliability-service { gap: 9px; }
  .reliability-service img { flex-basis: 30px; width: 30px; height: 30px; border-radius: 7px; }
  .reliability-metric { font-size: clamp(32px,6vw,48px); }
}
@media (max-width: 600px) {
  .reliability-section { padding-block: 58px; }
  .reliability-header { gap: 18px; }
  .reliability-header h2 { font-size: 31px; max-width: 18ch; }
  .reliability-description { font-size: 16px; line-height: 1.6; }
  .reliability-stats { grid-template-columns: 1fr; margin-top: 28px; }
  .reliability-stat { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(243,239,233,.1); }
  .reliability-stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .reliability-service h3 { max-width: 10ch; font-size: 16px; }
  .reliability-service img { flex-basis: 32px; width: 32px; height: 32px; }
  .reliability-value { margin-top: 0; text-align: right; }
  .reliability-metric { justify-content: flex-end; font-size: clamp(35px,10.3vw,46px); }
  .reliability-label { margin-top: 7px; font-size: 10px; }
  .reliability-trace { grid-column: 1/-1; height: 27px; margin-top: 10px; }
  .reliability-note { margin-top: 25px; padding-top: 18px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .reliability-signal { display: none; } }

/* Fifth screen: the circular topology from the user's reference. */
.streaming-section { display: flex; align-items: center; min-height: 100svh; padding-block: clamp(46px,6vh,72px); background: #0c0b0e; }
.streaming-inner { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: clamp(32px,3.3vw,54px); width: 100%; }
.infrastructure-copy h2 { font-size: clamp(32px,3.2vw,49px); line-height: 1.16; letter-spacing: -.045em; }
.infrastructure-copy h2 span { color: var(--c-accent-light); }
.infrastructure-intro { max-width: 42ch; margin-top: 21px; color: var(--c-text-secondary); font-size: 17px; line-height: 1.6; }
.infrastructure-points { list-style: none; padding: 0; margin: 22px 0 0; }
.infrastructure-points li { display: block; padding-block: 13px; }
.infrastructure-points h3 { font: 600 16px/1.35 var(--f-body); letter-spacing: -.01em; }
.infrastructure-points p { max-width: 48ch; margin-top: 6px; color: var(--c-text-tertiary); font-size: 14px; line-height: 1.5; }
.infrastructure-visual { position: relative; width: 100%; max-width: 860px; justify-self: center; }
.infrastructure-graph { position: relative; width: 100%; height: clamp(470px,42vw,570px); }
.infra-connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.infra-link { fill: none; stroke: rgba(167,139,250,.52); stroke-width: 1; marker-end: url(#infraArrowServer); }
.infra-link--edge { stroke: rgba(215,139,79,.53); marker-end: url(#infraArrowEdge); }
.infra-packet { fill: none; stroke: var(--c-accent-light); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 96; stroke-dashoffset: 100; animation: infra-packet 4.4s linear infinite; animation-delay: var(--packet-delay); animation-play-state: paused; }
.infra-packet--edge { stroke: #f9ad6f; }
.streaming-section.is-in-view .infra-packet { animation-play-state: running; }
.infra-node { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; aspect-ratio: 1; border: 1px solid #63566f; border-radius: 50%; background: #111015; transform: translate(-50%,-50%); text-align: center; transition: border-color .35s, background .35s; }
.infra-node > svg { width: 24px; height: 24px; fill: none; stroke: var(--c-accent-light); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.infra-node > span { font: 500 11px/1.2 var(--f-body); }
.infra-node h3 { font: 500 12px/1.15 var(--f-body); letter-spacing: 0; }
.infra-node > .infra-ai-mark { width: 24px; height: 24px; color: var(--c-accent-light); font: 600 18px/24px var(--f-body); letter-spacing: -.04em; }
.infra-node--user { left: 7%; top: 50%; width: 13%; border-color: #69606f; }
.infra-node--user .infra-play { fill: var(--c-accent); stroke: none; }
.infra-node--user > span { font-size: 10px; }
.infra-node--edge { left: 26%; width: 15%; border-color: #83582f; }
.infra-node--edge > svg { width: 35px; height: 28px; fill: #f48120; stroke: none; }
.infra-node--edge-a { top: 25%; }
.infra-node--edge-b { top: 50%; }
.infra-node--edge-c { top: 75%; }
.infra-node--gateway { left: 50%; top: 50%; width: 23%; gap: 7px; border-color: var(--c-accent); background: #1b1624; }
.infra-node--gateway > svg { width: 29px; height: 29px; }
.infra-node--gateway strong { font: 600 15px/1.1 var(--f-display); letter-spacing: -.03em; }
.infra-node--gateway > span { color: var(--c-accent-light); font-size: 11px; }
.infra-node--ai, .infra-node--music, .infra-node--storage { left: 76%; width: 18%; }
.infra-node--ai { top: 17%; }
.infra-node--music { top: 50%; }
.infra-node--storage { top: 83%; }
.infra-node--storage > svg { height: 27px; }
.infra-node--provider { left: 94%; width: 12%; gap: 5px; border-color: #4a414f; }
.infra-node--provider img { display: block; width: 24px; height: 24px; object-fit: contain; border-radius: 6px; }
.infra-node--provider > span { font-size: 8px; }
.infra-node--yandex { top: 34%; }
.infra-node--youtube { top: 50%; }
.infra-node--soundcloud { top: 66%; }
.streaming-section:has(.infrastructure-points [data-infra="stream"]:hover) .infra-node[data-infra~="stream"],
.streaming-section:has(.infrastructure-points [data-infra="audio"]:hover) .infra-node[data-infra~="audio"],
.streaming-section:has(.infrastructure-points [data-infra="cache"]:hover) .infra-node[data-infra~="cache"],
.streaming-section:has(.infrastructure-points [data-infra="data"]:hover) .infra-node[data-infra~="data"] { border-color: var(--c-accent-light); background: #201a2b; }
@keyframes infra-packet { to { stroke-dashoffset: 0; } }
@media (min-width: 901px) and (max-width: 1100px) {
  .infrastructure-copy h2 { font-size: 32px; }
  .infrastructure-intro { font-size: 16px; }
  .infrastructure-points h3 { font-size: 15px; }
  .infrastructure-points p { font-size: 13px; }
  .infra-node > span { font-size: 10px; }
  .infra-node--user > span { font-size: 8px; }
  .infra-node h3 { font-size: 11px; }
  .infra-node--provider > span { font-size: 7px; }
  .infra-node--gateway strong { font-size: 13px; }
  .infra-node--gateway > span { font-size: 10px; }
}
@media (max-width: 900px) {
  .streaming-section { padding-block: 60px; }
  .streaming-inner { grid-template-columns: 1fr; gap: 32px; max-width: 720px; }
  .infrastructure-copy h2 { font-size: clamp(32px,5vw,44px); }
  .infrastructure-intro { max-width: 52ch; }
  .infrastructure-points p { max-width: 57ch; }
  .infrastructure-visual { max-width: 500px; }
  .infrastructure-graph { height: auto; aspect-ratio: .6; }
  .infra-node--user { left: 50%; top: 8%; width: 24%; }
  .infra-node--edge { top: 26%; width: 25%; }
  .infra-node--edge-a { left: 14%; }
  .infra-node--edge-b { left: 50%; }
  .infra-node--edge-c { left: 86%; }
  .infra-node--gateway { left: 50%; top: 49%; width: 38%; }
  .infra-node--ai, .infra-node--music, .infra-node--storage { top: 73%; width: 27%; }
  .infra-node--ai { left: 17%; }
  .infra-node--music { left: 50%; }
  .infra-node--storage { left: 83%; }
  .infra-node--provider { top: 94%; width: 19%; }
  .infra-node--yandex { left: 26%; }
  .infra-node--youtube { left: 50%; }
  .infra-node--soundcloud { left: 74%; }
}
@media (max-width: 540px) {
  .infrastructure-copy h2 { font-size: 32px; }
  .infrastructure-intro { font-size: 16px; margin-top: 18px; }
  .infrastructure-points { margin-top: 18px; }
  .infrastructure-points li { padding-block: 12px; }
  .infrastructure-points h3 { font-size: 15px; }
  .infrastructure-points p { font-size: 13px; }
  .infra-node--user > span { font-size: 9px; }
  .infra-node--edge > span { font-size: 10px; }
  .infra-node--gateway strong { font-size: 14px; }
  .infra-node h3 { font-size: 11px; }
  .infra-node--provider > span { font-size: 8px; }
  .infra-node--provider img { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .infra-packets { display: none; }
  .infra-node { transition: none; }
}



/* Sixth screen: complete feature lists inside both pricing cards. */
.pricing-section { background: #080808; min-height: 100svh; padding-block: 56px 72px; overflow: clip; }
.pricing-inner { width: 100%; }
.pricing-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.pricing-header h2 { font-size: clamp(32px,3vw,44px); line-height: 1.16; }
.pricing-header h2 span { color: var(--c-accent-light); }
.pricing-header > p { max-width: 38ch; font-size: 16px; line-height: 1.6; padding-bottom: 3px; }
.pricing-carousel { max-width: 1000px; margin-inline: auto; }
.pricing-carousel .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pricing-deck { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: clamp(20px,3vw,40px); perspective: 1600px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid #363638; border-radius: 18px; background: #121214; box-shadow: none; filter: none; }
.plan-heading h3 { font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.plan-heading h3 span { font-weight: 700; }
.plan-select { color: inherit; font: inherit; letter-spacing: inherit; text-align: left; }
.plan-select:focus-visible { outline: 2px solid var(--c-accent-light); outline-offset: 6px; border-radius: 3px; }
.plan-caption { margin-top: 10px; font-size: 13px; line-height: 1.5; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; color: var(--c-text-primary); }
.plan-price > span { font: 500 clamp(38px,3.5vw,48px)/1.15 var(--f-display); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.plan-currency { font-size: .56em; margin-left: 8px; letter-spacing: -.04em; }
.plan-price small { color: var(--c-text-secondary); font: 13px/1.4 var(--f-body); }
.plan-features-intro { margin: 24px 0 14px; font-size: 13px; line-height: 1.5; color: var(--c-text-secondary); }
.plan-card-features { list-style: none; margin: 0 0 24px; padding: 0; }
.plan-card-features li { padding: 9px 0; border-top: 1px solid #29292c; }
.plan-feature-name { display: block; color: var(--c-text-primary); font: 500 14px/1.5 var(--f-body); }
.plan-feature-detail { display: block; margin-top: 4px; color: var(--c-text-secondary); font: 400 12px/1.5 var(--f-body); }
.plan-checkout { margin-top: auto; }
.plan-payment { display: block; width: 100%; padding: 14px 20px; border-radius: 10px; background: var(--c-accent); color: var(--c-text-on-accent); font: 600 15px/1.4 var(--f-body); transition: background .2s; }
.plan-payment:hover { background: var(--c-accent-light); }
.plan-payment:focus-visible { outline: 2px solid var(--c-accent-light); outline-offset: 4px; }
.pricing-carousel:not(.is-ready) .pricing-tabs { display: none; }
.pricing-carousel.is-ready .plan-card { cursor: pointer; backface-visibility: hidden; transform-origin: center; transition: transform .5s cubic-bezier(.22,.75,.15,1), opacity .4s, border-color .35s; }
.pricing-carousel.is-ready .plan-card.is-selected { z-index: 2; opacity: 1; border-color: #bbb4c5; transform: none; }
.pricing-carousel.is-ready .plan-card.is-left { opacity: .8; transform: rotateY(-4deg) scale(.985); }
.pricing-carousel.is-ready .plan-card.is-right { opacity: .8; transform: rotateY(4deg) scale(.985); }
@media (hover: hover) { .pricing-carousel.is-ready .plan-card:not(.is-selected):hover { opacity: .95; border-color: #85818c; } }
.pricing-tabs { display: flex; justify-content: center; gap: 32px; margin-bottom: 24px; }
.pricing-tab { position: relative; padding: 10px 6px; color: var(--c-text-secondary); font-size: 14px; line-height: 1.4; }
.pricing-tab::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s; }
.pricing-tab[aria-pressed="true"] { color: var(--c-text-primary); }
.pricing-tab[aria-pressed="true"]::after { transform: scaleX(1); }
.pricing-tab:hover { color: var(--c-text-primary); }
.pricing-availability { margin: 28px auto 0; text-align: center; color: #8a878e; font-size: 11px; line-height: 1.6; }
@media (max-width: 900px) {
  .pricing-section { padding-block: 48px 60px; }
  .pricing-header { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .pricing-header h2 { font-size: 32px; }
  .pricing-header > p { font-size: 15px; }
  .plan-card { padding: 24px; }
  .plan-heading h3 { font-size: 18px; }
  .plan-price > span { font-size: 44px; }
  .plan-feature-name { font-size: 13px; }
}
@media (max-width: 680px) {
  .pricing-carousel { max-width: 420px; }
  .pricing-deck { grid-template-columns: 1fr; }
  .pricing-carousel.is-ready .plan-card:not(.is-selected) { display: none; }
  .plan-feature-name { font-size: 14px; }
  .plan-card { padding: 24px 22px; }
}
@media (max-width: 540px) {
  .pricing-header h2 { font-size: 29px; }
  .pricing-header > p { font-size: 13px; }
  .plan-caption { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pricing-carousel.is-ready .plan-card, .pricing-tab::after { transition: none; } }
