:root {
  --ink: #111833;
  --body: #414c68;
  --muted: #53607d;
  --blue: #2449ee;
  --coral: #2449ee;
  --soft: #f2f5ff;
  --line: #dce3f5;
  --line2: #e9edfa;
  --chip: #e6ecff;
  --cut-deep: #101a40;
  --cut-lime: #d8fb76;
  --f-body: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

body { line-height: 1.6; }
h1, h2, h3 { font-weight: 720; letter-spacing: -.05em; }
em { color: inherit; font: inherit; }
.wrap { width: min(1240px, calc(100% - 96px)); }
.logo img { display: block; width: 158px; height: auto; }
.hdr { background: #fff; }
.hdr__bar { height: 76px; }
.nav { gap: clamp(14px, 1.9vw, 27px); }
.nav a, .hdr__login { font-weight: 620; }
.btn { border-radius: 8px; font-weight: 700; }
.btn--coral, .btn--blue { color: #fff; background: var(--blue); }
.btn--coral:hover, .btn--blue:hover { background: #1a38c5; }
.btn--line { border-color: #acb8dd; }
.btn--line:hover { background: #e3eaff; }
.tile { color: var(--blue); background: var(--chip); }

.cut-hero { background: #eef2ff; padding: 72px 0 75px; }
.cut-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
}
.cut-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 23px;
  color: #2142c4;
  font-size: .95rem;
  font-weight: 700;
}
.cut-hero h1 { font-size: clamp(3.2rem, 6.1vw, 6rem); line-height: .98; }
.cut-hero__lead { max-width: 435px; margin-top: 26px; font-size: 1.1rem; }
.cut-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cut-reel {
  min-width: 0;
  padding: 0 12px 12px;
  overflow: hidden;
  background: var(--cut-deep);
  color: #fff;
  border: 1px solid #273661;
  border-radius: 16px;
  box-shadow: 0 24px 42px -28px #1225697d;
}
.cut-reel__top {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 5px;
  font-size: .875rem;
}
.cut-reel__top span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.cut-reel__top span:last-child { color: #c3cdee; }
.cut-reel__toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
}
.cut-reel__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2239a8;
  border-radius: 7px;
  object-fit: cover;
}
.cut-reel__progress {
  display: block;
  width: 100%;
  height: 24px;
  margin: 4px 0 0;
  color-scheme: dark;
  accent-color: var(--cut-lime);
}
.cut-reel__progress:not(:disabled) { cursor: pointer; }
.cut-reel__toggle:focus-visible,
.cut-reel__progress:focus-visible { outline-color: var(--cut-lime); outline-offset: 2px; }
.cut-reel__timeline { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; margin-top: 12px; align-items: center; }
.cut-reel__timeline > span { display: flex; align-items: center; gap: 6px; color: #c3cdee; font-size: .875rem; }
.cut-reel__clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cut-clip {
  min-height: 50px;
  padding: 5px 8px;
  border: 1px solid #49629f;
  border-radius: 5px;
  color: white;
  background: #2b4383;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.15;
}
.cut-clip small { display: block; margin-bottom: 3px; font-size: .8rem; font-variant-numeric: tabular-nums; color: #d5ddf9; }
.cut-clip--two { background: #303e73; }
.cut-clip--three { background: #35386b; }
.cut-clip[aria-current] { border-color: var(--cut-lime); box-shadow: inset 0 -2px var(--cut-lime); }
.cut-clip:focus-visible { outline-color: var(--cut-lime); outline-offset: 2px; }

.cut-models { background: var(--soft); border-bottom: 1px solid var(--line); }
.cut-models .section { padding-block: clamp(42px, 5vw, 72px); }
.cut-models__head { align-items: center; }
.cut-models__head > a { justify-self: end; }
.cut-models__groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cut-models__card {
  display: grid;
  align-content: start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
}
.cut-models__card:hover { border-color: #899df0; }
.cut-models__mark { display: grid; place-items: center; width: 52px; height: 52px; }
.cut-models__mark img { width: 36px; height: 36px; object-fit: contain; }
.cut-models__card h3 { font-size: 1.16rem; letter-spacing: -.025em; }
.cut-models__card p { margin-top: 5px; color: var(--body); line-height: 1.45; }
.cut-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items: end; margin-bottom: 38px; }
.cut-section-head h2, .cut-edit h2 { font-size: clamp(2.3rem, 4vw, 4.15rem); line-height: 1.02; }
.cut-section-head p { max-width: 400px; font-size: 1.1rem; }
.cut-pricing-intro { align-items: start; margin-bottom: 0; }
.cut-pricing-intro p { margin-bottom: 20px; }
.catalog-intro h1 { font-size: clamp(2.45rem, 5vw, 4.75rem); line-height: 1.04; }
.catalog-intro p { max-width: 46ch; margin-top: 14px; }
.model-catalog__group { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(0, 2fr); gap: 12px 36px; margin-top: 36px; }
.model-catalog__group h2 { font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.17; }
.model-catalog__entry p { color: var(--body); margin-top: 8px; }
.model-catalog__entry a { margin-top: 10px; }
.model-catalog__access { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.model-catalog__access h2 { font-size: 1.2rem; }
.model-catalog__access p { max-width: 72ch; margin-top: 5px; color: var(--body); }
.model-catalog__group ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.model-catalog__group li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5px 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.model-catalog__group .model { display: inline; padding: 0; border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.model-catalog__group li > span { color: var(--body); }
.model-catalog__issue { display: block; color: #9d2424; }
.cut-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cut-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.cut-step-icon { display: grid; place-items: center; width: 51px; height: 51px; color: var(--blue); background: var(--soft); border-radius: 12px; }
.cut-steps h3 { margin-bottom: 5px; }
.cut-steps a { font-weight: 700; color: #2142c4; text-decoration: underline; text-underline-offset: 4px; }
.cut-edit { padding: 65px 0; color: white; background: #203fd2; }
.cut-edit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 130px); align-items: center; }
.cut-edit p { margin: 19px 0 24px; color: #f0f3ff; font-size: 1.07rem; }
.cut-edit ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #a7b5fb; }
.cut-edit li { border-bottom: 1px solid #a7b5fb; }
.cut-edit li a { display: flex; align-items: center; gap: 15px; padding: 15px 0; font-weight: 650; }
.cut-edit li a:hover { text-decoration: underline; text-underline-offset: 5px; }
.cut-edit li svg { color: var(--cut-lime); }
.cut-edit a:focus-visible { outline-color: var(--cut-lime); }
.ftr { background: var(--cut-deep); }

.auth__art { background: var(--cut-deep); }
.auth__art img { object-position: 52% center; }
.auth__art h2 { font-size: clamp(2.3rem, 5vw, 4.5rem); }
.auth__art > div {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(transparent, #101a40ed 75%);
}

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .cut-models__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cut-hero { padding-block: 52px; }
  .cut-reel__timeline { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 760px) {
  .cut-hero__grid, .cut-section-head, .cut-edit__grid { grid-template-columns: 1fr; }
  .cut-hero__grid { gap: 32px; }
  .cut-models__head > a { justify-self: start; }
  .model-catalog__group { grid-template-columns: 1fr; }
  .cut-steps li { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 9px 14px; }
  .cut-steps a { grid-column: 2; }
}
@media (max-width: 480px) {
  .cut-models__head { gap: 14px; margin-bottom: 22px; }
  .cut-models__groups { grid-template-columns: 1fr; }
  .cut-models__card { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: 14px; }
  .model-catalog__group li { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 36px); }
  .hdr__bar { gap: 8px; height: 66px; }
  .hdr__actions { gap: 5px; }
  .hdr__actions .btn { padding-inline: 10px; font-size: .875rem; }
  .hdr__menu { padding-inline: 5px; }
  .logo img { width: clamp(116px, 35vw, 145px); }
  .cut-hero { padding-block: 39px; }
  .cut-hero h1 { font-size: clamp(2.65rem, 13vw, 3.9rem); }
  .cut-hero__lead { margin-top: 19px; font-size: 1rem; }
  .cut-actions { gap: 8px; margin-top: 23px; }
  .cut-actions .btn { min-height: 47px; padding: 10px 11px; font-size: .9rem; }
  .cut-reel { padding-inline: 8px; }
  .cut-clip { padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

.pricing-page { padding-block: clamp(48px, 6.5vw, 92px); }
.pricing-page .cut-section-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.pricing-page h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: .98; }
.seg { background: var(--soft); border-color: var(--line); }
.plan { box-shadow: none; border-radius: 10px; }
.plan--hl { background: #f5f7ff; border-color: #8da1ff; }
.pricing .promo { background: var(--cut-deep); color: white; border-radius: 8px; }
.pricing .promo__sub { color: #d3dcfd; }

.ftr {
  --ink: #f8faff;
  --body: #e1e8ff;
  --muted: #c6d3f8;
  color: var(--ink);
  padding-top: 50px;
}
.ftr__brand p { font-size: 1.15rem; }
.ftr__bottom { border-top-color: #52648f; font-size: .9375rem; }
.ftr a { text-decoration: underline; text-decoration-color: #91a6d2; text-underline-offset: .2em; }
.ftr a:hover { color: #fff; text-decoration-color: currentColor; }
.ftr a:focus-visible { outline-color: var(--cut-lime); }

.nav a[aria-current="page"], .mmenu a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .45em;
}

.navigation-status:not(.is-err) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.navigation-status.is-err {
  padding: 10px 24px;
  background: #fff0eb;
  color: #923e2d;
}
:is(#workspace, #public-shell)[aria-busy="true"]::before {
  content: "";
  position: fixed;
  z-index: 1000;
  inset: 0 auto auto 0;
  width: 28%;
  height: 3px;
  background: var(--blue);
}

@media (prefers-reduced-motion: no-preference) {
  .cut-reel { animation: cut-reel-in .48s cubic-bezier(.2, .7, .3, 1) both; }
  :is(#public-main, #workspace-main)[data-entering] { animation: cut-page-in .22s ease-out both; }
  .mmenu:not([hidden]), .qa[open] > p { animation: cut-page-in .2s ease-out both; }
  .cut-clip, .worknav a { transition: background-color .15s, border-color .15s, box-shadow .15s; }
  :is(#workspace, #public-shell)[aria-busy="true"]::before {
    animation: cut-loading .8s .12s ease-in-out infinite alternate both;
  }
}
@keyframes cut-reel-in {
  from { opacity: 0; transform: translateY(14px); }
}
@keyframes cut-page-in {
  from { opacity: .68; transform: translateY(5px); }
}
@keyframes cut-loading {
  from { opacity: 0; transform: translateX(-100%); }
  to { opacity: 1; transform: translateX(260%); }
}

.plan__credits,
.plan__price-unit,
.plan__charge,
.plan__details-toggle { display: none; }

@media (max-width: 850px) {
  .pricing-page { padding-block: 34px; }
  .pricing-page .cut-section-head { gap: 12px; margin-bottom: 20px; padding-bottom: 18px; }
  .pricing-page .cut-section-head h1 { font-size: clamp(2.6rem, 8vw, 4rem); }
  .pricing-page .cut-section-head h1 br { display: none; }
  .pricing-page .cut-section-head p { font-size: 1rem; }

  .pricing .seg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 460px;
    margin-bottom: 14px;
  }
  .pricing .seg__btn {
    min-height: 44px;
    padding: 7px 4px;
    font-size: .875rem;
  }
  .pricing .seg__btn em { display: none; }
  .pricing .promo {
    padding: 13px 15px;
    margin-bottom: 14px;
  }
  .pricing .promo > a { display: none; }
  .pricing .promo__l b { font-size: 1rem; }

  .pricing .plans { grid-template-columns: 1fr; gap: 11px; }
  .pricing .plan {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 6px 9px;
    align-items: start;
    padding: 15px;
  }
  .plan__head { grid-column: 1; grid-row: 1; }
  .pricing .plan__head h3 { font-size: 1.3rem; }
  .plan__head p, .plan__note, .plan__save { display: none; }
  .plan__credits {
    display: block;
    grid-column: 1;
    grid-row: 2;
    font-size: .875rem;
    line-height: 1.35;
    align-self: end;
  }
  .plan__credits strong { color: var(--ink); }
  .plan__rate { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
  .pricing .plan__price { align-items: baseline; justify-content: end; margin: 0; gap: 4px; }
  .pricing .plan__amt { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .plan__price-unit,
  .plan__charge { display: inline; color: var(--body); font-size: .875rem; line-height: 1.3; }
  .plan__charge { display: block; margin-top: 3px; }
  .pricing .plan > .btn {
    grid-column: 1 / -1;
    min-height: 44px;
    margin-top: 6px;
    padding: 9px 12px;
    font-size: .9375rem;
  }
  .plan__details { grid-column: 1 / -1; min-width: 0; }
  .plan__details-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    gap: 8px;
    color: var(--ink);
    font-size: .875rem;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
  }
  .plan__details-toggle::-webkit-details-marker { display: none; }
  .plan__details[open] .plan__details-toggle svg { transform: rotate(180deg); }
  .pricing .plan__sep { margin: 5px 0 14px; }
  .pricing .plan__quota li { display: flex; }
  .pricing .plan__quota b { text-align: right; }
}

.field__required { color: var(--blue); }
.field__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.field__heading .field__link { margin-top: 0; }
.password-control { position: relative; }
.password-control input { padding-inline-end: 56px; }
.password-control button {
  position: absolute;
  inset: 4px 4px 4px auto;
  display: grid;
  place-items: center;
  width: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--soft);
  color: var(--blue);
}
.password-control [data-password-icon="hide"],
.password-control [data-password-visible] [data-password-icon="show"] { display: none; }
.password-control [data-password-visible] [data-password-icon="hide"] { display: block; }
.password-control button:hover { background: var(--chip); }
.password-control button:focus-visible { outline-offset: 2px; }
.auth .field input { font-size: 1rem; }

@media (max-width: 850px), (max-height: 560px) {
  .auth { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .auth__art { display: none; }
  .auth__form {
    width: min(440px, calc(100% - 36px));
    margin: 0 auto;
    padding-block: clamp(23px, 6vh, 44px) 24px;
  }
  .auth__form > a:first-child { margin-bottom: 24px; }
  .auth h1 { font-size: clamp(1.85rem, 6.5vw, 2.5rem); }
  .auth__sub { margin: 10px 0 20px; }
  .auth .field { margin-bottom: 14px; }
  .auth .field label { margin-bottom: 5px; }
  .auth .field input { min-height: 50px; }
  .auth .field__link { display: inline-flex; align-items: center; min-height: 44px; }
  .auth form > .btn, .auth__alt a { min-height: 46px; }
  .auth__legal { margin-block-start: 14px; }
  .auth__alt { margin-block-start: 7px; }
  .auth__alt a { display: inline-flex; align-items: center; }
  .auth .ok { overflow-wrap: anywhere; }
}
