/* Controls, dock, spec rows. Radius stays at zero. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.4rem;
  background-color: var(--brand-primary);
  background-image: var(--stripe-button);
  color: var(--text-on-primary);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--fast) var(--ease), background-position var(--fast) linear;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 32%,
    color-mix(in srgb, var(--text-inverse) 55%, transparent) 50%,
    transparent 68%
  );
  transform: translateX(-130%);
  transition: transform 480ms var(--ease);
  z-index: 1;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  background-position: 10px 0;
  color: var(--text-on-primary);
  text-decoration: none;
}

.btn:hover::after {
  transform: translateX(130%);
}

.price {
  margin: var(--space-4) 0 0;
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.note {
  margin: var(--space-3) 0 0;
  font-size: var(--text-sm);
  max-width: 36rem;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(8.5rem, 1.7fr) repeat(4, 1fr);
  min-height: var(--dock-h);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface-inverse);
  color: var(--text-inverse);
  background-image: var(--stripe-button);
  background-repeat: no-repeat;
  background-size: 100% 7px;
  background-position: top left;
}

.dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 44px;
  padding: 0.55rem 0.25rem 0.45rem;
  color: var(--text-inverse);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}

.dock a svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.dock a:hover {
  background: color-mix(in srgb, var(--text-inverse) 8%, transparent);
  color: var(--text-inverse);
  text-decoration: none;
}

.dock a.is-active,
.dock a[aria-current="page"] {
  background-color: var(--brand-primary);
  background-image: none;
  color: var(--text-on-primary);
}

.dock a.dock-brand {
  flex-direction: row;
  gap: 0.45rem;
  letter-spacing: 0.02em;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: none;
}

.dock-brand .mark {
  width: 1.35rem;
  height: 1.35rem;
}

@media (max-width: 759px) {
  .dock {
    grid-template-columns: 1.45fr repeat(4, 1fr);
  }

  .dock a.dock-brand {
    flex-direction: column;
    font-size: 0.62rem;
    letter-spacing: 0;
    line-height: 1;
  }

  .dock a {
    letter-spacing: 0.06em;
    font-size: 0.62rem;
    padding-inline: 0.1rem;
  }
}
