/* ScopeRunway static pages: Steel Command tokens and shared brand parts.
   Every page in /public/pages links this file only.
   Token values are copied from docs/design-system/tokens. Change them there first.
   Logo geometry comes from src/components/brand/logo.tsx. */

/* ---- Webfonts: self-hosted, OFL-licensed, no third-party request ---- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-mono-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/lato-regular.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  /* Brand */
  --steel-primary:  #1E3040;
  --steel-deep:     #132230;
  --steel-accent:   #C06830;
  --steel-accent-2: #B85C38;
  --steel-muted:    #9DB2C4;
  --steel-light:    #EDF0F4;

  /* Surface and elevation */
  --surface-0: #1E3040;
  --surface-1: #18293A;
  --surface-2: #132230;
  --surface-3: #0F1C28;

  /* Text */
  --text-1: #EDF0F4;
  --text-2: #9DB2C4;
  --text-3: #6E91A8;
  --text-on-accent: #FFFFFF;
  --text-on-light:  #132230;

  /* Borders and dividers */
  --border-1:      rgba(255, 255, 255, 0.08);
  --divider:       rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-active: #C06830;

  /* Accent */
  --accent:       var(--steel-accent);
  --accent-hover: var(--steel-accent-2);
  --accent-tint:  rgba(192, 104, 48, 0.14);

  /* Semantic state */
  --state-info:    #4A90B8;
  --state-success: #4A9B72;
  --state-warning: #C9A23F;
  --state-danger:  #C9543F;
  --state-info-tint:    rgba(74, 144, 184, 0.14);
  --state-success-tint: rgba(74, 155, 114, 0.14);
  --state-warning-tint: rgba(201, 162, 63, 0.14);
  --state-danger-tint:  rgba(201, 84, 63, 0.14);

  /* Sector palette */
  --sector-residential:    #4A90B8;
  --sector-commercial:     #C06830;
  --sector-industrial:     #7C6BAA;
  --sector-infrastructure: #4A9B72;
  --sector-healthcare:     #A66B5B;
  --sector-educational:    #4A8A7C;
  --sector-hospitality:    #B8874A;
  --sector-mixed-use:      #6B7CAA;
  --sector-aviation:       #4A6BAA;
  --sector-advanced-tech:  #7CAA6B;

  /* Type */
  --font-ui:    "Inter", "Segoe UI", system-ui, sans-serif;
  --font-table: "Lato", system-ui, sans-serif;
  --font-mono:  "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extra:    800;
  --text-xs:   11px;  --lh-xs:   16px;
  --text-sm:   13px;  --lh-sm:   18px;
  --text-base: 14px;  --lh-base: 21px;
  --text-md:   16px;  --lh-md:   24px;
  --text-lg:   19px;  --lh-lg:   26px;
  --text-xl:   22px;  --lh-xl:   28px;
  --text-2xl:  28px;  --lh-2xl:  34px;
  --track-tight:   -0.02em;
  --track-label:    0.06em;
  --track-eyebrow:  0.18em;

  /* Spacing */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;

  /* Radius */
  --radius-lg:   8px;
  --radius-md:   6px;
  --radius-sm:   4px;
  --radius-pill: 999px;

  /* Elevation: floating elements only */
  --shadow-float:    0 8px 24px rgba(0, 0, 0, 0.34);
  --shadow-float-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
}

/* ---- Logo lockup: chevron mark + wordmark ---- */
.sr-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  color: var(--text-1);
  text-decoration: none;
}
.sr-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--steel-accent);
}
.sr-mark svg {
  display: block;
  width: 56%;
  height: 56%;
}
.sr-word {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: var(--weight-extra);
  line-height: 1;
  letter-spacing: var(--track-tight);
  white-space: nowrap;
}
.sr-word span { color: var(--steel-accent); }

/* ---- Top bar shared by the pages ---- */
.sr-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  padding: var(--space-3) var(--space-5);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-1);
}
.sr-bar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.sr-bar-meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-3);
}
.sr-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  line-height: var(--lh-xs);
  color: var(--text-2);
  text-decoration: none;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  transition: color 0.12s, border-color 0.12s;
}
.sr-link:hover { color: var(--text-1); border-color: var(--border-strong); }
.sr-tag {
  padding: 2px var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  line-height: var(--lh-xs);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--steel-accent);
  border: 1px solid var(--steel-accent);
  border-radius: var(--radius-sm);
}

/* ---- Marketing background: faint dot grid ---- */
.sr-dots {
  background-image: radial-gradient(circle at 1px 1px, rgba(157, 178, 196, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
}

:focus-visible { outline: 2px solid var(--border-active); outline-offset: 2px; }
