:root {
  color-scheme: dark;
  --background: #111213;
  --surface: #1b1c1d;
  --text: #ffffff;
  --secondary: #b4b3b2;
  --accent: #e64b25;
  --accent-text: #ef603e;
  --accent-hover: #f16441;
  --max-width: 70rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { background: var(--background); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); text-underline-offset: 0.22em; }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 5px; border-radius: 4px; }
.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  color: var(--background);
  background: var(--text);
  border-radius: 0.5rem;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); color: var(--background); }
.site-header, .site-footer, main { width: min(89%, var(--max-width)); margin-inline: auto; }
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.375rem;
}
.wordmark { display: inline-flex; align-items: center; min-height: 2.875rem; width: 11.8125rem; max-width: 100%; }
.wordmark img { display: block; width: 100%; height: auto; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.8rem; font-size: 0.875rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #c4c3c2; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -0.025em; }
h1 { margin: 0; font-size: clamp(2.4rem, 1.4rem + 4vw, 4rem); font-weight: 550; }
h2 { margin: 3.2rem 0 0.8rem; font-size: 1.55rem; font-weight: 600; }
h3 { margin: 1.8rem 0 0.45rem; font-size: 1.125rem; font-weight: 500; }
p, ul { color: var(--secondary); }
strong { color: var(--text); font-weight: 600; }

/* Space and type group the homepage content, without divider rules. */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: 7%;
  padding: 5.375rem 0 4.25rem;
}
.copy { min-width: 0; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.375rem, 1.3rem + 3.3vw, 4.25rem); line-height: 1.06; letter-spacing: -0.055em; text-wrap: balance; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: #c6c2be; }
.description { max-width: 22rem; margin: 1.6875rem 0 0; font-size: 1.0625rem; line-height: 1.7; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.0625rem; margin-top: 1.9375rem; }
.cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1875rem;
  min-height: 2.875rem;
  padding: 0.6875rem 1.125rem;
  color: var(--background);
  background: var(--accent);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.cta:hover, .button:hover { color: var(--background); background: var(--accent-hover); }
.cta svg { flex: none; width: 1rem; height: 1rem; }
.platform { color: var(--secondary); font-size: 0.875rem; }
.record-stage { isolation: isolate; position: relative; min-width: 0; padding: 1.0625rem 0; }
.record-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -0.75rem -1.6875rem;
  pointer-events: none;
  background: radial-gradient(ellipse 61% 24% at 55% 81%, #e64b251f, #e64b250c 60%, transparent 100%);
}
.records {
  position: relative;
  padding: 1.75rem 1.875rem 1.9375rem;
  border-radius: 0.9375rem;
  background: linear-gradient(160deg, #1b1c1d, #171819 75%);
  box-shadow: 0 12px 26px #03040535;
}
.record-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4375rem 1rem;
  margin-bottom: 1.875rem;
  color: #b1b0ad;
  font-size: 0.875rem;
  line-height: 1.5;
}
.record-head h2 { margin: 0; color: #e2dfdb; font-size: inherit; font-weight: 500; letter-spacing: normal; }
.record-list { display: grid; gap: 1.75rem; }
.record p { margin: 0.3125rem 0 0; color: #aaa9a7; font-size: 0.875rem; line-height: 1.6; }
.record .record-type { margin: 0 0 0.4375rem; color: #b5b3b0; line-height: 1.5; }
.installed { color: var(--accent-text); }
.record h3 { margin: 0; font-size: 1.0625rem; line-height: 1.45; letter-spacing: -0.02em; }
.foundations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding: 1.25rem 0 3rem; scroll-margin-top: 2rem; }
.foundations h2 { margin: 0 0 0.625rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.5; letter-spacing: -0.02em; }
.foundations p { max-width: 18rem; margin: 0; font-size: 1rem; line-height: 1.75; text-wrap: pretty; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1rem 0 1.875rem; font-size: 0.875rem; }
.site-footer p { margin: 0; }
.site-footer a { color: #c4c3c2; }
.privacy-note, .footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; gap: 0.5rem 1.5rem; }
.privacy-note strong { color: #d9d6d1; font-weight: 500; }
.footer-links { margin-top: 1rem; font-size: 0.8125rem; }
.footer-links nav { font-size: inherit; }

/* Keep policy and help content comfortably narrow within the shared identity. */
main.document { max-width: 47.5rem; padding: 5rem 0 4rem; overflow-wrap: anywhere; }
.document h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4rem); }
.eyebrow { margin: 0 0 0.8rem; color: var(--accent-text); font-size: 0.875rem; font-weight: 600; }
.lede { margin: 1.4rem 0 0; color: #c6c2be; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.35rem); }
.meta { margin-top: 1.25rem; font-size: 0.875rem; }
.document section, .support-panel { scroll-margin-top: 2rem; }
.document ul { padding-left: 1.25rem; }
.document li + li { margin-top: 0.45rem; }
.callout, .support-panel { margin: 2.3rem 0; padding: 1.25rem 1.35rem; background: var(--surface); border-radius: 0.9375rem; }
.callout p, .support-panel p { margin: 0; }
.document .button { margin-top: 1.15rem; }

@media (max-width: 48rem) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.1875rem; padding-top: 3.6875rem; padding-bottom: 2.375rem; }
  .hero h1 { font-size: clamp(2.375rem, 1.25rem + 5.25vw, 4.0625rem); }
  .description { max-width: 29.375rem; }
  .record-stage { padding: 0.5625rem 0 1.0625rem; }
  .foundations { gap: 1.625rem; padding-bottom: 2.25rem; }
}
@media (max-width: 34rem) {
  .site-header { padding-top: 1rem; gap: 0.5rem 1.125rem; }
  .wordmark { width: 10.3125rem; }
  nav { gap: 0.25rem 1.125rem; }
  .hero { padding-top: 2.6875rem; }
  .description { font-size: 1rem; }
  .records { padding: 1.625rem 1.5625rem 1.875rem; }
  .record-stage::before { left: -0.5rem; right: -0.5rem; }
  .foundations { grid-template-columns: minmax(0, 1fr); gap: 1.8125rem; padding-top: 0.5625rem; }
  .foundations p { max-width: 22rem; }
  main.document { padding-top: 3.5rem; }
  .site-footer { flex-direction: column; }
}
@media (prefers-contrast: more) {
  :root { --secondary: #ddd; --accent-text: #ff7959; }
  .records { background: #202122; }
  .record p, .record-head, .record .record-type, .hero h1 span:last-child,
  .lede, nav a, .site-footer a, .privacy-note strong { color: var(--text); }
  .record-stage::before { display: none; }
}
@media (forced-colors: active) {
  .cta, .button, .records, .callout, .support-panel { outline: 1px solid CanvasText; }
  .record-stage::before { display: none; }
}
