:root {
  --bg: #f5eee8;
  --surface: #fffaf5;
  --text: #38261f;
  --muted: #7e573f;
  --faint: #b28767;
  --border: #d9c8bb;
  --border-strong: #c8a58b;
  --coffee: #664636;
  --coffee-deep: #4e362b;
  --max: 920px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--coffee-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--text); }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
}
.nav-links a:hover { color: var(--text); }
.lang {
  color: var(--text) !important;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
}

.hero {
  display: grid;
  gap: 2rem;
  padding: 2.75rem 0 2rem;
}
.hero-copy { max-width: 36rem; }
h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 650;
}
.lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.925rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--coffee-deep);
  color: #fffaf5;
}
.btn-primary:hover {
  background: var(--text);
  color: #fffaf5;
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--coffee);
}
.meta {
  margin: 0;
  color: var(--faint);
  font-size: 0.82rem;
}

.shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(56, 38, 31, 0.04), 0 18px 40px rgba(56, 38, 31, 0.08);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  font-weight: 650;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}
.platforms li {
  font-size: 0.8rem;
  color: var(--coffee);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.points li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.points li:last-child { border-bottom: 0; }
.points strong {
  font-size: 0.9rem;
  font-weight: 650;
}
.points span {
  color: var(--muted);
  font-size: 0.925rem;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare th,
.compare td {
  text-align: left;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare th {
  color: var(--faint);
  font-weight: 550;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare td { color: var(--muted); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--text); font-weight: 550; width: 28%; }

.install {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
}
.install h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 650;
}
.install p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.install .note {
  margin-top: 0.65rem;
  color: var(--faint);
  font-size: 0.8rem;
}
pre {
  margin: 0.65rem 0 0;
  padding: 0.85rem 0.95rem;
  background: var(--coffee-deep);
  color: #f8efe8;
  border-radius: 8px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.45;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--faint);
  font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq p {
  margin: 0.55rem 0 0.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 40rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0 2.2rem;
  color: var(--faint);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}
.footer a {
  color: var(--muted);
  text-decoration: none;
}
.footer a:hover { color: var(--text); }

@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .nav-links a:not(.lang) { display: none; }
  .points li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .install { grid-template-columns: 1fr; }
  .hero { padding-top: 1.75rem; }
}
