:root {
  --gold: #c99b37;
  --gold-soft: #f3d992;
  --ivory: #fff9ed;
  --paper: #fffdf8;
  --charcoal: #17120d;
  --ink: #2a2118;
  --muted: #766b60;
  --line: rgba(55, 39, 20, 0.14);
  --burgundy: #7b2638;
  --shadow: 0 24px 80px rgba(29, 19, 7, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fffaf0;
  background: linear-gradient(180deg, rgba(15, 10, 5, 0.82), rgba(15, 10, 5, 0));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.9;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.06);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 8, 4, 0.675) 0%, rgba(25, 15, 7, 0.54) 42%, rgba(30, 18, 7, 0.165) 100%),
    linear-gradient(180deg, rgba(10, 7, 4, 0.15) 0%, rgba(10, 7, 4, 0.585) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  padding: 150px 0 88px clamp(18px, 6vw, 74px);
  color: #fff9ee;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.75rem, 8vw, 5.9rem);
}

h2 {
  color: var(--charcoal);
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 249, 238, 0.86);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #211408;
  box-shadow: 0 18px 44px rgba(201, 155, 55, 0.3);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fffaf0;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  display: grid;
  gap: 6px;
  min-height: 116px;
  align-content: center;
  padding: 28px clamp(18px, 4vw, 54px);
  background: var(--ivory);
}

.trust-band strong {
  color: var(--charcoal);
  font-size: 1.04rem;
}

.trust-band span,
.signup-copy p,
.faq-list p {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 6vw, 74px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.faq-section {
  background: #fff;
}

.faq-list {
  display: grid;
  max-width: 1040px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

summary {
  cursor: pointer;
  color: var(--charcoal);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 800;
}

summary::marker {
  color: var(--gold);
}

details p {
  max-width: 760px;
  margin: 12px 0 0;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(123, 38, 56, 0.08), rgba(201, 155, 55, 0.12)),
    var(--ivory);
}

.signup-copy {
  position: sticky;
  top: 110px;
}

.signup-copy p {
  max-width: 520px;
  margin: 22px 0 0;
  font-size: 1.04rem;
}

.signup-form {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(201, 155, 55, 0.34);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 800;
}

.wide {
  grid-column: 1 / -1;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(42, 33, 24, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--charcoal);
  font: inherit;
  padding: 0 14px;
  outline: none;
}

input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 155, 55, 0.16);
}

.terms {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
}

.terms-link {
  justify-self: start;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--burgundy);
  font: inherit;
  font-weight: 800;
  padding: 0 0 2px;
  cursor: pointer;
}

.terms-link:hover {
  color: var(--charcoal);
}

.terms input {
  min-height: 20px;
  margin: 3px 0 0;
  accent-color: var(--gold);
}

.submit-button {
  width: 100%;
}

.result {
  display: none;
  border: 1px solid rgba(123, 38, 56, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.result.visible {
  display: grid;
  gap: 12px;
}

.result strong {
  color: var(--charcoal);
}

.result code {
  display: block;
  overflow-wrap: anywhere;
  border-radius: 8px;
  background: #211408;
  color: #fff9ee;
  padding: 14px;
}

.copy-link {
  justify-self: start;
  border: 1px solid rgba(42, 33, 24, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--charcoal);
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 74px);
  background: var(--charcoal);
  color: rgba(255, 249, 238, 0.82);
}

.site-footer span {
  font-weight: 800;
  color: #fff9ee;
}

.site-footer a {
  color: var(--gold-soft);
  font-weight: 800;
}

.product-carousel-section {
  background: #fff;
}

.product-heading {
  max-width: 860px;
}

.product-heading p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.carousel-shell {
  position: relative;
  margin-top: 34px;
}

.product-carousel {
  display: grid;
  grid-auto-columns: clamp(230px, 26vw, 330px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  padding: 4px 2px 18px;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.product-slide {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(42, 33, 24, 0.12);
  border-radius: 8px;
  background: #f3f0ea;
  box-shadow: 0 18px 45px rgba(29, 19, 7, 0.09);
}

.product-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(42, 33, 24, 0.14);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.94);
  color: var(--charcoal);
  box-shadow: 0 12px 34px rgba(29, 19, 7, 0.14);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-prev {
  left: -16px;
}

.carousel-next {
  right: -16px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 8, 4, 0.72);
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(780px, calc(100svh - 40px));
  overflow: auto;
  border: 1px solid rgba(201, 155, 55, 0.38);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(42, 33, 24, 0.18);
  border-radius: 50%;
  background: #fff;
  color: var(--charcoal);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-panel h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.terms-content {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.terms-content h3 {
  margin: 14px 0 0;
  color: var(--charcoal);
  font-size: 1rem;
}

.terms-content p {
  margin: 0;
  color: var(--muted);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 840px) {
  .site-header {
    padding: 16px 18px;
  }

  .nav-links {
    gap: 12px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    width: 100%;
    padding: 128px 18px 58px;
  }

  .trust-band,
  .signup-section,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    min-height: auto;
  }

  .signup-copy {
    position: static;
  }

  .carousel-button {
    display: none;
  }

  .product-carousel {
    grid-auto-columns: minmax(220px, 78vw);
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
