:root {
  --rt-font-ja: "Noto Sans JP", sans-serif;
  --rt-font-en: "DM Sans", sans-serif;
  --rt-ink: #111111;
  --rt-ink-soft: #596068;
  --rt-surface: #ffffff;
  --rt-surface-soft: #f5f7f8;
  --rt-line: #dfe2e4;
  --rt-border-width: 2px;
  --rt-hairline-width: 1px;
  --rt-card-border: var(--rt-ink);
  --rt-card-icon: var(--rt-ink);
  --rt-dark: #0e0e0f;
  --rt-accent: #e74a2f;
  --rt-orange: #ff7a00;
  --rt-yellow: #ffb000;
  --rt-gradient: linear-gradient(90deg, var(--rt-accent), var(--rt-orange) 60%, var(--rt-yellow));
  --rt-gradient-text: linear-gradient(197deg, #ffca44 1%, #e8223d 101%);
  --rt-tracking-body: 0.02em;
  --rt-tracking-label: 0.08em;
  --rt-tracking-display: 0.06em;
  --rt-leading-body: 1.9;
  --rt-radius-sm: 4px;
  --rt-radius-md: 8px;
  --rt-space-1: 4px;
  --rt-space-2: 8px;
  --rt-space-3: 12px;
  --rt-space-4: 16px;
  --rt-space-6: 24px;
  --rt-space-8: 32px;
  --rt-space-12: 48px;
  --rt-space-16: 64px;
  --rt-space-20: 80px;
  --rt-space-24: 96px;
  --rt-space-30: 120px;
  --rt-content: 1152px;
  --rt-page-gutter: clamp(20px, 4vw, 56px);
  --rt-section-space: clamp(64px, 7vw, 112px);
  --rt-card-padding: var(--rt-space-4);
  --rt-modal-padding: var(--rt-space-6);
  --rt-component-gap: var(--rt-space-4);
}

.rt-heading-en {
  margin: 0;
  font-family: var(--rt-font-en);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: var(--rt-tracking-display);
}

.rt-kicker {
  font-family: var(--rt-font-en);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: var(--rt-tracking-label);
  text-transform: uppercase;
}

.rt-heading-ja {
  margin: 0;
  font-family: var(--rt-font-ja);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.rt-body {
  margin: 0;
  font-family: var(--rt-font-ja);
  font-size: 16px;
  font-weight: 500;
  line-height: var(--rt-leading-body);
  letter-spacing: var(--rt-tracking-body);
}

.rt-meta {
  font-family: var(--rt-font-en), var(--rt-font-ja);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.rt-session-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: var(--rt-border-width) solid var(--rt-line);
  color: var(--rt-ink-soft);
  font-family: var(--rt-font-en), var(--rt-font-ja);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.rt-session-fact {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}

.rt-session-fact-label {
  flex: none;
  color: var(--rt-ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.rt-session-fact-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 12px;
  padding: 12px 22px;
  border: 2px solid var(--rt-ink);
  border-radius: 0;
  color: var(--rt-ink);
  background: var(--rt-surface);
  font-family: var(--rt-font-ja);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: opacity .16s ease, background .16s ease, color .16s ease;
}

.rt-button:hover { background: var(--rt-ink); color: #fff; }
.rt-button--primary { border-color: transparent; color: #fff; background: var(--rt-gradient); }
.rt-button--primary:hover { color: #fff; background: var(--rt-gradient); opacity: .88; }
.rt-button--dark { border-color: var(--rt-dark); color: #fff; background: var(--rt-dark); }

.rt-card {
  border: var(--rt-border-width) solid var(--rt-card-border);
  background: var(--rt-surface);
}

.rt-card-icon { color: var(--rt-card-icon); }

.rt-page-shell {
  width: 100%;
  max-width: var(--rt-content);
  margin-inline: auto;
  padding-inline: var(--rt-page-gutter);
}

.rt-section-space { padding-block: var(--rt-section-space); }
.rt-card-padding { padding: var(--rt-card-padding); }
.rt-stack { display: flex; flex-direction: column; gap: var(--rt-component-gap); }
.rt-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rt-component-gap); }

.rt-field {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 2px solid var(--rt-line);
  border-radius: var(--rt-radius-md);
  color: var(--rt-ink);
  background: var(--rt-surface);
  font: 500 16px/1.6 var(--rt-font-ja);
  letter-spacing: var(--rt-tracking-body);
}

.rt-field:focus { outline: 2px solid var(--rt-orange); outline-offset: 2px; }

.rt-gradient-text {
  color: transparent;
  background: var(--rt-gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Opt-in normalization: add .rt-copy to a page region after its copy is reviewed. */
.rt-copy :where(p, li) { letter-spacing: var(--rt-tracking-body); }

@media (max-width: 640px) {
  .rt-body { font-size: 15px; line-height: 1.85; }
  .rt-button { min-height: 46px; font-size: 13px; }
  .rt-session-facts { gap: 5px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .rt-button { transition: none; }
}

/* Keep native Safari controls and detected links in the authored palette. */
:where(a, a:visited) { color: inherit; }
:where(button, input[type="button"], input[type="submit"]) {
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}
a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; }
