:root {
  color-scheme: light dark;
  --page-bg: #0b0c0d;
  --text-primary: rgba(239, 242, 242, 0.86);
  --text-secondary: rgba(211, 219, 220, 0.68);
  --text-muted: rgba(163, 177, 180, 0.5);
  --selection-bg: rgba(140, 185, 199, 0.24);
  --selection-text: #ffffff;
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --studio-font: var(--font-sans);
  --studio-size: 2.2em;
  --studio-primary-weight: 400;
  --studio-secondary-weight: 360;
  --studio-tracking: 0;
  --studio-gap: 0.46em;
  --studio-margin: 1.5em;
  --studio-secondary-opacity: 0.56;
  --studio-rule-opacity: 0;
  --studio-rule-width: 100%;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  overflow: hidden;
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

#findit-background {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
}

::selection {
  color: var(--selection-text);
  background: var(--selection-bg);
}

.intro-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100vw;
  min-height: 100vh;
  padding: clamp(28px, 5.6vw, 92px);
  place-items: center;
  pointer-events: none;
}

.intro-composition {
  width: min(100%, 650px);
}

.intro {
  --copy-width: 61ch;
  --paragraph-gap: 1.08em;
  width: 100%;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.18vw, 1.17rem);
  line-height: 1.72;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.24);
  transition:
    color 180ms ease,
    text-shadow 220ms ease;
}

.studio-title,
.intro h1,
.intro p {
  max-width: var(--copy-width, 61ch);
  margin: 0;
}

.studio-title {
  position: relative;
  display: inline-flex;
  gap: var(--studio-gap);
  align-items: baseline;
  margin-bottom: var(--studio-margin);
  color: var(--text-primary);
  font-family: var(--studio-font);
  font-size: var(--studio-size);
  font-weight: var(--studio-primary-weight);
  line-height: 1;
  letter-spacing: var(--studio-tracking);
}

.studio-title span {
  display: inline-block;
}

.studio-title span + span {
  color: var(--text-primary);
  font-weight: var(--studio-secondary-weight);
  opacity: var(--studio-secondary-opacity);
}

.studio-title::after {
  position: absolute;
  top: calc(100% + 0.62em);
  left: 0;
  display: block;
  width: var(--studio-rule-width);
  height: 1px;
  background: currentColor;
  opacity: var(--studio-rule-opacity);
  content: "";
}

.intro h1 {
  margin-bottom: var(--paragraph-gap);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.intro-copy {
  display: grid;
  gap: var(--paragraph-gap);
}

.intro-mission {
  margin-top: 0.34em;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.98em;
  font-weight: 500;
  letter-spacing: 0;
}

.intro-note {
  padding-top: 0.24em;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82em;
  line-height: 1.55;
}

@media (prefers-color-scheme: light) {
  :root {
    --text-primary: rgba(25, 30, 31, 0.82);
    --text-secondary: rgba(38, 47, 49, 0.64);
    --text-muted: rgba(67, 79, 82, 0.46);
    --selection-bg: rgba(52, 105, 124, 0.17);
    --selection-text: #0b0d0e;
  }

  .intro {
    text-shadow: 0 1px 22px rgba(255, 255, 255, 0.45);
  }
}

@media (max-width: 760px) {
  .intro-shell {
    padding: 28px;
  }

  .intro {
    font-size: clamp(0.95rem, 3.3vw, 1.05rem);
    line-height: 1.62;
  }
}
