@font-face {
  font-family: 'Instrument Sans';
  src: url('./assets/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #f6f5fb;
  --muted: #c0cade;
  --base: #0d1427;
  --surface: #17243b;
  --border: #56647e;
  --gold: #ffd277;
  --gold-ink: #211b31;
  --cyan: #a7ebe3;
  background: var(--base);
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-block: 1.25rem; }
body { margin: 0; background: radial-gradient(ellipse at 85% 3%, #232844 0%, transparent 35%), #0d1427; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }
p, h1, h2 { margin: 0; }
p { line-height: 1.55; }
h1, h2 { overflow-wrap: anywhere; }
img { display: block; }
.frame { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; inset-inline-start: .75rem; inset-block-start: .75rem; background: var(--gold); color: var(--gold-ink); padding: .75rem; z-index: 5; }
.masthead { border-block-end: 1px solid #373c57; }
.top, .brand, .top nav, .footer, .footer nav { display: flex; align-items: center; }
.top { min-height: 4.65rem; justify-content: space-between; gap: .6rem; }
.brand { gap: .38rem; min-height: 44px; text-decoration: none; font-size: 1.45rem; letter-spacing: -.05em; font-weight: 700; }
.brand img { width: 35px; height: 35px; object-fit: contain; }
.brand-period { color: var(--gold); }
.top nav { gap: clamp(.35rem, 2vw, 1.3rem); }
.top nav a { text-decoration: none; color: var(--muted); min-height: 44px; display: grid; align-items: center; font-size: .8rem; padding-inline: .12rem; }
.top nav a:hover, .footer a:hover { color: var(--gold); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .62rem .84rem; border-radius: .65rem; font-size: .84rem; font-weight: 700; text-decoration: none; text-align: center; transition: background-color .16s ease, border-color .16s ease; }
.sign-in { border: 1px solid var(--border); background: #24314a; white-space: nowrap; }
.sign-in:hover { border-color: var(--cyan); }
main:focus { outline: none; }
.hero { isolation: isolate; position: relative; min-height: 24rem; display: grid; align-content: end; overflow: hidden; margin-block: .9rem 1rem; border-radius: 1.35rem; border: 1px solid #65778b; background: #18253e; box-shadow: 0 24px 54px -30px #05040e; }
.hero-picture { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(12,19,39,.99), rgba(12,19,39,.89) 49%, rgba(12,19,39,.12) 96%); }
.hero-copy { max-width: 34rem; padding: clamp(1.2rem, 4.9vw, 3.3rem); }
.hero .eyebrow { font-size: .76rem; letter-spacing: .07em; font-weight: 700; color: var(--gold); margin-bottom: .48rem; }
.hero h1 { font-size: clamp(2.5rem, 7.8vw, 5rem); line-height: .99; letter-spacing: -.065em; font-weight: 700; text-wrap: balance; }
.hero-copy > p:not(.eyebrow) { max-width: 34ch; color: #e5edfb; margin-block: .9rem 1rem; }
.primary { background: var(--gold); color: var(--gold-ink); border: 1px solid #dbaa50; padding-inline: 1rem; box-shadow: 0 2px 0 #a97329; }
.primary:hover { background: #ffe1a3; }
.workspace-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; background: #1a2840; border: 1px solid #485a74; padding: .77rem .94rem; border-radius: .8rem; margin-bottom: 1rem; font-size: .86rem; }
.workspace-note strong { color: var(--cyan); }
.workspace-note p { color: var(--muted); }
.tools { display: grid; gap: .8rem; }
.tool { display: grid; align-content: start; justify-items: start; gap: .58rem; padding: clamp(1rem, 3.4vw, 1.55rem); border: 1px solid var(--border); border-radius: 1rem; background: #202741; box-shadow: 0 12px 24px -24px #040713; }
.tool.funding { background: linear-gradient(145deg,#35304d,#1a253c 70%); }
.tool.programs { background: linear-gradient(145deg,#1f394a,#17243b 70%); }
.tool img { margin-bottom: .18rem; object-fit: contain; }
.tool h2, .lifecycle h2 { font-size: clamp(1.32rem,3vw,1.75rem); letter-spacing: -.04em; line-height: 1.15; }
.tool p { color: var(--muted); max-width: 45ch; }
.tool-link { border: 1px solid #7e91ad; background: #29354d; margin-top: .32rem; }
.tool-link:hover { border-color: var(--cyan); background: #374b65; }
.lifecycle { margin-block: 1.25rem; border: 1px solid #475675; border-radius: 1rem; padding: clamp(1rem, 4vw, 1.6rem); background: #131e35; }
.lifecycle ol { margin-block: .88rem 0; margin-inline: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.lifecycle li { border-inline-start: 2px solid #748ab0; padding-inline-start: .7rem; }
.lifecycle strong, .lifecycle span { display: block; }
.lifecycle strong { font-size: .87rem; }
.lifecycle span { color: var(--muted); font-size: .8rem; margin-top: .19rem; line-height: 1.4; }
.footer { border-block-start: 1px solid #373c57; min-height: 4rem; justify-content: space-between; gap: .55rem; flex-wrap: wrap; color: var(--muted); font-size: .78rem; }
.footer nav { gap: .6rem; }
.footer a { min-height: 44px; display: inline-grid; align-items: center; }
@media (max-width: 359px) {
  .top nav { display: none; }
}
@media (min-width: 520px) {
  .frame { width: min(100% - 3rem,76rem); }
  .brand { font-size: 1.68rem; }
  .brand img { width: 40px; height: 40px; }
  .top nav a { font-size: .93rem; padding-inline: .28rem; }
  .hero::after { background: linear-gradient(90deg, rgba(12,19,39,.98), rgba(12,19,39,.71) 52%, rgba(12,19,39,.10)); }
  .hero { align-content: center; min-height: clamp(25rem, 48vw, 31rem); }
}
@media (min-width: 650px) {
  .tools { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tool { grid-template-rows: auto auto 1fr auto; }
  .lifecycle ol { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 980px) {
  .hero { margin-block-start: 1.4rem; }
  .lifecycle ol { grid-template-columns: repeat(5, minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
