@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --canvas: #0b1727;
  --paper: #101f32;
  --raised: #1b2c41;
  --ink: #f0e2c8;
  --muted: #a8b3c2;
  --amber: #e9ae55;
  --amber-light: #f3c77f;
  --clay: #cc8a69;
  --divider: #304153;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: var(--amber-light); text-underline-offset: 4px; }
a:hover { color: var(--amber); }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 3px; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.03em; line-height: 1.18; }
p { margin: 0; }
.SkipLink { position: fixed; z-index: 3; top: 8px; left: 12px; padding: 10px 14px; background: var(--amber); color: var(--canvas); transform: translateY(-160%); }
.SkipLink:focus { transform: none; }
.SiteHeader { background: var(--paper); border-bottom: 1px solid var(--divider); }
.SiteHeader-inner, .WelcomeMain, .SiteFooter-inner { width: min(100% - 40px, 1200px); margin-inline: auto; }
.SiteHeader-inner { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.Wordmark { color: var(--ink); font-family: var(--serif); font-size: 25px; letter-spacing: -0.035em; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.HeaderNav { display: flex; align-items: center; gap: 26px; }
.HeaderNav a, .LoginLink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 16px; font-weight: 600; text-decoration: none; }
.HeaderNav a:hover, .LoginLink:hover { color: var(--amber-light); }
.LoginLink { margin-left: auto; color: var(--amber-light); }
.WelcomeMain { padding-block: 22px 36px; }
.WelcomeHero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; position: relative; min-height: 304px; overflow: hidden; border: 1px solid var(--divider); border-radius: 9px; }
.WelcomeHero-copy { position: relative; z-index: 1; width: 109%; padding: 32px; }
.Eyebrow { margin-bottom: 14px; color: var(--amber-light); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.WelcomeHero h1 { max-width: 12em; font-size: clamp(32px, 3.4vw, 44px); }
.WelcomeTagline { max-width: 29em; margin-top: 15px; color: var(--muted); font-size: 19px; line-height: 1.45; }
.WelcomeActions { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 24px; }
.Button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--divider); border-radius: 7px; font-size: 16px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; }
.Button--primary { background: var(--amber); border-color: var(--amber); color: var(--canvas); }
.Button--primary:hover { background: var(--amber-light); border-color: var(--amber-light); color: var(--canvas); }
.Button--quiet { background: var(--canvas); color: var(--ink); }
.Button--quiet:hover { background: var(--raised); color: var(--amber-light); }
.WelcomeHero-art { position: absolute; top: 0; right: 0; display: block; width: 45%; height: 100%; min-height: 0; object-fit: cover; object-position: center 38%; mask-image: linear-gradient(to right, transparent, #000 18%); }
.WelcomeIntroduction { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 42px; padding: 32px 4px 28px; }
.WelcomeIntroduction h2 { max-width: 12em; font-size: 32px; }
.WelcomeIntroduction p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.WelcomeBenefits { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--divider); border-radius: 9px; overflow: hidden; background: var(--paper); }
.WelcomeBenefit { display: flex; gap: 18px; padding: 26px; }
.WelcomeBenefit:nth-child(even) { border-left: 1px solid var(--divider); }
.WelcomeBenefit:nth-child(n+3) { border-top: 1px solid var(--divider); }
.BenefitMark { flex: 0 0 38px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 7px; background: var(--raised); color: var(--clay); }
.BenefitMark svg { display: block; width: 25px; height: 25px; }
.WelcomeBenefit h2 { margin: 1px 0 10px; font-size: 24px; }
.WelcomeBenefit p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.WelcomeBenefit a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 7px; font-size: 15px; font-weight: 600; text-decoration: none; }
.WelcomeBenefit a:hover { text-decoration: underline; }
.WelcomeForum { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 24px; padding: 24px 0 0; border-top: 1px solid var(--divider); }
.WelcomeForum h2 { font-size: 25px; }
.WelcomeForum p { margin-top: 8px; color: var(--muted); }
.ForumLinks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; flex: 0 0 40%; }
.ForumLinks a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; font-size: 16px; font-weight: 600; text-decoration: none; }
.ForumLinks a:hover { text-decoration: underline; }
.SiteFooter { border-top: 1px solid var(--divider); }
.SiteFooter-inner { display: flex; justify-content: space-between; gap: 40px; padding-block: 28px 32px; }
.SiteFooter-note { max-width: 650px; }
.SiteFooter .Wordmark { font-size: 21px; }
.SiteFooter-note p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.FooterLinks { display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: 0 20px; max-width: 330px; }
.FooterLinks a { display: flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; white-space: nowrap; }
.FooterLinks a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .SiteHeader-inner { gap: 24px; }
  .HeaderNav { gap: 20px; }
  .WelcomeHero-copy { padding: 26px; }
  .WelcomeHero h1 { font-size: 36px; }
  .WelcomeTagline { font-size: 18px; }
  .WelcomeActions { gap: 10px; }
  .Button { padding-inline: 12px; font-size: 15px; }
  .WelcomeIntroduction { grid-template-columns: 0.8fr 1.2fr; gap: 26px; }
  .WelcomeBenefit { gap: 14px; padding: 22px; }
  .WelcomeForum { align-items: start; }
  .WelcomeForum h2 { max-width: 13em; }
  .ForumLinks { flex-basis: 43%; }
  .SiteFooter-inner { gap: 28px; }
  .FooterLinks { min-width: 220px; }
}

@media (max-width: 767.98px) {
  .SiteHeader-inner, .WelcomeMain, .SiteFooter-inner { width: calc(100% - 28px); }
  .SiteHeader-inner { flex-wrap: wrap; gap: 0 16px; padding-top: 14px; }
  .SiteHeader .Wordmark { font-size: 23px; }
  .HeaderNav { order: 3; width: 100%; gap: 24px; margin-top: 6px; }
  .HeaderNav a { font-size: 15px; }
  .LoginLink { min-height: 44px; font-size: 15px; }
  .WelcomeMain { padding-top: 14px; }
  .WelcomeHero { display: flex; flex-direction: column; min-height: 0; }
  .WelcomeHero-copy { order: 2; width: 100%; padding: 22px; background: var(--paper); }
  .WelcomeHero-art { position: static; order: 1; width: 100%; height: clamp(158px, 34vw, 240px); min-height: 0; object-position: center 35%; mask-image: none; }
  .WelcomeHero h1 { font-size: 34px; }
  .Eyebrow { font-size: 10px; line-height: 1.5; margin-bottom: 12px; }
  .WelcomeTagline { font-size: 18px; margin-top: 12px; }
  .WelcomeActions { margin-top: 20px; }
  .WelcomeActions .Button { flex: 1 1 100%; justify-content: space-between; padding: 12px 16px; }
  .WelcomeIntroduction { display: block; padding: 26px 2px; }
  .WelcomeIntroduction h2 { max-width: none; font-size: 29px; }
  .WelcomeIntroduction p { margin-top: 14px; font-size: 16px; }
  .WelcomeBenefits { grid-template-columns: 1fr; }
  .WelcomeBenefit { padding: 22px 18px; gap: 13px; }
  .WelcomeBenefit:nth-child(even) { border-left: 0; }
  .WelcomeBenefit + .WelcomeBenefit { border-top: 1px solid var(--divider); }
  .WelcomeBenefit h2 { font-size: 23px; }
  .WelcomeForum { display: block; margin-top: 22px; padding-top: 24px; }
  .WelcomeForum h2 { max-width: none; font-size: 27px; }
  .ForumLinks { margin-top: 16px; gap: 0 24px; }
  .ForumLinks a { gap: 12px; }
  .SiteFooter-inner { display: block; padding-block: 26px; }
  .FooterLinks { justify-content: flex-start; max-width: none; margin-top: 14px; gap: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
