/* Landing page only. Shares tokens with style.css. */
.landing main { max-width: 1080px; padding-top: 32px; }
.nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav nav { display: flex; gap: 20px; font-size: 15px; }
.nav nav a { color: var(--muted); text-decoration: none; }
.nav nav a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -1.5px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 21px; margin: 20px 0 28px; max-width: 30em; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px;
  border-radius: 12px; background: var(--text); color: var(--bg); text-decoration: none;
}
.store svg { width: 26px; height: 26px; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; opacity: 0.8; }
.store strong { font-size: 18px; font-weight: 600; }
.store[aria-disabled="true"] { cursor: default; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Phone mock of the tuner screen */
.phone {
  justify-self: center; width: 300px; aspect-ratio: 9 / 19.5; border-radius: 48px; padding: 12px;
  background: #0b0b0b; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 0 0 2px #2a2a2a;
}
.screen {
  height: 100%; border-radius: 37px; background: #121212; color: #fff; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 44px 18px 22px;
}
.screen .instr { font-size: 12px; color: #a9adab; text-align: center; line-height: 1.4; }
.screen .instr b { display: block; color: #fff; font-size: 14px; }
.screen .note-name { font-size: 96px; font-weight: 700; color: #00e676; line-height: 1; letter-spacing: -2px; }
.screen .note-name sup { font-size: 22px; color: #a9adab; vertical-align: top; position: relative; top: 14px; }
.screen .status { color: #00e676; font-weight: 600; font-size: 18px; text-align: center; }
.screen .status small { display: block; color: #a9adab; font-weight: 400; font-size: 12px; margin-top: 4px; }
.meter { position: relative; width: 100%; height: 76px; display: flex; align-items: center; justify-content: space-between; }
.meter i { width: 2px; border-radius: 2px; background: #4a4a4a; }
.meter i.c { width: 3px; background: #00e676; height: 100% !important; }
.meter .needle {
  position: absolute; left: 50%; top: -6px; bottom: -6px; width: 4px; margin-left: -2px; border-radius: 2px;
  background: #00e676; box-shadow: 0 0 12px #00e676; animation: settle 3.2s ease-in-out infinite;
}
@keyframes settle {
  0% { transform: translateX(-46px); background: #ff1744; box-shadow: 0 0 12px #ff1744; }
  35% { transform: translateX(-14px); background: #ffd601; box-shadow: 0 0 12px #ffd601; }
  60%, 100% { transform: translateX(0); background: #00e676; box-shadow: 0 0 12px #00e676; }
}
@media (prefers-reduced-motion: reduce) { .meter .needle { animation: none; } }
.chips { display: flex; gap: 6px; }
.chips span {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #3a3a3a; display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.chips span.on { background: #00e676; border-color: #00e676; color: #000; }
.chips span.done { border-color: #00e676; }

.features { margin-top: 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.feature svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }

.promise {
  margin-top: 96px; padding: 40px; border-radius: 28px; background: var(--chip-bg); color: var(--chip-text);
  display: grid; gap: 8px;
}
.promise h2 { margin: 0; font-size: 30px; color: inherit; }
.promise p { margin: 0; color: inherit; opacity: 0.85; font-size: 18px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; text-align: left; }
  .features { grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
  .promise { margin-top: 64px; padding: 28px; }
  .nav { margin-bottom: 32px; }
}
