:root {
  --bg-base: #f7f2e8;
  --surface: #fffdfa;
  --text-primary: #1f1b16;
  --text-secondary: #5f564b;
  --accent: #7d4a2b;
  --border: #d8cdbf;
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}

.lang-switch {
  font-size: 14px;
  color: var(--text-secondary);
}

.hero {
  padding: 36px 0 16px;
}

.hero-media {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-badge img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  line-height: 1.3;
}

h1 {
  font-size: clamp(28px, 5vw, 40px);
}

h2 {
  margin-top: 24px;
  font-size: clamp(22px, 4vw, 30px);
}

p {
  margin: 0 0 12px;
}

.muted {
  color: var(--text-secondary);
}

.section {
  padding: 14px 0;
}

.card-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.release-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 16px;
}

.release-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.release-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.download-btn {
  display: inline-block;
  margin: 10px 0 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.download-btn:hover,
.download-btn:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.screens {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.screen {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f1e7d9;
  min-height: 140px;
  padding: 12px;
  font-size: 14px;
  color: #4d4134;
}

.shot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.policy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.toc {
  font-size: 14px;
  margin-bottom: 16px;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding: 18px 0 28px;
  color: var(--text-secondary);
  font-size: 14px;
}

@media (max-width: 640px) {
  .header-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
