/* DCRSP landing: tokens, fonts, reset, the five-column grid, type and buttons. */
:root {
  --bg: #0b1513;
  --bg-2: #101e1b;
  --bg-3: #16271f;
  --light: #ececea;
  --light-2: #f8f8f6;
  --ink: #f3f6f4;
  --muted: #a3b3ad;
  --ink-d: #0b1513;
  --muted-d: #4a5552;
  --lime: #e3f24a;
  --lime-2: #d2e236;
  --line-dk: rgba(255, 255, 255, 0.05);
  --line-lt: rgba(11, 21, 19, 0.07);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-hero: clamp(2.6rem, 6vw, 5.4rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 4rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.9rem);
  --fs-lead: clamp(1rem, 1.2vw, 1.15rem);
  --max: 1280px;
  --gut: clamp(16px, 3.4vw, 44px);
  --sec: clamp(80px, 9vw, 136px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/inter-700.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
ol,
ul,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
/* Closed panels and inactive slides use the hidden attribute; it beats any one-class display rule. */
html [hidden] {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--ink-d);
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* The section frame: a fine five-column grid with "+" marks where the rules cross. */
.section {
  position: relative;
  padding: var(--sec) 0;
  isolation: isolate;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(to right, var(--line-dk) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--max)) - 2 * var(--gut)) / 5) 100%;
  background-position: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 0;
}
.light {
  background: var(--light);
  color: var(--ink-d);
}
.light::before {
  background-image: linear-gradient(to right, var(--line-lt) 1px, transparent 1px);
}
.wrap {
  width: min(100% - 2 * var(--gut), var(--max) - 2 * var(--gut));
  margin-inline: auto;
}
.rule {
  height: 1px;
  background: var(--line-dk);
  margin-block: clamp(48px, 6vw, 84px);
}
.light .rule {
  background: var(--line-lt);
}
.grid5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 0;
}
.c-label {
  grid-column: 1;
  padding-right: 16px;
}
.c-main {
  grid-column: 2 / 6;
}

/* "//" section labels, as on the reference page. */
.label {
  display: inline-flex;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.label::before {
  content: "//";
  color: var(--lime);
  font-weight: 700;
}
.light .label::before {
  color: #6f7c10;
}
.h1,
.h2 {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.h1 {
  font-size: var(--fs-hero);
}
.h2 {
  font-size: var(--fs-h2);
  max-width: 15ch;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 46ch;
  margin-top: 20px;
}
.muted {
  color: var(--muted);
}
.light .lead,
.light .muted {
  color: var(--muted-d);
}
.sec-head {
  align-items: start;
}
.sec-head .act {
  grid-column: 5;
  justify-self: end;
  align-self: end;
}

/* Buttons: a label and a square arrow cell, lime on dark and ink on light. */
.btn {
  display: inline-flex;
  align-items: stretch;
  min-height: 44px;
  background: var(--lime);
  color: var(--ink-d);
  border: 2px solid var(--lime);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.btn > span:first-child {
  display: flex;
  align-items: center;
  padding: 0 22px 0 14px;
  min-width: 150px;
}
.btn .arr {
  display: grid;
  place-items: center;
  width: 40px;
  background: var(--ink-d);
  color: var(--lime);
  transition: transform 0.25s var(--ease);
}
.btn .arr svg {
  width: 16px;
  height: 16px;
}
.btn:hover .arr {
  transform: translateX(3px);
}
.btn.dark {
  background: var(--ink-d);
  color: var(--ink);
  border-color: var(--ink-d);
}
.btn.dark .arr {
  background: var(--light-2);
  color: var(--ink-d);
}
.link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
