:root {
  --ink: #16171a;
  --muted: #626774;
  --line: #e5e7eb;
  --panel: #ffffff;
  --paper: #f7f7f4;
  --accent: #fb5a1f;
  --accent-dark: #c83f12;
  --cyan: #17a8bd;
  --green: #63b82f;
  --magenta: #c72ca8;
  --shadow: 0 18px 60px rgba(18, 20, 24, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  background: rgba(22, 23, 26, .88);
  color: #fff;
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  letter-spacing: .02em;
}

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

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  outline: none;
}

.nav-links .buy-link {
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: end;
  isolation: isolate;
  color: #fff;
  background: #18191d;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/header.jpg") center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, .22), rgba(10, 10, 12, .52) 42%, rgba(10, 10, 12, .9)),
    linear-gradient(90deg, rgba(10, 10, 12, .82), rgba(10, 10, 12, .34) 64%, rgba(10, 10, 12, .8));
  content: "";
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 52px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #ffb996;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

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

.button.text {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 32px));
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, .16);
}

.stat {
  min-height: 84px;
  padding: 16px;
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(14px);
}

.stat strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
}

.stat span {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: #fff;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  color: var(--muted);
  font-size: 19px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 30px rgba(18, 20, 24, .06);
}

.feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #ddd;
}

.feature-body {
  padding: 22px;
}

.feature-body p,
.timeline p,
.buy-copy p,
.contact p,
.confirm-panel p {
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}

.showcase-media {
  overflow: hidden;
  border-radius: 8px;
  background: #f3f3ef;
  box-shadow: var(--shadow);
}

.showcase-media img {
  width: 100%;
  padding: 22px;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  counter-increment: steps;
  content: counter(steps);
}

.video-wrap {
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.video-fallback a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}

.buy-section {
  background: #16171a;
  color: #fff;
}

.buy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 520px);
  gap: 36px;
  align-items: start;
}

.buy-copy .lead,
.buy-copy p {
  color: rgba(255, 255, 255, .75);
}

.stock-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(99, 184, 47, .16);
  color: #b9f293;
  font-size: 13px;
  font-weight: 900;
}

.stock::before {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #70d542;
  content: "";
}

.stock.out-of-stock {
  display: none;
  border: 1px solid rgba(255, 107, 107, .36);
  background: rgba(229, 72, 77, .2);
  color: #ffc7c9;
}

.stock.out-of-stock::before {
  background: #e5484d;
}

.out-of-stock-panel {
  display: none;
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 107, 107, .38);
  border-radius: 8px;
  background: rgba(229, 72, 77, .12);
}

.out-of-stock-panel h3 {
  color: #fff;
}

.out-of-stock-panel a {
  color: #fff;
  font-weight: 800;
  text-underline-offset: 3px;
}

body.stock-in .stock.out-of-stock {
  display: none !important;
}

body.stock-out .stock.in-stock {
  display: none !important;
}

body.stock-out .stock.out-of-stock {
  display: inline-flex !important;
}

body.stock-out .out-of-stock-panel {
  display: block;
}

.despatch-delayed {
  display: none;
}

body.stock-out .despatch-standard {
  display: none;
}

body.stock-out .despatch-delayed {
  display: block;
}

.buy-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
  overflow: hidden;
}

.price {
  margin-bottom: 4px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.shipping {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .7);
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  color: rgba(255, 255, 255, .86);
}

.terms-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
}

#paypal-buttons-hidden {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, .28);
  border-radius: 8px;
}

#paypal-buttons-hidden img {
  width: 200px;
  opacity: .48;
}

#paypal-button-container {
  display: none;
  width: 100%;
  max-width: 100%;
  padding-right: 8px;
}

#paypal-button-container iframe {
  max-width: 100% !important;
}

body.modal-open #paypal-buttons-hidden,
body.modal-open #paypal-button-container {
  display: none !important;
}

.confirm-panel,
.status-message {
  display: none;
  margin-top: 18px;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.status-message {
  font-size: 18px;
}

.error-message {
  border-left: 5px solid #e5484d;
}

.address {
  margin: 14px 0;
  padding: 16px;
  border-radius: 8px;
  background: #f3f4f6;
  font-weight: 750;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-note {
  margin-top: 38px;
  color: var(--muted);
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  padding: 20px;
  background: rgba(10, 10, 12, .62);
}

.modal.open {
  display: grid;
  place-items: center;
}

.modal-panel {
  width: min(900px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-header,
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.modal-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  overflow: auto;
  padding: 24px 30px;
}

.modal-body h3 {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.modal-body h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.modal-body li + li {
  margin-top: 8px;
}

@media (max-width: 860px) {
  .nav {
    min-height: 62px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 8px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 86px 0 36px;
  }

  .hero-strip,
  .feature-grid,
  .showcase,
  .buy-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

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

  .hero-actions,
  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .buy-card {
    padding: 20px;
    overflow: visible;
  }

  .showcase-media img {
    padding: 14px;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    max-height: calc(100vh - 20px);
  }

  .modal-body {
    padding: 20px;
  }
}
