/* Cap Zéro · accueil */
.x-sec { padding: 112px 0; position: relative; }
.x-sec--white { background: #fff; }
.x-sec--dark { background: var(--dark); color: #fff; overflow: hidden; }
.x-sec--dark .x-eyebrow { color: rgba(255,255,255,.82); }
.x-sec--dark .x-lead { color: rgba(255,255,255,.78); }
.x-sec--dark .x-lead strong { color: #fff; }
.x-sec--dark .x-note { color: rgba(255,255,255,.5); }
.x-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 52px; }
.x-head .x-lead { margin: 0; }
@media (max-width: 860px) { .x-sec { padding: 80px 0; } .x-head { grid-template-columns: 1fr; margin-bottom: 36px; } }

/* landscape art (same language as the app onboarding) */
.x-land { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; }
.x-land svg { display: block; width: 100%; height: 100%; }

/* ---------- hero ---------- */
.x-hero { background: var(--dark); color: #fff; padding: 40px 0 56px; overflow: hidden; isolation: isolate; }
.x-hero .x-land { height: 62%; }
.x-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; min-height: min(740px, calc(100svh - 120px)); }
.x-hero__copy { padding: 40px 0 40px; }
.x-hero .x-eyebrow { color: rgba(255,255,255,.86); margin-bottom: 22px; }
.x-h1 { position: relative; color: #fff; display: inline-block; }
.x-h1__t { position: relative; display: inline-block; overflow: hidden; padding: .1em .04em; margin: -.1em -.04em; vertical-align: top; }
.x-h1__t::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, rgba(94,232,138,0) 0%, rgba(160,255,190,.45) 50%, rgba(94,232,138,0) 100%); transform: translateX(-130%) skewX(-12deg); pointer-events: none; }
.x-hero__sub { font-size: clamp(30px, 3.9vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; color: var(--mint); margin: 10px 0 0; }
.x-hero__sub span { display: block; color: rgba(255,255,255,.9); font-size: .52em; font-weight: 500; letter-spacing: -.015em; margin-top: 16px; line-height: 1.45; }
.x-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 40px; }
.x-play { display: inline-flex; align-items: center; gap: 14px; color: #fff !important; text-decoration: none; font-size: 15px; font-weight: 600; min-height: 56px; }
.x-play i { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.x-play i svg { width: 18px; height: 18px; }
.x-play small { display: block; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.62); margin-top: 2px; }
.x-play:hover i { background: rgba(255,255,255,.08); border-color: #fff; }
.x-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 44px 0 0; padding: 0; list-style: none; font-size: 13px; color: rgba(255,255,255,.8); }
.x-hero__meta li { display: inline-flex; align-items: center; gap: 9px; }
.x-hero__meta li + li::before { content: ""; width: 1px; height: 16px; background: rgba(255,255,255,.25); margin-right: 13px; }
.x-hero__meta svg { width: 16px; height: 16px; color: var(--mint); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.x-hero__try { display: none; }

/* odds that crack (decorative) */
.x-odds { position: absolute; left: 100%; top: 18%; margin-left: 22px; z-index: 2; pointer-events: none; opacity: 0; font-size: 14px; line-height: 1; letter-spacing: 0; }
.x-odds__h { display: block; padding: 8px 16px; border-radius: 10px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--mint); white-space: nowrap; background: var(--dark3); border: 1px solid rgba(94,232,138,.35); }
.x-odds__l { position: relative; clip-path: polygon(0 0, 55% 0, 47% 45%, 53% 60%, 45% 100%, 0 100%); transform-origin: 30% 100%; }
.x-odds__r { position: absolute; inset: 0; clip-path: polygon(55% 0, 100% 0, 100% 100%, 45% 100%, 53% 60%, 47% 45%); transform-origin: 70% 100%; }
.x-odds__crack { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1.5px; margin-left: -.75px; background: #fff; box-shadow: 0 0 4px rgba(94,232,138,.9); transform: rotate(12deg) scaleY(0); transform-origin: 50% 0; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .x-odds { animation: x-odds-in .4s cubic-bezier(.2,.7,.2,1) .5s both, x-odds-out .01s linear 2.6s forwards; }
  .x-odds__crack { animation: x-crack .6s cubic-bezier(.5,0,.3,1) 1s both; }
  .x-odds__l { animation: x-fall-l .9s cubic-bezier(.45,0,.75,.6) 1.6s both; }
  .x-odds__r { animation: x-fall-r .9s cubic-bezier(.45,0,.75,.6) 1.6s both; }
  .x-h1__t::after { animation: x-sheen 1.1s cubic-bezier(.4,0,.2,1) 2.4s both; }
}
@keyframes x-odds-in { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes x-odds-out { to { opacity: 0; } }
@keyframes x-crack { 0% { opacity: 1; transform: rotate(12deg) scaleY(0); } 90% { opacity: 1; transform: rotate(12deg) scaleY(1); } 100% { opacity: 0; transform: rotate(12deg) scaleY(1); } }
@keyframes x-fall-l { to { opacity: 0; transform: translate(-14px, 46px) rotate(-14deg); } }
@keyframes x-fall-r { to { opacity: 0; transform: translate(14px, 46px) rotate(14deg); } }
@keyframes x-sheen { from { transform: translateX(-130%) skewX(-12deg); } to { transform: translateX(260%) skewX(-12deg); } }
@media (prefers-reduced-motion: reduce) { .x-odds { display: none; } }

/* hero video */
.x-hero__stage { position: relative; align-self: end; display: flex; justify-content: center; }
.x-vid { position: relative; width: min(100%, 430px); aspect-ratio: 9 / 16; }
.x-vid video { display: block; width: 100%; height: 100%; object-fit: cover; background: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 17%, #000 83%, transparent 100%), linear-gradient(180deg, transparent 0, #000 7%, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 17%, #000 83%, transparent 100%), linear-gradient(180deg, transparent 0, #000 7%, #000 97%, transparent 100%); mask-composite: intersect; }
.x-sound { position: absolute; right: -1%; bottom: 8%; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; padding: 0; border: 0; background: none; color: #fff; font: 600 13px/1.2 var(--font); cursor: pointer; text-align: left; }
.x-sound i { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); background: rgba(14,26,20,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; font-style: normal; font-size: 20px; transition: background .2s, border-color .2s, transform .15s var(--ease); }
.x-sound:hover i { border-color: var(--mint); }
.x-sound:active i { transform: scale(.94); }
.x-sound[aria-pressed="true"] i { background: var(--mint); border-color: var(--mint); }
.x-sound[aria-pressed="false"] .x-sound__on, .x-sound[aria-pressed="true"] .x-sound__off { display: none; }
.x-sound[aria-pressed="true"] i { color: var(--ink); }
.x-sound span { display: block; text-align: center; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.6); }

@media (max-width: 860px) {
  .x-hero { padding: 34px 0 0; }
  .x-h1 { display: block; }
  .x-odds { left: auto; right: 0; top: auto; bottom: 100%; margin: 0 0 14px; }
  .x-hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .x-hero__copy { padding: 18px 0 8px; }
  .x-hero .x-land { height: 46%; }
  .x-ctas { margin-top: 30px; gap: 14px 20px; }
  .x-hero__meta { margin-top: 30px; }
  .x-vid { width: min(100%, 360px); margin-top: 10px; }
  .x-sound { right: -4px; bottom: 8%; width: 60px; }
  .x-sound[aria-pressed="false"] .x-sound__on, .x-sound[aria-pressed="true"] .x-sound__off { display: none; }
.x-sound[aria-pressed="true"] i { color: var(--ink); }
.x-sound span { display: none; }
  .x-hero__try { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 4px 0 44px; position: relative; z-index: 1; }
  .x-hero__try .x-btn { width: 100%; max-width: 360px; }
  .x-hero__try .x-note { color: rgba(255,255,255,.6); margin-top: 14px; text-align: center; }
}
@media (max-width: 600px) {
  .x-hero__meta { flex-direction: column; align-items: flex-start; }
  .x-hero__meta li + li::before { display: none; }
}

/* ---------- figures ---------- */
.x-figsec__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px 64px; align-items: center; }
.x-statement { font-size: clamp(26px, 3vw, 36px); line-height: 1.18; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin: 0; max-width: 20ch; }
.x-statement strong { display: block; color: var(--deep); font-weight: 800; }
.x-figs { display: grid; grid-template-columns: 1fr 1fr; }
.x-fig { display: flex; gap: 16px; align-items: flex-start; padding: 6px 28px; }
.x-fig + .x-fig { border-left: 1px solid var(--line); }
.x-fig__n { font-size: clamp(32px, 3.4vw, 44px); line-height: 1; font-weight: 800; letter-spacing: -.035em; margin: 2px 0 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.x-fig__l { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.x-figsec .x-note { margin-top: 18px; padding-left: 28px; }
@media (max-width: 860px) {
  .x-figsec__grid { grid-template-columns: 1fr; }
  .x-figs { grid-template-columns: 1fr; gap: 0; }
  .x-fig { padding: 20px 0; }
  .x-fig + .x-fig { border-left: 0; border-top: 1px solid var(--line); }
  .x-figsec .x-note { padding-left: 0; }
}

/* ---------- phone (real app screenshots) ---------- */
.x-phone { --w: 290px; width: var(--w); flex: none; padding: calc(var(--w) * .034); border-radius: calc(var(--w) * .17); background: #070D0A; box-shadow: 0 0 0 1.5px #2C3B32, 0 40px 80px -30px rgba(0,0,0,.55), 0 18px 36px -18px rgba(14,26,20,.4); position: relative; }
.x-phone__screen { position: relative; border-radius: calc(var(--w) * .14); overflow: hidden; background: var(--bg); display: grid; isolation: isolate; }
.x-shot { grid-area: 1 / 1; display: flex; flex-direction: column; background: var(--bg); }
.x-shot--dark { background: #101F17; }
.x-shot__sb { height: calc(var(--w) * .1); flex: none; position: relative; display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--w) * .085); font-size: calc(var(--w) * .043); font-weight: 650; color: var(--ink); }
.x-shot--dark .x-shot__sb { color: #fff; }
.x-shot__sb::before { content: ""; position: absolute; left: 50%; top: calc(var(--w) * .028); width: calc(var(--w) * .27); height: calc(var(--w) * .075); margin-left: calc(var(--w) * -.135); border-radius: 99px; background: #000; }
.x-shot__sb svg { width: calc(var(--w) * .15); height: auto; }
.x-shot img { display: block; width: 100%; aspect-ratio: 780 / 1688; height: auto; }
.x-stack .x-layer { opacity: 0; transition: opacity .6s var(--ease); }
.x-stack .x-layer.is-on { opacity: 1; z-index: 1; }

/* ---------- story (scrollytelling) ---------- */
.x-story { background: #fff; padding: 40px 0; }
.x-story__grid { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.x-story__pin { position: sticky; top: 76px; height: calc(100vh - 76px); display: flex; align-items: center; justify-content: center; }
.x-story__phone { --w: min(300px, calc((100vh - 160px) * .44)); }
.x-step { min-height: 100vh; display: flex; align-items: center; }
.x-step__in { max-width: 440px; opacity: .22; transition: opacity .5s ease; }
.x-step.is-on .x-step__in { opacity: 1; }
.x-step__n { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--deep); margin: 0 0 16px; }
.x-step p:last-child { font-size: 18px; color: var(--ink2); margin: 16px 0 0; }
@media (max-width: 860px) {
  .x-story { padding: 24px 0 40px; }
  .x-story__grid { display: block; padding: 0 18px; }
  .x-story__pin { top: 72px; height: auto; padding-top: 8px; z-index: 0; }
  .x-story__phone { --w: min(210px, calc((100svh - 330px) * .44)); }
  .x-step { min-height: 85vh; min-height: 85svh; align-items: flex-end; padding-bottom: 24px; position: relative; z-index: 1; }
  .x-step__in { opacity: 1; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid #ECEEEA; border-radius: 20px; padding: 22px; box-shadow: 0 18px 40px -16px rgba(14,26,20,.25); max-width: none; width: 100%; }
  .x-step p:last-child { font-size: 16px; }
}

/* ---------- split (SOS / programme / livre) ---------- */
.x-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; align-items: center; }
.x-split__media { display: flex; justify-content: center; }
.x-sos .x-split__media { order: 2; }
.x-sos .x-land { height: 38%; opacity: .9; }
.x-sos .x-wrap { position: relative; z-index: 1; }
.x-sos .x-phone { --w: 290px; }
.x-sos__bullets { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.x-sos__bullets li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: rgba(255,255,255,.88); }
.x-sos__bullets .x-ic { width: 40px; height: 40px; background: rgba(94,232,138,.12); color: var(--mint); }
.x-sos__bullets .x-ic svg { width: 19px; height: 19px; }
.x-minifigs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 36px; }
.x-minifigs > div { padding: 0 28px; display: flex; flex-direction: column; }
.x-minifigs > div:first-child { padding-left: 0; }
.x-minifigs > div + div { border-left: 1px solid var(--line); }
.x-minifigs b { font-size: clamp(30px, 3vw, 40px); line-height: 1; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.x-minifigs > div > span { font-size: 14px; color: var(--ink2); margin-top: 8px; }
@media (max-width: 860px) {
  .x-split { grid-template-columns: 1fr; }
  .x-sos .x-split__media { order: 0; }
  .x-split__media { order: 2; }
  .x-sos .x-phone, .x-split .x-phone { --w: min(270px, 72vw); }
  .x-minifigs > div { padding: 0 18px; }
}

/* ---------- features ---------- */
.x-feats { display: grid; grid-template-columns: .9fr 2fr; gap: 48px 64px; align-items: start; }
.x-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.x-feat h3 { font-size: 16px; font-weight: 700; letter-spacing: -.012em; margin: 18px 0 6px; line-height: 1.3; }
.x-feat p { margin: 0; font-size: 14.5px; color: var(--ink2); line-height: 1.55; }
.x-feat .x-tag { margin-left: 4px; }
@media (max-width: 1000px) { .x-feats { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .x-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; } }
@media (max-width: 420px) { .x-grid { grid-template-columns: 1fr; } .x-feat { display: grid; grid-template-columns: 46px 1fr; gap: 0 16px; } .x-feat .x-ic { grid-row: span 2; } .x-feat h3 { margin-top: 2px; } }

/* ---------- pricing ---------- */
.x-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; }
.x-price { padding: 32px; display: flex; flex-direction: column; }
.x-price h3 { font-size: 15px; font-weight: 700; letter-spacing: .02em; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.x-price h3 .x-tag { margin: 0; }
.x-price__n { font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -.04em; margin: 20px 0 6px; }
.x-price__n small { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink2); margin-left: 4px; }
.x-price__s { margin: 0; font-size: 14px; color: var(--ink2); }
.x-price ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.x-price li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.x-price li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14.2 7' fill='none' stroke='%231F8F4E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.x-price .x-btn { align-self: stretch; }
.x-price--pro { background: var(--dark); color: #fff; border-color: var(--dark); }
.x-price--pro .x-price__n small, .x-price--pro .x-price__s { color: rgba(255,255,255,.62); }
.x-price--pro .x-tag { background: rgba(94,232,138,.16); color: var(--mint); }
.x-price--pro li::before { background-color: rgba(94,232,138,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14.2 7' fill='none' stroke='%235EE88A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 760px) { .x-prices { grid-template-columns: 1fr; } .x-price { padding: 26px 22px; } }

/* ---------- coming soon ---------- */
.x-soon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.x-soon article { padding: 26px; }
.x-soon h3 { font-size: 22px; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.x-soon p { margin: 4px 0 0; color: var(--ink2); font-size: 15px; }
@media (max-width: 760px) { .x-soon { grid-template-columns: 1fr; gap: 14px; } .x-soon article { padding: 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; } .x-soon .x-tag { grid-column: 2; grid-row: 1 / span 2; margin: 0; } }

/* ---------- book ---------- */
.x-livre-sec .x-land { height: 34%; opacity: .85; }
.x-livre-sec .x-wrap { position: relative; z-index: 1; }
.x-book-stage { perspective: 1400px; }
.x-book { --t: 0; width: min(320px, 70vw); transform: rotateY(calc(var(--t) * -22deg)) rotateX(calc(var(--t) * 6deg)) translateY(calc(var(--t) * 24px)); transform-style: preserve-3d; transition: transform .1s linear; border-radius: 4px 10px 10px 4px; box-shadow: 0 50px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; position: relative; }
.x-book img { display: block; width: 100%; height: auto; }
.x-book::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(255,255,255,.12) 2.5%, rgba(0,0,0,0) 6%); pointer-events: none; }
.x-livre__line { margin: 14px 0 0; color: rgba(255,255,255,.7); font-size: 15px; max-width: 44ch; }
.x-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.x-facts li { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.88); }
.x-offers { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; }
.x-offer { margin: 0; font-size: 16px; color: rgba(255,255,255,.7); }
.x-offer b { color: #fff; font-weight: 750; font-size: 20px; letter-spacing: -.02em; }
.x-offer a:hover b { color: var(--mint); }
.x-livre-sec .x-ctas { margin-top: 28px; }
.x-kindle { color: rgba(255,255,255,.85) !important; font-size: 15px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.x-kindle:hover { color: var(--mint) !important; }

/* ---------- resources ---------- */
.x-help { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.x-help article { padding: 26px 24px; display: flex; flex-direction: column; }
.x-help h3 { font-size: 17px; font-weight: 750; letter-spacing: -.015em; margin: 18px 0 8px; line-height: 1.3; }
.x-help p { margin: 0; font-size: 14.5px; color: var(--ink2); flex: 1; }
.x-help .x-more { margin-top: 14px; font-size: 14.5px; }
.x-help__tel { display: inline-block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--deep) !important; text-decoration: none; margin: 0 0 8px; white-space: nowrap; }
.x-help article:first-child { background: var(--dark); border-color: var(--dark); color: #fff; }
.x-help article:first-child p { color: rgba(255,255,255,.7); }
.x-help article:first-child .x-help__tel { color: var(--mint) !important; }
.x-help article:first-child .x-ic { background: rgba(94,232,138,.14); color: var(--mint); }
@media (max-width: 1000px) { .x-help { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .x-help { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- newsletter CTA band ---------- */
.x-news { padding: 88px 0 96px; }
.x-news .x-land { height: 70%; opacity: .9; }
.x-news__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.x-form { display: flex; gap: 10px; margin-top: 26px; max-width: 480px; }
.x-form input { flex: 1; min-width: 0; min-height: 56px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); background: rgba(14,26,20,.6); color: #fff; font: 500 16px var(--font); padding: 0 22px; }
.x-form input::placeholder { color: rgba(255,255,255,.5); }
.x-form input:focus { outline: none; border-color: var(--mint); }
.x-form__msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; color: var(--mint); }
.x-script { justify-self: center; text-align: center; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 700; font-style: italic; letter-spacing: -.03em; color: var(--mint); transform: rotate(-6deg); margin: 0; }
.x-script svg { display: block; width: 78%; margin: 8px auto 0; height: auto; }
@media (max-width: 760px) { .x-news__grid { grid-template-columns: 1fr; } .x-form { flex-direction: column; } .x-form .x-btn { width: 100%; } .x-script { justify-self: start; margin-top: 10px; font-size: 30px; } }

/* ---------- legal dialogs ---------- */
.x-legal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 64px); border: 0; border-radius: 22px; padding: 36px 32px 28px; color: var(--ink); background: #fff; font: 400 15px/1.6 var(--font); box-shadow: 0 40px 80px -20px rgba(0,0,0,.45); }
.x-legal::backdrop { background: rgba(14,26,20,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.x-legal h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 0 40px 18px 0; }
.x-legal h3 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); margin: 22px 0 6px; }
.x-legal p { margin: 0; color: var(--ink2); }
.x-legal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }
.x-legal__close:hover { background: var(--mint-soft); }
@media (max-width: 600px) { .x-legal { padding: 30px 22px 24px; } }

@media (prefers-reduced-motion: reduce) { .x-stack .x-layer, .x-step__in, .x-book { transition: none; } }
