:root {
  color-scheme: light dark;
  --bg: #fbfaf7; --surface: #fff; --text: #14161a; --muted: #555b66; --line: #e6e4de;
  --accent: #1f5f8b; --ink: #14161a; --on-ink: #fff;
  --note: #fff7e6; --note-line: #e8c77a;
  --sky: #8acaf4; --grass: #bce1b6;
  --blue: #d8eafb; --peach: #fce0cc; --yellow: #fbefbd; --pink: #f4dde9;
  --blue-ink: #1d5c96; --peach-ink: #b4461c; --yellow-ink: #7a5b00; --pink-ink: #a02d6c;
  --radius: 28px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111317; --surface: #191b20; --text: #ecedf0; --muted: #a3a8b3; --line: #2c2f36; --accent: #8cc2e6; --ink: #ecedf0; --on-ink: #111317; --note: #2b2412; --note-line: #6b5420; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img, video { display: block; max-width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--surface); padding: 6px 10px; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1120px; margin-left: auto; margin-right: auto; padding: 0 16px; }
.nowrap { white-space: nowrap; }
h1, h2, h3 { letter-spacing: -0.03em; font-weight: 650; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; margin: 0 0 14px; }
h3 { font-size: 22px; line-height: 1.25; margin: 0 0 12px; }

.pill { display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.7); color: #14161a; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: #14161a; color: #fff; }
.btn-light { background: #fff; color: #14161a; }

/* Hero: the video fills a rounded frame; the text sits in the open sky on the left. */
.hero { position: relative; margin: 10px; min-height: min(88vh, 820px); border-radius: var(--radius); overflow: hidden; background: linear-gradient(var(--sky), var(--grass)); color: #14161a; display: flex; flex-direction: column; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; }
.nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav ul a { display: block; padding: 7px 14px; border-radius: 999px; color: #14161a; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav ul a:hover { background: rgba(255,255,255,.55); }
.mark { margin: 0; font-weight: 750; letter-spacing: -0.03em; font-size: 20px; color: inherit; text-decoration: none; }
.hero-text { position: relative; margin-top: auto; padding: 0 26px 64px; max-width: 560px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 1; margin: 0 0 20px; }
.lead { font-size: 19px; line-height: 1.5; margin: 0; color: #2a3340; max-width: 30em; }
.motion { position: absolute; right: 18px; bottom: 18px; padding: 6px 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.75); color: #14161a; font: 600 13px/1.4 system-ui, sans-serif; cursor: pointer; }

/* Three facts on a white card that overlaps the hero, like a ribbon. */
.strip { position: relative; z-index: 1; margin-top: -40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 6px; box-shadow: 0 10px 30px rgba(20, 22, 26, .06); }
.strip div { padding: 22px 26px; display: grid; gap: 6px; }
.strip div + div { border-left: 1px solid var(--line); }
.strip b { font-size: 17px; }
.strip span { color: var(--muted); font-size: 15px; line-height: 1.45; }

section { margin: 112px auto; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p:not(.pill) { color: var(--muted); font-size: 19px; margin: 0; }

.cards { display: grid; gap: 18px; }
.card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; border-radius: var(--radius); overflow: hidden; color: #14161a; }
.card-text { padding: 44px 0 44px 48px; }
.card h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 16px; }
.card p:not(.tag) { margin: 0; color: #3c424c; max-width: 30em; }
.card img { width: 100%; height: auto; justify-self: end; max-width: 460px; }
.tag { display: inline-block; margin: 0 0 18px; padding: 3px 11px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 650; }
.c-blue { background: var(--blue); } .c-blue h3 span, .c-blue .tag { color: var(--blue-ink); }
.c-peach { background: var(--peach); } .c-peach h3 span, .c-peach .tag { color: var(--peach-ink); }
.c-yellow { background: var(--yellow); } .c-yellow h3 span, .c-yellow .tag { color: var(--yellow-ink); }
.c-pink { background: var(--pink); } .c-pink h3 span, .c-pink .tag { color: var(--pink-ink); }

.flow { counter-reset: step; list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.flow li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.flow li::before { content: counter(step); align-self: flex-start; display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 14px; }
.flow span { color: var(--muted); font-size: 15px; line-height: 1.45; }

.participants { margin: 0; padding: 96px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.participants .pill { background: var(--grass); }
.panel { max-width: 820px; margin: 0 auto 18px; padding: 32px 36px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); }
.panel > p { margin: 0; }
.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 10px; padding-left: 4px; }
.note { margin: 20px 0 0; padding: 14px 16px; background: var(--note); border: 1px solid var(--note-line); border-radius: 12px; }
.facts { margin: 0; display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }

.cta { text-align: center; padding: 72px 24px; border-radius: var(--radius); background: linear-gradient(var(--sky), var(--grass)); color: #14161a; }
.cta p { margin: 0; font-size: 19px; color: #2a3340; }
.cta .actions { justify-content: center; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; padding-bottom: 24px; }
.foot p { margin: 0; }
.foot .mark { color: var(--text); font-size: 17px; }

/* Narrower screens: the video stays a background, but anchored to the bottom and
   enlarged so the island sits under the text; its top edge fades into the sky. */
@media (max-width: 1200px) {
  .hero { min-height: 0; }
  .hero-media { inset: auto 0 0 auto; width: 140%; max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
  .hero-text { margin-top: 24px; max-width: 680px; padding-bottom: min(58vw, 600px); }
  .strip { margin-top: 16px; }
}
@media (max-width: 900px) {
  .nav ul { display: none; }
  .card { grid-template-columns: minmax(0, 1fr); }
  .card-text { padding: 32px 26px 0; }
  .card img { justify-self: center; max-width: 260px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero { margin: 8px; }
  .nav { padding: 16px 18px; }
  .hero-text { padding: 0 18px 62vw; }
  .lead { font-size: 17px; }
  .motion { right: 12px; bottom: 12px; }
  .strip { margin-top: 16px; grid-template-columns: minmax(0, 1fr); }
  .strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  section { margin: 64px auto; }
  .participants { padding: 64px 0; }
  .panel { padding: 24px 20px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .nowrap { white-space: normal; overflow-wrap: anywhere; }
  .foot .wrap { flex-direction: column; align-items: flex-start; }
}
