/* passengine.com — shared tokens, type and page chrome.
   Values mirror the app's Season Pass tokens (pass_engine.css in the Rails
   repo) so this site reads as the same product. Light + dark follow
   prefers-color-scheme, as on centralcheckout.com and in8limited.com. */

@font-face {
  font-family: "Big Shoulders Display"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/big-shoulders-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Big Shoulders Display"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/big-shoulders-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/public-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/public-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --pe-accent:      #368E95;   /* platform teal */
  --pe-on-accent:   #ffffff;
  --pe-display:     "Big Shoulders Display", "Public Sans", system-ui, sans-serif;
  --pe-body:        "Public Sans", system-ui, sans-serif;

  --pe-bg:          #eef2f5;
  --pe-surface:     #ffffff;
  --pe-ink:         #0d1722;
  --pe-muted:       #526070;
  --pe-border:      #d5dde5;
  --pe-sunken:      #f4f7f9;

  --pe-accent-ink:    color-mix(in oklab, var(--pe-accent) 70%, #0d1722);
  --pe-accent-strong: color-mix(in oklab, var(--pe-accent) 85%, #000);

  --pe-warn-bg:  #fff6e6;
  --pe-warn-ink: #946200;
  --pe-warn-bd:  #f3e2bd;

  --pe-r-card:  24px;
  --pe-r-btn:   14px;
  --pe-r-field: 12px;

  --mark-slate: #254757;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --pe-bg:       #0c131b;
    --pe-surface:  #131d28;
    --pe-ink:      #e7edf3;
    --pe-muted:    #93a2b2;
    --pe-border:   #24323f;
    --pe-sunken:   #0f1821;
    --pe-accent-ink: color-mix(in oklab, var(--pe-accent) 34%, #fff);
    --pe-warn-bg:  #2a2112;
    --pe-warn-ink: #f0c36b;
    --pe-warn-bd:  #4a3a1c;
    --mark-slate:  #86ABC0;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--pe-bg); color: var(--pe-ink);
  font: 16.5px/1.55 var(--pe-body);
}
a { color: var(--pe-accent-ink); }
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Header lockup: the gear mark + wordmark, as on the app's apex pages. */
.site-header { padding: 20px 0 8px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--pe-ink); text-decoration: none; }
.lockup svg { height: 34px; width: auto; display: block; }
.lockup span { font: 600 20px var(--pe-body); letter-spacing: -.01em; }
.mark-teal  { fill: #368E95; }
.mark-slate { fill: var(--mark-slate); }
.mark-lime  { fill: #C6D72E; }
