/* Hallmark · shape: product page, two phones lead · genre: playful · theme: brand (by request: docs/DESIGN.md, approved 15 Nov 2026)
 * paper: oklch(97% 0.008 95) · accent: oklch(80% 0.15 75) · display: Bricolage Grotesque · body: Inter · hero: split, words left, iPhone and Android rising together on a weave that draws itself · nav: wordmark and one link · footer: wordmark over one row of links · signature: the cloth, the ledger drawn as weaving, threads that pull themselves into place
 * axes: dark/grotesk-heavy/warm · surface: absolute · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E3 S4 R4 V5 · weakest: E, no store buttons until the apps ship; the action is an e-mail to contact@danfa.app */
/* Hallmark · waive 7b · blanc is a named brand token (docs/DESIGN.md 1.3, approved 15 Nov 2026) · raised surfaces on coton are white in the app too, and the web must match it */
/* Hallmark · answered F8 · Silvère asked for more animation on 19 Nov 2026; the four scroll entrances each show a different thing arriving (the cloth weaving, the promise threads, the two platforms, the detail phone) and all sit inside @supports with the page complete without them */

/* Layout: a nuit hero with two phones over a self-drawing weave, a moving ribbon of motifs, coton sections at one 1160px measure, a nuit band for the two platforms, a nuit close with the bead. */
/* Self-hosted, subset to Latin and French by tools/subset-fonts.sh (web variant). */
@font-face { font-family: "Bricolage Grotesque"; src: url("/static/fonts/bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --nuit: #16184F; --nuit-2: #22256B; --nuit-3: #2C3080; --encre: #14153A; --coton: #F7F5EF; --blanc: #FFFFFF;
  --brume: #E9E6DC; --gris: #5F6079; --pale: #B9BAD6; --or: #F2B233;
  --kola: #F0503A; --mangue: #F58A1F; --feuille: #1E9E63; --lagune: #14A99B;
  --ciel: #2F7BF0; --indigo: #5546E0; --bissap: #C8327A; --terre: #8A4B2A;
  --color-paper: var(--coton); --color-ink: var(--encre); --color-muted: var(--gris); --color-rule: var(--brume);
  --color-accent: var(--or); --color-focus: var(--ciel);
  --font-display: "Bricolage Grotesque", "Arial Black", ui-sans-serif, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px; --gutter: 40px;
  --r-panel: 32px; --r-field: 22px; --r-pill: 999px;
  /* docs/DESIGN.md 5.2 */
  --enter: cubic-bezier(0.22, 1, 0.36, 1); --pop: cubic-bezier(0.34, 1.7, 0.64, 1); --settle: cubic-bezier(0.3, 1.35, 0.5, 1);
  --fast: 160ms; --base: 240ms; --slow: 400ms;
  color-scheme: light;
}
@media (max-width: 40rem) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--pale) var(--coton); }
::selection { background: color-mix(in oklab, var(--or) 40%, transparent); color: var(--encre); }
body {
  margin: 0; background: var(--color-paper); color: var(--color-ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.5;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; caret-color: var(--nuit);
}
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.money { white-space: nowrap; }


/* Buttons: one shape. Press scales to 0.97 (DESIGN 5.2). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 60px; padding: 0 32px; border-radius: var(--r-pill); border: 0;
  font: 600 17px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform var(--fast) var(--enter), background-color var(--fast) var(--enter), box-shadow var(--fast) var(--enter);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn-or { background: var(--or); color: var(--nuit); box-shadow: 0 12px 32px -12px color-mix(in oklab, var(--or) 70%, transparent); }
.btn-or:hover { background: color-mix(in oklab, var(--or) 88%, var(--blanc)); }
.btn-nuit { background: var(--nuit); color: var(--coton); }
.btn-nuit:hover { background: var(--nuit-2); }
.btn-line { background: transparent; color: var(--coton); box-shadow: inset 0 0 0 1.5px var(--pale); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--coton); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* Motifs: a person's or a tontine's face, 32% radius. */
.motif { display: block; width: 40px; height: 40px; border-radius: 32%; flex: none; }
.m-rayures { background: repeating-linear-gradient(90deg, var(--a) 0 25%, var(--b) 25% 50%); background-size: 16px 100%; }
.m-damier { background: conic-gradient(var(--a) 25%, var(--b) 0 50%, var(--a) 0 75%, var(--b) 0) 0 0 / 14px 14px; }
.m-chevrons { background: linear-gradient(135deg, var(--a) 25%, transparent 25%) -7px 0 / 14px 14px, linear-gradient(225deg, var(--a) 25%, transparent 25%) -7px 0 / 14px 14px, var(--b); }
.m-bandes { background: linear-gradient(var(--a) 0 58%, var(--b) 58% 72%, var(--a) 72%); }

/* Stickers (DESIGN 4.2): nuit outline and slab, a tilt, a 12% highlight. */
.sticker {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  font: 800 20px/1 var(--font-display); letter-spacing: -0.03em; color: var(--nuit);
  background: var(--or); border: 3px solid var(--nuit); border-radius: 16px;
  box-shadow: 0 6px 0 var(--nuit), inset 3px 3px 0 color-mix(in oklab, var(--blanc) 18%, transparent);
  white-space: nowrap;
}
.sticker.round { width: 76px; height: 76px; padding: 0; justify-content: center; border-radius: 50%; font-size: 17px; }
.sticker.coton { background: var(--coton); }
.sticker svg { width: 22px; height: 22px; }

/* ================= Landing ================= */
.hero { background: var(--nuit); color: var(--coton); border-radius: 0 0 56px 56px; position: relative; overflow: clip; isolation: isolate; }

/* The weave behind the phones: warp threads still, weft threads pulled across. */
.weave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 18%, black 58%); mask-image: linear-gradient(to right, transparent 18%, black 58%); }
.weave .warp { stroke: var(--nuit-2); stroke-width: 2; }
.weave .weft { fill: none; stroke-width: 16; stroke-linecap: round; opacity: 0.85; stroke-dasharray: 1; stroke-dashoffset: 0;
  animation: pull 1.6s var(--enter) both; animation-delay: calc(500ms + var(--i) * 90ms); }
.weave .gold { stroke: var(--or); stroke-width: 22; opacity: 1; animation-duration: 1.4s; animation-delay: 1.5s; }
@keyframes pull { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--coton); }
.brand svg { width: 44px; height: 44px; }
.wordmark { font: 800 30px/1 var(--font-display); letter-spacing: -0.05em; }
.nav-link { color: var(--pale); font-weight: 600; text-decoration: none; padding: 12px 4px; transition: color var(--fast) var(--enter); }
.nav-link:hover { color: var(--coton); }

/* Logo sting (DESIGN 5.3), on the nav mark. */
.sting .t { stroke-dasharray: 1; animation: pull 600ms var(--enter) both; }
.sting .stem { animation-duration: 300ms; animation-delay: 0ms; }
.sting .outer { animation-delay: 200ms; }
.sting .inner { animation-delay: 350ms; }
.sting .cross { animation: fade 150ms linear 800ms both; }
.sting .bead { transform-box: fill-box; transform-origin: center; animation: bead 500ms var(--pop) 900ms both; }
.sting-word span { display: inline-block; animation: rise 450ms var(--enter) both; animation-delay: calc(1000ms + var(--i) * 40ms); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bead { from { transform: translateY(-40%) scale(0); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(0.6em); } to { opacity: 1; transform: none; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero-copy { display: grid; gap: 28px; align-content: center; padding-block: 24px 120px; }
.hero h1 { font-size: clamp(3rem, 6vw + 0.5rem, 6.5rem); }
.hero h1 .line { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .line > span { display: block; animation: lineRise 650ms var(--enter) both; animation-delay: calc(300ms + var(--i) * 70ms); }
@keyframes lineRise { from { transform: translateY(105%); } to { transform: none; } }
.hero .lead { color: var(--pale); font-size: clamp(1.125rem, 0.6vw + 1rem, 1.4rem); max-width: 28ch; animation: rise 600ms var(--enter) 520ms both; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; animation: rise 600ms var(--enter) 640ms both; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--pale); font-size: 15px; animation: rise 600ms var(--enter) 760ms both; }
.os { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: var(--r-pill); background: var(--nuit-2); color: var(--coton); font-weight: 600; }
.os svg { width: 20px; height: 20px; }

/* Two phones, iPhone in front. Outer wrapper rises, inner floats. */
.stage { position: relative; height: 720px; }
.ph { position: absolute; width: min(300px, 46%); animation: phoneIn 1100ms var(--settle) both; }
.ph .float { animation: float 7s ease-in-out infinite; }
.ph.ios { left: 8%; bottom: 56px; z-index: 2; --tilt: -6deg; animation-delay: 650ms; }
.ph.android { right: 2%; bottom: 150px; z-index: 1; --tilt: 7deg; animation-delay: 820ms; }
.ph.android .float { animation-delay: -3.5s; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(140px) rotate(calc(var(--tilt) * 2.5)); } to { opacity: 1; transform: rotate(var(--tilt)); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.screen { border-radius: 46px; overflow: hidden; background: var(--coton);
  box-shadow: 0 0 0 9px var(--encre), 0 0 0 11px var(--nuit-3), 0 50px 80px -30px color-mix(in oklab, var(--encre) 90%, transparent); }
.ph.android .screen { border-radius: 36px; }
.tag { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); z-index: 3; }
.ph.android .tag { bottom: auto; top: -26px; }

.stick { position: absolute; z-index: 4; animation: stickIn 650ms var(--pop) both; }
.stick > * { animation: bob 5s ease-in-out infinite; }
.stick.s1 { left: -2%; top: 18%; --t: -8deg; animation-delay: 1700ms; }
.stick.s2 { right: -2%; top: 62%; --t: 6deg; animation-delay: 1850ms; }
.stick.s3 { left: 38%; top: 4%; --t: 4deg; animation-delay: 2000ms; }
.stick.s2 > * { animation-delay: -1.6s; } .stick.s3 > * { animation-delay: -3.1s; }
@keyframes stickIn { from { opacity: 0; transform: scale(0.2) rotate(calc(var(--t) * -3)); } to { opacity: 1; transform: rotate(var(--t)); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* The ribbon: motifs and what Danfa holds, moving like a pagne on a loom. */
.ribbon { padding-block: 40px 8px; overflow: clip; }
.ribbon-track { display: flex; gap: 16px; width: max-content; animation: slide 46s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-set { display: flex; gap: 16px; align-items: center; }
.ribbon .motif { width: 64px; height: 64px; }
.ribbon .word { font: 800 clamp(1.75rem, 2vw + 1rem, 2.75rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--nuit); padding-inline: 8px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }

.section { padding-block: 128px; }
.section h2 { font-size: clamp(2.25rem, 3.4vw + 1rem, 4.25rem); max-width: 16ch; }
.section .lead { font-size: 20px; color: var(--gris); max-width: 42ch; }

/* The cloth. One row per round, one cell per seat; in scroll-capable browsers it weaves itself. */
.cloth-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.detail-phone { width: min(300px, 100%); justify-self: center; transform: rotate(-4deg); }
.detail-phone .screen { box-shadow: 0 0 0 9px var(--encre), 0 40px 70px -30px color-mix(in oklab, var(--nuit) 60%, transparent); border-radius: 36px; }
.cloth-copy { display: grid; gap: 28px; }
.cloth { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 8px; align-items: center; padding: 28px; background: var(--blanc); border-radius: var(--r-panel); box-shadow: 0 30px 60px -40px color-mix(in oklab, var(--nuit) 50%, transparent); }
.cloth .who { display: grid; justify-items: center; gap: 8px; font-size: 14px; color: var(--gris); }
.cloth .who .motif { width: 36px; height: 36px; }
.cloth .round { font-size: 14px; color: var(--gris); padding-right: 8px; white-space: nowrap; }
.cell { height: 40px; border-radius: 10px; background: var(--brume); }
.cell.paid { background: var(--c); }
.cell.gold { background: var(--or); box-shadow: inset 0 0 0 3px var(--nuit); }
.cell.open { background: var(--blanc); box-shadow: inset 0 0 0 2px var(--brume); background-image: repeating-linear-gradient(135deg, transparent 0 6px, var(--brume) 6px 8px); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--gris); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 18px; height: 18px; border-radius: 6px; flex: none; }

/* Both platforms, the same moment. */
.both { background: var(--nuit); color: var(--coton); border-radius: 56px; margin-inline: max(12px, env(safe-area-inset-left, 0px)); overflow: clip; position: relative; isolation: isolate; }
.both::before { content: ""; position: absolute; inset: auto 10% -30% 10%; height: 80%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--or) 45%, transparent), transparent); }
.both-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-block: 112px 0; }
.both h2 { font-size: clamp(2.25rem, 3.4vw + 1rem, 4.25rem); max-width: 14ch; }
.both .lead { color: var(--pale); font-size: 20px; max-width: 34ch; margin-top: 24px; }
.both .os-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.both .os { background: var(--nuit-2); font-size: 17px; padding: 12px 20px 12px 16px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: end; padding-inline: 8px; }
.pair figure { margin: 0; display: grid; gap: 16px; justify-items: center; }
.pair figure:first-child { transform: translateY(-48px) rotate(-3deg); }
.pair figure:last-child { transform: rotate(3deg); }
.pair .screen { border-radius: 40px 40px 0 0; box-shadow: 0 0 0 9px var(--encre), 0 0 0 11px var(--nuit-3); width: 100%; max-width: 280px; }
.pair figcaption { font: 800 22px/1 var(--font-display); letter-spacing: -0.03em; }

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 56px; }
.promise { display: grid; gap: 16px; align-content: start; padding-top: 28px; position: relative; }
.promise::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: var(--c); transform-origin: left; }
.promise h3 { font-size: clamp(1.625rem, 1.2vw + 1rem, 2.25rem); max-width: 13ch; }
.promise p { color: var(--gris); max-width: 30ch; }

.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; padding-top: 40px; }
.kind { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; padding-block: 24px; border-bottom: 1px solid var(--color-rule); align-items: center; }
.kind .motif { grid-row: span 2; width: 60px; height: 60px; transition: transform var(--base) var(--pop); }
.kind:hover .motif { transform: rotate(-8deg) scale(1.08); }
.kind h3 { font-size: 24px; letter-spacing: -0.03em; }
.kind p { color: var(--gris); }

.guest-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; background: var(--blanc); border-radius: var(--r-panel); padding: 56px; }
.guest-band .lead { margin-top: 16px; }
.guest-band .more, .section .more { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--nuit); padding: 12px 0; }
.code-form { display: grid; gap: 16px; }
.code-form label { font-weight: 600; font-size: 17px; }
.code-row { display: flex; gap: 12px; flex-wrap: wrap; }
.code-row input {
  flex: 1 1 180px; min-width: 0; min-height: 60px; padding: 0 20px; border-radius: var(--r-field);
  border: 1.5px solid var(--brume); background: var(--coton); color: var(--nuit);
  font: 800 26px/1 var(--font-display); transition: border-color var(--fast) var(--enter);
}
.code-row input::placeholder { color: var(--pale); }
.code-row input:hover { border-color: var(--pale); }
.code-row input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-color: var(--nuit); }
.code-row input[aria-invalid="true"] { border-color: var(--kola); }
.hint { font-size: 15px; color: var(--gris); }
.hint.error { color: var(--kola); font-weight: 600; }

/* The close: the bead, with its ripple (DESIGN 5.3). */
.launch { background: var(--nuit); color: var(--coton); border-radius: 56px 56px 0 0; padding-block: 120px 0; position: relative; overflow: clip; isolation: isolate; }
.bead { position: absolute; right: 12%; top: 50%; width: 120px; height: 120px; margin-top: -60px; z-index: -1; }
.bead i { position: absolute; inset: 0; border-radius: 50%; }
.bead .core { background: var(--or); box-shadow: inset -10px -12px 0 color-mix(in oklab, var(--nuit) 18%, transparent), inset 8px 8px 0 color-mix(in oklab, var(--blanc) 25%, transparent); }
.bead .ring { border: 3px solid var(--or); animation: ripple 3.2s var(--enter) infinite; opacity: 0; }
.bead .ring:nth-child(2) { animation-delay: 1.07s; } .bead .ring:nth-child(3) { animation-delay: 2.13s; }
@keyframes ripple { from { transform: scale(1); opacity: 0.7; } to { transform: scale(4); opacity: 0; } }
.launch-inner { display: grid; gap: 28px; justify-items: start; padding-bottom: 88px; border-bottom: 1px solid var(--nuit-2); }
.launch h2 { font-size: clamp(2.25rem, 3.4vw + 1rem, 4.25rem); max-width: 13ch; }
.launch p { color: var(--pale); max-width: 40ch; font-size: 19px; }
.address { font-weight: 600; color: var(--coton); user-select: all; }
footer.site { background: var(--nuit); color: var(--pale); padding-block: 40px 48px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot a { text-decoration: none; padding: 8px 0; font-size: 15px; }
.foot a:hover { color: var(--coton); text-decoration: underline; }
.foot small { font-size: 14px; }

/* Scroll-driven entrances, where the browser has them; everything is in place without. */
@supports (animation-timeline: view()) {
  .weave-in .cell { animation: weaveCell linear both; animation-timeline: view(); animation-range: entry calc(20% + var(--r) * 12%) cover calc(30% + var(--r) * 6%); transform-origin: left; }
  @keyframes weaveCell { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
  .promise::before { animation: draw linear both; animation-timeline: view(); animation-range: entry 30% cover 35%; }
  @keyframes draw { from { transform: scaleX(0); } to { transform: none; } }
  .pair figure:first-child .screen { animation: fromLeft linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  .pair figure:last-child .screen { animation: fromRight linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  @keyframes fromLeft { from { transform: translate(-30%, 30%) rotate(-10deg); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes fromRight { from { transform: translate(30%, 30%) rotate(10deg); opacity: 0; } to { transform: none; opacity: 1; } }
  .detail-phone .screen { animation: tiltIn linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes tiltIn { from { transform: translateY(80px) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ================= Guest page ================= */
.g { max-width: 480px; margin-inline: auto; padding-bottom: 48px; }
.g-head { background: var(--nuit); color: var(--coton); border-radius: 0 0 36px 36px; padding: 20px 20px 28px; display: grid; gap: 16px; }
.g-top .brand svg { width: 32px; height: 32px; }
.g-top .wordmark { font-size: 22px; }
.g-id { display: flex; gap: 16px; align-items: center; padding-top: 8px; }
.g-id .motif { width: 64px; height: 64px; box-shadow: 0 0 0 3px var(--nuit-2); }
.g-head h1 { font-size: 34px; letter-spacing: -0.03em; }
.g-sub { color: var(--pale); font-size: 16px; }
.turn { display: grid; gap: 12px; padding-top: 8px; }
.turn strong { font: 800 30px/1.05 var(--font-display); letter-spacing: -0.03em; }
.bar { height: 12px; border-radius: var(--r-pill); background: var(--nuit-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 75%; background: var(--or); border-radius: var(--r-pill); transform-origin: left; animation: barIn 900ms var(--enter) 200ms both; }
@keyframes barIn { from { transform: scaleX(0); } to { transform: none; } }
.g-body { padding: 32px 20px 0; display: grid; gap: 32px; }
.g h2 { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 12px; }
.g h2 small { font: 500 15px/1.4 var(--font-body); letter-spacing: 0; color: var(--gris); display: block; margin-top: 4px; }
.rows { display: grid; }
.row { display: flex; align-items: center; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--brume); }
.row:last-child { border-bottom: 0; }
.row b { flex: 1; font-weight: 600; min-width: 0; }
.row .st { font-size: 15px; color: var(--gris); text-align: right; }
.row .ring { position: relative; display: block; flex: none; }
.ring.recu .motif { box-shadow: 0 0 0 3px var(--coton), 0 0 0 6px var(--or); }
.ring.recu::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--or) no-repeat center / 12px 12px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3L9.5 3.8' fill='none' stroke='%2316184F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); box-shadow: 0 0 0 2px var(--coton); }
.ring.envoye::before { content: ""; position: absolute; inset: -6px; border-radius: 36%; border: 2px dashed var(--gris); animation: turnRing 2.4s linear infinite; }
@keyframes turnRing { to { transform: rotate(360deg); } }
.st.recu { color: var(--encre); font-weight: 700; }
.order .row b small { display: block; font-weight: 400; font-size: 15px; color: var(--gris); }
.order .now { background: var(--blanc); border-radius: 20px; padding-inline: 12px; margin-inline: -12px; border-bottom-color: transparent; box-shadow: inset 0 0 0 2px var(--or); }
.g .cloth { padding: 16px; gap: 4px; box-shadow: none; }
.g .cell { height: 28px; border-radius: 8px; }
.join { background: var(--blanc); border-radius: 28px; padding: 24px; display: grid; gap: 16px; }
.join .btn { width: 100%; }
.code-show { text-align: center; font: 800 38px/1 var(--font-display); letter-spacing: 0.16em; color: var(--nuit); padding: 16px 0 4px; }
.fine { font-size: 15px; color: var(--gris); }


@media (max-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy { padding-block: 16px 24px; }
  .stage { height: 600px; max-width: 520px; width: 100%; justify-self: center; }
  .ph { width: min(250px, 52%); }
  .ph.ios { left: 4%; bottom: 48px; } .ph.android { right: 0; bottom: 130px; }
  .weave { -webkit-mask-image: linear-gradient(to bottom, transparent 45%, black 70%); mask-image: linear-gradient(to bottom, transparent 45%, black 70%); }
  .cloth-grid, .guest-band, .both-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .detail-phone { order: 2; }
  .promises { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .kinds { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 88px; }
  .guest-band { padding: 32px 24px; }
  .both-grid { padding-block: 72px 0; }
  .bead { right: -20px; top: 24%; width: 90px; height: 90px; }
}
@media (max-width: 30rem) {
  .stage { height: 500px; }
  .ph { width: 54%; }
  .stick.s1 { left: -4px; top: 10%; } .stick.s2 { right: -4px; } .stick.s3 { display: none; }
  .sticker { font-size: 17px; padding: 8px 12px; }
  .pair { gap: 16px; }
  .cloth { padding: 12px; gap: 4px; } .cloth .round { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .btn:active { transform: none; }
}

/* ================= Text pages: conditions, deleting an account ================= */
.doc-head { background: var(--nuit); color: var(--coton); border-radius: 0 0 40px 40px; padding-bottom: 56px; }
.doc-head h1 { font-size: clamp(2.5rem, 4vw + 1rem, 4rem); max-width: 16ch; }
.doc-head .lead { color: var(--pale); font-size: 19px; margin-top: 16px; max-width: 46ch; }
.doc { padding-block: 56px 96px; display: grid; gap: 40px; }
.doc section { max-width: 720px; }
.doc section { display: grid; gap: 12px; }
.doc h2 { font-size: 28px; letter-spacing: -0.03em; }
.doc p, .doc li { font-size: 18px; max-width: 62ch; }
.doc ol, .doc ul { margin: 0; padding-left: 24px; display: grid; gap: 8px; }
.doc h3 { font-size: 20px; letter-spacing: -0.02em; margin-top: 8px; }
.doc .note { color: var(--gris); font-size: 16px; }
.example { background: var(--or); color: var(--nuit); font-weight: 600; font-size: 15px; text-align: center; padding: 12px 16px; }
