/* Layout: a status read top to bottom. One giant engraved ring opens it; every part after is one flat
   banknote ink edge to edge. Type stretches and condenses (Anybody's width axis) instead of changing size. */
:root {
  --mint: #D8EBDA;
  --ink: #06301C;
  --green: #07934A;
  --yellow: #FDE005;
  --rose: #F4B3C2;
  --paper: #F3F8F1;
  --display: "Anybody", "Arial Black", Impact, sans-serif;
  --body: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --gl: max(clamp(18px, 3.4vw, 56px), env(safe-area-inset-left, 0px));
  --gr: max(clamp(18px, 3.4vw, 56px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--mint); color: var(--ink); font: 400 clamp(1rem, .95rem + .25vw, 1.2rem)/1.5 var(--body); overflow-x: clip }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0 }
ol, ul { list-style: none }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-wrap: balance }
a { color: inherit; text-underline-offset: .2em }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px }
.skip { position: fixed; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--mint); padding: 12px 18px }
.skip:focus { left: 12px }

/* story segments */
.segments { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; gap: 5px; padding: calc(8px + env(safe-area-inset-top, 0px)) var(--gr) 0 var(--gl); color: var(--ink) }
.segments.light { color: #fff }
.segments a { flex: 1; padding-block: 6px }
.segments i { display: block; height: 3px; background: linear-gradient(currentColor, currentColor) no-repeat 0 / calc(var(--p, 0) * 100%) 100%, color-mix(in srgb, currentColor 30%, transparent) }
.top { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: calc(34px + env(safe-area-inset-top, 0px)) var(--gr) 0 var(--gl) }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.15rem/1 var(--display); font-stretch: 110% }
.top-link { font-weight: 600; font-size: .95rem; padding: 10px 12px; margin-right: -12px; background: var(--mint) }

.cta { display: inline-block; padding: 1.05em 1.5em; background: var(--ink); color: var(--yellow); font: 750 1.02rem/1 var(--display); font-stretch: 105%; text-decoration: none; transition: font-stretch .35s cubic-bezier(.2, .8, .2, 1) }
.cta:hover { font-stretch: 128% }
.cta-light { background: var(--yellow); color: var(--ink) }

/* hero */
.hero { position: relative; min-height: min(100svh, 1100px); overflow: clip; display: flex; flex-direction: column; justify-content: flex-end; padding: 110px var(--gr) clamp(22px, 3vw, 44px) var(--gl) }
.rosette { --d: min(96vw, 112svh, 1180px); position: absolute; width: var(--d); height: var(--d); left: 69%; top: 41%; transform: translate(-50%, -50%) }
.rosette > * { position: absolute; inset: 0; width: 100%; height: 100% }
.rosette canvas { animation: turn 240s linear infinite }
.rosette canvas[data-ring="middle"] { animation-duration: 170s; animation-direction: reverse }
.rosette canvas[data-ring="inner"] { animation-duration: 120s }
.status-ring { transform: rotate(calc(-90deg + var(--turn, 0) * 1deg)) }
@keyframes turn { to { transform: rotate(1turn) } }
.portrait { inset: 22% !important; width: 56% !important; height: 56% !important; border-radius: 50%; background: var(--yellow); overflow: hidden }
.portrait img { display: block; width: 108%; max-width: none; height: auto; margin: 1% 0 0 -3% }
.hero h1 { position: relative; display: grid; line-height: .8; letter-spacing: -.035em; font-weight: 900; text-transform: none; pointer-events: none }
.hero h1 span { display: block; width: max-content }
.l1 { font-size: clamp(3.1rem, 8.3vw, 10rem); font-stretch: 62% }
.l2 { font-size: clamp(3.1rem, 8.3vw, 10rem); font-stretch: 62%; }
.l3 { font-size: min(13.1vw, 17rem); font-stretch: 138%; margin: .04em 0 0 -.045em; color: var(--green) }
.hero-foot { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(26px, 4vw, 54px) }
.hero-foot p { max-width: 40ch; background: var(--mint) }

/* mission: a note printed pass after pass */
.mission { background: var(--green); color: var(--paper); height: 340vh }
.stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: clip; display: grid; grid-template-rows: 1fr auto; gap: clamp(16px, 3vh, 40px); padding: 70px var(--gr) clamp(24px, 4vh, 52px) var(--gl) }
.press { min-height: 0; display: grid; place-items: center }
.note { width: min(100%, 1180px, calc((100svh - 330px) * 1.875)); height: auto; display: block; transform: rotate(-3.2deg); overflow: visible }
.n-paper { fill: var(--mint) }
.n-waves path { stroke: var(--green); stroke-width: 1.1; opacity: .5 }
.n-oval { fill: var(--rose) } .n-ovalline { fill: none; stroke: var(--ink); stroke-width: 2.5 }
.n-sun { fill: var(--yellow) } .n-seal path { stroke: var(--green); stroke-width: 1.1 }
.note text { fill: var(--ink); font-family: var(--display) }
.n-small { font: 500 25px var(--body) !important } .n-mid { font-size: 56px; font-weight: 800; font-stretch: 84% }
.n-big { font-size: 112px; font-weight: 900; font-stretch: 135% } .n-huge { font-size: 106px; font-weight: 900; font-stretch: 100% }
.n-code { font-size: 46px; font-weight: 700; font-stretch: 130%; fill: var(--green) !important; letter-spacing: .06em }
.n-step { transition: opacity .5s, transform .7s cubic-bezier(.2, .8, .2, 1) }
.js .n-step:not(.on) { opacity: 0; transform: translateY(26px) }
.beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 4vw, 64px) }
.beats h2 { font-size: clamp(1.3rem, 2.3vw, 2.2rem); line-height: 1; font-stretch: 78%; margin-bottom: .5em; transition: font-stretch .6s cubic-bezier(.2, .8, .2, 1) }
.beats li { transition: opacity .4s } .js .beats li:not(.on) { opacity: .78 } .beats li.on h2 { font-stretch: 100% }
.beats p { font-size: .98em; max-width: 38ch }

/* earnings */
.gains { background: var(--yellow); padding: clamp(80px, 11vw, 170px) var(--gr) clamp(60px, 8vw, 120px) var(--gl); overflow: clip }
.gains { position: relative } .gains > *:not(.dial) { position: relative }
.dial { position: absolute; width: min(64vw, 900px); height: min(64vw, 900px); right: -15vw; top: -8vw; transform: rotate(var(--spin, 0deg)) }
.gains h2 { font-size: clamp(1.7rem, 4vw, 3.7rem); line-height: 1; max-width: 17ch; font-stretch: 84% }
.sum { display: flex; align-items: baseline; gap: .12em; margin: clamp(26px, 5vw, 60px) 0 clamp(12px, 2vw, 30px); font-family: var(--display); font-weight: 900; line-height: .8; white-space: nowrap; font-size: clamp(4.2rem, 19vw, 21rem); letter-spacing: -.045em; font-variant-numeric: tabular-nums }
.sum b { font-weight: 900; font-stretch: var(--w, 80%) } .sum span { font-size: .28em; font-stretch: 130%; letter-spacing: 0 }
.slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 64px; margin: 0; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px calc(100% / 50)) center / 100% 26px no-repeat; cursor: grab; touch-action: pan-y }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 58px; height: 58px; border-radius: 50%; border: 9px solid var(--green); background: var(--yellow); box-shadow: 0 0 0 6px var(--yellow) }
.slider input::-moz-range-thumb { width: 40px; height: 40px; border-radius: 50%; border: 9px solid var(--green); background: var(--yellow); box-shadow: 0 0 0 6px var(--yellow) }
.slider-row { display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-variant-numeric: tabular-nums }
.fine { max-width: 66ch; margin-top: clamp(30px, 4vw, 60px); font-size: .95rem }

/* levels: each seal is engraved with more passes */
.niveaux { background: var(--paper); padding: clamp(80px, 11vw, 170px) var(--gr) clamp(80px, 10vw, 150px) var(--gl) }
.niveaux > h2 { font-size: clamp(2rem, 5.4vw, 5.2rem); line-height: .95; font-stretch: 76%; max-width: 15ch }
.seals { display: grid; grid-template-columns: 1fr 1.35fr 1.8fr; gap: clamp(20px, 3vw, 56px); align-items: end; margin-top: clamp(30px, 4vw, 70px) }
.seals li { min-width: 0 } .seals canvas { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 20px }
.seals h3 { font-size: 1.1rem; font-weight: 700; font-stretch: 100% }
.cap { font: 900 clamp(2rem, 4vw, 3.9rem)/1.05 var(--display); font-stretch: 82%; letter-spacing: -.02em; white-space: nowrap }
.seals p:last-child { max-width: 30ch }

/* advertisers */
.annonceurs { background: var(--ink); color: var(--mint); padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 7vw, 100px); overflow: clip }
.ann-head, .buy { padding-left: var(--gl); padding-right: var(--gr) }
.ann-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px 60px; align-items: end }
.ann-head h2 { font-size: clamp(2.1rem, 5.6vw, 5.4rem); line-height: .93; font-stretch: 78% }
.ann-head p { max-width: 44ch }
.communes { margin: clamp(34px, 5vw, 70px) 0; display: grid; gap: 0 }
.row { display: flex; width: 100%; padding: 0 var(--gr) 0 var(--gl); gap: .28em }
.row button { flex: 1 1 auto; min-width: 0; appearance: none; border: 0; background: none; color: var(--green); padding: .05em 0; margin: 0; text-align: left; cursor: pointer; font: 900 clamp(1.5rem, 4.7vw, 5rem)/1.02 var(--display); font-stretch: 60%; letter-spacing: -.02em; white-space: nowrap; transition: font-stretch .5s cubic-bezier(.2, .8, .2, 1), color .2s }
.row button:hover { color: var(--rose) } .row button[aria-pressed="true"] { color: var(--yellow); font-stretch: 96% }
.buy { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 24px 60px; align-items: end }
.buy b { display: block; font: 800 clamp(1.6rem, 3vw, 2.8rem)/1.1 var(--display); font-stretch: 84%; color: var(--yellow) }

/* the app itself */
.app { background: var(--rose); padding: clamp(70px, 9vw, 140px) var(--gr) 0 var(--gl); overflow: clip }
.app h2 { font-size: clamp(2rem, 5.4vw, 5.2rem); line-height: .95; font-stretch: 76% }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 4vw, 72px); margin-top: clamp(34px, 5vw, 70px); align-items: start }
.phones figure:nth-child(2) { margin-top: 9vw } .phones figure:nth-child(3) { margin-top: 3vw }
.phones figure { aspect-ratio: 585 / 1000; overflow: hidden; position: relative; display: flex; flex-direction: column }
.phones figcaption { order: -1; font-weight: 600; padding-bottom: 14px }
.phones img { display: block; width: 100%; height: auto; border: clamp(5px, .8vw, 11px) solid var(--ink); border-bottom: 0; border-radius: clamp(20px, 3.4vw, 50px) clamp(20px, 3.4vw, 50px) 0 0 }

/* questions */
.questions { background: var(--mint); padding: clamp(80px, 10vw, 150px) var(--gr) clamp(80px, 10vw, 150px) var(--gl); display: grid; grid-template-columns: 1fr 1.5fr; gap: 34px 60px }
.questions h2 { font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: .95; font-stretch: 76% }
details { border-top: 2px solid var(--ink) } details:last-child { border-bottom: 2px solid var(--ink) }
summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 clamp(1.1rem, 1.7vw, 1.5rem)/1.15 var(--display); font-stretch: 88%; display: flex; justify-content: space-between; gap: 20px }
summary::-webkit-details-marker { display: none }
summary::after { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 5px solid var(--green); transition: background .2s } details[open] summary::after { background: var(--yellow) }
details p { max-width: 60ch; padding: 0 0 26px }

/* end */
footer { background: var(--green); color: var(--paper); padding: clamp(60px, 8vw, 120px) 0 calc(26px + env(safe-area-inset-bottom, 0px)); overflow: clip }
.foot-cta, .legal { padding-left: var(--gl); padding-right: var(--gr) }
.foot-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px }
.foot-cta p { font: 800 clamp(1.8rem, 4.4vw, 4rem)/1 var(--display); font-stretch: 80%; max-width: 15ch }
.wordmark { font: 900 17.6vw/.86 var(--display); font-stretch: 100%; letter-spacing: -.05em; color: var(--yellow); white-space: nowrap; margin: clamp(30px, 5vw, 70px) 0 .12em; padding-left: calc(var(--gl) - .05em) }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 60px; font-size: .95rem }
.legal nav { display: flex; flex-wrap: wrap; gap: 6px 26px } .legal a { padding-block: 8px } .legal p { max-width: 56ch }

/* text pages */
.doc { max-width: 46rem; margin: 0 auto; padding: 120px var(--gr) 90px var(--gl) }
.doc h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: .95; font-stretch: 78%; margin-bottom: .5em }
.doc h2 { font-size: 1.3rem; font-stretch: 92%; margin: 2em 0 .5em } .doc p, .doc li { margin-bottom: .8em } .doc ol, .doc ul { padding-left: 1.3em; list-style: revert }

@media (max-width: 760px) {
  .rosette { --d: 148vw; left: 58%; top: 30% }
  .l1, .l2 { font-size: 17.5vw } .l3 { font-size: 17.1vw; font-stretch: 112% }
  .brand { background: var(--mint); padding: 5px 9px 5px 5px; margin-left: -5px } .top-link { white-space: nowrap; font-size: .9rem }
  .hero { min-height: max(100svh, 640px) }
  .hero-foot .cta { width: 100%; text-align: center }
  .stage { grid-template-rows: 1fr auto; padding-bottom: 12vh } .press { align-items: end; padding-bottom: 5vh }
  .note { width: 112%; margin-left: -6% }
  .beats { display: block; position: relative; min-height: 220px } .js .beats li { position: absolute; inset: 0 } .js .beats li:not(.on) { opacity: 0; visibility: hidden }
  .beats h2 { font-size: 2rem }
  .sum { font-size: 24vw } .dial { width: 92vw; height: 92vw; right: -42vw; top: -20vw }
  .seals { grid-template-columns: 1fr; gap: 44px } .seals li:nth-child(1) canvas { width: 46% } .seals li:nth-child(2) canvas { width: 68% }
  .ann-head, .buy, .questions { grid-template-columns: 1fr }
  .row { flex-wrap: wrap; gap: 0 .35em } .row button { flex: 0 1 auto; font-size: 11.2vw; padding: .06em 0 }
  .row button[aria-pressed="true"] { font-stretch: 78% }
  .phones { display: flex; overflow-x: auto; margin-right: calc(-1 * var(--gr)); padding-right: var(--gr); scroll-snap-type: x proximity } .phones figure { flex: 0 0 68%; margin-top: 0 !important; scroll-snap-align: start }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation: none !important; transition: none !important }
  .mission { height: auto } .stage { position: static; height: auto; min-height: 0 }
  .js .n-step, .js .beats li { opacity: 1 !important; transform: none !important; visibility: visible !important; position: static !important }
  .beats li + li { margin-top: 20px }
}
@media (min-width: 761px) and (max-height: 700px) { .l1, .l2 { font-size: 6.4vw } .l3 { font-size: 10.4vw } .rosette { top: 46%; left: 72% } }
#niveauVues { background: var(--yellow); padding-left: 8px }
.banner .segments, .banner .top, .banner .hero-foot { display: none } .banner .hero { padding-bottom: 70px } .banner .rosette { top: 50% }
