:root {
  --bg: #ffffff;
  --ink: #0b0b0c;
  --mut: #6b6f75;
  --line: #e3e6ea;
  --acc: #ff3b00;
  --soft: #f3f4f6;

  --display: "Saira Condensed", Impact, sans-serif;
  --body: "Saira", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--acc);
  border-color: var(--acc);
}

a:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  max-width: 72ch;
  margin-bottom: 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

th, td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
}

th {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mut);
}

td {
  color: var(--ink);
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  margin-bottom: 1rem;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--acc);
  outline-offset: -1px;
  border-color: var(--acc);
}

button {
  cursor: pointer;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}

/* Layout */

.rr-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.rr-top {
  padding: 2rem 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.rr-brand {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.rr-brand b {
  color: var(--acc);
}

.rr-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  row-gap: .5rem;
}

.rr-nav a {
  font-family: var(--display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mut);
  border-bottom: none;
}

.rr-nav a:hover, .rr-nav a:focus-visible {
  color: var(--ink);
}

@media (max-width: 639px) {
  .rr-nav {
    gap: 1rem;
  }

  .rr-nav a {
    font-size: 0.85rem;
  }
}

/* Stripe */

.rr-stripe {
  display: block;
  width: 100%;
  flex: 0 0 100%;
  height: 6px;
  background: repeating-linear-gradient(135deg, var(--ink) 0 12px, transparent 12px 24px);
  margin-bottom: 2rem;
}

/* Hero */

.rr-hero {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}

.rr-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.rr-label, .rr-code {
  font-family: var(--display);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mut);
}

.rr-h1 {
  margin-bottom: 1.5rem;
}

.rr-lede {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 60ch;
}

/* Sections */

.rr-section {
  margin-bottom: 4rem;
}

.rr-h2 {
  margin-bottom: 1rem;
}

.rr-intro {
  font-size: 1.1rem;
  color: var(--mut);
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* Grid */

.rr-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .rr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .rr-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */

.rr-card {
  border: 1px solid var(--line);
  padding: 1.5rem;
  background-color: var(--bg);
  transition: box-shadow 0.2s ease;
}

.rr-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.rr-num {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--soft);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.rr-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.rr-card p {
  font-size: 0.95rem;
  color: var(--mut);
  margin-bottom: 0;
}

/* List */

.rr-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.rr-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
  flex-wrap: wrap;
}

.rr-k {
  font-family: var(--display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mut);
}

.rr-t {
  flex: 1;
  min-width: 200px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
}

.rr-v {
  font-family: var(--mono);
  font-size: 0.95rem;
  text-align: right;
  white-space: nowrap;
}

.rr-v.ok {
  color: var(--ink);
}

.rr-v.warn {
  color: var(--acc);
}

.rr-v.deny {
  color: var(--mut);
  text-decoration: line-through;
}

/* Floor */

.rr-floor {
  margin-bottom: 2rem;
}

.rr-bar {
  width: 100%;
  height: 8px;
  background-color: var(--soft);
  border: 1px solid var(--line);
  margin-bottom: 0.5rem;
}

.rr-fill {
  height: 100%;
  background-color: var(--acc);
  width: 0%;
  transition: width 0.3s ease;
}

.rr-floor-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--mut);
}

/* Forms */

.rr-form {
  margin-bottom: 3rem;
}

.rr-form input[type="checkbox"] {
  width: auto;
  display: inline-block;
  margin: 0 .5rem 0 0;
}

.rr-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 400;
}

.rr-btn {
  display: inline-block;
  padding: 0 1.5rem;
  height: 44px;
  background-color: var(--ink);
  color: var(--bg);
  border: none;
  font-size: 0.9rem;
}

.rr-btn:hover {
  background-color: var(--acc);
  color: var(--bg);
}

.rr-btn:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}

.rr-btn.ghost {
  background-color: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.rr-btn.ghost:hover {
  background-color: var(--soft);
  color: var(--ink);
}

/* Tiers */

.rr-tiers {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .rr-tiers {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .rr-tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rr-tier {
  border: 1px solid var(--line);
  padding: 2rem;
  text-align: center;
  background-color: var(--bg);
}

.rr-tier-name {
  font-family: var(--display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.rr-price {
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--acc);
  margin-bottom: 1rem;
  font-weight: 700;
}

.rr-tier-blurb {
  font-size: 0.95rem;
  color: var(--mut);
  margin-bottom: 1.5rem;
}

/* Player */

.rr-player {
  width: 100%;
  margin-bottom: 2rem;
}

.rr-player audio {
  width: 100%;
  height: 40px;
}

.rr-transcript {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-bottom: 3rem;
}

/* Footer */

.rr-foot {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  text-align: center;
}

.rr-foot p {
  font-family: var(--display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mut);
  margin-bottom: 1rem;
}

.rr-foot a {
  font-size: 0.75rem;
  color: var(--mut);
  border-bottom: none;
  margin: 0 0.5rem;
}

.rr-foot a:hover {
  color: var(--ink);
}
