/* Gyrfalcon Trading — shared styles.
 * Palette, type and measure follow the original landing page
 * (team-index/web/landing/assets/landing.css). */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Brand palette (brand/note.md): slate #1F2B30, off-white #F1EDE4,
 * amber #A86C1E on light / #D08A2E on dark. */
:root {
  --ink: #1F2B30;
  --muted: #5d676b;
  --rule: #e2ded5;
  --paper: #F6F4EF;
  --panel: #eeebe3;
  --accent: #1F2B30;
  --amber: #A86C1E;
  --measure: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F1EDE4; --muted: #a3aaad; --rule: #2a3438;
    --paper: #121A1D; --panel: #1a2428; --accent: #F1EDE4; --amber: #D08A2E;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex; flex-direction: column; min-height: 100vh;
}
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: 0.5rem 0.75rem; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-block: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: var(--ink); text-decoration: none;
}
.brand .mark { display: block; flex: none; }
.brand .mark img { display: block; width: 40px; height: 40px; }
.lockup { display: flex; flex-direction: column; line-height: 1; }
.wordmark { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.025em; }
.wordmark-sub {
  margin-top: 0.3rem; font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--amber);
}
.site-nav { display: flex; gap: 0.25rem 1.1rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: 0.9375rem;
  padding: 0.25rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--amber); }

/* Content */
main { flex: 1; padding-bottom: 3rem; }
main > section { padding: 2.25rem 0; border-bottom: 1px solid var(--rule); }
main > section:last-child { border-bottom: 0; }
.hero { padding-top: 3.5rem; }
h1 { margin: 0 0 0.75rem; font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; }
.lede { font-size: 1.125rem; margin: 0; color: var(--ink); max-width: 40rem; }
h2 {
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 600; margin: 0 0 1.1rem;
}
.strategy h2 { font-size: 1.125rem; text-transform: none; letter-spacing: -0.01em; color: var(--ink); }
h3 { margin: 0 0 0.4rem; font-size: 1.0625rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.more:hover { text-decoration-color: currentColor; }
.big { font-size: 1.25rem; font-weight: 600; }
.fine { color: var(--muted); font-size: 0.875rem; }

.grid {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.85rem;
}
@media (min-width: 600px) { .grid.two { grid-template-columns: repeat(2, 1fr); } }
.card {
  border: 1px solid var(--rule); border-radius: 8px;
  padding: 1.1rem 1.15rem; background: var(--paper);
}
.card p { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.card.league p { margin-bottom: 0.4rem; }
.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.1rem 0.5rem; border-radius: 999px; margin-right: 0.35rem;
  border: 1px solid var(--rule); background: var(--panel); color: var(--ink);
}
.callout {
  border-left: 3px solid var(--amber); background: var(--panel);
  padding: 0.85rem 1rem; border-radius: 0 6px 6px 0; margin-bottom: 1.25rem; font-size: 0.9375rem;
}
.plain { margin: 0; padding-left: 1.1rem; }
.plain li { margin-bottom: 0.5rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 1.75rem 0 2.5rem; color: var(--muted); font-size: 0.8125rem; }
.site-footer .notice { max-width: 38rem; }
.site-footer p { margin: 0 0 0.6rem; }
.site-footer a { color: var(--muted); }

@media (max-width: 480px) {
  .hero { padding-top: 2.25rem; }
  h1 { font-size: 1.85rem; }
  .lede { font-size: 1.0625rem; }
  .header-inner { padding-block: 0.85rem; }
}
