:root {
  --canvas: #111214;
  --surface: #17181B;
  --raised: #1D1F22;
  --overlay: #24262A;
  --border: #2A2C30;
  --border-strong: #3A3D42;
  --text: #ECEDEE;
  --text-2: #A4A7AD;
  --text-3: #7E8288;
  --accent: #8DA2CF;
  --accent-subtle: rgba(141, 162, 207, 0.12);
  --accent-border: rgba(141, 162, 207, 0.42);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --max: 1080px;
  --font: "Instrument Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--canvas);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(17, 18, 20, 0.86);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: var(--text); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.mark {
  width: 32px; height: 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: grid; place-items: center;
  font-weight: 600; letter-spacing: 0.04em; font-size: 15px;
}
.wordmark {
  font-weight: 600; letter-spacing: 0.28em; font-size: 13px;
}
.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit; font-weight: 500; font-size: 14px;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--text); color: var(--canvas); }
.btn-primary:hover { background: #D3D5D8; }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--raised); }
.btn-accent {
  background: var(--accent-subtle); color: var(--accent); border-color: var(--accent-border);
}
.btn-accent:hover { background: rgba(141, 162, 207, 0.18); }
.btn[aria-disabled="true"], .btn:disabled {
  opacity: 0.55; cursor: not-allowed; pointer-events: none;
}

.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
}
.eyebrow {
  color: var(--text-3); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 1rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12; letter-spacing: -0.03em; font-weight: 600;
}
.lead {
  margin: 0; max-width: 36rem;
  color: var(--text-2); font-size: 1.05rem; line-height: 1.65;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 220px;
}
.hero-panel p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.placeholder {
  border: 1px dashed var(--border-strong);
  background: var(--raised);
  color: var(--text-3);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
}

section.block { padding: 3.25rem 0; border-top: 1px solid var(--border); }
section.block h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem; letter-spacing: -0.02em; font-weight: 600;
}
section.block .copy {
  max-width: 40rem; color: var(--text-2); margin: 0 0 1.25rem;
}
.grid-3 { display: grid; gap: 1rem; }
@media (min-width: 740px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.2rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 600; }
.card p { margin: 0; color: var(--text-2); font-size: 0.92rem; }

.photo-grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 740px) {
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
}
.photo-slot {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  background: var(--raised);
  color: var(--text-3);
  display: grid; place-items: center;
  text-align: center; padding: 0.75rem; font-size: 0.82rem;
}

.social-list {
  display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0;
}
.social-list a, .social-list span {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 0.9rem; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface); color: var(--text-2); font-size: 0.9rem;
}
.social-list a:hover { border-color: var(--accent-border); color: var(--accent); text-decoration: none; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  color: var(--text-3); font-size: 0.88rem;
}
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 740px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.site-footer h4 {
  margin: 0 0 0.75rem; color: var(--text-2);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.35rem 0; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  justify-content: space-between; color: var(--text-3);
}

.platform-grid { display: grid; gap: 1rem; }
@media (min-width: 740px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}
.platform {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.85rem; min-height: 220px;
}
.platform h2 { margin: 0; font-size: 1.1rem; }
.platform p { margin: 0; color: var(--text-2); flex: 1; font-size: 0.92rem; }
.badge {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-3); border: 1px solid var(--border); width: fit-content;
}
.platform .install-hint {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
}
.platform .install-hint ol {
  margin: 0.45rem 0 0;
  padding-left: 1.15rem;
}
.platform .install-hint li { margin: 0.2rem 0; color: var(--text-2); }
.platform .btn + .btn { margin-top: 0.15rem; }

.legal { padding: 3rem 0 4rem; }
.legal h1 { margin: 0 0 0.5rem; font-size: 1.85rem; letter-spacing: -0.02em; }
.legal .meta { color: var(--text-3); margin: 0 0 2rem; font-size: 0.9rem; }
.legal h2 { margin: 2rem 0 0.75rem; font-size: 1.15rem; }
.legal h3 { margin: 1.35rem 0 0.5rem; font-size: 1rem; color: var(--text); }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 1.2rem; }
.legal .callout {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--accent);
  background: var(--accent-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
}
.page-narrow { width: min(100% - 2rem, 760px); margin-inline: auto; }
