@font-face {
  font-family: Heebo;
  src: url("assets/fonts/heebo.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #102c2e;
  --teal: #075451;
  --deep: #082e31;
  --yellow: #ffcd49;
  --paper: #fbfaf5;
  --muted: #475e5c;
  --line: #cdd6cd;
  --gutter: clamp(1.25rem, 5.5vw, 6rem);
  --gap: clamp(1.4rem, 3.8vw, 4rem);
  --space: clamp(3.75rem, 7vw, 7.5rem);
  font-family: Heebo, Manrope, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
html[lang="en"] { font-family: Manrope, Heebo, sans-serif; }
*, *::after, *::before { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
body { min-width: 0; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; border: 0; background: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, canvas:focus-visible, audio:focus-visible, video:focus-visible {
  outline: 3px solid #ef951f; outline-offset: 4px;
}
a { color: inherit; text-decoration: none; }
img, video, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 80rem); margin-inline: auto; }
.skip { position: fixed; inset-inline-start: 1rem; top: -6rem; padding: .8rem 1.2rem; background: var(--yellow); color: var(--ink); z-index: 50; }
.skip:focus { top: .5rem; }
.mast { position: sticky; top: 0; z-index: 20; background: #082f32; color: #fff; border-bottom: 1px solid #ffffff1f; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; }
.brand img { border-radius: 9px; }
.brand span { font-family: Manrope, sans-serif; font-weight: 850; font-size: 1.26rem; letter-spacing: -.055em; }
.header-row nav, .header-actions, .foot-row nav { display: flex; align-items: center; }
.header-row nav { gap: clamp(1.25rem, 3vw, 3.3rem); }
.header-row nav a, .header-actions { font-weight: 650; font-size: .94rem; }
.header-row nav a { padding: .65rem .1rem; }
.header-row nav a:hover, .foot-row nav a:hover { color: var(--yellow); }
.header-actions { gap: .85rem; }
.language { min-width: 2.6rem; min-height: 2.75rem; padding: .4rem; color: #e1eeea; }
.store-small { padding: .55rem 1.1rem; font-family: Manrope, sans-serif; border: 1px solid #9bb3ac; border-radius: .55rem; font-weight: 750; }
.store-small:hover, .button.ghost:hover { background: #ffffff15; }
.menu { display: none; }
.hero { position: relative; isolation: isolate; color: white; background: linear-gradient(105deg,#057673 0%,#055958 47%,#064a48 70%,#073f40 100%); overflow: hidden; }
[dir="ltr"] .hero { background: linear-gradient(255deg,#057673 0%,#055958 47%,#064a48 70%,#073f40 100%); }
.hero-art { position: absolute; z-index: -1; inset-block: 0; inset-inline-end: 0; width: 57.5%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; mask-image: linear-gradient(to right, black 72%, transparent 100%); }
[dir="ltr"] .hero-art img { mask-image: linear-gradient(to left, black 72%, transparent 100%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(29rem, 41vw, 40rem); padding-block: clamp(2.8rem, 4.1vw, 4.8rem); }
.hero-copy { width: 46%; }
.device-label, .section-kicker { font-weight: 750; font-size: .95rem; line-height: 1.5; }
.device-label { display: flex; gap: .65rem; align-items: center; color: #e0f0e7; margin-bottom: 1.05rem; }
.device-label::before { content: ""; width: 1.8rem; height: 3px; background: var(--yellow); }
.hero h1 { margin-block: 0 1.25rem; }
.hero h1 img { width: min(100%, 24rem); height: auto; }
.intro { max-width: 29rem; font-size: clamp(1.15rem,1.55vw,1.48rem); line-height: 1.55; font-weight: 450; color: #f0f6ed; }
.hero-actions, .header-actions, .stats dl > div { display: flex; align-items: center; }
.hero-actions { gap: .75rem; margin-top: 1.7rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.2rem; padding: .72rem 1.45rem; font-size: 1rem; font-weight: 800; border-radius: .65rem; line-height: 1.45; }
.button.yellow { background: var(--yellow); color: #172e2f; box-shadow: inset 0 -2px 0 #b6741c47; }
.button.yellow:hover { background: #ffda73; }
.button.ghost { color: white; border: 1px solid #8eb2ad; }
.play-icon { width: .76rem; height: .88rem; flex-shrink: 0; background: currentColor; clip-path: polygon(7% 2%,99% 50%,7% 98%); }
.small-print { color: #d4e6e0; font-size: .85rem; margin-top: .9rem; }
.stats { color: #edf6ed; background: var(--deep); }
.stats dl { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 1.25rem; }
.stats dl > div { justify-content: center; flex-direction: row-reverse; gap: .8rem; }
.stats dl > div + div { border-inline-start: 1px solid #537172; }
.stats dd { color: var(--yellow); font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(1.6rem,2.3vw,2.15rem); letter-spacing: -.055em; line-height: 1; }
.stats dt { font-size: 1rem; font-weight: 600; }
.feature-section, .districts, .demo-section { padding-block: var(--space); }
.section-kicker { color: #327069; display: flex; gap: .63rem; align-items: center; margin-bottom: .65rem; }
.flag { width: 1.25rem; height: .92rem; transform: skewX(-10deg); background: repeating-conic-gradient(#1d6960 0 25%, transparent 0 50%) 0 0 / .5rem .5rem; }
h2 { font-size: clamp(2.3rem,4.4vw,4.6rem); line-height: 1.13; font-weight: 850; letter-spacing: -.043em; text-wrap: balance; }
[dir="ltr"] h2 { letter-spacing: -.061em; }
.section-intro { font-size: clamp(1.06rem,1.4vw,1.25rem); line-height: 1.65; color: var(--muted); }
.film-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.65fr); gap: var(--gap); margin-top: 2.1rem; align-items: start; }
.film-copy { padding-block-start: .1rem; }
.film-list { display: grid; gap: .5rem; margin-top: 1.35rem; }
.film-list button { display: flex; align-items: center; gap: .7rem; text-align: start; padding: .9rem 1rem; border: 1px solid #cbd4cc; border-radius: .65rem; font-weight: 750; color: #3a5451; }
.film-list button[aria-pressed="true"] { background: #e7f0e9; border-color: #78a59a; color: #073f3b; }
.film-list button:hover, .notes summary:hover { background: #eef2e9; }
.film-list small { margin-inline-start: auto; font-family: Manrope,sans-serif; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .85rem; }
.film-bullet { display: grid; place-items: center; width: 1.65rem; aspect-ratio: 1; border: 1px solid #9bb4a9; border-radius: 50%; }
.film-bullet::after { content: ""; width: .55rem; height: .66rem; background: currentColor; clip-path: polygon(12% 0,100% 50%,12% 100%); }
button[aria-pressed="true"] .film-bullet { background: var(--teal); color: white; border-color: var(--teal); }
.film, .district-stage { min-width: 0; }
.film video { width: 100%; height: auto; aspect-ratio: 1440/666; border-radius: .85rem; background: #1c2728; }
.film figcaption { padding: .9rem .1rem 0; line-height: 1.55; font-size: 1rem; color: var(--muted); }
.film figcaption b { display: inline-block; color: var(--ink); margin-inline-end: .65rem; }
.notes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap); margin-top: 2.1rem; }
.notes details { border-block: 1px solid var(--line); align-self: start; }
.notes summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem .1rem; cursor: pointer; font-size: 1.08rem; font-weight: 740; }
.notes summary::-webkit-details-marker { display: none; }
.notes summary::after { content: "+"; font: 1.6rem Manrope, sans-serif; color: var(--teal); }
.notes [open] summary::after { content: "-"; }
.notes details > div { padding-bottom: 1rem; }
.notes img { max-height: 21rem; width: 100%; object-fit: contain; background: #162121; border-radius: .55rem; }
.notes p { margin-top: .75rem; line-height: 1.65; }
.districts { background: #0c3032; color: #fbf8ee; }
.districts .section-kicker { color: #85d1bc; }
.districts .section-intro { color: #c6d9d1; max-width: 48rem; margin-top: .9rem; }
.district-layout { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1.8fr); gap: var(--gap); margin-top: 2rem; align-items: start; }
.district-selector { list-style: none; padding: 0; border-block-start: 1px solid #42605e; }
.district-selector button { border-block-end: 1px solid #42605e; color: #f7f6e9; padding: 1rem .85rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; width: 100%; text-align: start; }
.district-selector button[aria-pressed="true"] { background: #184b49; box-shadow: inset -4px 0 var(--yellow); }
[dir="ltr"] .district-selector button[aria-pressed="true"] { box-shadow: inset 4px 0 var(--yellow); }
.district-selector button:hover { background: #143f3f; }
.district-selector strong { font-size: clamp(1rem,1.35vw,1.24rem); }
.district-selector span { font-size: .9rem; color: #b8d2c9; }
.district-image-button { position: relative; padding: 0; width: 100%; display: block; border-radius: .8rem; overflow: hidden; background: #172629; }
.district-image-button img { width: 100%; height: auto; }
.district-expand { position: absolute; inset-inline-end: .7rem; top: .7rem; border-radius: .4rem; padding: .35rem .7rem; font-size: .85rem; font-weight: 650; background: #0b2022e8; color: white; }
.district-caption { display: flex; gap: 1.5rem; justify-content: space-between; align-items: start; margin-top: 1.1rem; }
.district-copy h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.district-copy p { color: #c9d9d3; font-size: 1rem; line-height: 1.55; max-width: 35rem; }
.district-music { display: grid; gap: .35rem; flex: 0 1 15rem; min-width: 12rem; }
.district-music span { font-size: .88rem; color: #caddd5; font-weight: 650; }
.district-music audio { width: 100%; height: 2.6rem; direction: ltr; }
.district-viewer { width: min(92vw,80rem); max-width: none; border: 1px solid #67807b; border-radius: .8rem; background: #0e2b2c; color: white; padding: 1rem; }
.district-viewer::backdrop { background: #051b1ddc; }
.district-viewer img { width: 100%; height: auto; max-height: 72dvh; object-fit: contain; border-radius: .35rem; margin-block: .6rem; }
.district-viewer button { padding: .5rem .85rem; background: #274b47; border-radius: .4rem; min-height: 2.7rem; }
.district-viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.district-viewer-controls p { text-align: center; font-weight: 700; }
.demo-section { background: #edf2e9; }
.demo-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.45fr); gap: var(--gap); align-items: center; }
.demo-copy .section-intro { margin-top: 1rem; max-width: 30rem; }
.text-button { display: inline-flex; gap: .6rem; align-items: center; color: var(--teal); border-bottom: 2px solid #79a799; padding: .5rem .1rem; margin-top: .8rem; font-weight: 800; }
.arena-wrap { min-width: 0; border: 1px solid #abc0b3; border-radius: .85rem; background: #f9fbf5; overflow: hidden; }
.arena-head, .arena-controls, .demo-bottom { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.arena-head { padding: .65rem 1rem; font-size: .95rem; background: #dce7da; }
.arena-head span { color: #3c5b51; }
.canvas-wrap { position: relative; background: radial-gradient(ellipse at 50% 40%,#ebecda,#c1cfc1); }
canvas { width: 100%; height: auto; cursor: grab; }
canvas:active { cursor: grabbing; }
.canvas-note { position: absolute; inset-inline: 0; bottom: .6rem; text-align: center; color: #163b32; font-size: .9rem; font-weight: 720; pointer-events: none; }
.win { position: absolute; inset: 0; background: #16382ec9; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; gap: .4rem; }
.win span { color: var(--yellow); letter-spacing: .1em; }
.win strong { font-size: 1.75rem; }
.win button, .demo-bottom button { border-radius: .4rem; font-weight: 700; }
.win button { background: var(--yellow); color: var(--ink); padding: .55rem 1rem; }
.arena-controls { padding: .6rem .85rem; border-block-end: 1px solid var(--line); }
.mode-tabs { display: flex; flex-wrap: wrap; gap: .2rem; }
.mode-tabs button, #reset { border-radius: .4rem; padding: .45rem .7rem; min-height: 2.55rem; font-size: .94rem; font-weight: 650; }
.mode-tabs button.active { background: var(--teal); color: white; }
#reset { font: 1.35rem Manrope,sans-serif; background: #e0eadd; }
.demo-bottom { padding: .6rem 1rem .2rem; font-size: .94rem; }
.demo-bottom button { color: var(--teal); text-decoration: underline; padding: .4rem 0; flex-shrink: 0; }
.keys { padding: .15rem 1rem .75rem; color: var(--muted); font-size: .85rem; }
.download { padding-block: clamp(2.4rem,4vw,4.5rem); background: #075450; color: white; }
.download-row { display: flex; align-items: center; gap: 1.5rem; }
.download-row > img { border-radius: 20%; flex-shrink: 0; }
.download h2 { font-size: clamp(1.75rem,3.2vw,3rem); }
.download p { max-width: 38rem; color: #d5e8de; margin-top: .5rem; line-height: 1.6; }
.download-action { margin-inline-start: auto; flex-shrink: 0; text-align: center; }
.download small { display: block; margin-top: .5rem; color: #daebe0; }
footer { color: #cfddd8; background: var(--deep); }
.foot-row { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; font-size: .9rem; }
.foot-row nav { gap: 1.35rem; }
@media (min-width: 1600px) {
  .hero-art { width: calc(50% + 7rem); }
  .hero-art img { object-fit: contain; background: #057170; }
}
@media (max-width: 950px) {
  .header-row { gap: 1.25rem; }
  .hero-copy { width: 49%; }
  .hero-art { width: 53%; }
  .hero h1 img { max-width: 17.5rem; }
  .hero-actions .button { padding-inline: 1rem; }
  .film-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.25fr); }
  .district-layout { grid-template-columns: minmax(0,.63fr) minmax(0,1.5fr); }
  .district-caption { flex-wrap: wrap; gap: .9rem; }
  .district-music { min-width: min(16rem,100%); }
}
@media (max-width: 720px) {
  :root { scroll-padding-top: 4.6rem; }
  .header-row { min-height: 3.8rem; gap: .65rem; }
  .brand span { font-size: 1.1rem; }
  .brand img { width: 32px; height: 32px; }
  .header-actions { margin-inline-start: auto; gap: .4rem; }
  .store-small { font-size: .83rem; padding: .45rem .65rem; }
  .language { font-size: .9rem; min-width: 2.1rem; }
  .menu { display: grid; align-content: center; gap: 5px; width: 2.5rem; height: 2.75rem; padding: .55rem; }
  .menu i { height: 2px; background: #e5f2e9; border-radius: 3px; }
  .header-row nav { position: absolute; inset-inline: 0; top: 100%; padding: .7rem var(--gutter) 1rem; background: var(--deep); flex-direction: column; align-items: stretch; gap: 0; display: none; box-shadow: 0 .8rem 1rem #061e1e26; }
  .header-row nav.open { display: flex; }
  .header-row nav a { padding-block: .8rem; border-top: 1px solid #ffffff25; }
  .hero, [dir="ltr"] .hero { background: #07504d; }
  .hero-art { width: 100%; height: clamp(12.8rem,52vw,20rem); inset-inline: 0; }
  .hero-art img, [dir="ltr"] .hero-art img { mask-image: linear-gradient(black 65%,transparent 100%); object-position: center 46%; }
  .hero-inner { padding-block: clamp(12.3rem,49vw,18.5rem) 1.65rem; min-height: 0; }
  .hero-copy { width: 100%; }
  .device-label { font-size: .87rem; margin-bottom: .4rem; }
  .device-label::before { width: 1.25rem; height: 2px; }
  .hero h1 { margin-bottom: .6rem; }
  .hero h1 img { width: 11.7rem; }
  .intro { font-size: 1.09rem; max-width: 35rem; }
  .hero-actions { margin-top: 1.15rem; gap: .6rem; }
  .hero-actions .button { min-height: 2.9rem; padding: .6rem 1.1rem; }
  .small-print { margin-top: .65rem; }
  .stats dl { padding-block: 1rem; }
  .stats dl > div { flex-direction: column-reverse; gap: .2rem; }
  .stats dd { font-size: 1.55rem; }
  .stats dt { font-size: .88rem; }
  .film-layout, .district-layout, .demo-layout { grid-template-columns: 1fr; }
  .film-layout { gap: 1rem; margin-top: 1rem; }
  .film-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin-top: 1.1rem; }
  .film-list button { flex-wrap: wrap; padding: .65rem; gap: .3rem .5rem; font-size: .94rem; line-height: 1.35; }
  .film-bullet { width: 1.3rem; }
  .film-list small { font-size: .78rem; }
  .notes { grid-template-columns: 1fr; gap: 0; margin-top: 1.3rem; }
  .notes details + details { border-block-start: none; }
  .district-layout { gap: 1rem; margin-top: 1.3rem; }
  .district-selector { display: flex; gap: .4rem; flex-wrap: wrap; border: 0; }
  .district-selector button { padding: .5rem .7rem; border: 1px solid #456564; border-radius: .45rem; }
  .district-selector strong { font-size: .95rem; }
  .district-selector button > span { display: none; }
  .district-selector button[aria-pressed="true"], [dir="ltr"] .district-selector button[aria-pressed="true"] { border-color: var(--yellow); box-shadow: none; }
  .district-expand { inset-inline-end: .4rem; top: .4rem; font-size: .8rem; padding: .27rem .4rem; }
  .district-caption { gap: .85rem; }
  .district-viewer { width: 95vw; padding: .65rem; }
  .district-viewer-controls { font-size: .9rem; }
  .district-viewer-controls button { padding-inline: .45rem; }
  .download-row { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; }
  .download-row > img { width: 3.5rem; height: 3.5rem; }
  .download-action { grid-column: 2; justify-self: start; margin-inline-start: 0; }
  .foot-row { flex-wrap: wrap; padding-block: 1.2rem; gap: .7rem 1.25rem; }
}
@media (max-width: 370px) {
  .brand span { font-size: .97rem; }
  .header-row { gap: .3rem; }
  .store-small { display: none; }
  .film-list small { display: none; }
  .mode-tabs button { padding-inline: .36rem; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
