:root {
  --paper: #fffdfb;
  --paper-deep: #f7f0eb;
  --ink: #4c3d39;
  --ink-soft: #75625d;
  --rose: #b97870;
  --rose-dark: #8f5f59;
  --blush: #e8c9c1;
  --gold: #c79657;
  --line: rgba(151, 103, 93, 0.23);
  --shadow: 0 28px 90px rgba(86, 54, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper-deep);
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 14%, rgba(232, 201, 193, 0.58), transparent 28rem),
    radial-gradient(circle at 86% 88%, rgba(199, 150, 87, 0.16), transparent 30rem),
    linear-gradient(145deg, #fbf7f4 0%, #f3e9e3 100%);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  width: 14rem;
  height: 14rem;
  pointer-events: none;
  content: "";
  opacity: 0.55;
}

body::before {
  top: 1.5rem;
  left: 1.5rem;
  border-top: 1px solid rgba(183, 120, 112, 0.34);
  border-left: 1px solid rgba(183, 120, 112, 0.34);
  border-radius: 2rem 0 0;
}

body::after {
  right: 1.5rem;
  bottom: 1.5rem;
  border-right: 1px solid rgba(199, 150, 87, 0.32);
  border-bottom: 1px solid rgba(199, 150, 87, 0.32);
  border-radius: 0 0 2rem;
}

.ambient {
  position: fixed;
  z-index: 0;
  border: 1px solid rgba(185, 120, 112, 0.14);
  border-radius: 999px;
  pointer-events: none;
}

.ambient-one {
  top: -12rem;
  right: -10rem;
  width: 34rem;
  height: 34rem;
}

.ambient-two {
  bottom: -14rem;
  left: -12rem;
  width: 38rem;
  height: 38rem;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  padding: clamp(1rem, 3vw, 2.75rem);
  place-items: center;
}

.launch-card {
  position: relative;
  width: min(100%, 69rem);
  padding: clamp(1.35rem, 3.5vw, 3.1rem) clamp(1.2rem, 5vw, 4.7rem) clamp(1.2rem, 3vw, 2.2rem);
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 252, 249, 0.97)),
    var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: clamp(1.4rem, 3vw, 2.7rem);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.launch-card::before {
  position: absolute;
  z-index: -1;
  inset: 0.8rem;
  border: 1px solid var(--line);
  border-radius: calc(clamp(1.4rem, 3vw, 2.7rem) - 0.5rem);
  pointer-events: none;
  content: "";
}

.launch-card::after {
  position: absolute;
  z-index: -1;
  top: 9rem;
  left: 50%;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 201, 193, 0.21), transparent 69%);
  content: "";
  transform: translateX(-50%);
}

.topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: clamp(0.62rem, 1.4vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.topline-mark {
  color: var(--gold);
  font-size: 0.55rem;
}

.brand-lockup {
  width: min(100%, 31rem);
  margin: clamp(1.2rem, 2vw, 1.8rem) auto 0;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.launch-copy {
  width: min(100%, 43rem);
  margin: clamp(-0.9rem, -1vw, -0.4rem) auto 0;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--rose-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: Didot, "Bodoni 72", Baskerville, "Times New Roman", serif;
  font-size: clamp(2rem, 5.4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.intro {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-family: Baskerville, Georgia, serif;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.65;
}

.countdown-wrap {
  width: min(100%, 49rem);
  margin: clamp(1.5rem, 3.3vw, 2.4rem) auto 0;
  padding-top: clamp(1.2rem, 2.4vw, 1.65rem);
  border-top: 1px solid var(--line);
}

.countdown-label {
  margin: 0 0 0.8rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.countdown {
  display: grid;
  grid-template-columns: minmax(4.6rem, 1.25fr) auto minmax(4rem, 1fr) auto minmax(4rem, 1fr) auto minmax(4rem, 1fr);
  align-items: center;
  gap: clamp(0.25rem, 1.3vw, 0.95rem);
}

.countdown > :last-child {
  grid-column: auto;
}

.time-unit {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.time-value {
  color: var(--rose-dark);
  font-family: Didot, "Bodoni 72", Baskerville, "Times New Roman", serif;
  font-size: clamp(2rem, 6.6vw, 4.5rem);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.time-label {
  color: var(--ink-soft);
  font-size: clamp(0.58rem, 1.3vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.separator {
  align-self: start;
  margin-top: 0.12em;
  color: rgba(143, 95, 89, 0.42);
  font-family: Didot, "Times New Roman", serif;
  font-size: clamp(1.6rem, 5vw, 3.6rem);
  line-height: 1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.4rem, 3vw, 2.1rem);
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(199, 150, 87, 0.36);
  outline-offset: 3px;
}

.button-primary {
  color: #fffaf7;
  background: var(--rose-dark);
  box-shadow: 0 12px 28px rgba(143, 95, 89, 0.22);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(143, 95, 89, 0.27);
}

.button-secondary {
  color: var(--rose-dark);
  background: transparent;
  border-color: rgba(143, 95, 89, 0.32);
}

.button-secondary:hover {
  background: rgba(232, 201, 193, 0.16);
}

.status {
  min-height: 1.25rem;
  margin: 0.65rem 0 0;
  color: var(--rose-dark);
  font-size: 0.78rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: clamp(1rem, 2.4vw, 1.6rem);
  color: var(--ink-soft);
  font-family: Baskerville, Georgia, serif;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
}

.footer-mark {
  width: 2.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.launched-message {
  padding: 0.5rem 0;
}

.launched-message[hidden] {
  display: none;
}

.launched-title {
  margin: 0;
  color: var(--ink);
  font-family: Didot, "Bodoni 72", Baskerville, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
}

@media (max-width: 680px) {
  body::before,
  body::after {
    width: 7rem;
    height: 7rem;
  }

  .page-shell {
    padding: 0.7rem;
  }

  .launch-card {
    padding-inline: 1.15rem;
  }

  .launch-card::before {
    inset: 0.5rem;
  }

  .topline {
    flex-wrap: wrap;
    gap: 0.2rem 0.55rem;
  }

  .topline span:first-child,
  .topline span:last-child {
    flex: 0 0 auto;
  }

  .brand-lockup {
    width: min(100%, 23rem);
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .separator {
    display: none;
  }

  .time-unit {
    min-height: 5rem;
    padding: 0.75rem 0.2rem 0.65rem;
    border: 1px solid rgba(151, 103, 93, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.56);
  }

  .time-value {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .time-label {
    font-size: 0.53rem;
    letter-spacing: 0.1em;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .topline-mark {
    display: none;
  }

  .topline span {
    width: 100%;
  }

  .launch-copy {
    margin-top: -0.3rem;
  }

  .footer {
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
