@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/alexandria/alexandria-arabic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/alexandria/alexandria-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg: #f4f5f7;
  --surface: #ebeef2;
  --surface-raised: #fafafd;
  --ink: #171820;
  --muted: #676b77;
  --line: #d9dce3;
  --accent: #cc3265;
  --accent-strong: #9f234c;
  --accent-soft: #f5dce5;
  --on-accent: #fff9fb;
  --radius: 16px;
  --shadow: 0 30px 90px rgba(48, 28, 38, .14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16171e;
    --surface: #1e2029;
    --surface-raised: #252731;
    --ink: #f4f2f5;
    --muted: #aaa9b2;
    --line: #353741;
    --accent: #df487a;
    --accent-strong: #f06695;
    --accent-soft: #432333;
    --on-accent: #181219;
    --shadow: 0 30px 90px rgba(4, 4, 8, .34);
  }
}

* { box-sizing: border-box; }
html { min-width: 0; }
body { margin: 0; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.landing-body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Alexandria", "Segoe UI", Tahoma, Arial, sans-serif;
  font-synthesis: none;
  line-height: 1.6;
  overflow-x: clip;
}

.landing-container { margin-inline: auto; max-width: 1360px; padding-inline: 34px; width: 100%; }
.skip-link { background: var(--accent); color: var(--on-accent); inset-inline-start: 18px; padding: 10px 15px; position: fixed; top: -70px; z-index: 100; }
.skip-link:focus { top: 14px; }

.launch-page { display: grid; grid-template-rows: auto 1fr auto; min-height: 100dvh; overflow: hidden; position: relative; }
.launch-page::before {
  background: var(--accent-soft);
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  height: 440px;
  inset: -240px auto auto -210px;
  opacity: .42;
  pointer-events: none;
  position: absolute;
  width: 440px;
}

.launch-header { align-items: center; display: flex; height: 78px; justify-content: space-between; position: relative; z-index: 5; }
.landing-brand { align-items: center; display: inline-flex; gap: 14px; min-height: 58px; padding-block: 4px; }
.landing-brand-mark { align-items: center; display: flex; flex: 0 0 42px; height: 54px; justify-content: center; width: 42px; }
.landing-brand-mark img { height: 52px; object-fit: contain; transition: transform .3s cubic-bezier(.16, 1, .3, 1); width: auto; }
.landing-brand-divider { background: color-mix(in srgb, var(--accent) 28%, var(--line)); height: 34px; width: 1px; }
.landing-brand-copy { align-items: flex-start; direction: ltr; display: flex; flex-direction: column; min-width: 0; text-align: left; }
.landing-brand strong { font-size: 16px; font-weight: 860; letter-spacing: .13em; line-height: 1; }
.landing-brand small { color: var(--muted); font-size: 7px; font-weight: 650; letter-spacing: .29em; margin-top: 8px; }
.landing-brand:hover .landing-brand-mark img, .landing-brand:focus-visible .landing-brand-mark img { transform: translateY(-2px); }
.staff-login { align-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); display: inline-flex; font-size: 12px; font-weight: 800; gap: 7px; min-height: 42px; padding: 0 15px; transition: border-color .22s ease, color .22s ease, transform .22s ease; }
.staff-login:hover, .staff-login:focus-visible { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }

.launch-main { align-items: center; display: grid; gap: clamp(34px, 5vw, 76px); grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr); padding-block: 28px 36px; position: relative; z-index: 1; }
.launch-copy { isolation: isolate; max-width: 590px; padding-inline-start: clamp(0px, 2vw, 28px); position: relative; }
.launch-copy::before { background: url("../images/brand/glam-fit-icon.png") center / contain no-repeat; content: ""; height: 260px; inset: -76px -38px auto auto; opacity: .035; pointer-events: none; position: absolute; width: 202px; z-index: -1; }
.launch-eyebrow { color: var(--accent-strong); font-size: 12px; font-weight: 900; letter-spacing: .06em; margin: 0 0 18px; }
.launch-copy h1 { font-size: clamp(50px, 5.4vw, 80px); letter-spacing: -.035em; line-height: 1.12; margin: 0; }
.launch-copy h1 em { color: var(--accent); font-family: inherit; font-style: normal; font-weight: 850; white-space: nowrap; }
.countdown { direction: ltr; display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(72px, 1fr)); margin-top: 30px; max-width: 510px; }
.countdown > div { border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; padding-inline: 15px; }
.countdown > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.countdown strong { color: var(--ink); font-size: clamp(31px, 3.3vw, 46px); font-variant-numeric: tabular-nums; font-weight: 760; letter-spacing: -.025em; line-height: 1; }
.countdown span { color: var(--muted); direction: rtl; font-size: 11px; font-weight: 700; margin-top: 8px; }
.launch-highlights { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.launch-highlights span { align-items: center; color: var(--muted); display: inline-flex; font-size: 12px; font-weight: 700; gap: 7px; }
.launch-highlights i { color: var(--accent); font-size: 18px; }

.launch-visuals { display: grid; gap: 14px; grid-template-columns: 1.25fr .75fr; height: min(57dvh, 590px); min-height: 470px; }
.launch-photo { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0; min-width: 0; overflow: hidden; }
.launch-photo img { height: 100%; object-fit: cover; width: 100%; }
.primary-photo { height: calc(100% - 44px); margin-top: 44px; }
.primary-photo img { object-position: 32% center; }
.secondary-photo { height: 58%; }
.secondary-photo img { object-position: 52% center; }

.waitlist { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 28px; grid-column: 1 / -1; grid-template-columns: .7fr 1.3fr; margin-top: 2px; padding-block: 30px 4px; }
.waitlist-copy h2 { font-size: clamp(24px, 2.7vw, 38px); letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.waitlist-copy p { color: var(--muted); font-size: 13px; margin: 9px 0 0; max-width: 380px; }
.waitlist-form-wrap > small { color: var(--muted); display: block; font-size: 10px; margin-top: 9px; }
.waitlist-form { align-items: end; display: grid; gap: 10px; grid-template-columns: 1fr 1fr auto; }
.waitlist-form label { display: grid; gap: 6px; }
.waitlist-form label > span { color: var(--muted); font-size: 10px; font-weight: 800; }
.waitlist-form input { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); min-height: 50px; outline: none; padding: 10px 13px; width: 100%; }
.waitlist-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.launch-button { align-items: center; background: var(--accent); border: 1px solid var(--accent); border-radius: 12px; color: var(--on-accent); cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 900; gap: 9px; justify-content: center; min-height: 50px; padding: 0 21px; white-space: nowrap; transition: background-color .22s ease, border-color .22s ease, transform .22s ease; }
.launch-button:hover, .launch-button:focus-visible { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-2px); }
.launch-button:active { transform: translateY(1px) scale(.99); }
.trap-field { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.landing-alert { align-items: center; border: 1px solid; border-radius: 12px; display: flex; font-size: 12px; font-weight: 800; gap: 9px; margin-bottom: 12px; padding: 10px 12px; }
.landing-alert.success { background: #dff2e9; border-color: #aad6c3; color: #185f46; }
.landing-alert.error { background: #f8e1e7; border-color: #eab3c0; color: #8c263e; }

.launch-footer { align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 11px; gap: 20px; justify-content: space-between; min-height: 78px; position: relative; z-index: 1; }
.footer-brand { align-items: center; direction: rtl; display: flex; flex: 0 0 auto; gap: 10px; }
.footer-brand img { height: 36px; object-fit: contain; width: auto; }
.footer-brand > span { align-items: flex-start; direction: ltr; display: flex; flex-direction: column; text-align: left; }
.footer-brand strong { color: var(--ink); font-size: 11px; font-weight: 850; letter-spacing: .12em; line-height: 1; }
.footer-brand small { color: var(--muted); font-size: 5px; font-weight: 650; letter-spacing: .28em; margin-top: 6px; }
.footer-meta { align-items: flex-end; display: flex; flex-direction: column; }
.footer-meta small { margin-top: 2px; }

.launch-eyebrow, .launch-copy h1, .countdown, .launch-highlights, .launch-photo, .waitlist {
  animation: launch-enter .75s cubic-bezier(.16, 1, .3, 1) both;
}
.launch-copy h1 { animation-delay: .06s; }
.countdown { animation-delay: .12s; }
.launch-highlights { animation-delay: .18s; }
.primary-photo { animation-delay: .1s; }
.secondary-photo { animation-delay: .2s; }
.waitlist { animation-delay: .3s; }

@keyframes launch-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1040px) {
  .launch-main { grid-template-columns: 1fr 1fr; }
  .launch-visuals { height: 520px; min-height: 0; }
  .waitlist { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .landing-container { padding-inline: 20px; }
  .launch-main { align-items: stretch; grid-template-columns: 1fr; padding-top: 34px; }
  .launch-copy { max-width: 680px; padding-inline-start: 0; }
  .launch-copy h1 { font-size: clamp(48px, 12vw, 72px); }
  .launch-visuals { height: 500px; }
  .waitlist { margin-top: 8px; }
}

@media (max-width: 560px) {
  .landing-container { padding-inline: 16px; }
  .launch-header { height: 68px; }
  .landing-brand { gap: 10px; min-height: 48px; }
  .landing-brand-mark { flex-basis: 34px; height: 44px; width: 34px; }
  .landing-brand-mark img { height: 42px; }
  .landing-brand-divider { height: 28px; }
  .landing-brand strong { font-size: 13px; letter-spacing: .11em; }
  .landing-brand small { font-size: 5.5px; letter-spacing: .23em; margin-top: 6px; }
  .staff-login { height: 42px; justify-content: center; padding: 0; width: 42px; }
  .staff-login span { display: none; }
  .launch-main { gap: 30px; padding-block: 28px 24px; }
  .launch-copy::before { height: 190px; inset: -34px -26px auto auto; width: 147px; }
  .launch-copy h1 { font-size: clamp(36px, 12.2vw, 52px); }
  .countdown { gap: 0; grid-template-columns: repeat(4, 1fr); margin-top: 25px; }
  .countdown > div { padding-inline: 9px; }
  .countdown strong { font-size: clamp(27px, 9vw, 38px); }
  .launch-highlights {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 8px;
    margin-top: 24px;
    padding: 0;
    width: 100%;
  }
  .launch-highlights span {
    align-items: flex-start;
    background: color-mix(in srgb, var(--surface-raised) 80%, transparent);
    border: 1px solid color-mix(in srgb, var(--line) 84%, transparent);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 7%, transparent);
    flex-direction: column;
    font-size: 11px;
    gap: 11px;
    justify-content: space-between;
    min-height: 84px;
    padding: 13px;
  }
  .launch-highlights span:first-child {
    align-items: center;
    background: color-mix(in srgb, var(--accent) 13%, var(--surface-raised));
    border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
    flex-direction: row;
    font-size: 12px;
    grid-column: 1 / -1;
    justify-content: flex-start;
    min-height: 60px;
  }
  .launch-highlights i {
    align-items: center;
    background: color-mix(in srgb, var(--accent) 11%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
    border-radius: 11px;
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    width: 34px;
  }
  .launch-highlights span:first-child i { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
  .launch-visuals {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    direction: rtl;
    display: flex;
    gap: 12px;
    height: auto;
    margin-inline: -16px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding: 5px 16px 18px;
    position: relative;
    scroll-padding-inline: 16px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .launch-visuals::-webkit-scrollbar { display: none; }
  .launch-visuals:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
  .launch-visuals .launch-photo {
    aspect-ratio: 4 / 5;
    border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
    border-radius: calc(var(--radius) + 6px);
    box-shadow: 0 22px 58px color-mix(in srgb, var(--accent) 10%, transparent);
    flex: 0 0 85%;
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .primary-photo {
    inset: auto;
    margin: 0;
    position: static;
  }
  .primary-photo img { object-position: 29% center; }
  .secondary-photo {
    border: 0;
    bottom: auto;
    inset-inline-start: auto;
    position: static;
    width: auto;
    z-index: auto;
  }
  .secondary-photo img { object-position: 30% center; }
  .waitlist { padding-top: 28px; }
  .waitlist-form { grid-template-columns: 1fr; }
  .launch-button { width: 100%; }
  .launch-footer { gap: 12px; min-height: 76px; padding-block: 10px; }
  .footer-brand { gap: 8px; }
  .footer-brand img { height: 30px; }
  .footer-brand strong { font-size: 9px; }
  .footer-brand small { font-size: 4.5px; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .launch-page::before { display: none; }
}
