/* encycloplay.com: the EncycloPlay look (Citron + ink, the brand study's
   warm canvas and white rounded cards, Plus Jakarta Sans), light and dark. */
:root {
  --bg: #f5f3eb;
  --card: #fffef9;
  --ink: #292130;
  --muted: #4a4252;
  --quiet: #5c5466;
  --line: #e1dcd4;
  --citron: #ddf568;
  --on-citron: #292130;
  --button: #292130;
  --on-button: #fffef9;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1722;
    --card: #292130;
    --ink: #f5f3eb;
    --muted: #d4cedb;
    --quiet: #b9b1c2;
    --line: #3d3446;
    --button: #ddf568;
    --on-button: #292130;
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
img {
  display: block;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
/* The lockup: never below 160 px wide (brand.md), with clear space round it. */
.brand {
  display: block;
  padding: 6px 0;
}
.brand img {
  width: 200px;
  height: auto;
}
.top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-weight: 600;
  font-size: 15px;
}
.top nav a {
  text-decoration: none;
}
.pill {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
}
.pill.dark {
  background: var(--button);
  color: var(--on-button);
}
.pill.citron {
  background: var(--citron);
  color: var(--on-citron);
  border-color: var(--on-citron);
}
.pill.plain {
  background: var(--card);
  border-color: var(--line);
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 72px;
}
.hero > div {
  flex: 1 1 440px;
  min-width: 0;
  display: grid;
  gap: 22px;
}
.kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
}
h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
}
p {
  margin: 0;
}
.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 34ch;
}
.muted {
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* The animation has the warm canvas baked in, so its stage is that canvas. */
.stage {
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background: #f5f3eb;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.stage video {
  width: 72%;
  height: auto;
  aspect-ratio: 1;
}

.band {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section {
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  gap: 32px;
}
.intro {
  display: grid;
  gap: 8px;
  max-width: 640px;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.steps li {
  background: var(--bg);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--citron);
  color: var(--on-citron);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.trust > div {
  flex: 1 1 300px;
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}
.facts {
  flex: 1 1 480px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.facts li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.facts strong {
  display: block;
  font-size: 18px;
}

.call {
  margin-bottom: 72px;
}
.call > div {
  background: var(--citron);
  color: var(--on-citron);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.call .text {
  flex: 1 1 420px;
  min-width: 0;
  display: grid;
  gap: 8px;
}
.call .pill.dark {
  background: #292130;
  color: #fffef9;
}

footer {
  border-top: 1px solid var(--line);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  font-size: 14px;
  color: var(--quiet);
}
footer .mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}
footer .mark img {
  width: 32px;
  height: 32px;
}
footer address {
  flex-basis: 100%;
  font-style: normal;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
