.series-shell {
  max-width: none;
  overflow: hidden;
  padding: 1rem clamp(1rem, 3vw, 2.5rem) 2.5rem;
  background:
    radial-gradient(circle at 78% 18%, rgba(26, 77, 255, 0.08), transparent 24rem),
    radial-gradient(circle at 22% 70%, rgba(0, 160, 45, 0.08), transparent 24rem),
    #fbfcff;
}

.series-shell .site-header,
.series-shell .site-footer {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.series-page {
  display: grid;
  gap: clamp(1.4rem, 2.2vw, 3rem);
  color: #090b12;
}

.series-page svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.series-hero {
  position: relative;
  min-height: min(700px, calc(100svh - 8rem));
  overflow: hidden;
  border: 1px solid rgba(9, 11, 18, 0.08);
  background: #fff;
  box-shadow: 0 32px 90px rgba(16, 30, 70, 0.12);
  isolation: isolate;
}

.series-hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.series-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 37%, rgba(255, 255, 255, 0.52) 66%, rgba(255, 255, 255, 0.24) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.5) 58%, rgba(255, 255, 255, 0.04) 100%);
}

.series-hero-grid,
.series-flow-section,
.series-proof,
.series-masterbek,
.series-contact {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.series-hero-grid {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.2rem, 3vw, 2.4rem) clamp(1.2rem, 4vw, 4rem) clamp(3.5rem, 6vw, 6rem);
}

.series-hero-copy {
  max-width: 35rem;
}

.series-eventbadge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  padding: 0.4rem 0.82rem;
  border: 1px solid rgba(9, 11, 18, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: #05070d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.series-eventbadge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #05a527;
}

.series-hero h1 {
  margin: 0;
  color: #04050a;
  font-size: clamp(4.2rem, 9vw, 7.2rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: 0;
}

.series-hero-lede {
  margin: 1.2rem 0 0;
  color: #06080e;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.08;
}

.series-hero-body {
  max-width: 31rem;
  margin: 1rem 0 0;
  color: rgba(9, 11, 18, 0.68);
  font-size: 1.05rem;
  line-height: 1.8;
}

.series-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.45rem;
}

.series-button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  padding: 0.9rem 1.2rem;
  color: inherit;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.series-button-primary {
  background: #05a527;
  color: #fff;
  box-shadow: 0 16px 30px rgba(0, 154, 44, 0.22);
}

.series-button-secondary {
  border-color: rgba(26, 77, 255, 0.5);
  background: rgba(255, 255, 255, 0.82);
  color: #0645d8;
}

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

.series-button-primary:hover {
  box-shadow: 0 20px 38px rgba(0, 154, 44, 0.28);
}

.series-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.series-hero-facts div {
  border-left: 2px solid rgba(9, 11, 18, 0.12);
  padding-left: 1rem;
}

.series-hero-facts dt {
  color: #05070d;
  font-size: 0.86rem;
  font-weight: 800;
}

.series-hero-facts dd {
  margin: 0.28rem 0 0;
  color: rgba(9, 11, 18, 0.62);
  font-size: 0.83rem;
  line-height: 1.35;
}

.series-product-stage {
  position: relative;
  min-height: 24rem;
}

.series-flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.series-flow-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 10px 18px rgba(26, 77, 255, 0.16));
}

.series-flow-line-green {
  stroke: rgba(0, 168, 54, 0.72);
}

.series-flow-line-blue {
  stroke: rgba(26, 77, 255, 0.72);
}

.series-flow-line-red {
  stroke: rgba(210, 24, 24, 0.62);
}

.series-interview-card,
.series-site-card,
.series-payment-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 30, 70, 0.1);
  box-shadow: 0 24px 60px rgba(16, 30, 70, 0.14);
  backdrop-filter: blur(14px);
}

.series-interview-card {
  top: 1.25rem;
  left: 0;
  width: min(15.5rem, 40%);
  padding: 1rem;
  z-index: 1;
}

.series-card-window,
.series-site-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.series-card-window span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #d8dfef;
}

.series-card-title {
  margin: 0.8rem 0 0.7rem;
  color: rgba(9, 11, 18, 0.52);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.series-interview-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.series-interview-card li {
  display: grid;
  gap: 0.3rem;
  border-left: 2px solid rgba(26, 77, 255, 0.25);
  padding-left: 0.7rem;
}

.series-interview-card span {
  color: rgba(9, 11, 18, 0.56);
  font-size: 0.72rem;
}

.series-interview-card strong {
  justify-self: start;
  background: rgba(26, 77, 255, 0.08);
  padding: 0.38rem 0.5rem;
  color: #0645d8;
  font-size: 0.75rem;
  font-weight: 800;
}

.series-progress {
  overflow: hidden;
  height: 0.42rem;
  margin-top: 0.9rem;
  background: rgba(0, 168, 54, 0.1);
}

.series-progress span {
  display: block;
  width: 70%;
  height: 100%;
  background: #05a527;
}

.series-site-card {
  top: 0;
  right: 0;
  width: min(22rem, 56%);
  overflow: hidden;
  z-index: 2;
}

.series-site-bar {
  justify-content: space-between;
  background: #080b14;
  padding: 0.78rem 0.95rem;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.series-site-bar small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
}

.series-site-hero {
  min-height: 10.8rem;
  padding: 1.2rem;
  background:
    linear-gradient(110deg, rgba(4, 6, 14, 0.9), rgba(4, 6, 14, 0.55)),
    radial-gradient(circle at 86% 18%, rgba(0, 168, 54, 0.36), transparent 7rem),
    linear-gradient(135deg, #242a34, #111827);
  color: white;
}

.series-site-title {
  max-width: 17rem;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.08;
}

.series-site-hero > p:not(.series-site-title) {
  max-width: 16rem;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  line-height: 1.5;
}

.series-site-hero .series-mock-button,
.series-step-visual-site .series-mock-button {
  border: 0;
  background: #08a527;
  color: white;
  font-weight: 800;
}

.series-site-hero .series-mock-button {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.58rem 0.8rem;
  font-size: 0.74rem;
}

.series-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.9rem;
}

.series-service-grid span {
  min-height: 4.6rem;
  border: 1px solid rgba(16, 30, 70, 0.08);
  background: #fff;
  padding: 0.65rem;
  color: rgba(9, 11, 18, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.series-payment-card {
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  min-width: 11.5rem;
  justify-items: center;
  gap: 0.52rem;
  padding: 0.9rem;
  text-align: center;
}

.series-payment-brand {
  justify-self: stretch;
  color: rgba(9, 11, 18, 0.5);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: right;
}

.series-checkmark {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border-radius: 999px;
  background: #05a527;
  color: #fff;
}

.series-checkmark svg {
  width: 1.8rem;
  height: 1.8rem;
}

.series-payment-card strong {
  color: #06080e;
  font-size: 0.95rem;
}

.series-payment-card > span:last-child {
  color: rgba(9, 11, 18, 0.6);
  font-size: 0.86rem;
}

.series-section-heading {
  max-width: 48rem;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.series-flow-section {
  position: relative;
  z-index: 1;
  margin-top: -2.2rem;
}

.series-section-heading h2,
.series-credit-copy h2,
.series-masterbek-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.7rem);
  font-weight: 800;
  line-height: 1.03;
  text-wrap: balance;
}

.series-section-heading p,
.series-credit-copy p,
.series-masterbek-copy p {
  margin: 1rem 0 0;
  color: rgba(9, 11, 18, 0.62);
  font-size: 1.05rem;
  line-height: 1.8;
}

.series-flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 4.3rem;
}

.series-track-line {
  position: absolute;
  top: 0.8rem;
  left: 0;
  width: 100%;
  height: 3rem;
  overflow: visible;
}

.series-track-line-base,
.series-track-line-draw {
  fill: none;
  stroke-linecap: round;
  stroke-width: 4;
}

.series-track-line-base {
  stroke: rgba(9, 11, 18, 0.1);
}

.series-track-line-draw {
  stroke: url("#seriesFlowGradient");
}

.series-step {
  border-left: 1px solid rgba(16, 30, 70, 0.12);
  padding-left: clamp(1rem, 2vw, 1.6rem);
}

.series-step-number {
  display: block;
  color: #05a527;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  font-weight: 800;
  line-height: 0.9;
}

.series-step:nth-of-type(2) .series-step-number {
  color: #0645d8;
}

.series-step:nth-of-type(3) .series-step-number {
  color: #c91818;
}

.series-step h3 {
  margin: 1rem 0 0;
  font-size: 1.5rem;
  font-weight: 800;
}

.series-step p {
  min-height: 6rem;
  margin: 0.8rem 0 0;
  color: rgba(9, 11, 18, 0.62);
  line-height: 1.75;
}

.series-step-visual {
  display: grid;
  min-height: 8.5rem;
  margin-top: 1.4rem;
  align-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(16, 30, 70, 0.09);
  background: #fff;
  padding: 1rem;
  box-shadow: 0 18px 38px rgba(16, 30, 70, 0.08);
}

.series-step-visual-chat span,
.series-step-visual-chat strong {
  justify-self: start;
  padding: 0.58rem 0.7rem;
  font-size: 0.8rem;
}

.series-step-visual-chat span {
  background: rgba(26, 77, 255, 0.08);
  color: #0645d8;
}

.series-step-visual-chat strong {
  background: rgba(0, 168, 54, 0.1);
  color: #087c25;
}

.series-step-visual-site {
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
}

.series-step-visual-site i {
  display: block;
  height: 4rem;
  background: linear-gradient(180deg, rgba(26, 77, 255, 0.16), rgba(26, 77, 255, 0.04));
}

.series-step-visual-site .series-mock-button {
  grid-column: span 3;
  justify-self: end;
  padding: 0.58rem 0.82rem;
  font-size: 0.74rem;
}

.series-step-visual-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.series-step-visual-metrics span {
  display: grid;
  gap: 0.3rem;
  background: rgba(26, 77, 255, 0.05);
  padding: 0.8rem;
  color: rgba(9, 11, 18, 0.58);
  font-size: 0.78rem;
}

.series-step-visual-metrics strong {
  color: #06080e;
  font-size: 1.6rem;
}

.series-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(16, 30, 70, 0.1);
  border-bottom: 1px solid rgba(16, 30, 70, 0.1);
  background: rgba(255, 255, 255, 0.68);
}

.series-proof-item {
  display: grid;
  min-height: 13rem;
  align-content: center;
  gap: 0.6rem;
  padding: 1.6rem;
  border-right: 1px solid rgba(16, 30, 70, 0.1);
}

.series-proof-item:last-child {
  border-right: 0;
}

.series-proof-icon {
  color: #05a527;
}

.series-proof-icon svg {
  width: 2.2rem;
  height: 2.2rem;
  stroke-width: 2.2;
}

.series-proof-icon-red {
  color: #c91818;
}

.series-proof-item strong {
  color: #0645d8;
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  font-weight: 800;
  line-height: 1.18;
}

.series-proof-item:first-child strong {
  font-size: clamp(2.6rem, 4.4vw, 3.4rem);
  line-height: 1;
}

.series-proof-item:first-child strong,
.series-proof-item:nth-child(3) strong {
  color: #05a527;
}

.series-proof-item:last-child strong {
  color: #c91818;
}

.series-proof-item p {
  margin: 0;
  color: rgba(9, 11, 18, 0.64);
  font-weight: 800;
}

.series-credit-band {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2.2rem, 5vw, 4.8rem) max(clamp(1.5rem, 6vw, 5rem), calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.16), transparent 16rem),
    linear-gradient(135deg, #0037a8 0%, #0752f0 58%, #062168 100%);
  color: #fff;
  box-shadow: 0 30px 80px rgba(6, 49, 145, 0.28);
}

.series-credit-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.series-credit-list {
  display: grid;
  gap: 0.95rem;
}

.series-credit-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 0 1rem;
}

.series-credit-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.series-credit-list svg {
  width: 2rem;
  height: 2rem;
  color: #73ff96;
}

.series-credit-list h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.series-credit-list p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.series-masterbek {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.series-masterbek-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.series-masterbek-copy p {
  max-width: 29rem;
}

.series-masterbek-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.series-masterbek-grid article {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  min-height: 14rem;
  border-top: 3px solid currentColor;
  padding: 1.3rem 0.6rem 0;
}

.series-masterbek-grid article:nth-child(1) {
  color: #0645d8;
}

.series-masterbek-grid article:nth-child(2) {
  color: #05a527;
}

.series-masterbek-grid article:nth-child(3) {
  color: #c91818;
}

.series-masterbek-grid svg {
  width: 2.2rem;
  height: 2.2rem;
}

.series-masterbek-grid h3 {
  margin: 0;
  color: #06080e;
  font-size: 1.15rem;
  font-weight: 800;
}

.series-masterbek-grid p {
  margin: 0;
  color: rgba(9, 11, 18, 0.62);
  line-height: 1.65;
}

.series-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(16, 30, 70, 0.1);
  border-bottom: 1px solid rgba(16, 30, 70, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.series-contact a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 5.5rem;
  border-right: 1px solid rgba(16, 30, 70, 0.1);
  padding: 1rem 1.1rem;
  color: #0645d8;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.22s ease, transform 0.22s ease;
}

.series-contact a:last-child {
  border-right: 0;
}

.series-contact a:hover {
  background: rgba(26, 77, 255, 0.06);
  transform: translateY(-2px);
}

.series-contact span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.motion-ready .series-page [data-series-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.motion-ready .series-page [data-series-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.52s ease, transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1020px) {
  .series-hero {
    min-height: 0;
  }

  .series-hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 9rem;
  }

  .series-hero-copy {
    max-width: 43rem;
  }

  .series-product-stage {
    display: none;
  }

  .series-flow-track,
  .series-proof,
  .series-credit-band,
  .series-masterbek,
  .series-contact {
    grid-template-columns: 1fr;
  }

  .series-proof,
  .series-contact {
    border: 1px solid rgba(16, 30, 70, 0.1);
  }

  .series-proof-item,
  .series-contact a {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 30, 70, 0.1);
  }

  .series-proof-item:last-child,
  .series-contact a:last-child {
    border-bottom: 0;
  }

  .series-masterbek-grid {
    grid-template-columns: 1fr;
  }

  .series-masterbek-grid article {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .series-shell {
    padding: 0.75rem 0.75rem 2rem;
  }

  .series-page {
    gap: 3.4rem;
  }

  .series-hero-grid {
    padding: 2.5rem 1rem 4.2rem;
  }

  .series-hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 56%, rgba(255, 255, 255, 0.18) 100%);
  }

  .series-service-grid {
    grid-template-columns: 1fr;
  }

  .series-actions {
    display: grid;
  }

  .series-button {
    width: 100%;
  }

  .series-product-stage {
    display: none;
  }

  .series-flow-track {
    gap: 2rem;
    padding-top: 0;
  }

  .series-track-line {
    display: none;
  }

  .series-step {
    border-left: 0;
    border-top: 1px solid rgba(16, 30, 70, 0.12);
    padding: 1.5rem 0 0;
  }

  .series-step p {
    min-height: 0;
  }

  .series-proof-item {
    min-height: 10rem;
  }

  .series-credit-band {
    padding: 2.3rem 1rem;
  }
}

@media (max-width: 360px) and (max-height: 640px) {
  .series-hero-grid {
    padding: 1.35rem 1rem 3rem;
  }

  .series-hero h1 {
    font-size: 3.35rem;
  }

  .series-hero-lede {
    margin-top: 0.8rem;
    font-size: 1.22rem;
    line-height: 1.12;
  }

  .series-hero-body,
  .series-hero-facts {
    display: none;
  }

  .series-actions {
    margin-top: 1.05rem;
    gap: 0.6rem;
  }

  .series-button {
    min-height: 3rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}
