:root {
  color-scheme: dark;
  --bg: #030303;
  --panel: #0a0a0a;
  --panel-2: #101010;
  --line: rgba(255,255,255,.16);
  --line-strong: rgba(255,255,255,.42);
  --text: #f7f7f2;
  --muted: #a2a2a2;
  --quiet: #6d6d6d;
  --danger: #ff7c7c;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.055) 0 1px, transparent 1.5px) 0 0 / 44px 44px,
    radial-gradient(circle at 78% 36%, rgba(255,255,255,.035) 0 1px, transparent 1.5px) 0 0 / 67px 67px,
    linear-gradient(#030303, #050505);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input { font: inherit; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 34px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(3,3,3,.88);
  backdrop-filter: blur(18px);
}
.topbar .shell { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; }
.brand strong { font: italic 700 18px/1 Georgia, serif; }
.brand span { margin-top: 5px; color: var(--quiet); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; }
.back { color: var(--muted); text-decoration: none; font-size: 13px; }
.back:hover { color: var(--text); }

.hero { padding: 86px 0 52px; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
h1 { max-width: 860px; margin: 18px 0 20px; font: 500 clamp(48px, 8vw, 98px)/.94 Georgia, serif; letter-spacing: -.055em; }
.lede { max-width: 720px; margin: 0; color: #c8c8c8; font: 22px/1.55 Georgia, serif; }
.proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.proof span { border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; color: var(--muted); font-size: 12px; }

.catalogue { padding: 50px 0 90px; }
.catalogue-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.catalogue-head h2 { margin: 0; font: 500 28px/1.1 Georgia, serif; }
.catalogue-head p { margin: 0; color: var(--muted); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.product {
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.025), transparent 46%), var(--panel);
  display: flex;
  flex-direction: column;
}
.product-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: #080808; }
.product-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); opacity: .78; }
.product-media.no-image::before,
.product-media.no-image::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 110px; height: 1px; background: var(--line-strong); transform: translate(-50%,-50%) rotate(30deg); }
.product-media.no-image::after { transform: translate(-50%,-50%) rotate(-30deg); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.meta { display: flex; justify-content: space-between; gap: 10px; color: var(--quiet); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.product h3 { margin: 13px 0 8px; font: 500 25px/1.05 Georgia, serif; }
.product p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 22px; }
.price { font: 600 21px/1 Georgia, serif; }
.buy {
  appearance: none;
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 11px 16px;
  color: #050505;
  background: var(--text);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}
.buy:hover { background: transparent; color: var(--text); }
.buy:disabled { border-color: var(--line); background: transparent; color: var(--quiet); cursor: not-allowed; }

.how { padding: 0 0 95px; }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.how article { min-height: 180px; padding: 24px; background: var(--panel); }
.how article + article { border-left: 1px solid var(--line); }
.how b { color: var(--quiet); font-size: 10px; letter-spacing: .2em; }
.how h3 { margin: 35px 0 8px; font: 500 20px Georgia, serif; }
.how p { color: var(--muted); font-size: 13px; line-height: 1.55; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 42px; color: var(--quiet); font-size: 12px; }
.footer .shell { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.78); backdrop-filter: blur(10px); }
.dialog { width: min(500px,100%); border: 1px solid var(--line-strong); border-radius: 22px; padding: 26px; background: #090909; box-shadow: 0 26px 100px #000; }
.dialog-top { display: flex; justify-content: space-between; gap: 20px; }
.dialog h2 { margin: 0; font: 500 30px Georgia,serif; }
.close { appearance: none; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 25px; }
.dialog p { color: var(--muted); line-height: 1.5; }
.field { display: grid; gap: 8px; margin-top: 22px; }
.field label { color: var(--muted); font-size: 12px; }
.field input { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px; color: var(--text); background: #050505; outline: none; }
.field input:focus { border-color: var(--text); }
.checkout { width: 100%; margin-top: 14px; border: 1px solid var(--text); border-radius: 12px; padding: 14px; background: var(--text); color: #050505; cursor: pointer; font-weight: 800; }
.checkout:disabled { opacity: .55; cursor: wait; }
.fine { font-size: 11px; color: var(--quiet); }
.error { min-height: 18px; color: var(--danger); font-size: 12px; }
.fine a,.footer a,.consent a { color: var(--white); text-underline-offset: 3px; }
.consent { display:flex; gap:10px; align-items:flex-start; margin:16px 0; color:#c7c7c7; font-size:.78rem; line-height:1.45; }
.consent input { width:18px; height:18px; margin:1px 0 0; accent-color:#fff; flex:0 0 auto; }
.legal { max-width:780px; padding:72px 0 110px; }
.legal h1 { font-size:clamp(2.5rem,7vw,5.5rem); margin:0 0 18px; }
.legal h2 { margin:42px 0 10px; font-size:1.25rem; }
.legal p,.legal li { color:#b9b9b9; line-height:1.75; }
.legal a { color:#fff; }

.status-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.status-card { width: min(620px,100%); border: 1px solid var(--line); border-radius: 22px; padding: 38px; background: var(--panel); text-align: center; }
.status-card h1 { margin: 12px auto 20px; font-size: clamp(42px,8vw,76px); }
.status-card p { color: var(--muted); line-height: 1.65; }

@media (max-width: 850px) { .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 580px) {
  .hero { padding-top: 60px; }
  .grid { grid-template-columns: 1fr; }
  .catalogue-head { align-items: start; flex-direction: column; }
  .how-grid { grid-template-columns: 1fr; }
  .how article + article { border-left: 0; border-top: 1px solid var(--line); }
}
