:root {
  --primary-color: #1f5f8b;
  --accent-color: #c96f2d;
  --font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --text-color: #1f2328;
  --muted-color: #5b6570;
  --bg-color: #ffffff;
  --bg-alt-color: #f6f3ee;
  --border-color: #e3e6ea;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-color);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background: var(--bg-color);
  z-index: 10;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary-color);
}

/* Type helpers */
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.center {
  text-align: center;
}

.text-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 95, 139, 0.35);
}

.text-link:hover {
  border-bottom-color: var(--primary-color);
}

/* Hero */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  background: linear-gradient(160deg, #f3f8fb 0%, #eef6fa 55%, #f7efe4 100%);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 auto 1rem;
  max-width: 820px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted-color);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.page-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: linear-gradient(160deg, #f3f8fb 0%, #eef6fa 60%, #f7efe4 100%);
}

.page-hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 auto 1rem;
  max-width: 820px;
}

.page-hero p {
  color: var(--muted-color);
  max-width: 640px;
  margin: 0 auto;
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.button:hover {
  opacity: 0.9;
}

.button.secondary {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.button.secondary:hover {
  background: rgba(31, 95, 139, 0.08);
  opacity: 1;
}

/* Quick facts strip */
.facts {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-color);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.fact {
  padding: 0.25rem 1.25rem;
  border-left: 1px solid var(--border-color);
}

.fact:first-child {
  border-left: none;
  padding-left: 0;
}

.fact strong {
  display: block;
  color: var(--primary-color);
  font-size: 0.98rem;
}

.fact span {
  display: block;
  color: var(--muted-color);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt-color);
}

.section h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: var(--muted-color);
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* Two-column layouts */
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split h2 {
  text-align: left;
  margin-top: 0;
}

.split p {
  margin-top: 0;
}

.callout {
  background: var(--bg-alt-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.section-alt .callout {
  background: var(--bg-color);
}

.callout h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.callout-note {
  color: var(--muted-color);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  margin-bottom: 0.7rem;
  padding-left: 1.6rem;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-weight: 700;
}

/* Cards / grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

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

.card {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.75rem;
  background: var(--bg-color);
}

.card h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.card p:last-child {
  margin-bottom: 0;
}

/* Rules and fees */
.rules-list {
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
}

.rules-list li {
  margin-bottom: 0.9rem;
}

.rules-list li:last-child {
  margin-bottom: 0;
}

.fee-list {
  margin: 0 0 1.25rem;
}

.fee-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border-color);
}

.fee-list dt {
  color: var(--muted-color);
}

.fee-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--primary-color);
  border-radius: 14px;
  padding: 2.5rem;
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  font-size: 1.7rem;
  margin: 0 0 0.5rem;
  text-align: left;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

.cta-band .button {
  flex-shrink: 0;
  background: #fff;
  color: var(--primary-color);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-grid h2 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.contact-details {
  margin: 0;
}

.contact-details dt {
  font-weight: 600;
  color: var(--muted-color);
  margin-top: 1rem;
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  margin: 0.15rem 0 0;
}

.contact-note {
  background: var(--bg-alt-color);
  border-radius: 8px;
  color: var(--muted-color);
  font-size: 0.9rem;
  margin: 2rem 0 0;
  padding: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-color);
  color: var(--text-color);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: 2px solid rgba(31, 95, 139, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.optional {
  color: var(--muted-color);
  font-weight: 400;
}

.contact-form .button {
  justify-self: start;
  margin-top: 0.25rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid #f0d2ae;
  border-radius: 8px;
  background: #fff4e5;
  color: #7a4a16;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  margin-top: 2rem;
  color: var(--muted-color);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted-color);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary-color);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 860px) {
  .facts-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .fact:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .page-hero h1 {
    font-size: 2.1rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 560px) {
  .facts-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fact {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding: 0.85rem 0;
  }

  .fact:first-child {
    border-top: none;
  }

  .fact:nth-child(3) {
    border-top: 1px solid var(--border-color);
    padding-left: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }
}
