/* Snowfox Capital's public pages: the site at the apex, and the app's front page. Colours and
   typeface from the user's own branding sheet (28 October 2026) - the same ones
   tradeview/app/src/theme/MuiTheme.ts applies to the signed-in app, so the two never look like
   different products either side of sign-in. The backdrop follows the user's reference (8 November
   2026, refined to the brand design on 13 November): a pale blue-white sky with soft angular
   light planes, and faceted mountain ranges along the bottom (sky.svg and ridges.svg). */
:root {
  --bg: #eef1f7;
  --fg: #0f2547;
  --muted: #5b6b82;
  --rule: #d5dce6;
  --accent-line: #2f6fd0;
  --button: #0b2d5b;
  --button-fg: #ffffff;
  --shadow: rgba(11, 45, 91, 0.22);
  --footer: #1e3556;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101a26;
    --fg: #e7ecf2;
    --muted: #a3b0c2;
    --rule: #2a3747;
    --accent-line: #5b9bf0;
    --button: #3b82f6;
    --button-fg: #08111d;
    --shadow: rgba(0, 0, 0, 0.45);
    --footer: #c3cedc;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
/* The backdrop, both traced from the brand design: the sky stretched to the viewport, the faceted
   mountain ranges along its foot, no narrower than 48rem so a phone shows the right-hand peaks
   rather than squeezing every range in. Each SVG follows prefers-color-scheme itself. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    url("/welcome/ridges.svg") right bottom / max(100%, 48rem) max(35vh, 12rem) no-repeat,
    url("/welcome/sky.svg") left top / 100% 100% no-repeat;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1rem 8rem;
  text-align: center;
}
/* The mark's own viewBox isn't square: width alone, height auto, keeps its aspect ratio. It
   carries its own fill, navy or light by prefers-color-scheme (tradeview/app/branding/), so
   `color` does not tint it. */
.mark { width: clamp(3.5rem, 9vw, 5rem); height: auto; margin-bottom: 1.75rem; }
/* The brand sheet's own wordmark treatment: "SNOWFOX" bold and dark, "CAPITAL" lighter and
   muted, both uppercase and widely letter-spaced. */
h1 {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 3.25rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.wordmark-primary { font-weight: 700; color: var(--fg); }
.wordmark-secondary { font-weight: 400; color: var(--muted); }
/* A thin rule with a short accent at its centre. */
.divider {
  position: relative;
  width: min(20rem, 70%);
  height: 1px;
  margin: 1.75rem 0 1.5rem;
  background: var(--rule);
}
.divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 6rem;
  height: 3px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--accent-line);
}
p {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  letter-spacing: 0.04em;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 3.25rem;
  border-radius: 0.5rem;
  background: var(--button);
  color: var(--button-fg);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px -8px var(--shadow), 0 2px 6px var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.button svg { width: 1.15em; height: 1.15em; }
.button:hover, .button:focus-visible {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -8px var(--shadow), 0 3px 8px var(--shadow);
}
.button:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 3px; }
footer {
  padding: 1.25rem 1rem;
  color: var(--footer);
  font-size: 0.875rem;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
