:root {
  --paper: #f3efe8;
  --paper-2: #e8e0d4;
  --ink: #141313;
  --muted: #6d6862;
  --red: #a30f17;
  --red-dark: #78080e;
  --line: rgba(20, 19, 19, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 max(28px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 232, .92);
  backdrop-filter: blur(12px);
}
.wordmark { display: inline-flex; align-items: baseline; text-decoration: none; font-size: 24px; font-weight: 850; letter-spacing: -.06em; }
.wordmark span { color: var(--red); }
.wordmark strong { font-weight: 850; }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
nav a:hover { color: var(--red); }
main { overflow: hidden; }
.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  min-height: 660px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 92px 28px 82px;
  align-items: center;
}
.eyebrow { margin: 0 0 18px; color: var(--red); font: 750 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.04em; }
h1 { max-width: 720px; font-size: clamp(52px, 7vw, 91px); line-height: .94; }
.lead { max-width: 630px; margin: 31px 0; color: #4b4743; font-size: clamp(18px, 2vw, 22px); }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 28px; border-radius: 2px; background: var(--red); color: white; text-decoration: none; font-weight: 750; }
.button:hover { background: var(--red-dark); }
.case-art {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  border: 1px solid #bcb2a5;
  background: #161313;
  box-shadow: 16px 18px 0 #d8cec1;
  transform: rotate(1.7deg);
  overflow: hidden;
}
.case-art:before { content: ""; position: absolute; inset: 14px; z-index: 2; border: 1px solid rgba(255,255,255,.16); pointer-events: none; }
.case-art img { width: 100%; height: 100%; object-fit: cover; }
.stamp { position: absolute; right: 24px; bottom: 29px; padding: 7px 12px; border: 2px solid rgba(255,255,255,.65); color: white; font: 700 11px ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; transform: rotate(-8deg); }
.case-number { position: absolute; top: 26px; left: 27px; color: rgba(255,255,255,.75); font: 700 12px ui-monospace, monospace; letter-spacing: .15em; }
.games, .how, .facts, .contact { padding: 100px max(28px, calc((100vw - 1200px) / 2)); }
.games { background: #151313; color: white; }
.games .eyebrow { color: #eb6f75; }
.section-heading { display: grid; grid-template-columns: .38fr 1fr; gap: 30px; align-items: start; margin-bottom: 54px; }
.section-heading h2 { max-width: 820px; font-size: clamp(38px, 5.6vw, 70px); line-height: 1.01; }
.product { display: grid; grid-template-columns: 1.45fr .55fr; gap: 1px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.18); }
.product-main, .purchase-card { background: #1d1a1a; padding: clamp(28px, 5vw, 58px); }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.product-meta span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); color: #c7bfba; font: 650 11px ui-monospace, monospace; text-transform: uppercase; }
.product h3 { font-size: clamp(52px, 8vw, 100px); line-height: .9; }
.product-summary { max-width: 720px; margin: 35px 0; color: #d6ceca; font-size: 18px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.features li { position: relative; padding-left: 22px; color: #bdb5b1; font-size: 14px; }
.features li:before { content: ""; position: absolute; top: .62em; left: 0; width: 9px; height: 1px; background: #e34b54; }
.purchase-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.purchase-card > p { margin: 0; color: #bdb5b1; }
.price { margin: 12px 0 4px; font: 500 clamp(58px, 7vw, 82px)/1 Georgia, serif; }
.price span { font-size: .55em; }
.purchase-card .small { font-size: 13px; }
.status { width: 100%; margin: 31px 0 19px; padding: 16px; border-left: 3px solid #e34b54; background: rgba(227,75,84,.1); color: #eee6e2; font-size: 14px; }
.text-link { color: #f0a9ad; font-size: 13px; text-underline-offset: 4px; }
.how { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: steps; }
.steps li { min-height: 260px; padding: 28px 34px 32px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 34px; }
.steps li:last-child { border-right: 0; }
.steps span { color: var(--red); font: 700 12px ui-monospace, monospace; }
.steps h3 { margin-top: 48px; font-size: 29px; }
.steps p { max-width: 310px; color: var(--muted); }
.facts { background: var(--red); color: white; }
.facts .eyebrow { color: #ffd7d9; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.25); }
.facts-grid p { min-height: 160px; margin: 0; padding: 30px; background: var(--red); color: #f4dfe0; }
.facts-grid strong { display: block; margin-bottom: 12px; color: white; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.contact h2 { max-width: 500px; font-size: clamp(42px, 5vw, 66px); line-height: 1; }
.contact-card { padding: 34px; border: 1px solid var(--line); background: #faf7f1; }
.contact-card p { margin-top: 0; color: var(--muted); }
.contact-card a { display: inline-block; margin: 16px 0; color: var(--red); font-size: clamp(17px, 2vw, 22px); font-weight: 750; overflow-wrap: anywhere; }
.contact-card .hours { margin: 8px 0 0; font-size: 13px; }
footer { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 48px; padding: 55px max(28px, calc((100vw - 1200px) / 2)) 32px; border-top: 1px solid var(--line); background: #ded5c9; }
.footer-brand p { max-width: 250px; color: var(--muted); font-size: 13px; }
.footer-links, .legal { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
.footer-links a { text-underline-offset: 4px; }
.legal span, .legal a { color: #4f4a45; }
.copyright { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.document-page { max-width: 900px; margin: 0 auto; padding: 78px 28px 110px; }
.document-page .back { color: var(--red); font-weight: 700; text-decoration: none; }
.document-page h1 { margin: 46px 0 15px; font-size: clamp(42px, 6vw, 68px); }
.document-page .updated { margin-bottom: 50px; color: var(--muted); }
.document-page h2 { margin: 46px 0 14px; font-size: 30px; }
.document-page h3 { margin: 28px 0 10px; font-size: 21px; }
.document-page p, .document-page li { color: #403c38; }
.document-page li + li { margin-top: 9px; }
.document-note { margin: 30px 0; padding: 20px 24px; border-left: 3px solid var(--red); background: #e8dfd3; }
.requisites { display: grid; gap: 5px; padding: 24px; border: 1px solid var(--line); background: #faf7f1; }

@media (max-width: 820px) {
  .site-header { min-height: 62px; }
  nav { gap: 14px; }
  nav a:nth-child(2) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 60px; }
  .case-art { justify-self: center; width: min(88vw, 430px); }
  .section-heading, .product, .contact { grid-template-columns: 1fr; }
  .product { gap: 1px; }
  .features, .facts-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .steps h3 { margin-top: 25px; }
  footer { grid-template-columns: 1fr 1fr; }
  .legal { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-header { padding-inline: 18px; }
  nav a { font-size: 12px; }
  .hero, .games, .how, .facts, .contact { padding-left: 20px; padding-right: 20px; }
  .hero { gap: 46px; }
  h1 { font-size: 50px; }
  .section-heading { gap: 6px; }
  .product-main, .purchase-card { padding: 27px 22px; }
  .contact { gap: 36px; }
  footer { grid-template-columns: 1fr; padding-inline: 20px; }
  .legal { grid-column: auto; }
}
