:root {
  --bg: #0b0b0c;
  --surface: #1c1c1f;
  --surface2: #232327;
  --text: #f5f3ee;
  --muted: #9b9a9d;
  --accent: #f5af3e;
  --accent-ink: #241a06;
  --sharp: #ff9f0a;
  --flat: #0a84ff;
  --border: rgba(255, 255, 255, 0.09);
  --max: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #141416, var(--bg));
}

header.site .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

header.site .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px var(--border);
}
header.site .mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

header.site nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
}

header.site nav a {
  color: var(--muted);
}
header.site nav a:hover { color: var(--text); }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 72px;
}

h1 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--text);
}

h2 {
  font-size: 21px;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
  color: var(--text);
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
  color: var(--text);
}

p { margin: 0 0 16px; color: var(--text); }
.muted { color: var(--muted); }

.lede {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin: 16px 0;
}

.badge {
  display: inline-block;
  background: rgba(245, 175, 62, 0.12);
  color: var(--accent);
  border: 1px solid rgba(245, 175, 62, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.notice {
  display: inline-block;
  background: rgba(255, 159, 10, 0.12);
  color: var(--sharp);
  border: 1px solid rgba(255, 159, 10, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  margin: 8px 0 20px;
}

/* Orb — a static echo of the app's live PulseOrb, colored by the same
   flat/in-tune/sharp signal the haptics encode. */
.orb-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 32px;
}
.orb {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.55), rgba(255,255,255,0) 32%),
    conic-gradient(from 220deg, var(--flat), var(--accent) 50%, var(--sharp));
  box-shadow: 0 0 60px rgba(245, 175, 62, 0.25), inset 0 0 30px rgba(0,0,0,0.35);
  position: relative;
}
.orb::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(11,11,12,0.05), rgba(11,11,12,0.55) 75%);
}

.cue-scale {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.cue-scale .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.cue-scale .flat-dot { background: var(--flat); }
.cue-scale .tune-dot { background: var(--accent); }
.cue-scale .sharp-dot { background: var(--sharp); }

.paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 32px;
}
@media (max-width: 480px) {
  .paths { grid-template-columns: 1fr; }
}

.path {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--surface);
}
.path .name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--accent);
}
.path .desc {
  font-size: 14px;
  color: var(--muted);
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
}
.cta:hover { text-decoration: none; background: #ffc266; }

ul, ol { padding-left: 22px; }
li { margin-bottom: 8px; color: var(--text); }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
footer.site .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
footer.site nav { display: flex; gap: 16px; }
footer.site nav a { color: var(--muted); }

.updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
