:root {
  --color-bg: #f8f6f3;
  --color-surface: #ffffff;
  --color-ink: #171717;
  --color-muted: #5f5f5f;
  --color-rule: #e7e0da;
  --color-brand: #d71920;
  --color-brand-dark: #9d1015;
  --color-accent: #fff1f1;
  --shadow-card: 0 24px 60px rgba(23, 23, 23, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1040px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, #fff 0, var(--color-bg) 42rem);
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.65;
   background:
    linear-gradient(130deg, rgba(250, 168, 135, .5), rgba(255, 255, 255, 0.92) 45%),
    var(--color-surface);
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--color-ink);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  border-bottom: 1px solid var(--color-rule);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-brand);
}

.header-meta {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.page-shell {
  padding: clamp(32px, 6vw, 72px) 0;
}

.hero {
  padding: clamp(28px, 3vw, 60px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.12), rgba(255, 255, 255, 0.92) 45%),
    var(--color-surface);
  box-shadow: var(--shadow-card);

}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
}

h1,
h2 {
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: normal;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

.legal-alert {
  margin-top: clamp(22px, 4vw, 32px);
  max-width: 780px;

  border-left: 0px solid var(--color-brand);

  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.rules-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.rules-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--color-rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.rules-nav a:hover,
.rules-nav a:focus-visible {
  border-color: var(--color-brand);
  color: var(--color-brand-dark);
  outline: none;
}

.rules-card {
  overflow: hidden;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.rule-section {
  padding: clamp(24px, 5vw, 44px);
}

.rule-section + .rule-section {
  border-top: 1px solid var(--color-rule);
}

.rule-section p {
  max-width: 82ch;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-rule);
  vertical-align: top;
}

th {
  background: #faf2f2;
  color: var(--color-brand-dark);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

td:not(:first-child),
th:not(:first-child) {
  text-align: center;
}

.site-footer {
  padding: 32px 0 48px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 16px 0;
  }

  .rules-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .rules-nav a {
    white-space: nowrap;
  }

  .rule-section {
    padding: 24px 18px;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .skip-link,
  .rules-nav,
  .site-header {
    display: none;
  }

  .container {
    width: 100%;
  }

  .page-shell {
    padding: 0;
  }

  .hero,
  .rules-card,
  .table-wrap {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero,
  .rule-section {
    padding: 0 0 18pt;
  }

  .legal-alert {
    border: 1px solid #000;
    border-left: 4pt solid #000;
    background: #fff;
  }

  a {
    color: inherit;
  }
}
