:root {
  --bg: #0a0a0b;
  --ink: #ececee;
  --muted: #8a8d94;
  --faint: #565961;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --panel: rgba(255, 255, 255, 0.02);
  --red: #ef2532;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.75rem;
}
@media (max-width: 640px) {
  .wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

nav.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 11, 0.85);
  border-bottom: 1px solid var(--line);
}
nav.bar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}
.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--ink);
}
.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0a0a0b;
  background: var(--ink);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 9px;
  transition: background 0.15s;
}
.nav-cta:hover {
  background: #fff;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}
.wordmark-img {
  height: 72px;
  width: auto;
  max-width: 100%;
  margin-bottom: 1.75rem;
}
.hero h1 {
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
}
.hero h1 .accent {
  color: var(--red);
}
.hero p.lead {
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0 0 2rem;
  max-width: 46ch;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s;
}
.btn-icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.btn-label {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.btn-size {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.65;
  min-height: 1em;
}
.btn-primary {
  background: var(--ink);
  color: #0a0a0b;
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: #fff;
}
.btn-primary[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.btn-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.version-pill {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: var(--mono);
  min-height: 1.2em;
}
.stat {
  margin: 1.1rem 0 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--faint);
}
.stat .stat-num {
  color: var(--ink);
  font-weight: 700;
}

/* App mockup — restrained, monochrome */
.mock {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: #060607;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4%;
  padding: 7%;
}
.mock .topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4% 5% 0;
  font-family: var(--mono);
  font-size: clamp(0.55rem, 1.5vw, 0.8rem);
  color: var(--faint);
}
.mock .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--muted);
}
.mock .live::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--red);
}
.mock .cue {
  font-size: clamp(0.68rem, 2vw, 0.95rem);
  color: var(--muted);
  letter-spacing: 0.01em;
}
.mock .digits {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(3rem, 15vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.mock .track {
  width: 76%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.mock .fill {
  height: 100%;
  width: 64%;
  border-radius: 999px;
  background: var(--ink);
}
.float-phone {
  position: absolute;
  right: -5%;
  bottom: -8%;
  width: 33%;
  min-width: 118px;
  background: #101013;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
}
.float-phone .fp-label {
  font-family: var(--mono);
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--faint);
  margin-bottom: 0.4rem;
}
.float-phone .fp-time {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
}
.float-phone .fp-btns {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.55rem;
}
.float-phone .fp-btns span {
  flex: 1;
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
}
.float-phone .fp-btns span.on {
  background: var(--ink);
}

/* Sections */
.section {
  padding: 5rem 0;
}
.label {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--faint);
  margin: 0 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: 1.5rem;
  transition: background 0.18s;
}
.feature:hover {
  background: rgba(255, 255, 255, 0.025);
}
.feature .ficon {
  width: 22px;
  height: 22px;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.feature .ficon svg {
  width: 22px;
  height: 22px;
}
.feature h3 {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Changelog */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.cl-entry {
  position: relative;
  margin-bottom: 2.25rem;
}
.cl-entry::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}
.cl-entry:first-child::before {
  background: var(--red);
  border-color: var(--red);
}
.cl-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}
.cl-version {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
}
.cl-date {
  color: var(--faint);
  font-size: 0.8rem;
  font-family: var(--mono);
}
.cl-list {
  margin: 0;
  padding-left: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.cl-list li {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

footer {
  border-top: 1px solid var(--line);
}
footer .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: var(--faint);
  font-size: 0.85rem;
  font-family: var(--mono);
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
.foot-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.foot-links a {
  color: var(--muted);
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
