/* GLYPH fusion: the main site's material close-ups, offer, FAQ, legal footer and cookie banner (site.css),
   set in the experience's tokens and type (xp.css). The sub-pages (buy, legal) keep site.css as they are. */
.sec { background: var(--shell); padding-block: clamp(80px, 14vh, 128px); }
.sec + .sec { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-head > div { display: grid; gap: 14px; }
.sec-head .lead { max-width: 40ch; }
.h3 { font: 600 24px/1.25 var(--body); margin: 0; }
.todo { background: rgba(255, 31, 45, .1); color: #b3121e; padding: 1px 6px; border-radius: 6px; font: 500 .85em/1.6 var(--mono); }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(22, 23, 25, .22); }

/* material close-ups */
.macro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.macro figure { margin: 0; display: grid; gap: 16px; min-width: 0; }
.macro img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: var(--shell-2); }
.macro figcaption { display: grid; gap: 6px; }
.macro b { font: 900 24px/1 var(--display); letter-spacing: .04em; }
@media (max-width: 760px) { .macro { grid-template-columns: minmax(0, 1fr); } }

/* offer */
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.buy-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: grid; gap: 24px; align-content: start; min-width: 0; }
.buy-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.price { font: 900 32px/1 var(--display); letter-spacing: .02em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--ink); flex: none; transform: translateY(-2px); }
.buy-visual { border-radius: 28px; overflow: hidden; background: var(--shell-2); min-height: 360px; }
.buy-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .buy { grid-template-columns: minmax(0, 1fr); } .buy-card { padding: 24px; } }

/* faq */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.faq details { border-top: 1px solid var(--line); padding-block: 20px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 600 19px/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px/1 var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* footer: order and legal links */
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 8px 0; }
.foot-links a, button.linklike { font-size: 15px; color: var(--on-night-2); text-decoration: none; }
.foot-links a:hover, button.linklike:hover { color: var(--on-night); text-decoration: underline; }
button.linklike { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 15px; }

/* cookie banner (assets/js/site.js): refusing is as easy as accepting */
.btn-paper { background: var(--on-night); color: var(--ink); }
.btn-ghost-night { background: transparent; color: var(--on-night); border-color: rgba(242, 242, 238, .3); }
.consent { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; justify-content: center; }
.consent-in { width: min(560px, 100%); background: var(--night); color: var(--on-night); border: 1px solid var(--night-line); border-radius: 22px; padding: 22px; display: grid; gap: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.consent-in p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--on-night-2); }
.consent-in p b { color: var(--on-night); font-weight: 600; }
.consent-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent .btn { min-height: 46px; padding: 0 14px; }
.consent .label { font: 500 11px/1.4 var(--mono); letter-spacing: .22em; text-transform: uppercase; }
.consent-prefs { display: grid; gap: 10px; border-top: 1px solid var(--night-line); padding-top: 14px; }
.consent-prefs label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-night-2); }
.consent a { color: var(--on-night); }

/* honeypot field, hidden from people (site.css is not loaded here) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* the small mono line that follows a title (never sits above it) */
.meta { margin: 0; font: 500 11px/1.4 var(--mono); letter-spacing: .22em; text-transform: uppercase; opacity: .72; }

/* the screen bubble (hero.js): pops above RANDOM with the family just drawn, in the screen's proportions, ends rounded */
.screen-pop { position: absolute; left: 0; top: 0; z-index: 3; width: min(400px, 66vw); aspect-ratio: 528 / 308; translate: -50% -100%; border-radius: 999px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(242, 242, 238, .16), 0 28px 64px rgba(0, 0, 0, .38); transform-origin: 50% 100%; opacity: 0; scale: .5; transition: opacity .3s ease, scale .55s cubic-bezier(.2, 1.35, .4, 1); pointer-events: none; }
.screen-pop[data-on="1"] { opacity: 1; scale: 1; }
.screen-pop video { width: 100%; height: 100%; object-fit: cover; display: block; }
.screen-pop .pop-name { position: absolute; left: 0; right: 0; top: 15%; margin: 0; text-align: center; font: 900 clamp(16px, 2vw, 22px)/1 var(--display); letter-spacing: .04em; color: #f2f2ee; }
.screen-pop .pop-num { position: absolute; left: 0; right: 0; bottom: 15%; margin: 0; text-align: center; font: 500 10px/1 var(--mono); letter-spacing: .22em; color: rgba(242, 242, 238, .6); }
@media (prefers-reduced-motion: reduce) { .screen-pop { transition: opacity .2s; scale: 1; } }

/* keeps a price and its unit on one line */
.nowrap { white-space: nowrap; }

/* "Acheter GLYPH" ends on the logo's round red LED (brand rule, video/glyph-brand/wordmark.cjs):
   0.30 cap across, 0.27 cap after the H, its bottom 0.1 cap above the baseline; GLYPH and its LED never split */
.buy-mark { white-space: nowrap; margin-left: -.2em; }
.led { display: inline-block; width: .3cap; height: .3cap; border-radius: 50%; background: var(--signal); margin-left: calc(.27cap - .02em); vertical-align: .1cap; }

/* FR / EN switch in the menu bar */
.nav-end { display: flex; align-items: center; gap: 4px; }
.nav-lang { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; font: 500 11px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .18em; text-decoration: none; opacity: .72; }
.nav-lang:hover { opacity: 1; }
