/* ==========================================================================
   Novastream — "Night Signal" visual direction, light mode
   WordPress block theme stylesheet (source: Novastream static export). Tokens map to theme.json presets.
   ========================================================================== */


/* ---------- Tokens ---------- */
:root {
  --bg: var(--wp--preset--color--bg, #faf8fb);            /* page */
  --band: var(--wp--preset--color--band, #f3eff5);          /* raised bands, header, footer, page heads */
  --card: var(--wp--preset--color--card, #ffffff);          /* cards */
  --ph: var(--wp--preset--color--ph, #efeaf1);            /* image placeholders */
  --nav-active: var(--wp--preset--color--nav-active, #efe9f2);
  --line: var(--wp--preset--color--line, #e4dde8);          /* hairlines */
  --line-2: var(--wp--preset--color--line-2, #d9d1de);
  --line-strong: var(--wp--preset--color--line-strong, #cfc6d5);
  --text: var(--wp--preset--color--ink, #17131d);
  --text-2: var(--wp--preset--color--ink-soft, #5a5364);
  --muted: var(--wp--preset--color--muted, #6f6879);
  --accent: var(--wp--preset--color--accent, #f23a8c);        /* fills */
  --accent-hover: var(--wp--preset--color--accent-hover, #d92477);
  --accent-text: var(--wp--preset--color--accent-text, #b8175f);   /* accent text on light grounds */
  --accent-deep: var(--wp--preset--color--accent-deep, #8f0f49);
  --accent-tint: var(--wp--preset--color--accent-tint, #fdeaf3);
  --accent-line: var(--wp--preset--color--accent-line, #f5b8d4);
  --featured: var(--wp--preset--color--featured, #fff5fa);
  --on-accent: var(--wp--preset--color--on-accent, #1a0510);

  --f-display: var(--wp--preset--font-family--display, "Big Shoulders Display", sans-serif);
  --f-body: var(--wp--preset--font-family--body, "Instrument Sans", system-ui, sans-serif);
  --f-mono: var(--wp--preset--font-family--mono, "JetBrains Mono", monospace);

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur: 200ms;
  --stripes: repeating-linear-gradient(135deg, rgba(23,19,29,.045) 0 1px, transparent 1px 14px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-deep); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p, blockquote, ul, ol { margin: 0; }

/* ---------- Icons (Lucide, inline SVG) ---------- */
.icon { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--ui { stroke-width: 2; }
.icon--check { stroke: var(--accent); stroke-width: 2.4; }
.i-14 { width: 14px; height: 14px; }
.i-15 { width: 15px; height: 15px; }
.i-16 { width: 16px; height: 16px; }
.i-17 { width: 17px; height: 17px; }
.i-18 { width: 18px; height: 18px; }
.i-20 { width: 20px; height: 20px; }
.i-22 { width: 22px; height: 22px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section > .wrap { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight > .wrap { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }

.grid { display: grid; gap: 18px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.grid--contact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); align-items: stretch; }
.grid--posters { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 14px; }
.grid--tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(36px, 5vw, 72px); align-items: center; }
.split--420 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.split--400 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: start; }
.split--top { align-items: start; }

.stack { display: grid; gap: 14px; }

/* 1px-gap divided stacks */
.divided { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.divided > * { background: var(--card); }

/* ---------- Type ---------- */
.ch { display: inline-block; justify-self: start; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; color: var(--accent-text); border: 1px solid var(--accent-line); background: var(--accent-tint); border-radius: 6px; padding: 3px 7px; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.eyebrow--accent { color: var(--accent-text); }
.eyebrow-row { display: flex; align-items: center; gap: 12px; }
.mono-note { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.h1-hero { font-family: var(--f-display); font-weight: 900; font-size: clamp(58px, 8.2vw, 116px); line-height: .88; letter-spacing: -.01em; margin: 26px 0 24px; color: var(--text); }
.h1-hero em { font-style: normal; color: var(--accent); }
.h1-page { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 9vw, 128px); line-height: .88; color: var(--text); }
.h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5.2vw, 68px); line-height: .95; color: var(--text); text-wrap: balance; }
.h2--rail { font-size: clamp(38px, 4.6vw, 60px); }
.h2--cta { font-weight: 900; font-size: clamp(48px, 7vw, 96px); line-height: .9; margin: 18px 0; }
.h3 { font-family: var(--f-display); font-weight: 800; font-size: 27px; line-height: 1; margin: 0 0 10px; color: var(--text); }
.h3--lg { font-size: 32px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 600px; text-wrap: pretty; }
.lede--page { font-size: clamp(17px, 1.6vw, 20px); max-width: 640px; }
.body { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.prose { font-size: 18px; line-height: 1.65; color: var(--text-2); }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head__text { display: grid; gap: 16px; max-width: 680px; }
.section-head--sm { margin-bottom: 36px; }
.section-head--md { margin-bottom: 40px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--secondary { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn--secondary:hover { border-color: var(--accent); color: var(--text); }
.btn--xl { height: 58px; padding: 0 28px; font-size: 16.5px; }
.btn--lg { height: 56px; padding: 0 26px; }
.btn--md { height: 52px; padding: 0 24px; }
.btn--action { height: 48px; padding: 0 20px; border-radius: 12px; font-size: 15px; }
.btn--header { height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; gap: 9px; }
.btn--back { height: 38px; padding: 0 14px 0 10px; border-radius: 10px; font-size: 14px; gap: 8px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.icon-btn { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color var(--dur); }
.icon-btn:hover { border-color: var(--accent); }
.icon-btn--sm { width: 44px; height: 44px; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card--hover { transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card--hover:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card--flat:hover { border-color: var(--line-strong); }
.card--col { display: flex; flex-direction: column; }
.card--pad30 { padding: 30px; }
.card--pad34 { padding: 34px; }
.card--flush { padding: 0; overflow: hidden; }
.card__body { padding: 28px; }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.card__device { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.card__num { font-family: var(--f-display); font-weight: 900; font-size: 44px; line-height: .9; color: var(--accent); margin-bottom: 22px; }
.card .muted-icon { color: var(--muted); }

.icon-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-tint); border: 1px solid var(--accent-line); display: flex; align-items: center; justify-content: center; color: var(--accent-text); margin-bottom: 24px; flex: none; }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 12px; margin: 0; }
.icon-tile--flush { margin: 0; }

.ask-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.ask-panel p { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 540px; }

/* ---------- Image placeholders ---------- */
.ph { position: relative; border: 1px solid var(--line); border-radius: 22px; background: var(--stripes), var(--ph); display: flex; align-items: center; justify-content: center; }
.ph--r16 { border-radius: 16px; }
.ph--r14 { border-radius: 14px; }
.ph--r18 { border-radius: 18px; }
.ph--r24 { border-radius: 24px; }
.ph--flat { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.ph--4-3 { aspect-ratio: 4 / 3; }
.ph--2-3 { aspect-ratio: 2 / 3; }
.ph--3-4 { aspect-ratio: 3 / 4; }
.ph--16-10 { aspect-ratio: 16 / 10; }
.ph--16-9 { aspect-ratio: 16 / 9; }
.ph--16-7 { aspect-ratio: 16 / 7; }
.ph--1-1 { aspect-ratio: 1 / 1; }
.ph__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; background: var(--card); text-align: center; }
.ph__label--plain { border: 0; background: none; padding: 0; font-size: 10.5px; }
.ph--poster { align-items: flex-end; justify-content: flex-start; padding: 14px; transition: transform var(--dur) var(--ease), border-color var(--dur); }
.ph--poster:hover { transform: translateY(-3px); border-color: var(--accent); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 16px; font-size: 14.5px; font-weight: 500; color: var(--text); background: var(--card); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.pill { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: 999px; padding: 5px 10px; }

/* ---------- Tick lists ---------- */
.ticks { display: grid; gap: 14px; margin-bottom: 32px; }
.tick { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--text); }
.tick .icon { margin-top: 3px; }

/* ---------- Promo bar ---------- */
.promo { background: var(--accent-tint); border-bottom: 1px solid var(--accent-line); }
.promo__inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; padding-right: 56px; }
.promo__text { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text); }
.promo__text .icon { color: var(--accent-text); }
.promo__link { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.promo__link:hover { color: var(--accent-deep); }
.promo__close { position: absolute; right: clamp(12px, 3vw, 32px); top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--accent-line); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.promo__close:hover { border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 251, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.site-header__bar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__mark { width: 28px; height: 28px; border-radius: 9px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.brand__mark::after { content: ""; width: 9px; height: 11px; background: var(--on-accent); clip-path: polygon(0 0, 100% 50%, 0 100%); margin-left: 2px; }
.brand__name { font-family: var(--f-display); font-weight: 900; font-size: 27px; letter-spacing: .01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); border-radius: 10px; padding: 8px 14px; font-size: 15px; font-weight: 500; text-decoration: none; transition: color var(--dur); }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: var(--nav-active); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }
.burger[aria-expanded="true"] .icon-menu { display: none; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--band); padding: 12px var(--gutter) 22px; display: grid; gap: 4px; }
.mobile-menu a.mobile-menu__link { color: var(--text-2); border-radius: 12px; padding: 13px 14px; font-size: 17px; font-weight: 500; text-decoration: none; }
.mobile-menu a.mobile-menu__link[aria-current="page"] { color: var(--text); background: var(--nav-active); }
.mobile-menu .btn { margin-top: 10px; height: 52px; }
@media (max-width: 980px) {
  .nav, .header-cta { display: none !important; }
  .burger { display: inline-flex; }
}
@media (min-width: 981px) { .mobile-menu { display: none !important; } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--band); border-bottom: 1px solid var(--line); }
.hero__scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(23,19,29,.045) 0 1px, transparent 1px 4px); -webkit-mask-image: radial-gradient(90% 80% at 70% 20%, #000 10%, transparent 75%); mask-image: radial-gradient(90% 80% at 70% 20%, #000 10%, transparent 75%); }
.glow { position: absolute; pointer-events: none; }
.glow--hero-a { right: -8%; top: -30%; width: 70%; height: 130%; background: radial-gradient(closest-side, rgba(242,58,140,.22), transparent); }
.glow--hero-b { left: -20%; bottom: -50%; width: 60%; height: 100%; background: radial-gradient(closest-side, rgba(124,92,255,.12), transparent); }
.glow--head { right: -10%; top: -60%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(242,58,140,.16), transparent); }
.glow--head-soft { right: -10%; top: -60%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(242,58,140,.14), transparent); }
.glow--cta { right: -10%; bottom: -70%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(242,58,140,.3), transparent); }
.hero__inner { position: relative; padding-top: clamp(52px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); display: grid; gap: clamp(40px, 5vw, 64px); }
.hero__split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(36px, 5vw, 64px); align-items: center; }
.live-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--accent-line); background: var(--accent-tint); border-radius: 999px; padding: 7px 14px 7px 12px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.live-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); display: inline-block; flex: none; animation: nvPulse 1.8s ease-out infinite; }
@keyframes nvPulse { 0% { box-shadow: 0 0 0 0 rgba(242,58,140,.65); } 100% { box-shadow: 0 0 0 10px rgba(242,58,140,0); } }
.hero__lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 540px; margin: 0 0 34px; text-wrap: pretty; }
.tv { position: relative; }
.tv__glow { position: absolute; inset: 8% 6% -6% 6%; background: radial-gradient(closest-side, rgba(242,58,140,.35), transparent); filter: blur(10px); }
.tv__frame { position: relative; background: var(--card); border: 1px solid var(--line-strong); border-radius: 26px; padding: 10px; }
.tv__stand { width: 34%; height: 8px; margin: 0 auto; border-radius: 0 0 10px 10px; background: var(--line); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stat { background: var(--band); padding: 24px 28px; }
.stat__value { font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 5vw, 60px); line-height: 1; color: var(--text); }
.stat__label { margin-top: 8px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }

.rail > .wrap { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.rail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }

/* ---------- Page heads ---------- */
.page-head { position: relative; overflow: hidden; background: var(--band); border-bottom: 1px solid var(--line); }
.page-head__inner { position: relative; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); display: grid; gap: 20px; justify-items: start; }
.page-head__inner--blog { padding-bottom: clamp(40px, 5vw, 56px); }

/* ---------- Plans ---------- */
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 24px 22px; transition: transform var(--dur) var(--ease); }
.plan:hover { transform: translateY(-3px); }
.plan--featured { background: var(--featured); border-color: var(--accent); box-shadow: 0 40px 90px -40px rgba(242,58,140,.35); }
.plan__ribbon { position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 5px 12px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.plan__tier { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; }
.plan--featured .plan__tier { color: var(--accent-text); border-color: var(--accent-line); }
.plan__save { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #ffffff; background: var(--accent-text); border-radius: 999px; padding: 4px 10px; }
.plan__name { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1; margin: 0 0 16px; color: var(--text); }
.plan__price { display: flex; align-items: baseline; gap: 4px; }
.plan__cur { font-family: var(--f-display); font-weight: 800; font-size: 30px; color: var(--accent); }
.plan__num { font-family: var(--f-display); font-weight: 900; font-size: 80px; line-height: .85; letter-spacing: -.02em; color: var(--text); }
.plan__per { font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin-left: 6px; }
.plan__unit { font-size: 14px; color: var(--text-2); margin-top: 12px; }
.plan__rule { height: 1px; background: var(--line); margin: 22px 0; }
.plan__features { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.plan__features li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.plan__features .icon { margin-top: 2px; }
.plan__foot { margin-top: auto; display: grid; gap: 12px; }
.plan__trial { display: flex; align-items: center; gap: 10px; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 10px 13px; font-size: 13px; color: var(--text); }
.plan__trial .icon { color: var(--accent-text); }
.plan__cta { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 13px; background: transparent; border: 1px solid var(--line-strong); color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; transition: filter var(--dur); }
.plan__cta:hover { filter: brightness(1.15); color: var(--text); }
.plan__cta:active { transform: translateY(1px); }
.plan--featured .plan__cta { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.plan--featured .plan__cta:hover { color: var(--on-accent); }
.plan__pay { text-align: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--bg); }
.marquee__track { display: flex; width: max-content; animation: nvMarquee 46s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--text); white-space: nowrap; }
.marquee__item::after { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); flex: none; }
@keyframes nvMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Steps / info rows ---------- */
.step { padding: 28px; display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; }
.step__num { font-family: var(--f-display); font-weight: 900; font-size: 56px; line-height: .85; color: var(--accent); }
.step .h3 { margin-bottom: 8px; }
.info-row { padding: 22px 26px; }
.info-row__title { font-weight: 600; font-size: 17px; color: var(--text); margin-bottom: 4px; }
.info-row__body { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.why-block { padding: 28px; }
.why-block p { font-size: 16px; line-height: 1.7; color: var(--text-2); }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--card); scrollbar-width: none; }
.table-scroll::-webkit-scrollbar { display: none; }
.table { width: 100%; min-width: 720px; border-collapse: collapse; }
.table--matrix { min-width: 760px; }
.table th { text-align: left; padding: 18px 24px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.table th:first-child { color: var(--muted); }
.table th.is-hl { background: var(--accent-tint); color: var(--accent-text); font-size: 11.5px; box-shadow: inset 0 2px 0 var(--accent); }
.table td { padding: 17px 24px; font-size: 15.5px; color: var(--text-2); border-top: 1px solid var(--line); }
.table td:first-child { color: var(--text); font-weight: 500; }
.table td.is-hl { background: var(--accent-tint); color: var(--accent-text); font-weight: 600; }
.table--matrix th, .table--matrix td { padding-left: 20px; padding-right: 20px; }
.table--matrix th:first-child, .table--matrix td:first-child { padding-left: 24px; }
.table--matrix td { padding-top: 15px; padding-bottom: 15px; font-size: 15px; }
.yes { display: flex; align-items: center; gap: 8px; }
.table--compare th:first-child { width: 30%; }
.table--matrix th:first-child { width: 37.5%; }

/* ---------- Review gallery ---------- */
.gallery__controls { display: flex; gap: 8px; }
.gallery__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 max(260px, calc((100% - 32px) / 3)); scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: 20px; border: 1px solid var(--line); background: var(--stripes), var(--ph); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; cursor: zoom-in; padding: 20px; transition: border-color var(--dur); color: var(--muted); }
.gallery__item:hover { border-color: var(--accent); }
.gallery__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(23, 19, 29, .72); display: flex; align-items: center; justify-content: center; padding: var(--gutter); cursor: zoom-out; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__frame { width: min(520px, 92vw); max-height: 90vh; aspect-ratio: 3 / 4; border-radius: 22px; border: 1px solid var(--line-strong); background: repeating-linear-gradient(135deg, rgba(23,19,29,.05) 0 1px, transparent 1px 14px), var(--ph); display: flex; align-items: center; justify-content: center; cursor: default; }
.gallery__item--img { padding: 0; overflow: hidden; aspect-ratio: 9 / 16; background: var(--card); cursor: zoom-in; }
.gallery__item--img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .3s ease; }
.gallery__item--img:hover img { transform: scale(1.03); }
.lightbox__frame--img { width: auto; aspect-ratio: auto; max-width: 92vw; max-height: 90vh; background: var(--card); padding: 0; overflow: auto; }
.lightbox__frame--img img { display: block; max-width: min(520px, 92vw); max-height: 90vh; width: auto; height: auto; }
.lightbox__frame .ph__label { font-size: 11.5px; color: var(--text-2); padding: 7px 14px; }

/* ---------- FAQ ---------- */
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; background: none; border: 0; color: var(--text); text-align: left; cursor: pointer; font-size: 17.5px; font-weight: 600; }
.faq__sign { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--accent-line); background: var(--accent-tint); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; }
.faq__sign .icon-minus { display: none; }
.faq__item.is-open .faq__sign .icon-minus { display: block; }
.faq__item.is-open .faq__sign .icon-plus { display: none; }
.faq__a { padding: 0 26px 24px; max-width: 780px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.faq-page { max-width: 900px; }
.faq-page .card { margin-top: 22px; }

/* ---------- Setup guides ---------- */
.guide__title { font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--text); }
.guide__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; }
.guide__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; }
.guide__steps li { background: var(--ph); display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 16px; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.guide__n { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--accent-text); padding-top: 2px; }

/* ---------- Contact ---------- */
.contact-card { transition: border-color var(--dur); }
.contact-card:hover { border-color: var(--line-strong); }
.contact-card__top { display: flex; justify-content: space-between; align-items: center; }
.contact-card__label { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.contact-card__value { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1.05; color: var(--text); margin: 14px 0 8px; word-break: break-word; }
.contact-card__value--xl { font-weight: 900; font-size: clamp(44px, 5vw, 64px); line-height: .95; margin: 18px 0 12px; }
.contact-card--featured { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--featured); border: 1px solid var(--accent); box-shadow: 0 40px 90px -40px rgba(242,58,140,.35); border-radius: 22px; padding: 30px; }
.contact-card--featured .contact-card__label { color: var(--accent-text); }
.contact-card--featured .contact-card__top .icon { color: var(--accent-text); }
.contact-card--featured .contact-card__value { font-weight: 900; font-size: clamp(36px, 4vw, 46px); line-height: 1; margin: 18px 0 12px; }
.contact-card__cta { margin-top: auto; padding-top: 26px; }

/* ---------- Blog ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tab { height: 40px; padding: 0 16px; border-radius: 999px; background: transparent; border: 1px solid var(--line-strong); color: var(--text-2); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color var(--dur); }
.tab:hover { border-color: var(--accent); }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.post-card { cursor: pointer; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 14px 24px; text-decoration: none; transition: transform var(--dur) var(--ease), border-color var(--dur); }
.post-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.post-card__body { padding: 0 10px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-meta__cat { color: var(--accent-text); border: 1px solid var(--accent-line); background: var(--accent-tint); border-radius: 999px; padding: 3px 9px; }
.post-card__title { font-family: var(--f-display); font-weight: 800; font-size: 27px; line-height: 1.02; margin: 0 0 10px; color: var(--text); text-wrap: balance; }
.post-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 0 0 20px; }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.post-featured { cursor: pointer; margin-bottom: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(20px, 3vw, 40px); align-items: center; text-decoration: none; transition: transform var(--dur) var(--ease), border-color var(--dur); }
.post-featured:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.post-featured__body { padding: 8px clamp(8px, 2vw, 24px) 8px 8px; }
.post-featured .post-meta { margin: 0 0 16px; }
.post-featured__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 4.4vw, 56px); line-height: .95; margin: 0 0 16px; color: var(--text); text-wrap: balance; }
.post-featured__excerpt { font-size: 16.5px; line-height: 1.65; color: var(--text-2); margin: 0 0 22px; }
.pagination { margin-top: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.page-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-family: var(--f-mono); font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.page-btn:hover { border-color: var(--accent); }
.page-btn[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.blog-list > .wrap { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Article ---------- */
.article-head__inner { position: relative; max-width: 820px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(36px, 4vw, 56px); }
.article-head .post-meta { margin: 28px 0 0; }
.article-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(46px, 6.4vw, 84px); line-height: .92; margin: 20px 0; color: var(--text); text-wrap: balance; }
.article-lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 680px; }
.author { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.author__avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); border: 1px solid var(--accent-line); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-text); }
.author__name { font-weight: 600; font-size: 15px; color: var(--text); }
.author__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.article-hero { margin-top: clamp(28px, 4vw, 48px); }
.article { max-width: 720px; margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--gutter) clamp(48px, 6vw, 80px); }
.article p { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.article h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 3.6vw, 42px); line-height: 1; margin: 44px 0 14px; color: var(--text); }
.article blockquote { margin: 32px 0; padding: 28px 30px; background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: 20px; font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.18; color: var(--text); }
.article .card { margin-top: 48px; padding: 30px; }
.article .card p { font-size: 18px; line-height: 1.55; color: var(--text); margin: 0 0 20px; }

/* ---------- Closing CTA ---------- */
.cta { padding: 0 var(--gutter) var(--section-y); }
.cta--spaced { padding-top: var(--section-y); }
.cta__panel { position: relative; overflow: hidden; max-width: var(--max); margin: 0 auto; border-radius: 28px; border: 1px solid var(--accent-line); background: var(--card); padding: clamp(40px, 6vw, 80px); }
.cta__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 36px; align-items: end; }
.cta__grid .h2--cta { margin-top: 20px; }
.cta__body { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 480px; }
.cta__action { display: grid; gap: 14px; justify-items: start; }
.cta__note { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); border-top: 1px solid var(--line); }
.site-footer__top { padding-top: clamp(56px, 7vw, 88px); padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 40px; }
.site-footer__brand { grid-column: span 2; min-width: 0; max-width: 340px; }
.site-footer__brand .brand { margin-bottom: 16px; }
.site-footer__brand p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.footer-col__title { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col__list { display: grid; gap: 10px; justify-items: start; list-style: none; margin: 0; padding: 0; }
.footer-col__list a { color: var(--text-2); font-size: 15px; text-decoration: none; }
.footer-col__list a:hover { color: var(--accent-text); }
.site-footer__legal { padding-bottom: 36px; }
.site-footer__legal-inner { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   WordPress integration (Novastream Editable)
   Kept low-specificity so block controls (colour, typography, spacing) win.
   ========================================================================== */

/* Template-part wrappers must not break sticky header / document flow */
.ns-part { display: contents; }
.wp-site-blocks > main, .ns-main { display: block; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Visibility toggle ("Masquer sur le site") */
.ns-is-hidden { display: none !important; }

/* Column override from the block sidebar */
.ns-cols { grid-template-columns: repeat(var(--ns-cols, 3), minmax(0, 1fr)); }
@media (max-width: 781px) { .ns-cols { grid-template-columns: minmax(0, 1fr); } }

/* Brand logo image */
.brand__img { display: block; height: 28px; width: auto; }

/* Image slots: an image fills its placeholder box */
.ph.has-image { background: var(--ph); overflow: hidden; }
.ph > .ns-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ph.ns-fit-contain > .ns-media__img { object-fit: contain; }
.gallery__item--img > img { width: 100%; height: 100%; }

/* Icons: a colour chosen in the editor also recolours tick icons */
.icon--check.has-text-color { stroke: currentColor; }

/* Buttons: keep feedback on hover when the editor set a custom background */
.btn.has-background:hover, .plan__cta.has-background:hover, .promo__link.has-text-color:hover { filter: brightness(.94); }

/* Tables: a Novastream container (.ns-table) holding a native Table block */
.ns-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--card); scrollbar-width: none; }
.ns-table::-webkit-scrollbar { display: none; }
.ns-table .wp-block-table { margin: 0; overflow: visible; }
.ns-table .wp-block-table table { width: 100%; min-width: 720px; border-collapse: collapse; border: 0; table-layout: auto; }
.ns-table--matrix .wp-block-table table { min-width: 760px; }
.ns-table .wp-block-table thead { border: 0; }
.ns-table .wp-block-table th, .ns-table .wp-block-table td { border: 0; }
.ns-table .wp-block-table th { text-align: left; padding: 18px 24px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.ns-table .wp-block-table th:first-child { color: var(--muted); }
.ns-table .wp-block-table td { padding: 17px 24px; font-size: 15.5px; color: var(--text-2); border-top: 1px solid var(--line); }
.ns-table .wp-block-table td:first-child { color: var(--text); font-weight: 500; }
.ns-table--compare .wp-block-table th:first-child { width: 30%; }
.ns-table--matrix .wp-block-table th, .ns-table--matrix .wp-block-table td { padding-left: 20px; padding-right: 20px; }
.ns-table--matrix .wp-block-table th:first-child, .ns-table--matrix .wp-block-table td:first-child { padding-left: 24px; width: 37.5%; }
.ns-table--matrix .wp-block-table td { padding-top: 15px; padding-bottom: 15px; font-size: 15px; }
.ns-table .wp-block-table figcaption { padding: 12px 24px; font-size: 13px; color: var(--muted); }
/* Highlighted column: add class ns-hl-col-2 … ns-hl-col-5 (whole column) or ns-hl-head-2 … ns-hl-head-5 (header only) */
.ns-hl-col-2 th:nth-child(2), .ns-hl-col-3 th:nth-child(3), .ns-hl-col-4 th:nth-child(4), .ns-hl-col-5 th:nth-child(5),
.ns-hl-head-2 th:nth-child(2), .ns-hl-head-3 th:nth-child(3), .ns-hl-head-4 th:nth-child(4), .ns-hl-head-5 th:nth-child(5) { background: var(--accent-tint); color: var(--accent-text) !important; font-size: 11.5px; box-shadow: inset 0 2px 0 var(--accent); }
.ns-hl-col-2 td:nth-child(2), .ns-hl-col-3 td:nth-child(3), .ns-hl-col-4 td:nth-child(4), .ns-hl-col-5 td:nth-child(5) { background: var(--accent-tint); color: var(--accent-text); font-weight: 600; }
/* Tick icon in front of every value cell: class ns-checks */
.ns-checks td:not(:first-child)::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Blog: category tabs and pagination rendered as links */
a.tab { display: inline-flex; align-items: center; text-decoration: none; }
a.tab:hover { color: var(--text-2); }
.tab[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
a.page-btn, span.page-btn { text-decoration: none; }
a.page-btn:hover { color: var(--text); }
.page-btn--dots { border-color: transparent; cursor: default; }
.wp-block-post-template.grid { list-style: none; margin: 0; padding: 0; }
/* auto-fill keeps card width when fewer than three posts are published */
.wp-block-post-template.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.wp-block-post-template.grid > li { display: flex; margin: 0; min-width: 0; }
.wp-block-post-template.grid > li > .post-card { flex: 1; }
.wp-block-post-template.grid > li:has(> .post-featured) { grid-column: 1 / -1; display: block; }
.wp-block-post-template.grid .post-featured { margin-bottom: 0; }
.post-card img.ns-media__img, .post-featured img.ns-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ns-empty { color: var(--text-2); font-size: 16px; }

/* Article body written with native blocks */
.article p + p { margin-top: 1.2em; }
.article blockquote p { font: inherit; color: inherit; line-height: inherit; margin: 0; }
.article blockquote cite { display: block; margin-top: 12px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.article h3 { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1.05; margin: 32px 0 12px; color: var(--text); }
.article ul, .article ol { margin: 1.2em 0; padding-left: 1.4em; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.article figure { margin: 32px 0; }
.article img { border-radius: 20px; height: auto; }
.article-lede p { margin: 0; }

/* Contact value that prints the central WhatsApp number */
.ns-phone { white-space: nowrap; }
.contact-card__value a { color: inherit; text-decoration: none; }
