:root {
  --bg: #f5f5f2;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #666666;
  --line: #deded8;
  --soft: #eeeeea;
  --red: #e30606;
  --red-dark: #8e0505;
  --black: #080808;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: rgba(245, 245, 242, 0.96);
  border-bottom: 1px solid var(--line);
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  width: 12rem;
  min-width: 8.5rem;
}

.topbar-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.topbar nav {
  display: flex;
  gap: 0.25rem;
}

.topbar nav a {
  min-height: 2.3rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.topbar nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 1rem clamp(0.85rem, 3vw, 1.4rem) 4rem;
}

.cover {
  display: block;
}

.cover-copy,
.quick-guide article,
.brief-card,
.ticket-card,
.timeline article,
.rules {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.cover-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 4vw, 2.6rem);
  border-top: 8px solid var(--red);
}

.kicker {
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.42rem 0.62rem;
  border-radius: 8px;
  color: var(--red-dark);
  background: #ffe4e4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.24rem;
  line-height: 1.16;
}

.cover-copy > p:not(.kicker) {
  max-width: 40rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-radius: 999px;
  font-weight: 850;
}

.btn.primary {
  color: #fff;
  background: var(--red);
}

.btn.ghost {
  background: var(--soft);
}

.quick-guide,
.brief-grid,
.timeline {
  display: grid;
  gap: 0.75rem;
}

.quick-guide {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1rem;
}

.quick-guide article,
.timeline article {
  padding: 1rem;
}

.quick-guide span,
.card-head span,
.timeline span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.quick-guide h2 {
  max-width: none;
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.quick-guide p,
.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section-block {
  padding-top: 4rem;
}

.section-title {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.brief-grid {
  grid-template-columns: repeat(2, 1fr);
}

.brief-card {
  padding: 1rem;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.card-head span {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.card-head h3 {
  margin-bottom: 0;
}

.brief-card ul,
.rules ul {
  display: grid;
  gap: 0.58rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief-card li,
.rules li {
  position: relative;
  padding-left: 1.2rem;
  color: #303030;
  line-height: 1.45;
}

.brief-card li::before,
.rules li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--red);
}

.ticket-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  max-width: 30rem;
  margin-bottom: 0.75rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.ticket-tabs button {
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.ticket-tabs button.active {
  color: #fff;
  background: var(--red);
}

.ticket-card {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  overflow: hidden;
}

.ticket-summary {
  padding: clamp(1.2rem, 4vw, 2rem);
  color: #fff;
  background: var(--red);
}

.ticket-summary > p {
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.35rem 0.58rem;
  border-radius: 8px;
  color: var(--red);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-summary h3 {
  max-width: 9ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.ticket-summary span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.ticket-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.ticket-details div {
  min-height: 9rem;
  padding: 1rem;
  background: var(--paper);
}

.ticket-details small {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-details p {
  margin-bottom: 0;
  color: #282828;
  line-height: 1.45;
}

.operation {
  padding-bottom: 1rem;
}

.timeline {
  grid-template-columns: repeat(3, 1fr);
}

.rules {
  margin-top: 0.75rem;
  padding: 1rem;
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

.rules h3 {
  margin-bottom: 0.85rem;
}

.rules li {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 860px) {
  .topbar nav a {
    display: none;
  }

  .topbar-brand {
    width: 9rem;
  }

  main {
    padding-inline: 0.85rem;
  }

  .quick-guide,
  .brief-grid,
  .ticket-card,
  .ticket-details,
  .timeline {
    grid-template-columns: 1fr;
  }

  .cover-copy {
    padding: 1.2rem;
  }

  .section-block {
    padding-top: 3rem;
  }
}
