/* Fonts are the brand's own (docs/video/fonts), served from here: no request to a font CDN. */
@font-face {
  font-family: "Inter";
  src: url(fonts/Inter-Regular.otf) format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url(fonts/Inter-Medium.otf) format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url(fonts/Inter-SemiBold.otf) format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url(fonts/InterDisplay-SemiBold.otf) format("opentype");
  font-weight: 600;
  font-display: swap;
}

/* The palette is the video's: grey paper and ink. The logo's gradient is kept for the buttons alone. */
:root {
  --paper: #f4f4f4;
  --surface: #ffffff;
  --ink: #141414;
  --graphite: #4a4a4a;
  --muted: #6b6b6b;
  --rule: rgba(20, 20, 20, 0.12);
  --indigo: #5a4fe8;
  --indigo-soft: rgba(90, 79, 232, 0.1);
  --mark: linear-gradient(135deg, #5a4fe8 0%, #8157ef 50%, #a65cf5 100%);
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  /* About 80 characters at body size: wide enough that short paragraphs don't break early. */
  --measure: 42rem;
  --page: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem / 1.6 var(--font-body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}
code {
  font-size: 0.92em;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--page));
  margin-inline: auto;
}

/* ---------- header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}
.top .logo {
  height: 28px;
  width: auto;
}
.top a.join-link {
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}
.top a.join-link:hover {
  text-decoration: underline;
}

/* ---------- type */
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem);
  line-height: 1.12;
}
h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 600;
}
p {
  margin: 0;
}
.lead {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
  color: var(--graphite);
  max-width: var(--measure);
  text-wrap: balance;
}
.small {
  font-size: 0.9375rem;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- form */
.join {
  display: flex;
  gap: 0.5rem;
  max-width: 32rem;
  flex-wrap: wrap;
}
.join input {
  flex: 1 1 14rem;
  min-width: 0;
  height: 3rem;
  padding: 0 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(20, 20, 20, 0.22);
  border-radius: var(--radius);
}
.join input::placeholder {
  color: #707070;
}
.join input:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 0;
  border-color: transparent;
}
.btn {
  height: 3rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: var(--radius);
  font: 600 1rem / 1 var(--font-body);
  color: #fff;
  background: var(--mark);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn:active {
  filter: brightness(0.95);
}
.join-done {
  max-width: 32rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  background: var(--indigo-soft);
}
.join-done:empty {
  padding: 0;
}
.join.sent {
  display: none;
}
.consent {
  margin-top: -0.75rem;
}
.join.sent ~ .consent {
  display: none;
}

/* ---------- hero */
.hero {
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem);
}
.hero-text {
  display: grid;
  gap: 1.5rem;
}
.hero-text .join {
  margin-top: 0.25rem;
}
/* Under a one-line headline, the lead takes the headline's width rather than breaking mid-phrase. */
.hero-text .lead {
  max-width: 64rem;
}
.film {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper);
  aspect-ratio: 16 / 9;
}
.film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-text {
  margin-top: 0.875rem;
}

/* ---------- sections */
section {
  padding-block: clamp(3rem, 7vw, 6rem);
}
.rule-top {
  border-top: 1px solid var(--rule);
}
.section-head {
  display: grid;
  gap: 1rem;
  align-content: start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  counter-reset: step;
}
@media (min-width: 52rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}
.steps li {
  counter-increment: step;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.steps li::before {
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 0.9375rem / 1 var(--font-body);
  border: 1.5px solid var(--ink);
  margin-bottom: 0.5rem;
}
.steps p {
  color: var(--graphite);
}

.trust {
  background: var(--ink);
  color: #f4f4f4;
  border-radius: 20px;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  display: grid;
  gap: 2rem;
}
@media (min-width: 52rem) {
  .trust {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
  }
}
.trust p {
  color: #bdbdbd;
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.trust li {
  padding-left: 1.75rem;
  position: relative;
  color: #d6d6d6;
}
.trust li strong {
  color: #fff;
  font-weight: 600;
}
.trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 3px;
  border: 1.5px solid #a6a1f5;
}

.faq {
  max-width: 46rem;
}
.faq details {
  border-top: 1px solid var(--rule);
}
.faq details:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-weight: 600;
  font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: -0.4rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -0.1rem;
}
.faq details p {
  padding: 0 0 1.5rem;
  color: var(--graphite);
}

.final {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
}
.foot {
  padding-block: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9375rem;
}
.foot img {
  height: 22px;
  width: auto;
}
.foot-links {
  display: flex;
  gap: 1.5rem;
}
.flush-top {
  padding-top: 0;
}
.trust .section-head {
  margin: 0;
}
/* A field only bots fill in: kept off screen and out of reach of keyboards and screen readers. */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.join .btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
