:root {
  color-scheme: dark;
  --white: #fff;
  --glass: rgba(20, 20, 20, .38);
  --glass-hover: rgba(34, 34, 34, .52);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background: #111;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
button, a { color: inherit; -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; width: 24px; height: 24px; }
button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.page {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #333;
}

.fashion {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 42%;
}

.shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .54) 0%, rgba(0, 0, 0, .03) 31%, rgba(0, 0, 0, .13) 48%, rgba(0, 0, 0, .88) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .24), transparent 72%);
}

.brand-row {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(16px + env(safe-area-inset-top)) 20px 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 28px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  text-decoration: none;
}

.brand-mark span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
  transform: translate(-1px, -1px);
}

.brand-row p {
  margin: 0;
  font-size: .75rem;
  letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .65);
}

.hero {
  position: absolute;
  top: clamp(88px, 14svh, 132px);
  left: 20px;
  right: 20px;
  max-width: 430px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .44);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: .7rem;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.65rem, 12vw, 4.5rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

h1 em { font-weight: 400; }

.description {
  margin: 12px 0 0;
  max-width: 310px;
  font-size: .9rem;
  line-height: 1.42;
}

.actions {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}

.glass-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  padding: 11px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .035) 42%, rgba(255, 255, 255, .09)),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -1px 0 rgba(255, 255, 255, .08),
    0 10px 30px rgba(0, 0, 0, .26);
  backdrop-filter: blur(24px) saturate(175%);
  -webkit-backdrop-filter: blur(24px) saturate(175%);
  text-align: left;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.glass-button::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
  opacity: .72;
}

a.glass-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .46);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05) 45%, rgba(255, 255, 255, .1)),
    var(--glass-hover);
}

a.glass-button:active { transform: scale(.985); }
.glass-button:disabled { cursor: not-allowed; opacity: .86; }
.glass-button:disabled .arrow { opacity: .38; }

.button-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}

.button-icon svg { width: 18px; height: 18px; }
.max-icon { font-size: 1rem; font-weight: 800; font-style: italic; }
.button-copy { min-width: 0; flex: 1; }
.button-label { display: block; font-size: .95rem; font-weight: 600; line-height: 1.2; }
.button-sub { display: block; margin-top: 3px; font-size: .72rem; line-height: 1.25; color: rgba(255, 255, 255, .68); }
.arrow { width: 19px; height: 19px; flex: 0 0 19px; }

.availability {
  margin: 0;
  font-size: .68rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, .68);
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .8);
}

@media (min-width: 700px) {
  .fashion { object-position: center 38%; }
  .brand-row { padding-left: 32px; padding-right: 32px; }
  .hero { left: 50%; right: auto; width: min(86vw, 580px); transform: translateX(-50%); text-align: center; }
  .description { margin-left: auto; margin-right: auto; }
  .actions { bottom: calc(24px + env(safe-area-inset-bottom)); }
}

@media (max-height: 720px) {
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark span { font-size: 1.75rem; }
  .hero { top: calc(70px + env(safe-area-inset-top)); }
  .eyebrow { margin-bottom: 7px; }
  h1 { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .description { margin-top: 8px; font-size: .82rem; }
  .glass-button { min-height: 58px; padding: 8px 12px; border-radius: 19px; }
  .button-icon { width: 31px; height: 31px; flex-basis: 31px; }
  .button-label { font-size: .88rem; }
  .button-sub { font-size: .68rem; margin-top: 2px; }
}

@media (max-height: 590px) {
  .brand-row p, .description, .button-sub { display: none; }
  .hero { top: calc(64px + env(safe-area-inset-top)); }
  .eyebrow { margin-bottom: 5px; }
  h1 { font-size: 2.15rem; }
  .glass-button { min-height: 50px; }
  .availability { font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
