/* The closed alpha (/alpha): the offer, the terms in brief, and what the alpha sees. Its one
   Relay slip, the promise carried forward to accepted testers, is styles.css's, shared with the
   home page; the rest keeps the site's non-ticket rows. */
.alpha-page h1, .alpha-page h2, .alpha-page h3 { font-family: var(--display); font-weight: 400; margin: 0; }

.alpha-intro { padding: clamp(2.5rem, 5vh, 4rem) var(--gutter) clamp(3rem, 5vw, 4.5rem); }
.alpha-intro h1 { max-width: none; font-size: clamp(3.5rem, 8vw, 8rem); line-height: 0.96; letter-spacing: -0.015em; }
.alpha-intro h1 span { display: block; white-space: normal; }
.alpha-section { padding: clamp(3rem, 5vw, 5rem) var(--gutter); border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(16rem, 0.38fr) minmax(0, 0.62fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.alpha-section h2 { font-size: clamp(3rem, 4.5vw, 5.25rem); line-height: 0.98; letter-spacing: -0.01em; }
.alpha-section h2 span { display: block; }
.alpha-section h2 span:last-child { color: var(--blue); }
.alpha-consent h2 span:last-child { color: var(--red); }
.alpha-section header p { max-width: 36ch; margin: 1.5rem 0 0; line-height: 1.5; }

.alpha-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); margin: 0; padding: 0; list-style: none; }
.alpha-cards li { padding: 1.5rem 0 1.75rem; border-top: 1px solid var(--ink); }
.alpha-cards .icon { width: 1.75rem; height: 1.75rem; color: var(--blue); }
.alpha-cards h3 { margin-top: 1rem; font-size: 2rem; line-height: 1; }
.alpha-cards p { max-width: 36ch; margin: 0.6rem 0 0; color: var(--muted); line-height: 1.5; }
.icon-wrench { --icon: url("assets/icons/wrench.svg"); }
.icon-chat { --icon: url("assets/icons/chat-circle-text.svg"); }
.icon-laptop { --icon: url("assets/icons/laptop.svg"); }
.icon-gift { --icon: url("assets/icons/gift.svg"); }
.icon-door { --icon: url("assets/icons/door-open.svg"); }

.alpha-terms { margin: 0; border-bottom: 1px solid var(--ink); }
.alpha-terms > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; padding-block: 1.1rem; border-top: 1px solid var(--ink); }
.alpha-terms dt { font-size: 0.85rem; font-weight: 700; }
.alpha-terms dd { max-width: 62ch; margin: 0; line-height: 1.55; }
.alpha-terms a, .alpha-cards a { text-underline-offset: 0.25rem; }

.alpha-join p { max-width: 46ch; margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; }

html[data-locale="zh"] .alpha-page :is(h1, h2, h3) { letter-spacing: -0.04em; }
html[data-locale="zh"] .alpha-intro h1 { font-size: clamp(3.3rem, 6.25vw, 6.75rem); font-weight: 600; line-height: 1.08; }
html[data-locale="zh"] .alpha-section h2 { font-size: clamp(2.35rem, 3.6vw, 3.8rem); font-weight: 500; line-height: 1.16; }
html[data-locale="zh"] .alpha-cards h3 { font-size: clamp(1.4rem, 1.8vw, 1.85rem); line-height: 1.2; }

@media (max-width: 980px) {
  .alpha-section { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  html[data-locale="zh"] .alpha-intro h1 { font-size: clamp(2.85rem, 7vw, 4.5rem); }
  html[data-locale="zh"] .alpha-section h2 { font-size: clamp(2rem, 5.25vw, 3rem); }
}

@media (max-width: 680px) {
  .alpha-cards { grid-template-columns: minmax(0, 1fr); }
  .alpha-terms > div { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
}
