/* Page CSS: the demo frame, the plain hero row and the roadmap lists. Everything else is the kit. */
.pt { --pt-coral: #d9572e; --pt-ink: #1d1d1f; --pt-muted: #6b6b70; }
.pt-b {
  flex: none; display: grid; place-items: center; width: 1em; height: 1em; margin-top: .22em;
  border: 1.5px solid var(--pt-ink); border-radius: .24em; font: 500 .72em/1 var(--font-text); font-style: normal; color: var(--pt-muted);
}
.is-done > .pt-b, .is-done.pt-b {
  background: var(--pt-coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3l2.4 2.4 4.8-5.2' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 78% no-repeat;
  border-color: var(--pt-coral);
}
.is-done > .pt-tx { color: var(--pt-muted); text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--pt-muted) 60%, transparent); }

.hero__row { align-items: center; gap: var(--s-6); margin-top: var(--s-5); }
.hero--demo h1 { margin: 0; font-size: clamp(36px, 3.4vw + 8px, 56px); line-height: 1.06; }
.hero--demo .hero__lead { margin: 0; }
.hero--demo .wrap, .hero--demo .hero__in { height: 100%; }
.hero--demo .hero__in { display: flex; flex-direction: column; }
.demo__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 44px; margin-top: var(--s-7); }
.demo__bar .demo__help { margin: 0; color: var(--ink); font-weight: 400; }
.demo__skip { min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: 999px; background: none; color: var(--ink); font: 500 var(--t-body)/1 var(--font-text); cursor: pointer; }
.demo__skip[hidden] { display: none; }
.demo iframe:focus, .demo iframe:focus-visible { outline: 2px solid var(--action); outline-offset: -2px; }
.demo:focus-within { box-shadow: 0 0 0 2px var(--action); }
.hero--demo .demo { flex: 1 0 auto; min-height: min(780px, 82svh); margin-top: var(--s-4); }
/* ------------------------------------------------------------ the demo frame (#page) */
.demo { position: relative; margin-top: var(--s-7); overflow: hidden; background: var(--bg); border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); border-radius: 12px; box-shadow: none; min-height: 260px; }
.demo__text { align-content: start; }
.demo__help { font-weight: 500; }
.demo__poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; border: 0; background: var(--bg); }
.demo iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: var(--bg); }
.demo[data-live] .demo__poster { display: none; }
/* the web view: the same iframe under a thin, neutral browser bar */
.demo__chrome { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 40px; display: none; align-items: center; gap: 6px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.demo__chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.demo__chrome span { flex: 1; max-width: 520px; height: 24px; margin: 0 auto; border-radius: 6px; background: var(--line); }
.demo[data-live][data-dev="web"] .demo__chrome { display: flex; }
.demo[data-live][data-dev="web"] iframe { top: 40px; height: calc(100% - 40px); }
/* a phone or a touch screen: the same live app at the frame's own width, no browser bar */
@media (pointer: coarse), (max-width: 639px) {
  .demo__bar { margin-top: var(--s-5); }
  .demo__bar .demo__help { font-size: 15px; }
  .demo, .hero--demo .demo { flex: none; height: 74svh; min-height: 520px; margin-top: var(--s-6); }
}
/* ------------------------------------------------------------ roadmap */
.roadmap { align-content: start; }
.roadmap__group { display: grid; gap: var(--s-3); }
.roadmap__list { margin: 0; padding: 0; list-style: none; display: grid; }
.roadmap__list li { display: flex; align-items: flex-start; gap: .7em; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--t-body); }
.roadmap__list .pt-b { --pt-ink: var(--ink); --pt-muted: var(--muted); --pt-coral: #d9572e; }
.roadmap__list .is-doing .pt-b { border-color: #b8431c; }
.roadmap__list .is-later { color: var(--muted); }
.roadmap__list .is-done > span { color: var(--ink); }
.roadmap__cap, .roadmap__date { margin: 0; color: var(--muted); font-size: var(--t-body); }
.roadmap__date { font-family: var(--font-mono); }
.roadmap .pt-b { flex: none; display: grid; place-items: center; width: 1.1em; height: 1.1em; margin-top: .3em; border: 1.5px solid var(--ink); border-radius: .24em; }
.roadmap .is-done > .pt-b { background-color: #d9572e; border-color: #d9572e; }


.faq__side { display: grid; align-content: start; gap: var(--s-6); }
.shot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.shot img { display: block; width: 100%; height: auto; }
.shot .shot__dark { display: none; }
:root[data-theme="dark"] .shot .shot__light { display: none; }
:root[data-theme="dark"] .shot .shot__dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot .shot__light { display: none; }
  :root:not([data-theme="light"]) .shot .shot__dark { display: block; }
}
@media (max-width: 639px) { .hero__row { flex-direction: column; align-items: stretch; } .nav:not(.is-open) .nav__actions { display: none; } .nav__toggle { margin-left: auto; } }


/* the sign-up: one field and its button on one line, not a band across the page */
.form--signup { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-4); max-width: 640px; }
.form--signup .field { flex: 1 1 280px; margin: 0; }
.form--signup .btn-row { margin: 0; }
@media (max-width: 639px) { .form--signup .btn-row, .form--signup .btn { width: 100%; } }
@media (max-width: 639px) { .nav:not(.is-open) .nav__actions + .nav__toggle { margin-left: auto; } }

/* the theme button: one icon, the other theme's */
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: var(--s-3); border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--line); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
}
.demo__poster--dark { display: none; }

/* ------------------------------------------------------------ the feature capsules (#plus, caps.js) */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin: var(--s-7) 0 0; padding: 0; list-style: none; }
.cap { display: grid; align-content: start; gap: var(--s-2); padding: var(--s-4); border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.cap h3 { margin: var(--s-3) 0 0; font-size: 18px; line-height: 1.3; }
.cap p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.5; }
.cap__page { position: relative; height: 104px; overflow: hidden; padding: 18px 18px 0; border-radius: 12px; background: var(--bg); font: 400 15px/1.45 var(--font-text); color: var(--ink); }
.caps__more { margin: var(--s-6) 0 0; max-width: 72ch; color: var(--ink); }
/* a line of the page, drawn as the app draws it */
.cl { display: flex; align-items: center; gap: 9px; white-space: nowrap; min-height: 24px; }
.cl--sub { padding-left: 25px; color: color-mix(in oklab, var(--ink) 75%, #4f7bd9); }
.cl u { text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--ink) 35%, transparent); text-underline-offset: 4px; }
.cl b { font-weight: 400; color: #d39a2e; }
.cb { flex: none; width: 14px; height: 14px; border: 1.5px solid color-mix(in oklab, var(--ink) 55%, transparent); border-radius: 4px; }
.cb--round { width: 11px; height: 11px; border-radius: 50%; }
.cl__type:empty::after, .cl--q .cl__type::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -0.15em; background: var(--ink); animation: cap-caret 1s steps(1) infinite; }
@keyframes cap-caret { 50% { opacity: 0; } }
/* @: the list pops under the typed line, then the block takes its place with its open steps */
.cap__pop { position: absolute; left: 34px; top: 46px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--card); font-size: 13px; opacity: 0; transform: translateY(-4px); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.cap.is-pop .cap__pop { opacity: 1; transform: none; }
.cap__late { display: none; }
.cap.is-end .cl--q, .cap.is-end .cap__pop { display: none; }
.cap.is-end .cap__late { display: flex; animation: cap-in 320ms var(--ease) both; }
.cap.is-end .cap__late + .cap__late { animation-delay: 90ms; }
.cap.is-end .cap__late + .cap__late + .cap__late { animation-delay: 180ms; }
@keyframes cap-in { from { opacity: 0; transform: translateY(6px); } }
/* the timer: the running clock in the app's coral */
.cap__clock { margin-left: 4px; font-size: 12px; color: #e0643a; font-variant-numeric: tabular-nums; }
/* Reminders: the line is sent, a quiet mark says where */
.cap__pill { display: inline-block; margin: 12px 0 0 23px; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; opacity: 0; }
.cap[data-cap="remind"].is-end .cap__pill { animation: cap-in 320ms var(--ease) both; opacity: 1; }
/* swipe: the row slides right over a coral ground, comes back done */
.cap__swipe { position: relative; margin: 0 -18px; padding: 0 18px; }
.cap__under { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 18px; background: #d9572e; color: #fff; border-radius: 6px; opacity: 0; }
.cap__row { position: relative; display: flex; align-items: center; gap: 9px; width: 100%; background: var(--bg); }
.cap[data-cap="swipe"].is-on .cap__under { animation: cap-under 2400ms var(--ease) 300ms both; }
.cap[data-cap="swipe"].is-on .cap__row { animation: cap-swipe 2400ms var(--ease) 300ms both; }
.cap[data-cap="swipe"].is-on .cb { animation: cap-check 1ms 1500ms both; }
@keyframes cap-swipe { 0% { transform: none; } 35%, 50% { transform: translateX(46%); } 75%, 100% { transform: none; color: color-mix(in oklab, var(--ink) 55%, transparent); } }
@keyframes cap-under { 0% { opacity: 0; } 10%, 60% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes cap-check { to { background: #d9572e; border-color: #d9572e; } }
/* list: the lines appear one by one as they are typed */
.cap[data-cap="list"] .cl:not(.is-here) { visibility: hidden; }
.cap[data-cap="list"].is-end .cl { visibility: visible; }
/* menubar: a strip of the Mac menu bar, its menu drops open, a step gets checked */
.cap[data-cap="menubar"] .cap__page { padding: 0; }
.cap__bar { display: flex; justify-content: flex-end; padding: 5px 12px; border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--card) 70%, transparent); font: 500 12px/1.4 var(--font-text); }
.cap__bar-item { padding: 1px 8px; border-radius: 5px; transition: background 160ms var(--ease); }
.cap.is-open .cap__bar-item { background: var(--line); }
.cap__clock--bar { margin: 0; font-size: 12px; }
.cap__menu { position: absolute; right: 12px; top: 30px; padding: 6px 12px 4px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--card); font-size: 13px; opacity: 0; transform: translateY(-4px); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.cap__menu .cl { margin: 0 0 2px; padding: 0; }
.cap.is-open .cap__menu { opacity: 1; transform: none; }
.cap[data-cap="menubar"].is-end .cap__menu .cl:first-child .cb { background: #d9572e; border-color: #d9572e; }
.cap[data-cap="menubar"].is-end .cap__menu .cl:first-child { text-decoration: line-through; color: color-mix(in oklab, var(--ink) 55%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .cap *, .cap *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 1023px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .caps { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ "How it works" (HowItWorks.astro) */
.caps__link { margin: var(--s-4) 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link-arrow .m-arrow { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.how__head { margin-bottom: var(--s-8); }
.how > .wrap { justify-content: center; }
.how__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); align-items: center; }
.how__text { display: grid; gap: var(--s-2); max-width: 46ch; }
.how__text h2 { margin: 0 0 var(--s-1); }
.how__text p { margin: 0; color: var(--ink); line-height: 1.55; }
.how__n { display: flex; align-items: center; gap: 12px; font: 500 13px/1 var(--font-text); color: var(--muted) !important; font-variant-numeric: tabular-nums; }
.how__tag { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; }
.how__shots { display: grid; gap: var(--s-3); }
.how__shots .shot { max-width: 760px; }
@media (max-width: 899px) { .how__row { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); } }

/* ------------------------------------------------------------ #pourquoi (Home) and the AI bits */
.why { align-items: center; }
.why__text { display: grid; gap: var(--s-4); }
.why__text h2 { margin: 0 0 var(--s-2); }
.why__text p { margin: 0; max-width: 52ch; font-size: var(--t-lead, 19px); line-height: 1.5; }
.why__never { padding: var(--s-5); border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.why__never h3 { margin: 0 0 var(--s-4); font-size: 15px; font-weight: 500; color: var(--muted); }
.why__never ul { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.why__never li { display: flex; align-items: center; gap: 12px; font-size: 17px; text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--ink) 45%, transparent); color: color-mix(in oklab, var(--ink) 70%, transparent); }
.cb--drop { position: relative; }
.cb--drop::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.cl--ask { font-style: italic; color: color-mix(in oklab, var(--ink) 65%, transparent); white-space: normal; }
.cap[data-cap="ai"].is-end .cl--ask { display: flex; }
.how__quotes { margin: 0; padding: var(--s-5); border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.how__quotes figcaption { margin-bottom: var(--s-3); font-size: 13px; color: var(--muted); }
.how__quotes ul { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.how__quotes li { font-size: 19px; line-height: 1.4; }

/* the demo is taller than one screen (Saad, 22/11): the hero grows with it instead of spilling onto #pourquoi */
main > .hero.hero--demo { height: auto; min-height: 100vh; min-height: 100svh; }
/* #plus and #questions fit one screen again (tightened below, 22/11), so they keep the kit's fixed height */

/* ============================================================ November 2026 (22/11): daylight, glass, the logo's cursor
   One idea: a page on a desk, in daylight that moves. The lights drift over a minute (time, calmly), the app sits in a
   pane of glass above them, the h1 ends on the coral cursor of the logo. Everything rests under reduced motion. */
:root { --pt-coral: #d9572e; --pt-amber: #f4c39a; --pt-slate: #9db4d8; --glass-edge: color-mix(in oklab, #fff 70%, transparent); }
:root[data-theme="dark"] { --pt-amber: #b8662e; --pt-slate: #3d4f72; --glass-edge: color-mix(in oklab, #fff 14%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --pt-amber: #b8662e; --pt-slate: #3d4f72; --glass-edge: color-mix(in oklab, #fff 14%, transparent); } }

.hero--demo { position: relative; isolation: isolate; overflow: clip; }
.daylight { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.daylight i { position: absolute; display: block; border-radius: 50%; filter: blur(80px); will-change: transform; }
.daylight__sun { width: 62vw; height: 62vw; max-width: 980px; max-height: 980px; left: -12vw; top: 8vh;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--pt-amber) 55%, transparent), color-mix(in oklab, var(--pt-coral) 14%, transparent) 60%, transparent);
  animation: day-sun 60s ease-in-out infinite alternate; }
.daylight__sky { width: 54vw; height: 54vw; max-width: 860px; max-height: 860px; right: -14vw; top: 34vh;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--pt-slate) 42%, transparent), transparent);
  animation: day-sky 60s ease-in-out infinite alternate; }
.daylight__grain { inset: 0 !important; width: auto; height: auto; border-radius: 0 !important; filter: none !important; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .daylight__grain { mix-blend-mode: screen; opacity: .04; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .daylight__grain { mix-blend-mode: screen; opacity: .04; } }
@keyframes day-sun { to { transform: translate(38vw, -6vh) scale(1.08); } }
@keyframes day-sky { to { transform: translate(-30vw, -14vh) scale(.94); } }

/* the title: a short line of facts in the mono face, the two sentences, the second one softer, then the cursor */
.hero__title { display: grid; gap: var(--s-4); align-content: start; }
.hero__kicker { margin: 0; font: 400 13px/1.4 var(--font-mono); letter-spacing: .01em; color: var(--muted); }
.hero--demo h1 { font-size: clamp(40px, 4.6vw + 6px, 78px); line-height: 1.0; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.hero__soft { color: color-mix(in oklab, var(--ink) 52%, var(--bg)); }
.caret { display: inline-block; width: .07em; height: .82em; margin-left: .06em; vertical-align: -.04em; border-radius: 2px; background: var(--pt-coral); animation: caret-blink 1.1s steps(1) infinite; }
@keyframes caret-blink { 55% { opacity: 0; } }
.hero--demo .hero__lead { font-size: clamp(17px, .5vw + 13px, 20px); line-height: 1.5; }
.hero--demo .hero__top { align-items: end; }

/* the pane of glass: a frosted bezel around the live app, a lit top edge, a long soft shadow on the paper */
.glass { position: relative; flex: 1 0 auto; display: flex; margin-top: var(--s-4); padding: 10px; border-radius: 26px;
  background: color-mix(in oklab, var(--bg) 38%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 65%, transparent), 0 1px 2px rgb(0 0 0 / .05), 0 24px 60px -20px rgb(20 30 50 / .22), 0 60px 120px -40px rgb(20 30 50 / .18); }
:root[data-theme="dark"] .glass { box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 10%, transparent), 0 30px 80px -24px rgb(0 0 0 / .6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .glass { box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 10%, transparent), 0 30px 80px -24px rgb(0 0 0 / .6); } }
.glass > .demo, .hero--demo .glass > .demo { flex: 1 0 auto; margin: 0; border-radius: 17px; border-color: color-mix(in oklab, var(--ink) 9%, transparent); }
.demo__bar { margin-top: var(--s-8); }
@media (pointer: coarse), (max-width: 639px) {
  .glass { flex: none; padding: 6px; border-radius: 20px; }
  .glass > .demo, .hero--demo .glass > .demo { height: 72svh; border-radius: 15px; }
}

/* the rest of the page speaks the same: glass cards, the coral light on the dark band */
.why__never { border-radius: 24px !important; background: color-mix(in oklab, var(--surface) 70%, transparent) !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 60%, transparent), 0 20px 50px -30px rgb(20 30 50 / .25); }
#plus { position: relative; isolation: isolate; overflow: clip; }
#plus::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -30vh; width: 90vw; height: 70vh; transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--pt-coral) 22%, transparent), transparent); filter: blur(40px); pointer-events: none; }
.cap { border-radius: 24px; background: color-mix(in oklab, var(--card) 80%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 8%, transparent); transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.cap:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--pt-coral) 40%, var(--line)); }
.cap__page { border-radius: 14px; }
h2 { text-wrap: balance; }
.shot { border-radius: 18px; box-shadow: 0 20px 50px -30px rgb(20 30 50 / .25); }

@media (prefers-reduced-motion: reduce) { .daylight i, .caret { animation: none; } }
/* each sentence on its own lines; the glass is the window, so no fake browser bar inside it */
.hero__soft { display: block; }
.glass .demo[data-live][data-dev="web"] .demo__chrome { display: none; }
.glass .demo[data-live][data-dev="web"] iframe { top: 0; height: 100%; }
@media (pointer: coarse), (max-width: 639px) { .demo__bar { margin-top: var(--s-6); } }
/* the same daylight and glass on the inner pages (Saad, 22/11: « on garde » for the whole site) */
.has-daylight { position: relative; isolation: isolate; overflow: clip; }
.has-daylight .daylight__sun { top: -10vh; }
.has-daylight .daylight__sky { top: 20vh; }
.how__head h1, #feuille h1 { font-size: clamp(36px, 3.6vw + 6px, 64px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.how__shots .shot, .how__quotes { padding: 8px; border: 1px solid var(--glass-edge); border-radius: 22px;
  background: color-mix(in oklab, var(--bg) 40%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 60%, transparent), 0 24px 60px -28px rgb(20 30 50 / .22); }
.how__shots .shot img { border-radius: 15px; border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent); }
.how__quotes { padding: var(--s-5); }
.how__n { font-family: var(--font-mono) !important; }
.how__tag { background: var(--pt-coral); color: #fff; }
.roadmap__date { color: var(--muted); }
:root[data-theme="dark"] .how__shots .shot, :root[data-theme="dark"] .how__quotes { box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 8%, transparent), 0 24px 60px -28px rgb(0 0 0 / .6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .how__shots .shot, :root:not([data-theme="light"]) .how__quotes { box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 8%, transparent), 0 24px 60px -28px rgb(0 0 0 / .6); } }
main > .how.has-daylight { height: auto; min-height: 100vh; min-height: 100svh; }
.daylight { overflow: hidden; }

/* ============================================================ the bar: a floating capsule of glass (Saad, 22/11: « pas actuel »)
   The kit's bar is a full-width opaque strip; here it lifts off the top as one rounded pane, the page shows through it.
   Same markup, same phone sheet; only the look changes. */
.nav { top: 12px; height: 56px; background: none; border: 0; pointer-events: none; }
.nav > .nav__bar { pointer-events: auto; box-sizing: border-box; width: min(1080px, calc(100% - 32px)); max-width: none; height: 56px; margin: 0 auto;
  padding: 0 8px 0 20px; gap: var(--s-4); border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 62%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 55%, transparent), 0 1px 2px rgb(0 0 0 / .04), 0 12px 32px -12px rgb(20 30 50 / .18); }
:root[data-theme="dark"] .nav > .nav__bar { box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 8%, transparent), 0 12px 32px -12px rgb(0 0 0 / .6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav > .nav__bar { box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 8%, transparent), 0 12px 32px -12px rgb(0 0 0 / .6); } }
.nav .nav__logo { font-size: 19px; font-weight: 600; }
.nav .nav__logo svg { height: 20px; }
/* the words: a soft pill under the pointer instead of the drawn underline */
.nav .nav__link { height: 38px; padding-inline: 14px; border-radius: 999px; font-size: 14.5px; color: color-mix(in oklab, var(--ink) 78%, transparent);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.nav .nav__link::before { display: none; }
.nav .nav__link:hover, .nav .nav__link:focus-visible { background: color-mix(in oklab, var(--ink) 7%, transparent); color: var(--ink); }
.nav .nav__item { height: auto; }
.nav .nav__links { align-self: center; gap: 2px; }
.nav .nav__actions { gap: var(--s-1); }
.nav .theme-toggle { width: 40px; height: 40px; margin: 0; }
.nav .nav__actions .btn { height: 40px; padding-inline: 16px; border-radius: 999px; font-size: 14px; }
@media (max-width: 1023px) {
  .nav > .nav__bar { width: calc(100% - 24px); padding: 0 6px 0 16px; }
  .nav .nav__toggle { width: 44px; height: 44px; border: 0; border-radius: 999px; background: color-mix(in oklab, var(--ink) 6%, transparent); }
  .nav.is-open .nav__links { top: 80px; border-radius: 24px 24px 0 0; }
  .nav.is-open .nav__link { height: 56px; padding: 0; border-radius: 0; font-size: 20px; color: var(--ink); background: none; }
}
@media (max-width: 639px) { .nav .nav__actions .btn { height: 40px; } }
/* glass makes the bar a containing block for fixed children: with the phone sheet open the bar turns opaque, so the
   sheet and its button bar sit on the screen again */
.nav.is-open > .nav__bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
@media (max-width: 1023px) { .nav.is-open .nav__links { border-radius: 0; } }
.nav.is-open .nav__links { align-self: stretch; }
/* one button shape everywhere: the capsule of the bar (22/11) */
.btn, .demo__skip { border-radius: 999px; }
/* round 1 of the gate (22/11): the daylight is the section's own ground (two pseudo-elements and a grain layer), not boxes
   in the layout; the hero's two columns start on one line; the glass shows the focus ring; the bar spans the content */
.has-daylight { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.has-daylight::before, .has-daylight::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; will-change: transform; }
.has-daylight::before { width: 62vw; height: 62vw; max-width: 980px; max-height: 980px; left: -12vw; top: 8vh;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--pt-amber) 55%, transparent), color-mix(in oklab, var(--pt-coral) 14%, transparent) 60%, transparent);
  animation: day-sun 60s ease-in-out infinite alternate; }
.has-daylight::after { width: 54vw; height: 54vw; max-width: 860px; max-height: 860px; right: -14vw; top: 34vh;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--pt-slate) 42%, transparent), transparent);
  animation: day-sky 60s ease-in-out infinite alternate; }
.how.has-daylight::before, #feuille.has-daylight::before { top: -10vh; }
.how.has-daylight::after, #feuille.has-daylight::after { top: 20vh; }
@media (prefers-reduced-motion: reduce) { .has-daylight::before, .has-daylight::after { animation: none; } }
.hero--demo .hero__top { align-items: start; }
.glass:focus-within { outline: 2px solid var(--action); outline-offset: 3px; }
.nav > .nav__bar, .nav > .nav__bar:is(*) { width: min(100% - 2 * var(--gut), var(--container)); }

@media (min-width: 1024px) {
  #plus .caps { margin-top: var(--s-6); gap: var(--s-4); }
  #plus .cap { padding: 14px; }
  #plus .cap__page { height: 84px; padding-top: 14px; }
  #plus .caps__more { margin-top: var(--s-5); }
  #plus .caps__link { margin-top: var(--s-2); }
  #questions .faq > .faq__item { padding: 14px 0; gap: 4px; }
  #questions .faq > .faq__item:first-child { padding-top: 0; }
  #questions .faq__item h3 { font-size: 17px; }
  #questions .faq__item p { margin: 0; font-size: 15px; line-height: 1.5; }
}

/* ============================================================ the close and the footer, held together (Saad, 22/11: « trop séparé »)
   The kit gives the close a whole screen (two on a phone), which left wide empty bands between the questions, the
   sign-up and the links. Here it is one block that follows the page: a pane of glass in the daylight with the sign-up
   on one row, the links right under it. */
footer.closing, footer.closing.g2m { height: auto !important; min-height: 0 !important; padding: var(--s-6, 32px) 0 var(--s-6) !important; }
footer.closing > .wrap, footer.closing.g2m > .wrap { display: grid !important; grid-template-rows: none !important; row-gap: var(--s-8) !important; height: auto !important; }
footer.closing .closing__cta { position: relative; isolation: isolate; overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: end;
  padding: clamp(28px, 4vw, 56px); border-radius: 28px; border: 1px solid var(--glass-edge);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 50%, transparent), 0 30px 70px -40px rgb(20 30 50 / .35); }
footer.closing .closing__cta::before { content: ""; position: absolute; z-index: -1; left: -10%; bottom: -60%; width: 60%; height: 140%; border-radius: 50%; filter: blur(70px);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--pt-amber) 45%, transparent), transparent); pointer-events: none; }
footer.closing .closing__cta .section-head { margin: 0; }
footer.closing .closing__cta h2 { margin: 0 0 var(--s-2); font-size: clamp(28px, 2.4vw + 8px, 44px); line-height: 1.05; letter-spacing: -0.03em; }
footer.closing .closing__cta p { margin: 0; }
footer.closing .form--signup { max-width: none; }
footer.closing .closing__links { padding-top: 0; border-top: 0; }
@media (max-width: 899px) {
  footer.closing, footer.closing.g2m { padding: var(--s-5, 24px) 0 var(--s-5) !important; }
  footer.closing .closing__cta { grid-template-columns: minmax(0, 1fr); align-items: start; border-radius: 22px; }
}

/* The FAQ leads straight into the close: no empty screen between them. */
main > section#questions { height: auto !important; min-height: 0 !important; padding-bottom: var(--s-7, 48px) !important; }
