:root {
  --ink: #111827;
  --paper: #f4f7fb;
  --white: #fff;
  --muted: #607086;
  --acid: #58c7f3;
  --blue: #d9ecff;
  --line: rgba(17, 24, 39, 0.14);
  --deep: #0b2447;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 0;
  height: 4px;
  background: var(--acid);
}

.topbar {
  position: fixed;
  left: 24px;
  right: 24px;
  top: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(11, 36, 71, 0.72);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 950;
}

.brand img {
  width: 54px;
  height: 42px;
  object-fit: contain;
}

.header-slogan {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.topbar nav {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  margin-left: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.nav-cta,
.primary-link,
.price-band a,
.split-copy a,
.bottom-cta a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 950;
}

.nav-cta {
  padding: 0 18px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  overflow: hidden;
  padding: 126px clamp(18px, 5vw, 74px) 70px;
  background:
    radial-gradient(circle at 86% 18%, rgba(88, 199, 243, 0.28), transparent 25%),
    linear-gradient(135deg, #f8fbff, #e8f2ff 58%, #f6f8fb);
  color: var(--ink);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-kicker span,
.section-title span,
.split-copy span,
.price-band span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1000px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.8vw, 98px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-title {
  display: grid;
  gap: 6px;
}

.hero-title img {
  width: clamp(64px, 8vw, 112px);
  height: auto;
  object-fit: contain;
}

.hero-title-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.92;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-content p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.play-pill {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid rgba(11, 36, 71, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  backdrop-filter: blur(14px);
}

.play-pill span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 0 40%, var(--ink) 40%),
    var(--white);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: scale(0.54);
}

.primary-link {
  padding: 0 26px;
}

.hero-price {
  display: grid;
  min-height: 58px;
  align-content: center;
  gap: 4px;
  padding: 10px 20px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 35, 68, 0.1);
}

.hero-price strong {
  color: var(--ink);
  font-weight: 950;
}

.hero-price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(15, 35, 68, 0.1);
}

.hero-panel div {
  padding: 20px;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.hero-panel span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.hero-media {
  position: relative;
}

.hero-collage-stack {
  position: relative;
  min-height: min(68vh, 650px);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: 42px;
  background: var(--deep);
  box-shadow: 0 30px 90px rgba(15, 35, 68, 0.2);
}

.hero-product {
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-product img {
  width: 100%;
  height: auto;
  max-height: min(68vh, 680px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 55px rgba(15, 35, 68, 0.22));
}

.hero-product-main {
  position: relative;
  z-index: 2;
  width: 72%;
  margin: 0 auto;
}

.hero-product-small {
  position: absolute;
  z-index: 3;
  width: 36%;
}

.hero-product-small img {
  border: 8px solid var(--white);
  border-radius: 30px;
  background: var(--white);
  filter: drop-shadow(0 22px 40px rgba(15, 35, 68, 0.2));
}

.hero-product-top {
  right: 0;
  top: 4%;
  transform: rotate(6deg);
}

.hero-product-bottom {
  left: 0;
  bottom: 10%;
  transform: rotate(-7deg);
}

.hero-stack-badge {
  position: absolute;
  right: 8%;
  bottom: 3%;
  z-index: 4;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 18px 45px rgba(15, 35, 68, 0.18);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 23, 44, 0.04), rgba(8, 23, 44, 0.42));
}

.hero-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: clamp(82px, 9vw, 116px);
  height: clamp(82px, 9vw, 116px);
  place-items: center;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(8, 23, 44, 0.24);
}

.big-play span {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid var(--deep);
}

.video-mini-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.video-mini-caption strong {
  font-weight: 950;
}

.video-mini-caption span {
  color: var(--muted);
  font-weight: 800;
}

.video-script {
  position: fixed;
  right: 24px;
  bottom: 110px;
  z-index: 70;
  width: min(420px, calc(100% - 32px));
  padding: 26px;
  border-radius: 32px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.video-script.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.video-script button {
  position: absolute;
  right: 16px;
  top: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
}

.video-script h2 {
  font-size: 36px;
}

.video-script li {
  margin: 10px 0;
  color: var(--muted);
  font-weight: 800;
}

.ai-restore {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.22fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: center;
  padding: clamp(76px, 9vw, 132px) clamp(18px, 5vw, 74px);
  background: var(--white);
}

.ai-restore-copy > span {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-restore-copy h2 {
  margin-top: 22px;
}

.ai-price {
  display: grid;
  width: fit-content;
  gap: 4px;
  margin: 28px 0 18px;
  padding: 18px 22px;
  border-radius: 24px;
  background: var(--blue);
}

.ai-price strong {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.ai-price span {
  color: var(--muted);
  font-weight: 900;
}

.ai-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-weight: 950;
}

.restore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.restore-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 18px 70px rgba(15, 35, 68, 0.08);
}

.restore-card:first-child {
  grid-row: span 2;
}

.restore-card h3 {
  margin: 0 8px;
}

.restore-card p {
  margin: 0 8px 8px;
  font-size: 16px;
}

.compare {
  position: relative;
  --split: 50%;
  overflow: hidden;
  min-height: 250px;
  border-radius: 24px;
  background: var(--deep);
}

.restore-card:first-child .compare {
  min-height: 470px;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare .before {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.compare .after {
  clip-path: inset(0 0 0 var(--split));
}

.compare::after {
  content: "";
  position: absolute;
  left: var(--split);
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.18);
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-handle {
  position: absolute;
  left: var(--split);
  top: 50%;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(7, 23, 45, 0.28);
}

.compare-handle::before {
  content: "↔";
  color: var(--deep);
  font-size: 22px;
  font-weight: 950;
}

.compare.is-auto .compare-handle {
  box-shadow: 0 12px 34px rgba(7, 23, 45, 0.28), 0 0 0 10px rgba(88, 199, 243, 0.22);
}

.label {
  position: absolute;
  z-index: 2;
  top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.before-label {
  left: 14px;
}

.after-label {
  right: 14px;
}


.process,
.editor-demo,
.gallery,
.faq,
.receive-section {
  padding: clamp(76px, 9vw, 132px) clamp(18px, 5vw, 74px);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 42px;
}

.section-title span,
.split-copy span,
.price-band span {
  width: fit-content;
  background: var(--deep);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-item {
  display: grid;
  gap: 14px;
}

.process-name {
  text-align: center;
}

.process-name h3 {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.9;
}

.process-grid article {
  position: relative;
  min-height: 430px;
  padding: 28px;
  border-radius: 34px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 70px rgba(15, 35, 68, 0.08);
}

.process-card {
  display: grid;
  align-items: end;
  isolation: isolate;
}

.process-card::before,
.process-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.process-card::before {
  z-index: -2;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.process-card::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 23, 45, 0.04) 0%, rgba(7, 23, 45, 0.2) 34%, rgba(7, 23, 45, 0.88) 100%),
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.24), transparent 34%);
}

.upload-card::before {
  background-image: url("assets/process-upload.png");
}

.mix-card::before {
  background-image: url("assets/process-mix.png");
}

.order-card::before {
  background-image: url("assets/process-order.png");
}

.process-content {
  position: relative;
  z-index: 2;
  width: calc(100% + 20px);
  margin: 0 -10px -10px;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.process-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.35;
}

.market-row {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--white);
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 10px 25px rgba(15, 35, 68, 0.1);
}

.wb {
  color: #8b2bb0;
}

.ozon {
  color: #005bff;
}

.cdek {
  color: #1c9b48;
}

.avito {
  color: #00aaff;
}

.ym {
  color: #f7a600;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  min-height: 86vh;
  background: var(--deep);
  color: var(--white);
}

.editor-demo {
  background: var(--paper);
}

.editor-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.editor-copy {
  display: grid;
  align-content: center;
  gap: 22px;
}

.editor-copy p {
  margin: 0;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 800;
}

.editor-copy a {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-weight: 950;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.split-copy {
  display: grid;
  align-content: center;
  padding: clamp(46px, 6vw, 84px);
}

.split-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.split-copy a {
  width: fit-content;
  margin-top: 24px;
  padding: 0 24px;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr;
  gap: 18px;
  align-items: end;
}

.photo-strip figure {
  margin: 0;
}

.photo-strip img {
  width: 100%;
  height: clamp(360px, 48vw, 650px);
  object-fit: cover;
  border-radius: 38px;
}

.photo-strip figure:nth-child(2) img {
  height: clamp(300px, 38vw, 520px);
}

.photo-strip figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 900;
}

.inscription-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.58fr);
  gap: 28px;
  align-items: start;
  padding: clamp(62px, 7vw, 96px) clamp(18px, 5vw, 74px);
  background: var(--white);
}

.inscription-band span,
.size-band span {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.inscription-band h2 {
  max-width: 900px;
}

.inscription-band p {
  margin: 0;
  font-weight: 800;
}

.phrase-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.phrase-chips span {
  background: var(--blue);
  color: var(--ink);
  text-transform: none;
}

.price-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.45fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(50px, 7vw, 90px) clamp(18px, 5vw, 74px);
  background: var(--blue);
}

.price-band span {
  background: var(--white);
  color: var(--ink);
}

.price-band p {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.price-band a {
  padding: 0 24px;
  background: var(--deep);
  color: var(--white);
}

.receive-section {
  background: var(--paper);
}

.receive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.receive-grid article {
  min-height: 210px;
  padding: 24px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 18px 70px rgba(15, 35, 68, 0.08);
}

.receive-grid article:nth-child(2n) {
  background: var(--blue);
}

.size-band {
  padding: clamp(62px, 7vw, 96px) clamp(18px, 5vw, 74px);
  background: var(--deep);
  color: var(--white);
}

.size-band span {
  background: var(--white);
  color: var(--ink);
}

.size-band h2 {
  max-width: 980px;
  margin-top: 22px;
}

.size-lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 850;
}

.size-copy {
  display: grid;
  max-width: 980px;
  gap: 14px;
  margin-top: 34px;
}

.size-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: center;
  padding: clamp(62px, 7vw, 96px) clamp(18px, 5vw, 74px);
  background: var(--white);
}

.trust-section span,
.final-cta span {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.trust-section h2 {
  margin-top: 22px;
}

.trust-section p {
  margin: 0;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 850;
}

.faq {
  padding-bottom: 150px;
}

.faq-list {
  display: grid;
  max-width: 920px;
  margin-left: auto;
  gap: 12px;
}

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

.faq summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 950;
}

.faq p {
  margin-bottom: 22px;
}

.final-cta {
  display: grid;
  justify-items: center;
  padding: clamp(76px, 9vw, 132px) clamp(18px, 5vw, 74px) 170px;
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 199, 243, 0.28), transparent 30%),
    var(--deep);
  color: var(--white);
  text-align: center;
}

.final-cta span {
  background: var(--white);
  color: var(--ink);
}

.final-cta h2 {
  max-width: 920px;
  margin-top: 22px;
}

.final-cta p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.final-price {
  margin: 8px 0 24px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 950;
}

.final-cta a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 950;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  gap: 34px;
  padding: clamp(48px, 6vw, 76px) clamp(18px, 5vw, 74px) 120px;
  background: #07172d;
  color: var(--white);
}

.footer-brand p {
  max-width: 460px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 850;
}

.bottom-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 55;
  display: flex;
  width: min(680px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 10px 10px 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(11, 36, 71, 0.9);
  color: var(--white);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.bottom-cta span {
  font-weight: 900;
}

.bottom-cta a {
  min-height: 46px;
  padding: 0 18px;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  width: min(620px, calc(100% - 36px));
  align-items: center;
  padding: 16px 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: #2d3a4b;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-banner a {
  color: #0b2447;
  font-weight: 900;
  text-decoration: none;
}

.cookie-banner button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #0b2447;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .topbar nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 116px;
  }

  .hero-collage-stack {
    min-height: auto;
  }

  .hero-product-main {
    width: 84%;
  }

  .hero-panel,
  .ai-restore,
  .process-grid,
  .section-title,
  .split-feature,
  .editor-demo-layout,
  .photo-strip,
  .price-band,
  .inscription-band,
  .receive-grid,
  .restore-grid,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .restore-card:first-child {
    grid-row: auto;
  }

  .restore-card:first-child .compare,
  .compare {
    min-height: 330px;
  }

  .split-media img {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .topbar {
    left: 10px;
    right: 10px;
    top: 10px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-wrap {
    display: grid;
    gap: 2px;
  }

  .brand img {
    width: 44px;
    height: 34px;
  }

  .header-slogan {
    padding-left: 2px;
    font-size: 10px;
    line-height: 1;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 46px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-actions,
  .primary-link,
  .play-pill {
    width: 100%;
  }

  .hero-product-main {
    width: 100%;
  }

  .hero-product-small,
  .hero-stack-badge {
    display: none;
  }

  .bottom-cta {
    align-items: stretch;
    flex-direction: column;
    border-radius: 24px;
  }

  .site-footer,
  .legal-links {
    grid-template-columns: 1fr;
  }

  .bottom-cta a {
    width: 100%;
  }

  .cookie-banner {
    right: 10px;
    bottom: 98px;
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100% - 20px);
    padding: 14px;
    border-radius: 18px;
  }

  .cookie-banner button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }

  .video-script {
    transition: none;
  }
}
