/* The oxbowhq.com landing page. Role tokens from tokens.css only (--ox-*), the Oxbow base system, no org layer.
   Follows the system light or dark setting. The look is the prototype first/oxbowhq.html (first.css, sites.css): the night header, the night hero with the river, the badge tiles, the three-part footer. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 400 15px/23px var(--ox-font-data);
  color: var(--ox-ink);
  background: var(--ox-night-page-light);
  overflow-wrap: break-word;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body { background: var(--ox-ground); } }
:root[data-theme="dark"] body { background: var(--ox-ground); }

h1, h2, h3 { font-family: var(--ox-font-ui); color: var(--ox-ink); margin: 0 0 var(--ox-space-4); }
h1 { font: var(--ox-text-h1); letter-spacing: var(--ox-tracking-h1); }
h2 { font: var(--ox-text-h2); letter-spacing: var(--ox-tracking-h2); margin-top: var(--ox-space-8); }
h3 { font: var(--ox-text-h3); }
p { margin: 0 0 var(--ox-space-4); }
a { color: var(--ox-lake); }
[hidden] { display: none !important; }
main:focus { outline: none; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--ox-focus); outline-offset: 2px; }

/* Skip link: off screen until it has focus, then top left above the header */
.skip-link {
  position: absolute;
  left: var(--ox-space-3);
  top: -100px;
  z-index: 10;
  padding: var(--ox-space-3) var(--ox-space-4);
  font: var(--ox-text-label);
  background: var(--ox-surface-raised);
  color: var(--ox-ink);
  border: 1px solid var(--ox-line-strong);
  border-radius: var(--ox-radius-md);
}
.skip-link:focus { top: var(--ox-space-2); }

/* Header: the Night Shift header (navy in both themes, the picture static/brand/hdr-night.svg), 56 px tall, the white wordmark and the sign-in pill */
.site-header { background: var(--ox-current) url(/static/brand/hdr-night.svg) center / 100% 100% no-repeat; color: white; position: sticky; top: 0; z-index: 5; box-shadow: var(--ox-night-hdr-shadow); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--ox-space-3); min-height: 56px; padding: 0 var(--ox-space-4); }
.wordmark { display: block; line-height: 0; }
.wordmark img { display: block; width: auto; height: 20px; }
.site-name { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-header a:focus-visible { outline: 3px solid var(--ox-focus); outline-offset: 2px; box-shadow: 0 0 0 2px white; }
.hq-signin { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 8px; color: white; font: 500 13px/16px var(--ox-font-ui); text-decoration: none; background: color-mix(in srgb, var(--ox-night-ink) 16%, transparent); }
.hq-signin:hover { color: white; text-decoration: underline; }

/* Buttons: Lake with On Lake text, at least 44 px tall */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: var(--ox-space-2) var(--ox-space-6);
  font: var(--ox-text-label);
  color: var(--ox-on-lake);
  background: var(--ox-lake);
  border: 2px solid var(--ox-lake);
  border-radius: var(--ox-radius-md);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { text-decoration: underline; }
.btn.quiet { color: var(--ox-ink); background: transparent; border-color: var(--ox-line-strong); padding: var(--ox-space-2) var(--ox-space-3); }
.btn.quiet:hover { background: var(--ox-shallows); }

/* Hero: the night ground and glow, the river drawn over it, white text */
.landing-hero { position: relative; overflow: hidden; color: var(--ox-night-ink); background: url(/static/brand/signin-night-river.svg) center / cover no-repeat, var(--ox-night-glow), var(--ox-night-ground); }
.landing-hero .hq-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.landing-hero h1 { margin: 0; color: var(--ox-night-ink); font: 700 56px/60px var(--ox-font-ui); letter-spacing: -0.02em; }
.landing-hero h1 em { font-style: normal; color: var(--ox-night-accent); }
.hq-lead { max-width: 32em; margin: 16px 0 26px; font: 400 18px/27px var(--ox-font-data); color: var(--ox-night-soft); }
.btn.light { gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--ox-night-button); color: var(--ox-night-button-ink); font: 600 15px/1 var(--ox-font-ui); }
.btn.light:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px color-mix(in srgb, var(--ox-night-ground) 25%, transparent); }
.btn.light svg { width: 16px; height: 16px; }
.hq-pvw { transform: rotate(-2deg); }
.hq-pvw .signin-pv { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) { .landing-hero .hq-copy .btn.light { transition: transform 0.15s, box-shadow 0.15s; } }

main { flex: 1 0 auto; width: 100%; }
.landing-inner { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* What ShiftMate does */
.hq-features { padding: 44px 0 8px; }
.hq-features h2, .hq-team h2 { margin: 0 0 14px; font: 700 26px/32px var(--ox-font-ui); letter-spacing: -0.02em; }
.hq-feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hq-feat li { background: var(--ox-surface); border-radius: 18px; box-shadow: var(--ox-night-card-shadow); padding: 20px; }
.hq-feat h3 { margin: 0 0 5px; font: 600 17px/23px var(--ox-font-ui); letter-spacing: -0.02em; }
.hq-feat p { margin: 0; font-size: 14px; line-height: 21px; color: var(--ox-muted); }
.hq-team { padding: 44px 0 44px; }

/* Footer: the links on the left, Feedback and the theme in the middle, on a solid fill (the prototype's footer.js) */
.site-footer { margin-top: auto; position: relative; z-index: 1; color: var(--ox-muted); background: var(--ox-shallows) url(/static/brand/footer-light.svg) center / 100% 100% no-repeat; border-top: 1px solid var(--ox-line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background-image: url(/static/brand/footer-dark.svg); } }
:root[data-theme="dark"] .site-footer { background-image: url(/static/brand/footer-dark.svg); }
.footer-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px 18px; align-items: center; padding: 10px var(--ox-space-4); font-size: 12px; line-height: 18px; }
.footer-bar a { color: var(--ox-lake); }
.footer-left { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; min-width: 0; }
.footer-left .wordmark img { height: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 12px; list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; }
.footer-center { display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer-feedback { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 8px; font-weight: 500; text-decoration: none; white-space: nowrap; background: color-mix(in srgb, var(--ox-ink) 5.5%, transparent); }
.footer-feedback:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .footer-feedback, :root:not([data-theme="light"]) .footer-center .theme-switch { background: color-mix(in srgb, var(--ox-ink) 7%, transparent); } }
:root[data-theme="dark"] .footer-feedback, :root[data-theme="dark"] .footer-center .theme-switch { background: color-mix(in srgb, var(--ox-ink) 7%, transparent); }
.footer-bar a:focus-visible, .footer-bar button:focus-visible { outline: 3px solid var(--ox-focus); outline-offset: 2px; }
.theme-switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: color-mix(in srgb, var(--ox-ink) 5.5%, transparent); }
.theme-switch[hidden] { display: none; }
.theme-switch .btn, .theme-switch .btn.quiet { display: grid; place-items: center; width: 30px; min-width: 30px; height: 24px; min-height: 24px; padding: 0; border: 0; border-radius: var(--ox-radius-sm); font-size: 0; line-height: 0; color: var(--ox-muted); background: transparent; }
.theme-switch .btn:hover { background: color-mix(in srgb, var(--ox-ink) 8%, transparent); text-decoration: none; }
.theme-switch .btn[aria-pressed="true"] { color: var(--ox-ink); background: var(--ox-surface); box-shadow: var(--ox-shadow-1); }
.theme-switch .btn::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.theme-switch [data-theme-choice="light"]::before { -webkit-mask-image: url(/static/brand/theme-sun.svg); mask-image: url(/static/brand/theme-sun.svg); }
.theme-switch [data-theme-choice="auto"]::before { -webkit-mask-image: url(/static/brand/theme-half.svg); mask-image: url(/static/brand/theme-half.svg); }
.theme-switch [data-theme-choice="dark"]::before { -webkit-mask-image: url(/static/brand/theme-moon.svg); mask-image: url(/static/brand/theme-moon.svg); }

@media (max-width: 980px) {
  .hq-grid, .hq-feat { grid-template-columns: minmax(0, 1fr); }
  .landing-hero h1 { font-size: 42px; line-height: 46px; }
  .hq-pvw { display: none; }
  .footer-bar { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .footer-left { justify-content: center; }
}
@media (max-width: 719px) { .landing-inner { padding-left: var(--ox-space-4); padding-right: var(--ox-space-4); } }
