:root {
  color-scheme: dark;
  --bg: #141615;
  --panel: #1d201e;
  --fg: #f5f3e9;
  --dim: #c5c9c2;
  --lime: #e4fb94;
  --line: #3e463f;
  --mono: ui-monospace,"Courier New",monospace;
}

html { scrollbar-gutter: stable; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.55 system-ui,sans-serif;
}

a { color: inherit; text-underline-offset: .24em; }

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

.shell {
  width: min(calc(100% - 5rem),1150px);
  margin-inline: auto;
}

.bar,.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  border-bottom: 1px solid var(--line);
  padding-block: 1.15rem;
}

.brand {
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  margin-right: .5rem;
  color: var(--lime);
  font: 700 1rem/1 var(--mono);
}

nav {
  display: flex;
  gap: clamp(.9rem,4vw,2.8rem);
  font: .8rem/1.35 var(--mono);
}

nav a { text-decoration: none; }
nav a[aria-current="page"],nav a:hover,.preview-controls a:hover { color: var(--lime); }

.opening {
  text-align: center;
  padding-block: clamp(3rem,8vw,7rem) clamp(2.7rem,5vw,4.8rem);
}

.kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.3rem;
  color: var(--lime);
  font: .76rem/1.45 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.kicker span {
  inline-size: .55rem;
  block-size: .55rem;
  border-radius: 50%;
  background: var(--lime);
}

h1,h2,h3,p { margin-top: 0; }

h1 {
  font-size: clamp(3.3rem,8.8vw,8.75rem);
  letter-spacing: -.085em;
  line-height: .89;
  margin-bottom: 1.4rem;
  font-weight: 830;
}

h1 em { font-style: normal; color: var(--lime); }

.lede {
  max-width: 53ch;
  color: var(--dim);
  margin: 0 auto 1.5rem;
}

.primary {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: var(--lime);
  color: #202719;
  padding: .73rem 1rem;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 780;
}

.primary:hover { background: #f0ffbd; }

.preview-heading,.preview-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.preview-heading {
  padding: .65rem 0;
  border-top: 1px solid var(--line);
}

.preview-heading h2,.preview-heading p,.preview-controls {
  font: .79rem/1.4 var(--mono);
  margin: 0;
}

.preview-heading p { color: var(--dim); text-align: right; }

.frame { margin: 0; position: relative; background: #202524; }

.frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 2.45;
  object-position: 50% 59%;
}

.frame figcaption { position: absolute; inset: auto 1rem 10%; text-align: center; }

.frame figcaption span {
  display: inline-block;
  padding: .23rem .62rem;
  background: #0c100e;
  color: white;
  font-size: clamp(.9rem,2.2vw,1.6rem);
}

.preview-controls {
  border-bottom: 1px solid var(--line);
  padding: .7rem 0;
  min-height: 3.25rem;
  flex-wrap: wrap;
}

.preview-controls>a { margin-left: auto; }

.cues { display: flex; gap: .35rem; flex-wrap: wrap; }
.cues[hidden] { display: none; }

.cues button {
  font: inherit;
  color: var(--dim);
  background: none;
  border: 1px solid var(--line);
  padding: .35rem .55rem;
  cursor: pointer;
}

.cues button[aria-pressed=true] {
  color: #202719;
  background: var(--lime);
  border-color: var(--lime);
}

.features {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(1.5rem,4vw,3.5rem);
  padding-block: clamp(2.7rem,6vw,5.5rem);
}

.features h2 {
  font-size: clamp(1.28rem,2.35vw,2rem);
  letter-spacing: -.05em;
  line-height: 1.07;
  margin-bottom: .8rem;
}

.features p,.access p:not(.kicker) { color: var(--dim); }

.access { background: var(--panel); border-block: 1px solid var(--line); }

.access-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem,6vw,6rem);
  padding-block: clamp(2.5rem,6vw,5rem);
}

.access .kicker { justify-content: flex-start; }

.access h2 {
  font-size: clamp(2.6rem,6vw,5.8rem);
  letter-spacing: -.08em;
  line-height: .9;
  margin-bottom: 1.2rem;
}

.access h3 { margin-bottom: .5rem; }
.access ul { padding-left: 1.15rem; margin: .5rem 0 1.15rem; }

.address {
  margin: .7rem 0 0;
  font: .78rem/1.55 var(--mono);
  overflow-wrap: anywhere;
}

.footer { border-bottom: 0; font: .8rem/1.4 var(--mono); color: var(--dim); }

.article-page { max-width: 720px; padding-block: 4rem; }
.article-page h1 { font-size: clamp(2.75rem,7vw,5rem); }

@media(max-width:700px) {
  .shell { width: calc(100% - 2rem); }
  .features,.access-inner { grid-template-columns: 1fr; }
  .frame img { aspect-ratio: 1.65; }
  .features article p { margin-bottom: 0; }
}

@media(max-width:410px) {
  .brand { white-space: normal; }
  .brand span { display: none; }
  .bar { gap: .65rem; }
  nav { font-size: .7rem; gap: .65rem; }
  .opening h1 { font-size: 3.26rem; }
}
