:root {
  --paper: #fbfaf6;
  --ink: #101828;
  --muted: #667085;
  --line: #ddd6c6;
  --gold: #b68a35;
  --saffron: #d97706;
  --crimson: #9f1239;
  --teal: #0f766e;
  --blue: #1d4ed8;
  --night: #141226;
  --panel: rgba(255, 255, 255, .88);
  --shadow: 0 24px 70px rgba(16, 24, 40, .16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

button,
.button {
  min-height: 42px;
  border: 1px solid rgba(16, 24, 40, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  color: var(--ink);
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

button:hover,
.button:hover {
  border-color: var(--gold);
}

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button.full {
  width: 100%;
}

.site-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  min-height: 70px;
  padding: 12px clamp(16px, 5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(251, 250, 246, .82);
  border-bottom: 1px solid rgba(221, 214, 198, .78);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--night);
  color: #f7d983;
  font-weight: 900;
  border: 1px solid rgba(182, 138, 53, .58);
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
  line-height: 1.2;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.site-nav nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 7px 10px;
  color: #344054;
  font-size: 13px;
  font-weight: 750;
}

.site-nav nav a:hover {
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 86svh;
  padding: 128px clamp(18px, 6vw, 78px) 56px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, .96), rgba(251, 250, 246, .78) 45%, rgba(251, 250, 246, .38)),
    linear-gradient(180deg, #fffaf0, #f2f7f2);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .26;
  background-image:
    linear-gradient(rgba(20, 18, 38, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 18, 38, .10) 1px, transparent 1px);
  background-size: 52px 52px;
}

.hero-preview {
  position: absolute;
  right: clamp(-120px, -8vw, -24px);
  bottom: 34px;
  width: min(760px, 62vw);
  z-index: -1;
  transform: rotate(-4deg);
  filter: drop-shadow(0 34px 56px rgba(16, 24, 40, .28));
}

.hero-preview img {
  border: 1px solid rgba(16, 24, 40, .20);
  border-radius: 8px;
  background: #fff;
}

.hero-copy {
  max-width: 720px;
  display: grid;
  gap: 18px;
}

.kicker {
  margin: 0;
  color: var(--crimson);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--night);
  font-size: 74px;
  line-height: .95;
}

h2 {
  margin-bottom: 0;
  color: var(--night);
  font-size: 44px;
  line-height: 1;
}

h3 {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.15;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 0;
  color: #344054;
  font-size: 20px;
  line-height: 1.55;
}

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

.hero-facts {
  margin-top: 42px;
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-facts span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(182, 138, 53, .44);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  color: #533819;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 850;
}

.section {
  padding: clamp(46px, 7vw, 92px) clamp(18px, 6vw, 78px);
}

.thesis {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 68px);
  align-items: start;
  background: #141226;
  color: #f7f2df;
}

.thesis h2 {
  color: #fff5d6;
}

.thesis .kicker {
  color: #f6c36b;
}

.thesis p:last-child {
  margin-bottom: 0;
  max-width: 860px;
  color: #d7ddcf;
  font-size: 19px;
  line-height: 1.75;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(280px, 1fr) minmax(280px, .72fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  background: #fbfaf6;
}

.product-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.product-copy p {
  margin-bottom: 0;
  color: #344054;
  font-size: 17px;
  line-height: 1.65;
}

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

.spec-grid div,
.checkout-panel,
.dimension-grid div,
.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(16, 24, 40, .08);
}

.spec-grid div {
  min-height: 86px;
  padding: 14px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.spec-grid span,
.video-meta,
.payment-row span,
.fine-print,
.payment-pending span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.spec-grid strong {
  font-size: 19px;
}

.checkout-panel {
  padding: 18px;
  display: grid;
  gap: 16px;
  align-content: start;
  background: linear-gradient(180deg, #fff, #fff9ed);
}

.payment-list {
  display: grid;
  gap: 10px;
}

.payment-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(182, 138, 53, .38);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
}

.payment-row span,
.payment-row code {
  grid-column: 1 / -1;
}

.payment-row code {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #1f2937;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.payment-row button {
  justify-self: start;
  min-height: 34px;
  padding: 6px 10px;
}

.fine-print {
  margin-bottom: 0;
}

.payment-pending {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(217, 119, 6, .34);
  border-radius: 8px;
  background: #fff7ed;
}

.auth-chain {
  display: grid;
  gap: 8px;
}

.auth-chain span {
  min-height: 34px;
  display: flex;
  align-items: center;
  border-left: 3px solid var(--teal);
  background: rgba(15, 118, 110, .08);
  padding: 7px 10px;
  color: #134e4a;
  font-size: 13px;
  font-weight: 750;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
  display: grid;
  gap: 8px;
}

.dimensions {
  background: #eef7f5;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 10px;
}

.dimension-grid div {
  min-height: 126px;
  padding: 14px;
  display: grid;
  align-content: space-between;
  border-top: 4px solid var(--gold);
}

.dimension-grid strong {
  font-size: 18px;
}

.dimension-grid span {
  color: #475467;
  font-size: 13px;
  line-height: 1.45;
}

.videos {
  background: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.video-card {
  overflow: hidden;
  color: var(--ink);
}

.video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 78, 216, .52);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e6e1d4;
}

.video-card span,
.video-card strong {
  display: block;
  margin: 10px 12px 0;
}

.video-card strong {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.35;
}

.site-footer {
  min-height: 80px;
  padding: 22px clamp(18px, 6vw, 78px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  background: var(--night);
  color: #f7f2df;
  font-size: 13px;
}

.site-footer span:last-child {
  color: #c9d4ca;
}

@media (max-width: 1120px) {
  .product-section {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr);
  }

  .checkout-panel {
    grid-column: 1 / -1;
  }

  .dimension-grid,
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: static;
    align-items: flex-start;
    display: grid;
  }

  .site-nav nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 22px 0 0;
    transform: none;
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .hero-facts {
    order: 3;
    margin-top: 18px;
  }

  h1 {
    font-size: 44px;
    line-height: 1;
  }

  h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .hero-lede {
    font-size: 17px;
  }

  .thesis,
  .product-section,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .dimension-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .dimension-grid div {
    min-height: 96px;
  }
}
