:root {
  --bg: #0b0b0b;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --ink: #f5f5f5;
  --muted: #b8b8b8;
  --faint: #7a7a7a;
  --red: #e23b3b;
  --red-hover: #c72f2f;
  --line: #2a2a2a;
  --ok: #d7e3d2;
  --font: "Inter", Helvetica, Arial, sans-serif;
  --display: "Barlow Condensed", "Inter", Helvetica, sans-serif;
  --wrap: min(1180px, calc(100% - 48px));
  --header: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 92px;
}

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

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

a:hover {
  color: var(--red);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 0.45em;
}

button,
input,
textarea,
select,
label {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  background: rgba(11, 11, 11, 0.94);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-burger span::before {
  top: -7px;
}

.nav-burger span::after {
  top: 7px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-left {
  justify-self: start;
}

.nav-right {
  justify-self: end;
}

.nav-left a,
.nav-panel a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 15px;
  color: var(--ink);
}

.logo:hover {
  color: var(--ink);
}

.logo-o {
  position: relative;
  display: inline-block;
  width: 1.05em;
  text-align: center;
}

.logo-o::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: 46%;
  height: 2px;
  background: var(--red);
}

.cart-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.cart-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.cart-link svg circle {
  fill: currentColor;
  stroke: none;
}

.nav-panel {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}

.btn:hover {
  color: #fff;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-hover);
  color: #fff;
}

.btn-ghost {
  border-color: #fff;
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: #111;
}

.btn-dark {
  background: #2a2a2a;
  color: #fff;
}

.btn-dark:hover {
  background: #3a3a3a;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  overflow: hidden;
  background: #000;
}

.hero-switch {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero-slides {
  min-height: calc(100vh - var(--header));
}

.hero-slide {
  display: none;
  min-height: calc(100vh - var(--header));
  background: #111 center/cover no-repeat;
  position: relative;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.12) 100%);
}

#hero-1:checked ~ .hero-slides .s1,
#hero-2:checked ~ .hero-slides .s2,
#hero-3:checked ~ .hero-slides .s3 {
  display: grid;
  align-items: end;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 48px));
  margin: 0 auto 11vh 6vw;
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 84px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  max-width: 11ch;
}

.hero p {
  font-size: 17px;
  max-width: 460px;
  color: #e8e8e8;
  margin-bottom: 28px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dots label {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #666;
  cursor: pointer;
}

#hero-1:checked ~ .hero-dots label[for="hero-1"],
#hero-2:checked ~ .hero-dots label[for="hero-2"],
#hero-3:checked ~ .hero-dots label[for="hero-3"] {
  background: #fff;
}

.s1 { background-image: url("../images/hero-desk.jpg"); }
.s2 { background-image: url("../images/lifestyle-evening.jpg"); }
.s3 { background-image: url("../images/lifestyle-office.jpg"); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 72px 0;
  text-align: center;
}

.stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 110px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-2);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.split img {
  width: 100%;
  height: min(620px, 72vh);
  object-fit: cover;
}

.kicker {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(40px, 5vw, 68px);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lead {
  font-size: 18px;
  color: #dedede;
  max-width: 52ch;
}

.note {
  color: var(--faint);
  font-size: 13px;
  margin-top: 20px;
}

/* Product teaser */
.product-teaser {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.product-teaser img {
  width: 100%;
  background: #0f0f0f;
}

.price {
  font-family: var(--display);
  font-size: 42px;
  margin: 12px 0 6px;
}

.price-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.catalog-card {
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0c0c0c;
}

.catalog-card .pad {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card h3 {
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.catalog-card .tag {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.catalog-card .price {
  font-size: 34px;
  margin: 8px 0 18px;
}

.catalog-card .btn-row {
  margin-top: auto;
}

.pick {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.pick label {
  display: grid;
  grid-template-columns: 18px 52px 1fr auto;
  gap: 10px;
  align-items: center;
  background: #0b0b0b;
  padding: 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
}

.pick img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.pick strong {
  color: var(--ink);
  display: block;
}

.pick label:has(input:checked) {
  background: #1c1c1c;
  color: var(--ink);
}

/* How */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.step h3 {
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
}

/* Use cases */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.case {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.case span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  font-family: var(--display);
  font-size: 32px;
  text-transform: uppercase;
}

.case::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72));
}

/* Trust */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust article h3 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.trust article p {
  color: var(--muted);
  font-size: 14px;
}

/* Disclaimer */
.disclaimer {
  padding: 28px 0 80px;
  color: var(--faint);
  font-size: 13px;
  max-width: 78ch;
}

/* Page hero */
.page-hero {
  padding: 72px 0 28px;
}

.page-hero h1 {
  font-size: clamp(46px, 7vw, 88px);
  text-transform: uppercase;
}

.page-hero p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 18px;
}

/* Product page */
.pdp {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  padding: 28px 0 90px;
  align-items: start;
}

.gallery-switch {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gallery {
  position: relative;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #101010;
  display: none;
}

#g1:checked ~ .gallery-main img.g1,
#g2:checked ~ .gallery-main img.g2,
#g3:checked ~ .gallery-main img.g3,
#g4:checked ~ .gallery-main img.g4 {
  display: block;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

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

.thumbs-3 {
  grid-template-columns: repeat(3, 1fr);
}

.thumbs label {
  cursor: pointer;
  display: block;
}

.thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.55;
}

#g1:checked ~ .thumbs label[for="g1"] img,
#g2:checked ~ .thumbs label[for="g2"] img,
#g3:checked ~ .thumbs label[for="g3"] img,
#g4:checked ~ .thumbs label[for="g4"] img {
  opacity: 1;
}

.buy h1 {
  font-size: clamp(42px, 5vw, 64px);
  text-transform: uppercase;
}

.spec {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.spec li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.spec strong {
  color: var(--ink);
  font-weight: 600;
}

.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.mode {
  background: var(--bg-3);
  padding: 20px;
}

.mode h3 {
  font-size: 22px;
  text-transform: uppercase;
}

/* Legal / FAQ / contact */
.legal,
.prose {
  max-width: 760px;
  padding-bottom: 90px;
}

.legal h2,
.prose h2 {
  font-size: 32px;
  text-transform: uppercase;
  margin: 36px 0 12px;
}

.legal h3,
.prose h3 {
  font-size: 22px;
  margin: 24px 0 8px;
}

.legal p,
.prose p,
.legal li,
.prose li {
  color: #d6d6d6;
}

.legal ul,
.prose ul {
  padding-left: 18px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin-top: 10px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 90px;
}

.contact-grid a:hover {
  color: var(--red);
}

/* Checkout */
.checkout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  padding: 20px 0 48px;
  align-items: start;
}

.card {
  background: var(--bg-2);
  padding: 28px;
}

.card h2 {
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field span {
  font-size: 13px;
  color: var(--muted);
}

.field input,
.field textarea {
  background: #0b0b0b;
  border: 1px solid #2e2e2e;
  color: var(--ink);
  padding: 12px 12px;
  border-radius: 0;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: none;
}

.pay {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #0b0b0b;
  padding: 14px;
  margin: 8px 0 18px;
}

.pay input {
  margin-top: 4px;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 16px 0 22px;
}

.checks label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}

.checks a {
  text-decoration: underline;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--muted);
}

.summary-line.total {
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
}

.summary-product {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.summary-product img {
  width: 88px;
  height: 88px;
  object-fit: cover;
}

.btn-block {
  width: 100%;
}

/* Modal */
.thanks {
  border: 0;
  width: min(520px, calc(100% - 32px));
  padding: 40px 32px;
  background: #161616;
  color: var(--ink);
  text-align: center;
}

.thanks::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.thanks h2 {
  font-size: 42px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.thanks p {
  color: var(--muted);
  margin-bottom: 26px;
}

/* Cookie */
.cookie-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: #161616;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-bar p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 70ch;
}

#cookie-ok:checked ~ .cookie-bar {
  display: none;
}

/* Footer */
.site-footer {
  background: #080808;
  padding: 72px 0 36px;
}

.footer-wordmark {
  font-family: var(--display);
  font-size: clamp(64px, 14vw, 180px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  margin: 0 0 48px;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-grid h2 {
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid p,
.footer-grid a {
  color: #d0d0d0;
}

.footer-note,
.copyright {
  color: var(--faint);
  font-size: 12px;
  margin-top: 16px;
}

/* Mobile */
@media (max-width: 900px) {
  :root {
    --wrap: min(100% - 32px, 1180px);
    --header: 64px;
  }

  .site-header {
    padding: 0 16px;
    grid-template-columns: 40px 1fr 40px;
  }

  .nav-left,
  .nav-right .btn {
    display: none;
  }

  .nav-burger {
    display: flex;
    justify-self: start;
  }

  .nav-panel {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #0b0b0b;
    padding: 20px 24px 28px;
    flex-direction: column;
    gap: 16px;
  }

  #nav-toggle:checked ~ .nav-panel {
    display: flex;
  }

  .hero h1 {
    font-size: 40px;
    max-width: none;
  }

  .hero-copy {
    margin: 0 16px 168px;
  }

  .stats,
  .steps,
  .cases,
  .trust,
  .split,
  .product-teaser,
  .catalog,
  .pdp,
  .checkout,
  .contact-grid,
  .modes,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .fields {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .split img,
  .case {
    min-height: 280px;
    height: 320px;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
  }

  .cookie-bar .btn {
    min-height: 42px;
  }
}
