:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #66645f;
  --paper: #f8f7f3;
  --panel: #ffffff;
  --line: #dfddd6;
  --olive: #4f6a56;
  --moss: #233429;
  --gold: #b28b3f;
  --black: #111111;
  --shadow: 0 22px 70px rgba(20, 20, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(248, 247, 243, 0.92);
  border-bottom: 1px solid rgba(223, 221, 214, 0.85);
  backdrop-filter: blur(18px);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
}

.mark img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

.hero {
  min-height: calc(92vh - 58px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: clamp(32px, 5vw, 76px) clamp(18px, 5vw, 70px) clamp(46px, 7vw, 98px);
  overflow: hidden;
}

.hero-copy {
  max-width: 710px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 13.5ch;
  font-size: clamp(42px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.1;
}

.lede {
  max-width: 62ch;
  margin: 22px 0 0;
  color: #3d3c38;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.58;
}

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

.primary,
.secondary,
.product-card button {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.primary {
  background: var(--black);
  color: #fffdf8;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.18);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.22);
}

.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.68);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.proof-row span,
.tag,
.notice {
  border: 1px solid rgba(88, 98, 74, 0.25);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: #3e4637;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 750;
}

.hero-media {
  position: relative;
  min-height: clamp(390px, 54vw, 690px);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 9% -9% -6% 11%;
  background: #dfddd6;
  border-radius: 8px;
  transform: rotate(-3deg);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.notice {
  width: min(980px, calc(100% - 36px));
  margin: -18px auto 30px;
  border-radius: 8px;
}

.fit-band,
.checkout-band {
  padding: clamp(48px, 8vw, 112px) clamp(18px, 5vw, 70px);
  background: #172019;
  color: #fffdf8;
}

.fit-grid,
.checkout-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.fit-band .eyebrow,
.checkout-band .eyebrow {
  color: #d3b56d;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  min-height: 142px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 253, 248, 0.06);
  color: rgba(255, 253, 248, 0.82);
  line-height: 1.45;
}

.fit-list strong {
  display: block;
  color: #fffdf8;
  margin-bottom: 7px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  background: #172019;
}

.gallery img {
  width: 100%;
  height: clamp(280px, 52vw, 680px);
  object-fit: cover;
  border-radius: 6px;
}

.gallery .wide {
  grid-row: span 2;
  height: 100%;
}

.kit-section {
  padding: clamp(50px, 8vw, 108px) clamp(18px, 5vw, 70px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.74);
}

.product-card.focus {
  background: #eef1e9;
  border-color: #b8c1ad;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.card-bottom span {
  font-size: 26px;
  font-weight: 850;
}

.product-card button {
  min-width: 74px;
  min-height: 42px;
  background: var(--ink);
  color: white;
}

.product-card button:disabled {
  cursor: not-allowed;
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

.checkout-band p {
  max-width: 62ch;
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.5;
}

.checkout-panel {
  border-radius: 8px;
  padding: clamp(18px, 3vw, 30px);
  background: #fffdf8;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.checkout-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.checkout-panel select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

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

.price-line.subtle {
  color: var(--muted);
}

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

.full {
  width: 100%;
  margin-top: 20px;
}

.fine {
  margin: 14px 0 0;
  color: var(--muted) !important;
  font-size: 12px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(18px, 5vw, 70px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.success {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.success-panel {
  width: min(720px, 100%);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 64px);
}

.success-panel h1 {
  max-width: 11ch;
  font-size: clamp(44px, 8vw, 84px);
}

.success-panel p:not(.eyebrow) {
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.5;
}

.link-button {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .hero,
  .fit-grid,
  .checkout-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
  }

  h1,
  h2 {
    max-width: 12ch;
  }

  .lede,
  .hero-actions,
  .proof-row,
  .eyebrow {
    max-width: 36ch;
  }

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

  .product-card.focus {
    grid-column: span 2;
  }
}

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

  nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 24px;
    gap: 24px;
  }

  h1,
  h2 {
    max-width: 12ch;
  }

  h1 {
    font-size: clamp(36px, 10vw, 50px);
    line-height: 1.02;
  }

  .hero-media {
    min-height: 0;
    aspect-ratio: 1 / 0.95;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  .proof-row span {
    width: 100%;
  }

  .fit-list,
  .gallery,
  .kit-grid {
    grid-template-columns: 1fr;
  }

  .gallery .wide,
  .gallery img {
    height: auto;
    min-height: 0;
  }

  .product-card.focus {
    grid-column: auto;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
