:root {
  --black: #0e0e0c;
  --black-2: #171713;
  --cream: #f6f1e8;
  --paper: #fffbf3;
  --gold: #c99a4a;
  --gold-2: #f0d28a;
  --muted: #8f887c;
  --line: rgba(246, 241, 232, 0.16);
  --dark-line: rgba(14, 14, 12, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(14, 14, 12, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--black);
  background: var(--gold);
  border-radius: 50%;
  font-size: 12px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

main { overflow: hidden; }

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  padding: clamp(42px, 7vw, 90px) clamp(18px, 4vw, 56px);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1 {
  max-width: 9ch;
  margin-bottom: 20px;
  font-size: clamp(62px, 9vw, 138px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede,
.section-note {
  max-width: 560px;
  color: #cfc7b8;
  font-size: 19px;
  line-height: 1.55;
}

.drop-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 14px;
}

.drop-panel > div {
  min-width: 0;
  padding: 14px;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drop-panel strong {
  display: block;
  color: var(--cream);
  font-size: 16px;
  line-height: 1.2;
}

.countdown {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-bottom: 22px;
  padding: 0 14px;
  color: var(--black);
  background: var(--gold);
  border-radius: var(--radius);
  font-weight: 950;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--black);
  background: var(--cream);
}

.button.ghost {
  color: var(--cream);
}

.button.wide { width: 100%; }

.product-hero {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.product-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
}

.product-hero span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 10px 12px;
  color: var(--black);
  background: var(--gold);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 950;
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.detail-strip p {
  margin: 0;
  padding: 18px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
  color: var(--gold-2);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-detail,
.order-section,
.confirmation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(26px, 5vw, 84px);
  align-items: start;
  padding: 88px clamp(18px, 4vw, 56px);
}

.product-detail[hidden] {
  display: none;
}

.confirmation[hidden] {
  display: none;
}

.detail-card,
.order-form,
.share-card {
  padding: 20px;
  color: var(--black);
  background: var(--paper);
  border-radius: var(--radius);
}

.detail-card p {
  margin-bottom: 18px;
  color: var(--black);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.14;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin: 10px 0;
  color: #4c463d;
  line-height: 1.4;
}

.order-section {
  background: var(--cream);
  color: var(--black);
}

.confirmation {
  background: var(--gold);
  color: var(--black);
}

.order-section .eyebrow,
.confirmation .eyebrow {
  color: #8f6727;
}

.order-section .section-note,
.confirmation .section-note {
  color: #5f584e;
}

.share-card p {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 950;
}

.share-card blockquote {
  margin: 0 0 16px;
  padding: 12px;
  color: #5f584e;
  background: #fff7e9;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  line-height: 1.4;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button.ghost.dark {
  color: var(--black);
  border-color: var(--dark-line);
}

#copy-status {
  display: block;
  min-height: 22px;
  margin-top: 12px;
  color: #2f6f46;
  font-weight: 900;
}

.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dark-line);
  font-weight: 950;
}

.price-line strong {
  font-size: 24px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #5f584e;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--black);
  background: #fff7e9;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  outline: none;
}

textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 154, 74, 0.24);
}

.order-form .button.primary {
  color: var(--cream);
  background: var(--black);
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: #2f6f46;
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero,
  .product-detail,
  .order-section,
  .confirmation {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .detail-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    max-width: 8ch;
    font-size: 58px;
  }

  .drop-panel,
  .detail-strip {
    grid-template-columns: 1fr;
  }

  .detail-strip p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-hero {
    padding: 6px;
  }

  .product-hero span {
    position: static;
    display: block;
    margin-top: 8px;
    text-align: center;
  }

  footer {
    flex-direction: column;
  }

  .share-actions {
    grid-template-columns: 1fr;
  }
}
