/* Canonical Atlas tokens. Also embedded verbatim into generated public pages. */
:root {
  --atlas-ground: #0a4434;
  --atlas-paper: #fbf5e8;
  --atlas-edge: #d8c49e;
  --atlas-depth: #04271f;
  --atlas-red: #e83a20;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: var(--sans);
  --bg: var(--atlas-paper);
  --bg-warm: #f4ead4;
  --bg-soft: #eee3ca;
  --card: var(--atlas-paper);
  --ink: var(--atlas-ground);
  --ink-2: #435b4c;
  --ink-3: #566153;
  --rule: #c9ccb7;
  --rule-strong: #c9b58e;
  --accent: var(--atlas-ground);
  --accent-ink: var(--atlas-ground);
  --accent-on: var(--atlas-paper);
  --accent-soft: #e9eddd;
  --accent-ring: #0a443433;
  --danger: #b22d19;
  --r-card: 2px;
  --shadow-sm: 3px 4px 0 var(--atlas-depth);
  --shadow-md: 6px 7px 0 var(--atlas-depth);
  --shadow-lg: 11px 13px 0 var(--atlas-edge), 23px 28px 0 var(--atlas-depth), 28px 47px 38px -18px #011811ba;
}

.atlas-frame, .atlas-frame * { box-sizing: border-box; }
.atlas-frame { min-height: 100vh; background: var(--atlas-ground) url('/assets/job-pattern.svg') center top / 440px repeat; color: var(--ink); }
.atlas-masthead { position: relative; z-index: 30; padding: 28px 0 0; }
.atlas-masthead__inner { width: min(1328px, calc(100% - 86px)); margin: 0 auto; min-height: 100px; padding: 16px clamp(24px, 4.5vw, 68px); display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; border: 1px solid #dfd2b7; border-top: 5px solid #fffdf3; border-bottom: 2px solid var(--rule-strong); background: var(--atlas-paper); box-shadow: var(--shadow-lg); }
.atlas-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; white-space: nowrap; font: 750 31px/1 var(--sans); letter-spacing: -.075em; }
.atlas-brand img { object-fit: contain; flex-shrink: 0; }
.atlas-brand__dot { color: var(--atlas-red); }
.atlas-masthead nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-left: auto; }
.atlas-masthead nav a { color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.atlas-masthead nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.atlas-account-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.atlas-main { width: min(1184px, calc(100% - 108px)); margin: 0 auto; padding: 74px 0 100px; }
.atlas-main--narrow { width: min(800px, calc(100% - 108px)); }
.atlas-panel { padding: clamp(24px, 4vw, 56px); border: 1px solid #dfd2b7; border-top: 5px solid #fffdf3; background: var(--atlas-paper); box-shadow: var(--shadow-lg); min-width: 0; }
.atlas-panel > :first-child { margin-top: 0; }
.atlas-panel h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.055em; }
.atlas-page-title { margin: 2px 0 22px; font-family: var(--sans); font-weight: 750; }
.atlas-panel h2 { letter-spacing: -.04em; }
.atlas-footer { padding: 34px 0; border-top: 1px solid #e9e0c255; background: #063829; color: #f4e8cf; }
.atlas-footer__inner { width: min(1184px, calc(100% - 80px)); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px 30px; }
.atlas-footer__inner > span { font: 10px/1.6 var(--mono); letter-spacing: .08em; }
.atlas-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.atlas-footer a, .atlas-footer button { color: #d3dbc7; font: 12px/1.6 var(--sans); }
.atlas-footer button { padding: 0; border: 0; background: none; cursor: pointer; }
.atlas-footer a:hover, .atlas-footer button:hover { text-decoration: underline; text-underline-offset: 5px; }
.atlas-skip { position: absolute; z-index: 99; top: 10px; left: 12px; padding: 10px 15px; background: var(--atlas-paper); color: var(--ink); transform: translateY(-170%); }
.atlas-skip:focus { transform: translateY(0); }
.atlas-frame :where(input, textarea, select) { max-width: 100%; }
.atlas-frame .ui-btn--primary { box-shadow: 3px 4px 0 var(--atlas-depth); }
.atlas-frame .ui-btn--primary:not(:disabled):hover { transform: translate(-1px, -1px); }
.atlas-frame .legal-prose { max-width: 76ch; line-height: 1.75; }
.atlas-frame .legal-prose :is(a, code) { overflow-wrap: anywhere; }
.atlas-frame .legal-prose h2 { padding-top: 20px; border-top: 1px solid var(--rule); }
.atlas-frame .legal-prose video { max-width: 100% !important; border-radius: var(--r-card) !important; }
.atlas-frame :focus-visible { outline: 3px solid var(--atlas-red); outline-offset: 4px; }
@media (max-width: 820px) {
  .atlas-masthead nav { gap: 10px 16px; }
  .atlas-account-actions { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .atlas-frame { background-size: 350px; }
  .atlas-masthead { padding-top: 20px; }
  .atlas-masthead__inner { width: calc(100% - 54px); min-height: 0; padding: 17px 19px; box-shadow: 7px 9px 0 var(--atlas-edge), 15px 18px 0 var(--atlas-depth); }
  .atlas-brand { font-size: 27px; }
  .atlas-brand img { width: 36px; height: 36px; }
  .atlas-masthead nav { justify-content: flex-start; width: 100%; margin-left: 0; }
  .atlas-account-actions { margin-left: 0; }
  .atlas-main, .atlas-main--narrow { width: calc(100% - 54px); padding: 58px 0 76px; }
  .atlas-panel { padding: 26px 19px; box-shadow: 7px 9px 0 var(--atlas-edge), 15px 18px 0 var(--atlas-depth); }
  .atlas-footer__inner { width: calc(100% - 54px); }
}
