:root {
  --ink: #07111f;
  --panel: #ffffff;
  --muted: #65758b;
  --line: #dbe4ee;
  --navy: #0b1f3a;
  --blue: #0066ff;
  --cyan: #00b8d9;
  --lime: #8ce34a;
  --red: #e11d48;
  --gold: #f5b942;
  --bg: #f2f6fa;
  --shadow: 0 18px 50px rgba(7, 17, 31, .14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 184, 217, .20), transparent 34rem),
    linear-gradient(135deg, #f7fbff 0%, #eef4f9 48%, #f8fafc 100%);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1040px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, .98), rgba(11, 31, 58, .94) 58%, rgba(0, 102, 255, .88)),
    repeating-linear-gradient(-25deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 18px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -38% 24%;
  height: 170px;
  transform: rotate(-5deg);
  background: linear-gradient(90deg, transparent, rgba(140, 227, 74, .42), rgba(0, 184, 217, .38), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  min-height: 170px;
  padding: 24px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding: 8px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--lime);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1,
.hero p {
  margin: 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .95;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin-top: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
}

.toolbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0 0;
}

.event-toolbar {
  grid-template-columns: minmax(0, 240px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(7, 17, 31, .16);
}

.button:hover,
.button:focus {
  background: #12335d;
  outline: 3px solid rgba(0, 184, 217, .25);
  outline-offset: 2px;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.button.home {
  background: linear-gradient(135deg, #172554, #334155);
}

.section {
  margin-top: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  color: #26394f;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--lime), transparent);
  border-radius: 99px;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.venue-card,
.lane-card,
.notice {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 17, 31, .08);
}

.venue-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  text-decoration: none;
  border-top: 5px solid var(--cyan);
}

.venue-card:hover,
.venue-card:focus {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 255, .42);
  outline: 0;
}

.venue-label,
.lane-meta {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.venue-name {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.event-strip {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-strip strong {
  font-size: clamp(1.35rem, 4vw, 2.2rem);
  line-height: 1;
}

.event-strip span {
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.lane-list {
  display: grid;
  gap: 14px;
}

.lane-card {
  overflow: hidden;
}

.lane-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #12335d);
}

.lane-number {
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 58px;
  padding: 8px;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 950;
  background: var(--lime);
  border-radius: 8px;
}

.lane-club {
  min-width: 0;
  font-size: clamp(1.1rem, 4vw, 1.55rem);
  font-weight: 900;
  line-height: 1.1;
}

.swimmer-list {
  display: grid;
}

.swimmer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  font-size: 1.03rem;
  font-weight: 750;
}

.swimmer::before {
  content: "";
  width: 9px;
  height: 28px;
  flex: 0 0 9px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  border-radius: 99px;
}

.status {
  margin: 0;
  padding: 14px 16px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  background: var(--red);
}

.status.warning {
  background: linear-gradient(135deg, #b45309, var(--gold));
  color: var(--ink);
}

.notice {
  padding: 24px;
  text-align: center;
}

.notice h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 6vw, 2.5rem);
}

.notice p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.notice img {
  width: min(220px, 70%);
  margin-top: 20px;
}

.notice-action {
  width: min(240px, 100%);
  margin-top: 18px;
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 20px, 1040px);
    padding-top: 10px;
  }

  .hero-inner,
  .lane-head {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 70px;
    height: 70px;
  }

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

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

  .button {
    min-height: 46px;
    padding: 10px 8px;
    font-size: .9rem;
  }

  .lane-number {
    width: 100%;
  }
}
