.product-home--speos {
  --paper: #fff;
  --ink: #19177d;
  --soft: #454366;
  --line: #dcdcef;
  --hero: #171450;
  --gold: #ffbe2e;
  --button: var(--gold);
  --button-ink: #20184b;
  --button-hover: #ffd36a;
  --button-radius: 30px;
}
.theme-dark .product-home--speos { --paper: #151630; --ink: #eeedff; --soft: #c9c8e1; --line: #383a5d; }

.speos-header { background: var(--paper); }
.speos-header .product-home__brand img {
  width: 119px;
  height: auto;
}
.theme-dark .speos-header .product-home__brand img { background: #fff; border-radius: 3px; padding: 5px 7px; }
.speos-header .product-home__brand strong { border-left: 1px solid var(--line); padding-left: 14px; }
.speos-header .product-home__back { border: 1px solid currentColor; border-radius: 28px; padding-inline: 18px; }
.speos-header .product-home__nav { text-transform: uppercase; letter-spacing: .08em; }
.speos-header .product-home__nav a { font-size: 12px; }

.speos-first {
  display: flex;
  flex-direction: column;
  min-block-size: var(--product-first-size);
}
.speos-mast {
  flex: 1;
  display: grid;
  position: relative;
  isolation: isolate;
  min-height: 530px;
  overflow: hidden;
  background: var(--hero);
  color: white;
}
.speos-mast__art {
  position: absolute;
  inset: 0 0 0 34%;
  z-index: -2;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 60%;
}
.speos-mast::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--hero) 0 34%, #191654ed 41%, #22185c7c 59%, #21184b0a 80%);
}
.speos-mast__inside {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .62fr);
  align-items: center;
  gap: 40px;
  padding-block: 42px 32px;
}
.speos-mast h1 {
  font-family: "Portfolio Manrope", system-ui, sans-serif;
  font-size: clamp(47px, 6.4vw, 91px);
  font-weight: 600;
  letter-spacing: -.038em;
  line-height: 1;
}
.speos-mast h1 em { display: block; color: var(--gold); font-style: normal; }
.speos-mast .speos-mast__lead { max-width: 37ch; margin-block: 25px 19px; font-size: clamp(16px, 1.5vw, 21px); color: #f0eefe; }
.speos-mast .product-home__note { margin-top: 16px; color: #d5d0f0; }
.speos-mast__ticket {
  align-self: end;
  justify-self: end;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 20px;
  width: min(100%, 340px);
  padding: 19px 21px;
  background: #faf8ff;
  color: #211758;
  border-radius: 8px;
  box-shadow: 0 12px 35px #0e082c4f;
}
.speos-mast__ticket small { grid-column: 1 / -1; color: #53517d; }
.speos-mast__ticket strong { font-size: 18px; }
.speos-mast__ticket span { justify-self: end; font-size: 20px; }
.speos-mast__ticket:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.speos-flow { display: grid; grid-template-columns: .86fr repeat(3, 1fr); gap: clamp(16px, 2.3vw, 36px); align-items: center; padding-block: 27px; }
.speos-flow h2 { font-size: 22px; line-height: 1.14; }
.speos-flow ol { display: contents; }
.speos-flow li { list-style: none; }
.speos-flow a { display: grid; grid-template-columns: 40px 1fr; align-items: center; min-height: 60px; gap: 10px; }
.speos-flow a > span:first-child {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.speos-flow strong, .speos-flow small { display: block; }
.speos-flow small { color: var(--soft); font-size: 12px; }
.speos-flow a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.speos-example { border-top: 1px solid var(--line); padding-block: 60px 76px; }
.speos-example__top { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 8%; }
.speos-example h2 { font-size: clamp(27px, 3.2vw, 46px); letter-spacing: -.03em; line-height: 1.13; }
.speos-example p { margin-block: 14px; color: var(--soft); max-width: 45ch; }
.speos-example img { height: auto; border-radius: 8px; border: 1px solid var(--line); }

@media (max-width: 820px) {
  .speos-header .product-home__brand img { width: 102px; }
  .speos-mast { --speos-mobile-photo: clamp(260px, 38svh, 390px); min-height: 0; }
  .speos-mast__inside { grid-template-columns: 1fr; align-content: space-between; gap: 0; padding-block: 28px 0; }
  .speos-mast__copy { padding-bottom: 205px; }
  .speos-mast h1 { font-size: clamp(39px, 10.6vw, 68px); }
  .speos-mast .speos-mast__lead { margin-block: 14px; }
  .speos-mast__art { inset: auto 0 0; width: 100%; height: var(--speos-mobile-photo); object-position: 60% 59%; }
  .speos-mast::before { background: linear-gradient(180deg, var(--hero) 0 calc(100% - var(--speos-mobile-photo) + 6px), #17145000 calc(100% - var(--speos-mobile-photo) / 2)); }
  .speos-mast__ticket { margin: -38px 0 15px; justify-self: start; width: min(91%, 320px); padding: 11px 14px; }
  .speos-mast__ticket strong { font-size: 15px; }
  .speos-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; padding-block: 16px; }
  .speos-flow h2 { grid-column: 1 / -1; font-size: 17px; }
  .speos-flow a { grid-template-columns: 1fr; gap: 0; padding-top: 5px; font-size: 13px; }
  .speos-flow a > span:first-child { width: 26px; height: 26px; font-size: 10px; }
  .speos-flow small { display: none; }
  .speos-example { padding-block: 42px; }
  .speos-example__top { grid-template-columns: 1fr; gap: 16px; }
}
