.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.js .site-header.is-top .nav a:hover {
  color: var(--mint);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  min-height: 2.5rem;
  padding: 0.35rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn,
.orb {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn:hover {
  background: #6ff7d2;
  color: var(--mint-ink);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(243, 247, 245, 0.28);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: white;
  background: transparent;
  color: white;
}

.orb {
  width: 8.4rem;
  height: 8.4rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-ink);
  text-align: center;
  font-weight: 700;
  line-height: 1.15;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(62, 240, 192, 0.22);
}

.orb:hover {
  color: var(--mint-ink);
  background: #6ff7d2;
  transform: translateY(-2px);
}

.play-badge img {
  height: 3.1rem;
  width: auto;
}

.nav .play-badge img,
.sticky-play .play-badge img {
  height: 2.45rem;
}

.desk {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(62, 240, 192, 0.08), transparent 60%),
    var(--paper-deep);
}

.desk__card {
  background: #121a17;
  border: 1px solid rgba(243, 247, 245, 0.08);
  border-radius: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.wander-output {
  min-height: 7.5rem;
  margin: 1.4rem 0 0.4rem;
}

.wander-output p {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.choice {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.choice__label,
.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.field label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.field output {
  color: var(--mint);
  font-weight: 700;
}

input[type='range'] {
  width: 100%;
  accent-color: var(--mint);
}

.chips,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.chip {
  border: 1px solid rgba(243, 247, 245, 0.16);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  min-height: 2.4rem;
  padding: 0.3rem 0.8rem;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--mint);
}

.chip.is-selected {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
}

.fine {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.rhythm {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.rhythm li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.rhythm strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.steps {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
}

.steps li + li {
  margin-top: 0.55rem;
}

.table-scroll {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.compare {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.compare th,
.compare td {
  text-align: left;
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.compare thead th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare tbody th {
  color: var(--ink);
  font-weight: 600;
}

.faq {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}

.faq article {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.faq h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 0.55rem;
}

.sticky-play {
  display: none;
}

@media (min-width: 900px) {
  .rhythm {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.4rem 1.25rem 1.2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    color: var(--ink);
  }
}

@media (max-width: 799px) {
  .sticky-play {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(7, 12, 11, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
    transform: translateY(calc(100% + 2rem));
  }

  .sticky-play.is-visible {
    transform: none;
  }

  .sticky-play p {
    margin: 0;
    color: var(--ink);
    font-size: 0.92rem;
  }
}
