:root {
  --bg: #050505;
  --surface: rgba(255, 255, 255, 0.05);
  --card: rgba(255, 255, 255, 0.04);
  --text: #f6f7fb;
  --muted: #9ea3ad;
  --accent: #d8ff00;
  --accent-2: #6b7280;
  --glow: linear-gradient(135deg, #d8ff00 0%, #8a8f98 50%, #0a0a0a 100%);
  --link: #f6f7fb;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Archivo", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 255, 0, 0.16), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(107, 114, 128, 0.18), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(216, 255, 0, 0.08), transparent 32%),
    var(--bg);
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.page {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 1;
}

.top-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.35);
}

.brand-logo-frame {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(216, 255, 0, 0.1), rgba(255, 255, 255, 0.04));
  position: relative;
}

.brand-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #050505;
  font-weight: 800;
  background: var(--glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.4px;
}

.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px;
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.8) 0%, transparent 65%);
}

.glow {
  position: absolute;
  width: 40vw;
  height: 40vw;
  filter: blur(72px);
  opacity: 0.45;
}

.blotch-one {
  background: #d8ff00;
  top: -10%;
  left: -10%;
}

.blotch-two {
  background: #0a0a0a;
  bottom: -12%;
  right: -6%;
}

.panel,
.hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
}

.panel::before,
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(216, 255, 0, 0.1), transparent 45%),
              radial-gradient(circle at 80% 0%, rgba(107, 114, 128, 0.08), transparent 40%);
  opacity: 0.9;
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
}

.avatar-stack {
  position: relative;
  width: 180px;
  height: 180px;
}

.avatar-glow {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: var(--glow);
  filter: blur(24px);
  opacity: 0.55;
}

.avatar {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.25));
  display: grid;
  place-items: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-fallback {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #0f0f12;
}

.hero-copy h1 {
  margin: 4px 0;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.5px;
}

.hero-copy .handle {
  color: var(--muted);
  margin: 0 0 6px;
  font-size: 15px;
}

.tagline {
  margin: 6px 0 8px;
  font-size: 18px;
  color: var(--text);
}

.bio {
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(216, 255, 0, 0.7);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #050505;
  background: linear-gradient(120deg, #b7d900 0%, #d8ff00 60%, #b7d900 100%);
  box-shadow: 0 10px 24px rgba(216, 255, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta::after {
  content: "↗";
  font-size: 14px;
}

.cta:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 14px 30px rgba(216, 255, 0, 0.28);
  filter: saturate(1.02);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 4px 0;
  letter-spacing: -0.4px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.calendar-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.event-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
}

.event-outline {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(15, 15, 17, 0.6));
  padding: 10px;
  min-height: 72px;
  display: grid;
  place-items: center;
}

.event-track-outline {
  width: 100%;
  height: 64px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1) brightness(1.15) opacity(0.75);
}

.event-track-fallback {
  width: 84px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 6px rgba(0, 0, 0, 0.2);
  opacity: 0.7;
}

.event-content {
  display: grid;
  gap: 6px;
}

.event-date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--muted);
}

.event-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.event-status {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.event-status.booked {
  color: #0ceb9d;
  border-color: rgba(12, 235, 157, 0.4);
}

.event-status.tentative {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.4);
}

.event-status.cancelled {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
}

.event-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.link-card {
  position: relative;
  padding: 14px 14px 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.link-label {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.link-tag {
  font-size: 12px;
  color: var(--muted);
}

.link-arrow {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

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

.brand-card {
  position: relative;
  min-height: 110px;
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(16, 16, 18, 0.55));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  cursor: default;
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: radial-gradient(circle, rgba(216, 255, 0, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.brand-card img {
  width: min(132px, 86%);
  max-height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: grayscale(1) contrast(1.05) brightness(0.9);
  transition: filter 180ms ease, transform 180ms ease;
  z-index: 1;
}

.brand-item-name {
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
}

.brand-card.brand-fallback {
  background: linear-gradient(140deg, rgba(216, 255, 0, 0.08), rgba(10, 10, 10, 0.7));
}

.brand-card.brand-fallback .brand-item-name {
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

.brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 255, 0, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.brand-card:hover::before {
  opacity: 1;
}

.brand-card:hover img {
  filter: none;
  transform: scale(1.03);
}

a.brand-card {
  cursor: pointer;
}

.highlight-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.highlight-card {
  padding: 14px 14px 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  cursor: pointer;
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.12);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(216, 255, 0, 0.12);
  border: 1px solid rgba(216, 255, 0, 0.28);
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--muted);
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(216, 255, 0, 0.35);
}

.highlight-title {
  margin: 10px 0 2px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.highlight-card .subtext {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.laps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.lap-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--card);
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.lap-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -80px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(216, 255, 0, 0.14), transparent 60%);
  transform: rotate(-18deg);
}

.lap-track {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 0;
}

.lap-time {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  color: var(--link);
}

.lap-main {
  display: grid;
  gap: 8px;
}

.lap-aside {
  display: grid;
  gap: 12px;
  justify-items: stretch;
  align-content: start;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.lap-block {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lap-block-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.lap-block.weather .lap-block-title {
  display: flex;
  width: 100%;
  align-items: center;
}

.lap-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #050505;
  background: rgba(216, 255, 0, 0.7);
  box-shadow: 0 6px 16px rgba(216, 255, 0, 0.25);
}

.weather-icon {
  width: 30px;
  height: 30px;
  margin-left: auto;
  align-self: center;
  background-color: rgba(216, 255, 0, 0.75);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.weather-default {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12h12M12 6v12' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12h12M12 6v12' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}

.weather-sunny {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='4' fill='black'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3M4.5 4.5l2.1 2.1M17.4 17.4l2.1 2.1M4.5 19.5l2.1-2.1M17.4 6.6l2.1-2.1' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='4' fill='black'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3M4.5 4.5l2.1 2.1M17.4 17.4l2.1 2.1M4.5 19.5l2.1-2.1M17.4 6.6l2.1-2.1' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}

.weather-overcast {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 18h9a4 4 0 0 0 0-8 5 5 0 0 0-9.7-1.5A4 4 0 0 0 7 18z' fill='black'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 18h9a4 4 0 0 0 0-8 5 5 0 0 0-9.7-1.5A4 4 0 0 0 7 18z' fill='black'/></svg>");
}

.weather-cold {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2v20M4 6l16 12M4 18l16-12' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2v20M4 6l16 12M4 18l16-12' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}

.weather-damp {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2C9 7 6 10 6 14a6 6 0 0 0 12 0c0-4-3-7-6-12z' fill='black'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2C9 7 6 10 6 14a6 6 0 0 0 12 0c0-4-3-7-6-12z' fill='black'/></svg>");
}

.weather-rain {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 15h8a4 4 0 0 0 0-8 5 5 0 0 0-9.7-1.5A4 4 0 0 0 7 15z' fill='black'/><path d='M8 18l-1 3M12 18l-1 3M16 18l-1 3' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 15h8a4 4 0 0 0 0-8 5 5 0 0 0-9.7-1.5A4 4 0 0 0 7 15z' fill='black'/><path d='M8 18l-1 3M12 18l-1 3M16 18l-1 3' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}

.lap-block-value {
  color: var(--text);
  font-size: 13px;
}

.lap-tyres {
  display: grid;
  gap: 6px;
}

.lap-tyre-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
}

.lap-tyre-label {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.6px;
}

.lap-tyre-value {
  text-align: right;
}

.lap-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.lap-delta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
}

.lap-delta.improved {
  color: #0ceb9d;
  border-color: rgba(12, 235, 157, 0.6);
  box-shadow: 0 8px 24px rgba(12, 235, 157, 0.2);
}

.lap-delta.slower {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.6);
  box-shadow: 0 8px 24px rgba(255, 209, 102, 0.12);
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
}

.lap-notes {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  padding: 16px;
  z-index: 10;
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  width: min(520px, 100%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(12, 12, 14, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px;
  position: relative;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(216, 255, 0, 0.14);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 8px;
  align-items: start;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-pill {
  margin-bottom: 10px;
  width: fit-content;
}

.modal-title {
  margin: 4px 0 6px;
  letter-spacing: -0.3px;
}

.modal-subtext {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.modal-body {
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.6;
  white-space: pre-line;
}

.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(120deg, #b7d900 0%, #d8ff00 60%, #b7d900 100%);
  color: #050505;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(216, 255, 0, 0.25);
}

.fineprint {
  margin: 6px 4px 0;
  font-size: 12px;
  color: rgba(246, 247, 251, 0.6);
  letter-spacing: 0.2px;
}

@media (max-width: 768px) {
  .page {
    padding: 28px 18px 52px;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .avatar-stack {
    width: 140px;
    height: 140px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 6px;
  }

  .link-list,
  .calendar-list,
  .laps-grid,
  .highlight-list {
    grid-template-columns: 1fr;
  }

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

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

  .lap-aside {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
  }
}
