:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #1c1917;
  --muted: #57534e;
  --border: #e7e5e4;
  --accent: #2563eb;
  --live-bg: #dcfce7;
  --live-fg: #166534;
  --dev-bg: #fef3c7;
  --dev-fg: #92400e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0a09;
    --surface: #1c1917;
    --text: #f5f5f4;
    --muted: #a8a29e;
    --border: #292524;
    --accent: #60a5fa;
    --live-bg: #14532d;
    --live-fg: #bbf7d0;
    --dev-bg: #78350f;
    --dev-fg: #fde68a;
  }
}

* { box-sizing: border-box; margin: 0; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex; justify-content: space-between; align-items: center; height: 64px;
}
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand span { color: var(--muted); font-weight: 500; }
.site-header nav a { margin-left: 24px; color: var(--muted); font-weight: 500; }

.hero { padding: 96px 16px 64px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 18ch; }
.hero p { margin-top: 20px; font-size: 1.15rem; color: var(--muted); max-width: 56ch; }

.summary { list-style: none; padding: 0; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.summary li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.summary a { color: var(--text); }

.products { display: flex; flex-direction: column; gap: 32px; padding-bottom: 96px; }

.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  display: grid; gap: 36px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  scroll-margin-top: 24px;
}
.product-text { display: flex; flex-direction: column; gap: 12px; }
.product-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product h2 { font-size: 1.6rem; letter-spacing: -0.01em; }
.tagline { font-weight: 600; }
.product-text > p:not(.tagline) { color: var(--muted); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shots img {
  width: 100%; height: auto; display: block;
  border-radius: 14px; border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.shots-empty {
  display: flex; align-items: center; justify-content: center;
  min-height: 220px; border: 1px dashed var(--border); border-radius: 14px;
  color: var(--muted);
}

@media (max-width: 800px) {
  .product { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .shots { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shots img { scroll-snap-align: start; }
}

.news { padding-bottom: 96px; }
.news h2, .contact h2 { font-size: 1.5rem; margin-bottom: 20px; }
.news-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.news-col h3 { font-size: 1rem; margin-bottom: 12px; }
.news-col ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.news-col li { color: var(--muted); font-size: 0.95rem; border-left: 2px solid var(--border); padding-left: 14px; }
.news-col time { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text); }

.status {
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px;
}
.status-live { background: var(--live-bg); color: var(--live-fg); }
.status-dev { background: var(--dev-bg); color: var(--dev-fg); }

.facts { list-style: none; padding: 12px 0 0; border-top: 1px solid var(--border); font-size: 0.95rem; }
.facts li + li { margin-top: 4px; }

.links { margin-top: auto; padding-top: 8px; display: flex; gap: 20px; font-weight: 500; }

.contact { padding-bottom: 96px; }
.contact p { color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 480px) {
  .site-header nav a { margin-left: 14px; font-size: 0.95rem; }
  .shots-empty { display: none; }
}
