@font-face {
  font-family:'DM Sans';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('fonts/dm-sans-latin.woff2') format('woff2')
}

@font-face {
  font-family:Manrope;
  font-style:normal;
  font-weight:200 800;
  font-display:swap;
  src:url('fonts/manrope-latin.woff2') format('woff2')
}

:root {
  --bg:#080909;
  --paper:#f5f5f2;
  --ink:#202322;
  --muted:#a2a8a6;
  --line:#303633;
  --amber:#ffc16f;
  --sage:#e8eae6;
  color-scheme:dark;
  font-family:'DM Sans',sans-serif;
  color:var(--paper);
  background:var(--bg);
  font-synthesis:none
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:28px
}

body {
  margin:0
}

a {
  color:inherit;
  text-decoration:none
}

button {
  font:inherit;
  cursor:pointer
}

button,a {
  -webkit-tap-highlight-color:transparent
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:2px solid var(--amber);
  outline-offset:6px
}

h1,h2,h3,p,figure {
  margin:0
}

h1,h2,h3 {
  font-family:Manrope,sans-serif;
  font-weight:500
}

img {
  display:block;
  max-width:100%;
  height:auto
}

p {
  line-height:1.7
}

button {
  color:inherit
}

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

.wrap {
  width:min(1280px,88%);
  margin-inline:auto
}

.skip {
  position:absolute;
  top:12px;
  left:12px;
  z-index:10;
  padding:12px;
  background:var(--paper);
  color:var(--ink);
  transform:translateY(-160%)
}

.skip:focus {
  transform:none
}

.site-header {
  height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.wordmark {
  font:700 25px Manrope,sans-serif;
  letter-spacing:-1.4px
}

.site-header nav {
  display:flex;
  align-items:center;
  gap:32px;
  font-size:13px
}

.nav-link {
  padding-block:12px
}

.nav-link:hover,.text-link:hover {
  text-decoration:underline;
  text-underline-offset:6px
}

.languages {
  display:flex;
  align-items:center;
  gap:4px
}

.languages a {
  font-size:11px;
  padding:9px;
  border:1px solid transparent;
  border-radius:2px;
  color:var(--muted)
}

.languages [aria-current=page] {
  border-color:#a2a8a6;
  color:var(--paper)
}

.project-name {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px
}

.project-symbol {
  display:grid;
  grid-template-columns:repeat(3,5px);
  gap:3px
}

.project-symbol i {
  width:5px;
  height:5px;
  background:var(--amber)
}

.project-symbol i:nth-child(3n) {
  opacity:.35
}

.hero {
  padding-top:65px
}

.hero-top {
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:7%;
  align-items:center
}

.hero h1 {
  font-size:clamp(46px,6.4vw,90px);
  line-height:1.07;
  letter-spacing:-.065em;
  margin-top:28px;
  max-width:10em
}

.hero-copy>p {
  font-size:17px;
  line-height:1.7;
  color:#bbc1bd;
  max-width:420px;
  margin-top:28px
}

.actions {
  display:flex;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
  margin-top:32px
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-height:50px;
  padding:14px 21px;
  border:1px solid var(--paper);
  background:var(--paper);
  color:var(--ink);
  font-size:13px;
  border-radius:3px
}

.button:hover {
  background:var(--sage);
  border-color:var(--sage)
}

.text-link {
  font-size:13px;
  display:inline-flex;
  align-items:center;
  gap:18px;
  padding-block:12px
}

.hero-art {
  position:relative;
  background:var(--sage);
  color:var(--ink);
  min-height:440px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:45px 28px 28px
}

.hero-art:before,.hero-art:after {
  content:'';
  position:absolute;
  width:19px;
  height:19px;
  border-color:#879388;
  border-style:solid
}

.hero-art:before {
  left:19px;
  top:19px;
  border-width:1px 0 0 1px
}

.hero-art:after {
  right:19px;
  bottom:19px;
  border-width:0 1px 1px 0
}

.device {
  width:min(300px,85%);
  padding:13px;
  border-radius:15px;
  background:#181d1c;
  border:1px solid #414641;
  box-shadow:12px 22px 36px #1c2a292b,2px 3px 0 #68716a;
  transform:rotate(-5deg)
}

.device img {
  width:100%;
  image-rendering:pixelated;
  border-radius:2px
}

.device-foot {
  height:4px;
  width:32px;
  margin:9px auto -6px;
  border-radius:2px;
  background:#5a635c
}

.hero-art figcaption {
  font-size:11px;
  color:#57615a;
  margin-top:36px;
  align-self:flex-start
}

.hero-bottom {
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-block:44px 24px;
  font-size:12px;
  color:var(--muted)
}

.hero-bottom a {
  color:var(--paper)
}

.section {
  padding-block:110px
}

.section-heading {
  display:grid;
  grid-template-columns:1.35fr 1fr;
  align-items:end;
  gap:12%;
  margin-bottom:45px
}

.section-heading h2,.pixel-copy h2,.studio h2,.closing h2 {
  font-size:clamp(34px,4.2vw,60px);
  letter-spacing:-.055em;
  line-height:1.15
}

.section-heading>p {
  color:var(--muted);
  font-size:15px;
  max-width:370px
}

.screen-frame {
  background:#121b27;
  border:1px solid #34424c;
  border-radius:12px;
  overflow:hidden;
  position:relative
}

.screen-top {
  display:flex;
  gap:6px;
  padding:13px 16px;
  background:#15202b
}

.screen-top span {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#65727c
}

.screen-top p {
  margin-left:auto;
  color:#b5c0c9;
  font-size:10px;
  line-height:1
}

.screen-frame img {
  width:100%
}

.screen-caption {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-top:15px;
  color:var(--muted);
  font-size:11px
}

.screen-caption p {
  max-width:65ch
}

.play-control {
  background:transparent;
  border:1px solid #67716b;
  padding:9px 14px;
  border-radius:3px;
  font-size:11px;
  flex-shrink:0
}

.play-control[hidden] {
  display:none
}

.play-control:hover {
  border-color:var(--paper)
}

.benefits {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6%;
  margin-top:48px
}

.benefits h3 {
  font-size:19px;
  letter-spacing:-.03em;
  margin-bottom:12px
}

.benefits p {
  font-size:14px;
  color:var(--muted);
  max-width:31ch
}

.pixel-section {
  background:var(--sage);
  color:var(--ink);
  color-scheme:light;
  padding-block:95px
}

.pixel-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10%;
  align-items:center
}

.pixel-copy>p {
  color:#58635c;
  font-size:15px;
  margin-top:24px;
  max-width:40ch
}

.pixel-copy .small-note {
  font-size:11px;
  margin-top:30px;
  color:#657168
}

.pixel-preview {
  display:flex;
  align-items:center;
  flex-direction:column
}

.pixel-preview .device {
  width:min(320px,82%);
  transform:none;
  margin-bottom:35px
}

.time-controls {
  border:1px solid #9ba49c;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  padding:4px;
  border-radius:4px;
  gap:3px
}

.time-controls button {
  border:0;
  background:transparent;
  font-size:12px;
  padding:10px 14px;
  border-radius:2px;
  color:#4c5850
}

.time-controls [aria-pressed=true] {
  background:#23372d;
  color:#fff
}

.time-controls button:hover {
  background:#d1d7cf
}

.time-controls [aria-pressed=true]:hover {
  background:#23372d
}

.pixel-preview figcaption {
  font-size:11px;
  color:#58635c;
  margin-top:17px;
  text-align:center
}

.moments {
  padding-top:100px;
  border-bottom:1px solid var(--line)
}

.moments-inner {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8%;
  align-items:center
}

.moments h2 {
  font-size:clamp(32px,4vw,54px);
  letter-spacing:-.05em;
  line-height:1.18;
  max-width:10em
}

.moment-copy>p {
  color:var(--muted);
  margin-top:24px;
  max-width:40ch;
  font-size:15px
}

.moment-list {
  margin:30px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  gap:26px;
  font-size:12px
}

.moment-list li {
  display:flex;
  align-items:center;
  gap:8px
}

.moment-list span {
  width:6px;
  height:6px;
  background:var(--amber)
}

.moment-images {
  display:flex;
  gap:22px;
  align-items:center;
  justify-content:center;
  background:#151c18;
  padding:42px 30px
}

.moment-images figure {
  width:44%
}

.moment-images img {
  width:100%;
  image-rendering:pixelated
}

.moment-images figcaption {
  font-size:11px;
  margin-top:14px;
  color:#b3bfb6
}

.moments-note {
  font-size:11px;
  color:var(--muted);
  margin-top:18px;
  text-align:right
}

.studio {
  padding-block:95px;
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:12%;
  align-items:start
}

.studio p {
  font-size:15px;
  color:var(--muted);
  margin-bottom:20px;
  max-width:40ch
}

.studio .byline {
  font-size:12px;
  color:var(--paper)
}

.questions {
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:10%;
  padding-block:90px
}

.questions h2 {
  font-size:28px;
  letter-spacing:-.04em
}

.questions details {
  border-bottom:1px solid var(--line)
}

.questions details:first-child {
  border-top:1px solid var(--line)
}

.questions summary {
  font-size:15px;
  padding:22px 30px 22px 0;
  cursor:pointer;
  position:relative;
  list-style:none
}

.questions summary::-webkit-details-marker {
  display:none
}

.questions summary:after {
  content:'+';
  position:absolute;
  right:4px;
  font-size:20px;
  top:17px;
  color:var(--muted)
}

.questions details[open] summary:after {
  content:'−'
}

.questions details p {
  padding-bottom:23px;
  font-size:14px;
  color:var(--muted);
  max-width:56ch
}

.questions details a {
  text-decoration:underline;
  text-underline-offset:4px
}

.closing {
  background:#151c18;
  padding-block:75px
}

.closing-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:35px
}

.closing p {
  color:#b3bfb6;
  font-size:14px;
  margin-top:18px
}

.closing .actions {
  margin-top:0;
  flex-shrink:0
}

.site-footer {
  background:#151c18;
  border-top:1px solid #354039
}

.footer-inner {
  padding-block:30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  color:#a8b8ad;
  font-size:11px
}

.footer-inner .wordmark {
  font-size:22px;
  color:var(--paper)
}

.footer-links {
  display:flex;
  gap:24px
}

.footer-note {
  padding-bottom:25px;
  font-size:10px;
  color:#a8b8ad;
  max-width:90ch
}

@media(min-width:1500px) {
  .hero {
    padding-top:85px
  }
  .hero-art {
    min-height:490px
  }
}

@media(max-width:900px) {
  .site-header nav {
    gap:20px
  }
  .hero {
    padding-top:35px
  }
  .hero-top {
    gap:6%;
    grid-template-columns:1.2fr 1fr
  }
  .hero h1 {
    font-size:clamp(44px,6.7vw,68px)
  }
  .hero-art {
    min-height:350px;
    padding:40px 15px 22px
  }
  .device {
    padding:9px
  }
  .hero-copy>p {
    font-size:15px
  }
  .actions {
    gap:15px
  }
  .section {
    padding-block:80px
  }
  .section-heading {
    gap:7%
  }
  .pixel-layout {
    gap:7%
  }
  .time-controls button {
    padding:9px
  }
  .moments-inner {
    gap:6%
  }
  .moment-images {
    gap:12px;
    padding:30px 20px
  }
  .closing-inner {
    align-items:start;
    flex-direction:column
  }
  .studio {
    gap:7%
  }
}

@media(max-width:600px) {
  .wrap {
    width:88%
  }
  .site-header {
    height:82px;
    gap:12px
  }
  .site-header .wordmark {
    font-size:22px
  }
  .site-header nav {
    gap:13px
  }
  .site-header .nav-link {
    display:none
  }
  .hero {
    padding-top:28px
  }
  .hero-top {
    grid-template-columns:1fr;
    gap:40px
  }
  .project-name {
    font-size:13px
  }
  .hero h1 {
    font-size:clamp(45px,11.5vw,66px);
    margin-top:22px;
    max-width:11em
  }
  .hero-copy>p {
    max-width:33ch;
    margin-top:22px
  }
  .hero-art {
    min-height:365px;
    padding:35px 26px 25px
  }
  .hero-art .device {
    width:245px
  }
  .hero-art figcaption {
    margin-top:28px
  }
  .hero-bottom {
    padding-top:28px;
    font-size:10px;
    align-items:center
  }
  .section {
    padding-block:65px
  }
  .section-heading {
    grid-template-columns:1fr;
    gap:23px;
    margin-bottom:28px
  }
  .section-heading h2,.pixel-copy h2,.studio h2,.closing h2 {
    font-size:37px
  }
  .section-heading>p {
    font-size:14px;
    max-width:35ch
  }
  .screen-top {
    padding:10px
  }
  .screen-caption {
    align-items:start;
    font-size:10px;
    gap:12px
  }
  .play-control {
    font-size:10px;
    padding:8px 10px
  }
  .benefits {
    grid-template-columns:1fr;
    gap:26px;
    margin-top:33px
  }
  .benefits h3 {
    font-size:18px;
    margin-bottom:6px
  }
  .benefits p {
    max-width:40ch
  }
  .pixel-section {
    padding-block:65px
  }
  .pixel-layout {
    grid-template-columns:1fr;
    gap:40px
  }
  .pixel-copy>p {
    font-size:14px
  }
  .pixel-copy .small-note {
    margin-top:18px
  }
  .pixel-preview .device {
    width:260px
  }
  .time-controls button {
    padding:10px 13px
  }
  .moments-inner {
    grid-template-columns:1fr;
    gap:32px
  }
  .moments h2 {
    font-size:37px;
    max-width:12em
  }
  .moment-copy>p {
    font-size:14px
  }
  .moment-list {
    gap:20px
  }
  .moment-images {
    padding:28px 24px;
    gap:20px
  }
  .moments-note {
    text-align:left;
    font-size:10px
  }
  .studio {
    padding-block:65px;
    grid-template-columns:1fr;
    gap:28px
  }
  .studio p {
    font-size:14px
  }
  .questions {
    padding-block:65px;
    grid-template-columns:1fr;
    gap:28px
  }
  .questions h2 {
    font-size:26px
  }
  .questions summary {
    font-size:14px
  }
  .closing {
    padding-block:55px
  }
  .closing-inner {
    gap:28px
  }
  .closing h2 {
    font-size:36px
  }
  .footer-inner {
    flex-wrap:wrap;
    gap:25px
  }
  .footer-links {
    margin-left:auto
  }
  .copyright {
    width:100%
  }
  .footer-note {
    font-size:10px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}

[hidden] {
  display:none!important
}

/* French has a longer opening line; keep its two phrases together on desktop. */
@media(min-width:601px) {
  html[lang=fr] .hero h1 {
    font-size:clamp(40px,5.2vw,76px)
  }
}
