:root {
  --ink: #1c1915;
  --muted: #6b645c;
  --paper: #f4efe6;
  --cream: #fbf7f0;
  --white: #fffdf8;
  --line: #e4d9c8;
  --accent: #c45c26;
  --accent-dark: #9a3f12;
  --shadow: 0 12px 40px rgba(28, 25, 21, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img {
  height: 52px;
  width: 52px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.tagline {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 160px;
  line-height: 1.35;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.site-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 0;
  margin-left: 8px;
  border-left: 1px solid var(--line);
  padding-left: 8px;
}
.site-nav > a,
.nav-drop > a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 0 11px;
  border-radius: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 40px;
  line-height: 1;
}
.site-nav > a:hover,
.nav-drop > a:hover { color: var(--accent); }
.site-nav > a.is-active,
.nav-drop > a.is-active {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
}
.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 180px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 12px 14px; }

.lifebuoy {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #fff;
}
.lifebuoy img { width: 100%; height: 100%; object-fit: cover; }

main { flex: 1; }
.wrap { max-width: var(--max); margin: 0 auto; }

.hero { padding: 0; }
.hero-bar {
  height: 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-split {
  display: flex;
  align-items: stretch;
}
.hero-photo {
  width: 52%;
  height: auto;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.hero-copy {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(36px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  flex: 1;
}
.hero-copy p {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 400;
  line-height: 1.55;
  max-width: 36ch;
}

.hero-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.pill {
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  padding: 28px 24px;
  min-height: 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.pill:last-child {
  border-right: 0;
  background: var(--accent);
  color: #fff;
}
.pill img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
}

.page-hero {
  padding: 48px 24px 8px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: var(--max);
  margin: 0 auto;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.panel { padding: 36px 24px 80px; }
.glass {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(24px, 4vw, 44px);
}
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.split p { font-size: 17px; margin: 0 0 16px; color: #3d3832; }
.quote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-weight: 650;
  color: var(--ink);
}
.round { border-radius: 0; width: 100%; }

.partners {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
}
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.partner-card {
  background: var(--cream);
  border-radius: 0;
  padding: 12px;
  display: grid;
  place-items: center;
  min-height: 88px;
  border: 1px solid var(--line);
}
.partner-card.wide { grid-column: 1 / -1; }
.partner-card img { max-height: 52px; width: auto; max-width: 100%; }
.copy p { font-size: 18px; margin: 0 0 18px; color: #3d3832; }

.contact-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--line);
}
.contact-card h2 {
  margin: 0 0 24px;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
}
.rows {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px 16px;
  margin-bottom: 28px;
}
.rows dt { font-weight: 600; color: var(--muted); font-size: 13px; }
.rows a { color: var(--accent-dark); font-weight: 600; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 13px;
}
.btn-dark { background: var(--ink); color: #fff; flex: 1; }
.btn-light { background: var(--cream); color: var(--ink); flex: 1; border: 1px solid var(--line); }
.btn-ticket {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
  background: var(--accent);
  color: #fff;
  padding: 14px 20px;
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.btn-ticket:hover { background: var(--accent-dark); }

.lead { font-size: 20px; font-weight: 600; margin: 0; }
.dl-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.help-grid {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px 16px;
  margin: 24px 0 28px;
  font-size: 26px;
  font-weight: 650;
}
.help-grid a { color: var(--ink); }
.help-grid span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  font-weight: 700;
}
.ticket-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 24px;
  text-align: center;
  margin-bottom: 28px;
}
.downloads {
  display: grid;
  grid-template-columns: 160px 160px;
  gap: 12px;
  max-width: 340px;
}
.dl {
  height: 40px;
  width: 160px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.dl-win { background: #0078d4; color: #fff; }
.dl-sec { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.dl iframe { border: 0; width: 160px; height: 40px; overflow: hidden; }

.legal { max-height: 70vh; overflow: auto; padding-right: 8px; }
.legal h2 { text-align: left; font-family: "IBM Plex Serif", Georgia, serif; }
.legal h3 {
  color: var(--accent-dark);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin: 28px 0 10px;
}
.legal p { margin: 0 0 12px; font-size: 15px; color: #3d3832; }

.site-footer {
  background: var(--ink);
  color: #cfc6b8;
  padding: 44px 24px 22px;
  margin-top: auto;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  font-size: 14px;
}
.site-footer h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer a:hover { color: #fff; }
.footer-right { text-align: right; }
.mcp {
  background: #fff;
  display: inline-block;
  padding: 6px 8px;
  margin-bottom: 12px;
}
.mcp img { height: 36px; width: auto; filter: grayscale(1); opacity: 0.7; }
.copybar {
  max-width: var(--max);
  margin: 28px auto 0;
  text-align: left;
  font-size: 12px;
  color: #8a8276;
}

@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; }
  .brand { order: 1; }
  .nav-toggle { display: grid; place-items: center; order: 2; margin-left: auto; }
  .lifebuoy { order: 3; }
  .site-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 8px;
    margin-left: 0;
    border-left: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { text-align: center; }
  .site-nav a.is-active { box-shadow: none; background: var(--cream); }
  .nav-drop-menu { position: static; display: block; box-shadow: none; border: 0; }
  .hero-split { flex-direction: column; }
  .hero-photo { width: 100%; height: 280px; object-fit: cover; }
  .hero-copy { border-left: 0; border-top: 1px solid var(--line); }
  .hero-pills { grid-template-columns: 1fr; }
  .pill { border-right: 0; border-bottom: 1px solid var(--line); }
  .split, .partners, .footer-grid { grid-template-columns: 1fr; }
  .footer-right, .copybar { text-align: left; }
  .help-grid { grid-template-columns: 1fr; font-size: 22px; }
}
