/* Harmecs Browser – typography and palette from the app chrome */
:root {
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #222222;
  --fg: #ededed;
  --muted: #8e8e8e;
  --border: #ffffff1c;
  --accent: #c8c8c8;
  --accent2: #9a9a9a;
  --on-accent: #0a0a0a;
  --accent-grad: linear-gradient(180deg, #f2f2f2, #b4b4b4);
  --radius: 10px;
  --shadow: 0 16px 40px #0006;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body {
  font: 16px/1.5 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  min-height: 100%;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wordmark { font-weight: 600; letter-spacing: 0; }

.wrap { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }

/* Top bar, like the browser chrome */
.top {
  position: sticky; top: 0; z-index: 10;
  height: 52px; display: flex; align-items: center;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 22px; height: 22px; }
.brand .wordmark { font-size: 14px; line-height: 1; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; width: min(1040px, calc(100% - 32px)); }
.top-cta {
  display: inline-flex; align-items: center; height: 28px;
  padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--on-accent); background: var(--accent-grad);
  border: 1px solid var(--border); text-decoration: none;
}
.top-cta:hover { opacity: .9; }

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.hero-emblem { width: 120px; height: 120px; margin: 0 auto 22px; }
.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero .pitch {
  margin: 0 auto 28px;
  max-width: 34em;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.dl {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none;
}
.dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 280px; height: 52px; padding: 0 28px;
  border-radius: 999px; font-size: 17px; font-weight: 650;
  color: var(--on-accent); background: var(--accent-grad);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px #00000066;
}
.dl:hover .dl-btn { opacity: .92; }
.dl-meta { color: var(--muted); font-size: 13px; }

/* Stylized chrome preview */
.preview { padding: 8px 0 64px; }
.chrome {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.chrome-bar {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.chrome-brand { display: flex; align-items: center; gap: 6px; flex: none; }
.chrome-brand img { width: 18px; height: 18px; }
.chrome-brand span { font-size: 13px; font-weight: 600; }
.addr {
  flex: 1; min-width: 0; height: 28px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 10px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  color: var(--muted); font-size: 12.5px;
}
.seg {
  display: flex; flex: none; border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; height: 28px;
}
.seg span {
  display: flex; align-items: center; padding: 0 10px;
  font-size: 11.5px; font-weight: 600; color: var(--muted);
}
.seg span.on { background: var(--bg3); color: var(--fg); }
.ai-pill {
  flex: none; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--on-accent);
  background: var(--accent-grad); border: 1px solid var(--border);
  display: flex; align-items: center;
}
.chrome-stage {
  height: min(360px, 52vw);
  display: grid; place-items: center;
  background: #000;
}
.chrome-stage img { width: min(180px, 38vmin); height: auto; }
@media (max-width: 720px) {
  .seg, .ai-pill { display: none; }
  .hero { padding: 48px 0 40px; }
}

/* Features */
.features { padding: 8px 0 72px; }
.features h2, .shots h2 {
  margin: 0 0 22px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 20px 18px;
}
.card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 650; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }
}

/* Screenshots */
.shots { padding: 0 0 80px; }
.shot-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.85fr;
  gap: 14px;
  align-items: start;
}
.shot {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 10px 14px;
  box-shadow: var(--shadow);
}
.shot img {
  width: 100%;
  border-radius: 10px;
  background: #fbfbfa;
}
.shot figcaption {
  margin: 10px 6px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
@media (max-width: 800px) {
  .shot-row { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13px;
}
footer .wrap { display: flex; flex-direction: column; gap: 10px; }
footer strong { color: var(--fg); font-weight: 600; }
.sha {
  font: 12px/1.5 ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  color: var(--accent2);
  overflow-wrap: anywhere;
  margin: 0;
}
.note { margin: 0; }
