:root {
  color-scheme: light;
  --ink: #2b151c;
  --muted: #725f65;
  --paper: #fffaf7;
  --paper-strong: #ffffff;
  --line: #eadde0;
  --brand: #b3173d;
  --brand-dark: #7b0d2a;
  --accent: #ee6a5f;
  --focus: #2457d6;
  --shadow: 0 18px 54px rgba(89, 24, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(238, 106, 95, 0.16), transparent 28rem),
    radial-gradient(circle at 8% 24%, rgba(179, 23, 61, 0.08), transparent 22rem),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

a {
  color: var(--brand-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--brand);
}

a:focus-visible,
summary:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-header {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
}

.site-nav a[aria-current="page"] {
  color: var(--brand);
  font-weight: 700;
}

main,
.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: 540px;
  padding: 80px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 64px;
}

.hero > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.5vw, 23px);
  overflow-wrap: anywhere;
}

.actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
  color: #fff;
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-button {
  box-shadow:
    0 10px 24px rgba(123, 13, 42, 0.2),
    0 2px 5px rgba(123, 13, 42, 0.14);
}

.store-button:hover {
  box-shadow:
    0 12px 28px rgba(123, 13, 42, 0.24),
    0 3px 7px rgba(123, 13, 42, 0.16);
}

.button.secondary {
  background: transparent;
  color: var(--brand-dark);
}

.button.secondary:hover {
  background: #fff;
  color: var(--brand);
}

.store-status {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.store-status span {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #f7dfe4;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.radio-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  border: 1px solid rgba(179, 23, 61, 0.16);
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff 5%, #fcecef 100%);
  box-shadow: var(--shadow);
}

.radio-card::before,
.radio-card::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(179, 23, 61, 0.16);
  border-radius: 50%;
}

.radio-card::before {
  width: 280px;
  height: 280px;
  right: -118px;
  top: -100px;
}

.radio-card::after {
  width: 180px;
  height: 180px;
  right: -70px;
  top: -50px;
}

.radio-card img {
  width: 112px;
  height: 112px;
}

.now-playing {
  margin-top: 58px;
}

.now-playing small {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.now-playing strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.progress {
  height: 5px;
  margin-top: 24px;
  border-radius: 999px;
  background: rgba(123, 13, 42, 0.12);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.section {
  padding: 74px 0;
}

.section-intro {
  max-width: 720px;
  margin: -6px 0 32px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.notice,
.policy-section,
details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.card {
  padding: 26px;
}

.card p,
.policy-section p,
.policy-section li,
details p {
  color: var(--muted);
}

.notice {
  padding: 26px 30px;
  border-color: rgba(179, 23, 61, 0.24);
  background: #fff3f3;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-dark);
}

.page-head {
  padding: 76px 0 42px;
  max-width: 780px;
}

.page-head h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.meta {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

.policy {
  display: grid;
  gap: 18px;
  padding-bottom: 80px;
}

.policy-section {
  padding: 30px;
}

.policy-section > :last-child,
.card > :last-child,
.notice > :last-child,
details > :last-child {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 15px;
}

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

th {
  color: var(--ink);
  font-weight: 750;
}

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

details {
  padding: 20px 24px;
}

details + details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 750;
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 46px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .radio-card {
    min-height: 290px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .policy-section {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition-property: background-color, color, box-shadow, transform;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  }

  .button:active {
    transform: scale(0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
