:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  --background: #100d12;
  --text: #ffffff;
  --accent: #ef74ae;
  --button: #edc77e;
  --button-text: #171018;
  --button-hover: #f9dca3;
  --overlay-base: rgba(16, 13, 18, .64);
  --overlay-top: rgba(16, 13, 18, .30);
  --overlay-middle: rgba(16, 13, 18, .12);
  --overlay-bottom: rgba(16, 13, 18, .60);
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 28px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 54px;
  --space-11: 64px;
  --button-height: 62px;
  --button-radius: 6px;
  --page-width: 1240px;
  --heading-size: clamp(44px, 4.2vw, 56px);
  --offer-size: clamp(56px, 5.2vw, 72px);
  --mobile-bottom: 11svh;
  background: var(--background);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
.hero { position: relative; isolation: isolate; min-height: 100svh; }
.backdrop, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; object-fit: cover; object-position: center 25%; }
.backdrop { background: url("assets/black-friday-1028-poster.jpg") center 25% / cover no-repeat; }
.hero-video { z-index: -2; opacity: 0; pointer-events: none; }
.hero-video.is-ready { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--overlay-top), var(--overlay-middle) 45%, var(--overlay-bottom)), var(--overlay-base); }
.wrap { width: min(var(--page-width), calc(100% - var(--space-9) * 2)); min-height: 100svh; margin-inline: auto; display: grid; grid-template-rows: auto 1fr; }
.brand { display: flex; align-items: center; padding-block: var(--space-5); }
.brand img { display: block; width: var(--space-10); height: var(--space-10); border-radius: 50%; object-fit: cover; }
.content { display: grid; grid-template-rows: minmax(var(--space-5), 1fr) auto var(--space-9) auto minmax(var(--space-11), .85fr); justify-items: center; text-align: center; }
h1 { grid-row: 2; align-self: center; margin: 0; max-width: 100%; font-family: Georgia, "Times New Roman", serif; font-size: var(--heading-size); line-height: 1.08; font-weight: 700; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
h1 > span { display: block; }
h1 em { color: var(--accent); font-size: var(--offer-size); font-style: normal; }
.cta { grid-row: 4; align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); background: var(--button); color: var(--button-text); min-height: var(--button-height); padding: 18px var(--space-5); border-radius: var(--button-radius); text-decoration: none; font-size: 15px; font-weight: 800; line-height: 1.5; max-width: 100%; text-align: center; transition: background .15s, transform .15s; }
.cta:hover { background: var(--button-hover); transform: translateY(-2px); }
.cta:focus-visible, .motion-toggle:focus-visible { outline: 3px solid var(--text); outline-offset: 5px; }
.motion-toggle { position: absolute; inset-inline-end: var(--space-5); top: var(--space-5); display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--space-8); padding: var(--space-1) var(--space-2); background: var(--overlay-base); color: var(--text); border: 1px solid rgba(255,255,255,.3); border-radius: var(--button-radius); font: 12px Arial, Helvetica, sans-serif; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle svg { width: var(--space-2); height: var(--space-2); fill: currentColor; }
.motion-toggle .play-icon, .motion-toggle[data-paused="true"] .pause-icon { display: none; }
.motion-toggle[data-paused="true"] .play-icon { display: block; }
@media (max-width: 640px) {
  :root { --heading-size: 38px; --offer-size: 50px; }
  .wrap { width: calc(100% - var(--space-8)); }
  .brand { padding-block: var(--space-4); padding-top: max(var(--space-4), env(safe-area-inset-top)); }
  .brand img { width: 44px; height: 44px; }
  .backdrop, .hero-video { object-position: center; background-position: center; }
  .content { grid-template-rows: minmax(var(--space-5), .95fr) auto minmax(var(--space-8), 1.05fr) auto; padding-bottom: max(var(--mobile-bottom), calc(env(safe-area-inset-bottom) + var(--space-9))); }
  .cta { width: 100%; font-size: 14px; padding-inline: 14px; }
  .motion-toggle { top: max(var(--space-4), env(safe-area-inset-top)); inset-inline-end: var(--space-4); }
}
@media (max-width: 360px) {
  :root { --heading-size: 33px; --offer-size: 44px; }
  .cta { gap: var(--space-1); font-size: 13px; }
}
@media (max-height: 500px) and (min-width: 641px) {
  :root { --heading-size: 33px; --offer-size: 44px; }
  .brand { padding-block: var(--space-2); }
  .brand img { width: var(--space-8); height: var(--space-8); }
  .content { grid-template-rows: var(--space-2) auto var(--space-5) auto var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover { transform: none; }
}
