:root {
  color-scheme: dark;
  --ink: #09090a;
  --panel: #111113;
  --panel-soft: #18181b;
  --bone: #f5efe6;
  --muted: #bdb7ae;
  --acid: #b8ff19;
  --acid-deep: #77b900;
  --violet: #7b35c8;
  --red: #bd2332;
  --line: #2a2a2f;
  --radius: 14px;
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--bone);
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::selection, ::selection { background: var(--acid); color: var(--ink); }

body::-webkit-scrollbar { width: 11px; }
body::-webkit-scrollbar-track { background: var(--ink); }
body::-webkit-scrollbar-thumb { background: #424248; border: 3px solid var(--ink); border-radius: 99px; }

a { color: inherit; text-underline-offset: .22em; }
button, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--bone);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: .9; }
.brand small { margin-top: .35rem; color: var(--acid); font-size: .72rem; letter-spacing: .16em; }

.site-header nav { display: flex; align-items: center; gap: 1.6rem; }
.site-header nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; }
.site-header nav a:hover { color: var(--bone); }
.nav-action { padding: .62rem 1rem; color: var(--ink); background: var(--acid); border-radius: 999px; }
.nav-action:hover { color: var(--ink); background: #c9ff4f; }

.hero h1, h2, .product-copy h3 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--bone);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.button:hover { transform: translateY(-2px); border-color: #57575e; }
.button-primary { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.button-primary:hover { background: #c9ff4f; border-color: #c9ff4f; }
.button-quiet { background: #151518; }

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  border-block: 1px solid var(--line);
  background: var(--panel);
}
.fact-strip p { margin: 0; min-height: 112px; padding-top: 1.45rem; padding-right: clamp(1rem, 4vw, 4rem); padding-bottom: 1.45rem; padding-left: clamp(1rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.fact-strip p + p { border-left: 1px solid var(--line); }
.fact-strip strong { color: var(--bone); font-size: clamp(1rem, 1.8vw, 1.35rem); }
.fact-strip span { margin-top: .25rem; color: var(--muted); font-size: .84rem; }

.catalog-section, .how-section, .order-studio {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.section-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
h2 { margin: 0; font-size: clamp(3.5rem, 7vw, 6.4rem); }
.section-intro p, .order-heading p { max-width: 54ch; margin: 0; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter {
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.filter:hover { border-color: #55555c; color: var(--bone); }
.filter.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-card { min-width: 0; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.product-card[hidden] { display: none; }
.product-image { aspect-ratio: 4 / 5; overflow: hidden; background: #050506; }
.product-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-copy { min-height: 94px; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 1rem; }
.product-copy div { min-width: 0; }
.product-copy span { color: var(--acid); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.product-copy h3 { margin: .2rem 0 0; overflow-wrap: anywhere; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.product-copy strong { flex: none; color: var(--bone); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.choose-product {
  width: calc(100% - 2rem);
  min-height: 46px;
  margin: 0 1rem 1rem;
  border: 1px solid #4a4a50;
  border-radius: 9px;
  background: transparent;
  color: var(--bone);
  font-weight: 750;
  cursor: pointer;
}
.choose-product:hover { border-color: var(--acid); color: var(--acid); }
.product-card-featured { background: #171a12; }
.product-card-featured .choose-product { border-color: var(--acid); color: var(--acid); }

.order-studio {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  background: var(--bone);
  color: var(--ink);
}
.order-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.order-heading p { color: #5e5851; }
.order-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1rem, 4vw, 3.5rem); }
.order-selection, .message-preview { padding-top: 1.4rem; border-top: 3px solid var(--ink); }
.order-selection > label, .message-preview > label, .quantity-row > span { display: block; margin-bottom: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
select, textarea {
  width: 100%;
  border: 1px solid #b9b0a5;
  border-radius: 10px;
  background: #fffdf9;
  color: var(--ink);
}
select { min-height: 52px; padding: .75rem; }
textarea { min-height: 150px; padding: 1rem; resize: vertical; line-height: 1.5; }
.quantity-row { display: flex; align-items: center; justify-content: space-between; margin-top: 1.6rem; }
.quantity-row > span { margin: 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #b9b0a5; border-radius: 10px; overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: #fffdf9; color: var(--ink); cursor: pointer; font-size: 1.3rem; }
.stepper button:hover { background: #eee8df; }
.stepper button:disabled { background: #e8e2d9; color: #8b837a; cursor: not-allowed; }
.stepper output { min-width: 45px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.order-total { margin-top: 1.5rem; padding-top: 1rem; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; border-top: 1px solid #c9c0b5; }
.order-total strong { color: #4b7300; font-size: 1.55rem; font-variant-numeric: tabular-nums; }
.order-total small { grid-column: 1 / -1; color: #6b645c; }
.message-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.order-studio .button-quiet, .channel-button { border-color: #9d9489; color: var(--ink); }
.channel-button[aria-disabled="true"] { opacity: .48; cursor: not-allowed; }
.contact-status { margin: .75rem 0 0; color: #6b645c; font-size: .8rem; }

.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.steps > li > span { font-family: "Bebas Neue", sans-serif; color: var(--violet); font-size: 2.7rem; line-height: 1; }
.steps h3 { margin: 0; font-size: 1.05rem; }
.steps p { margin: .35rem 0 0; color: var(--muted); }

.closing-section {
  min-height: 66vh;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(4rem, 10vw, 8rem) max(1rem, calc((100% - var(--max)) / 2));
  background: var(--red);
  color: #fff;
}
.closing-section h2 { max-width: 8ch; }
.closing-section p { margin: .5rem 0 0; font-size: 1.1rem; }
.closing-section .button-primary { flex: none; background: var(--ink); border-color: var(--ink); color: #fff; }

footer {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
}
footer p { color: var(--muted); font-size: .82rem; }
footer > div { display: flex; gap: 1rem; font-size: .82rem; }
.footer-brand img { width: 38px; height: 38px; }

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #1a1a1d;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0,0,0,.5);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; color: var(--muted); font-size: .82rem; }
.consent-banner > div { display: flex; gap: .5rem; flex: none; }
.consent-banner button { min-height: 42px; padding: .55rem .75rem; border: 1px solid #55555c; border-radius: 8px; background: transparent; color: var(--bone); cursor: pointer; }
.consent-banner button:last-child { background: var(--acid); border-color: var(--acid); color: var(--ink); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  z-index: 80;
  max-width: calc(100% - 2rem);
  padding: .75rem 1rem;
  background: var(--acid);
  color: var(--ink);
  border-radius: 9px;
  font-weight: 750;
  box-shadow: 0 14px 32px rgba(0,0,0,.45);
  transform: translate(-50%, calc(100% + 3rem));
  transition: transform .35s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); }

.legal-page { width: min(calc(100% - 2rem), 760px); margin: 0 auto; padding: 5rem 0 7rem; }
.legal-page h1 { margin: 0 0 2rem; font-family: "Bebas Neue", sans-serif; font-size: clamp(4rem, 9vw, 7rem); line-height: .9; font-weight: 400; }
.legal-page h2 { margin-top: 2.5rem; font-family: "Barlow", sans-serif; font-size: 1.35rem; font-weight: 800; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page .back-link { display: inline-block; margin-bottom: 3rem; color: var(--acid); font-weight: 700; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-intro, .order-heading { grid-template-columns: 1fr; align-items: start; }
  .order-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { min-height: 68px; }
  .site-header nav > a:not(.nav-action) { display: none; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip p { min-height: 88px; }
  .fact-strip p + p { border-left: 0; border-top: 1px solid var(--line); }
  .catalog-section, .how-section, .order-studio { padding-top: 5rem; padding-bottom: 5rem; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .product-copy { min-height: 110px; padding: .8rem; flex-direction: column; align-items: start; }
  .product-copy h3 { font-size: 1.65rem; }
  .choose-product { width: calc(100% - 1.6rem); margin: 0 .8rem .8rem; }
  .closing-section { min-height: 54vh; flex-direction: column; align-items: start; justify-content: end; }
  footer { grid-template-columns: 1fr; padding: 2.5rem 0; gap: .8rem; }
  .consent-banner { align-items: stretch; flex-direction: column; }
  .consent-banner > div { flex-wrap: wrap; }
}

@media (max-width: 430px) {
  .brand span { font-size: .84rem; }
  .nav-action { padding-inline: .85rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-copy { min-height: 88px; flex-direction: row; align-items: end; }
  .message-actions .button { width: 100%; }
  .steps li { grid-template-columns: 52px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

