/* minipass homepage, "Aréna de nuit": a dark page where the product screens and the five logo colors are the only light. */
@font-face { font-family: 'MP Montserrat'; src: url('../fonts/montserrat/montserrat-latin-var.woff2') format('woff2'); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'MP Inter'; src: url('../fonts/inter/inter-latin-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* logo bars, exact (logo spec sheet) */
  --logo-orange: #F46F1C; --logo-rose: #E31A5A; --logo-prune: #9F1574; --logo-violet: #5A2692; --logo-bleu: #103B99;
  /* the same hues lifted so they read as light on the dark ground */
  --orange: #F46F1C; --rose: #EC2D6A; --prune: #C0359A; --violet: #8A5CD4; --bleu: #4C78E6;
  --night: #0B0911;
  --ground: #110E18; --panel: #1A1623; --panel-2: #221D2D; --line: #2D2839; --line-2: #3F3850;
  --text: #F3F1F7; --muted: #ADA7BC; --faint: #9790A6;
  --display: 'MP Montserrat', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --body: 'MP Inter', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px; --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--text); font: 16px/1.6 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; line-height: 1.15; }
p { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
::selection { background: var(--rose); color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-2) var(--ground); }

.in { max-width: 1180px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.eyebrow { font: 700 12.5px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* logo: five right-aligned bars, exact colors, then the lowercase wordmark */
.logo { display: inline-flex; align-items: center; gap: .22em; font: 700 24px/1 var(--display); letter-spacing: -.01em; color: #fff; text-decoration: none; }
.logo-bars { display: grid; justify-items: end; gap: .09em; }
.logo-bars i { display: block; height: .17em; }
.logo-bars i:nth-child(1) { width: .57em; background: var(--logo-orange); }
.logo-bars i:nth-child(2) { width: .92em; background: var(--logo-rose); }
.logo-bars i:nth-child(3) { width: .70em; background: var(--logo-prune); }
.logo-bars i:nth-child(4) { width: .99em; background: var(--logo-violet); }
.logo-bars i:nth-child(5) { width: .57em; background: var(--logo-bleu); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 12px; border: 0;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s; }
.btn:active { transform: translateY(1px); }
.btn-main { background: #fff; color: var(--ground); }
.btn-main:hover { background: #E9E5F2; }
.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.play { width: 22px; height: 22px; border-radius: 50%; background: var(--ground); display: grid; place-items: center; flex: none; }
.play::after { content: ""; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; margin-left: 2px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(17, 14, 24, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top .in { display: flex; align-items: center; gap: 30px; height: 76px; position: relative; }
.nav { display: flex; gap: 28px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { font-weight: 600; }
.lang { font: 600 13px/1 var(--body); border: 1px solid var(--line-2); border-radius: 7px; padding: 6px 9px; color: var(--muted); text-decoration: none; }
.lang:hover { color: #fff; border-color: #fff; }
.top .btn { height: 42px; font-size: 15px; padding: 0 18px; }
.menu { display: none; }
.menu summary { list-style: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; content: ""; }
.menu summary span::before { position: absolute; top: -6px; } .menu summary span::after { position: absolute; top: 6px; }
.menu-panel { position: absolute; right: 20px; top: 70px; width: min(280px, calc(100vw - 40px)); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; display: grid;
  box-shadow: 0 16px 28px -14px rgba(0, 0, 0, .6); }
.menu-panel a { padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--panel); }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -12%; top: -24%; width: 72%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(227, 26, 90, .20), rgba(90, 38, 146, .15) 52%, transparent 76%); }
.hero .in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 32px; align-items: center; padding-top: 40px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(34px, 3.9vw, 52px); line-height: 1.06; font-weight: 800; letter-spacing: -.025em; }
.hero .lead { font-size: 19px; color: var(--muted); margin-top: 24px; max-width: 36ch; }
/* hero text pieces animate in (partials/hero_motion.html): hidden until the animation has set its first frame */
.hero [data-hero] { position: relative; }
.hero-wait .hero [data-hero] { opacity: 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stage { width: 100%; max-width: 620px; justify-self: end; }
.hero-stage .mph { margin: 0; --mph-word1: #F46F1C; --mph-word2: #EC2D6A; --mph-word3: #8A5CD4; }
.hero-stage .mph-phone3d { filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .55)) drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); }
.hero-stage .mph-win { box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }

/* sections */
.sec { padding: 104px 0; border-top: 1px solid var(--line); }
.sh { display: grid; gap: 14px; max-width: 680px; margin-bottom: 52px; }
.sh h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }

/* testimonial */
.quote { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px 80px; align-items: center; margin: 0; }
.quote > :not(.quote-mark) { grid-column: 2; max-width: 820px; }
.quote-mark { grid-row: 1 / span 3; position: relative; display: grid; place-items: center; }
.quote-mark::before { content: ""; position: absolute; inset: -70px; background: radial-gradient(closest-side, rgba(227, 26, 90, .20), rgba(90, 38, 146, .14) 52%, transparent 78%); }
.quote-mark img { position: relative; display: block; width: 170px; height: auto; }
.quote .eyebrow { color: var(--orange); }
.quote blockquote { margin: 0; font: 600 clamp(19px, 2.1vw, 27px)/1.42 var(--display); letter-spacing: -.01em; }
.quote blockquote strong { color: var(--rose); font-weight: 700; }
.who { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.who img { width: 52px; height: 52px; border-radius: 50%; }
.who b { display: block; font-weight: 600; }
.who span { color: var(--muted); font-size: 14px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; list-style: none; margin: 0; padding: 0; }
.steps li { padding: 34px; border-left: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.steps li:first-child { border-left: 0; }
.steps b { font: 800 52px/1 var(--display); }
.steps li:nth-child(1) b { color: var(--orange); } .steps li:nth-child(2) b { color: var(--rose); } .steps li:nth-child(3) b { color: var(--violet); }
.steps h3 { font-size: 21px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* features */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden;
  transition: border-color .25s, transform .3s var(--ease); }
.feat:hover { border-color: var(--line-2); }
.feat::before { content: ""; position: absolute; left: 28px; top: 0; height: 4px; width: 64px; border-radius: 0 0 3px 3px; background: var(--c); }
.feat h3 { font-size: 20px; margin-top: 6px; }
.feat p { color: var(--muted); font-size: 15.5px; }
.feat-wide { grid-column: span 2; }
.feat-wide h3 { font: 600 14px/1.4 var(--body); letter-spacing: .02em; color: var(--text); }
.feat-wide .feat-lead { font: 700 clamp(21px, 2vw, 25px)/1.3 var(--display); letter-spacing: -.01em; color: var(--text); margin: 0 0 4px; text-wrap: balance; }
.feat-wide p { max-width: 56ch; }
.canada { margin-top: 28px; color: var(--muted); font-size: 15px; max-width: 70ch; }
.canada b { color: #fff; font-weight: 600; }

/* pricing */
.bill-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 30px; }
.bill-hint { color: var(--muted); font-size: 15px; }
.bill-hint b { color: var(--orange); font-weight: 600; }
.billing { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px; position: relative; }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing label { padding: 10px 20px; border-radius: 9px; color: var(--muted); font: 600 14px/1 var(--body); cursor: pointer; transition: background-color .2s, color .2s; }
#billing-monthly:checked + label, #flexSwitchCheckDefault:checked + label { background: #fff; color: var(--ground); }
#flexSwitchCheckDefault:checked + label em { color: var(--logo-rose); }
.billing input:focus-visible + label { outline: 2px solid #fff; outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.plan-pop { background: var(--panel-2); border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose), 0 30px 80px -40px rgba(227, 26, 90, .6); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 { font-size: 21px; }
.badge { font: 700 11.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #C4144D; border-radius: 999px; padding: 6px 10px; }
.plan .desc { color: var(--muted); font-size: 14.5px; min-height: 46px; }
.price { font: 800 50px/1 var(--display); letter-spacing: -.03em; display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.price .cur { margin-left: .12em; }
.price .cur-pre { margin-left: 0; margin-right: -3px; }
.price .was { font: 600 22px/1 var(--display); color: var(--faint); letter-spacing: -.01em; text-decoration-thickness: 2px; margin-right: 10px; align-self: center; }
.price small { font: 500 15px var(--body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-note { font-size: 13.5px; color: var(--faint); margin-top: -6px; min-height: 20px; }
.plan .act { font-weight: 600; }
.plan .act span { color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--muted); }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--rose); transform: translateY(-1px); }
.plan .act { margin-bottom: 8px; }
.plan .btn { width: 100%; margin-top: auto; }
.included { margin-top: 18px; border: 1px solid var(--line); border-radius: 20px; padding: 26px 30px; display: grid; gap: 16px; }
.included h3 { font-size: 17px; }
.included ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 28px; font-size: 14.5px; color: var(--muted); }
.included li { display: flex; gap: 10px; align-items: baseline; }
.included li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--rose); transform: translateY(-1px); }
.after { display: grid; gap: 12px; margin-top: 28px; }
.assure { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; font-size: 15.5px; font-weight: 500; }
.assure li { display: flex; align-items: center; gap: 10px; }
.assure li::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.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='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* newsletter + blog */
.news { background: linear-gradient(100deg, #C8164F, #9F1574 55%, #5A2692); border-radius: 24px; padding: 52px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.news .eyebrow { color: rgba(255, 255, 255, .82); }
.news h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; margin-top: 10px; }
.news form { display: flex; gap: 10px; }
.news input { flex: 1; min-width: 0; height: 52px; border-radius: 12px; border: 0; padding: 0 18px; font: 16px var(--body); background: #fff; color: var(--ground); }
.news input::placeholder { color: #6E6880; }
.posts-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 80px 0 32px; }
.posts-head h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; margin-top: 10px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: grid; grid-template-rows: auto 1fr; transition: border-color .25s; }
.post:hover { border-color: var(--line-2); }
.post-img { aspect-ratio: 16 / 9; background: var(--panel-2); position: relative; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.post:hover .post-img img { transform: scale(1.03); }
.post-img--brand { display: grid; place-items: center; background: radial-gradient(circle at 50% 120%, rgba(227, 26, 90, .22), transparent 60%), var(--panel-2); }
.post-img--brand .logo-bars { font-size: 72px; }
.post-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.post .tag { font: 700 12px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #F4628F; }
.post h3, .post-title { font-size: 19px; line-height: 1.3; }
.post p { color: var(--muted); font-size: 14.5px; }
.tag-o { color: var(--orange) !important; } .tag-v { color: var(--violet) !important; }
/* blog list: video guides as cards, written guides as a two-column list */
.post-group + .post-group { margin-top: 64px; }
.group-title { font-size: clamp(22px, 2.2vw, 26px); margin-bottom: 22px; }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--line); }
.post-row { display: grid; gap: 6px; align-content: start; padding: 20px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.post-row .tag { font: 700 12px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.post-row .post-title { font-size: 18px; line-height: 1.3; transition: color .2s; }
.post-row:hover .post-title { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-row p { color: var(--muted); font-size: 14.5px; }

/* footer */
.foot { background: var(--night); padding: 0 0 30px; }
.foot-strip { display: grid; grid-template-columns: repeat(5, 1fr); height: 3px; }
.foot-strip i:nth-child(1) { background: var(--logo-orange); }
.foot-strip i:nth-child(2) { background: var(--logo-rose); }
.foot-strip i:nth-child(3) { background: var(--logo-prune); }
.foot-strip i:nth-child(4) { background: var(--logo-violet); }
.foot-strip i:nth-child(5) { background: var(--logo-bleu); }
.foot .in { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-top: 72px; }
.foot p, .foot li { color: var(--muted); font-size: 15px; }
.foot ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot h4 { font: 700 15px var(--display); }
.foot .logo, .foot .logo:hover { color: #fff; }
.foot .foot-tag { margin-top: 18px; max-width: 30ch; font-size: 16px; line-height: 1.55; color: var(--text); text-wrap: balance; }
.foot-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.foot-bottom .socials { margin: 0; }
.socials { display: flex; gap: 16px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16px; }
.socials a:hover { box-shadow: inset 0 0 0 1px #fff; }
.foot .copy { font-size: 13.5px; color: var(--faint); }

/* video and signup dialogs */
dialog { border: 0; padding: 0; background: transparent; color: var(--text); max-width: calc(100vw - 32px); }
dialog::backdrop { background: rgba(8, 6, 12, .78); backdrop-filter: blur(6px); }
dialog[open] { animation: dlg .35s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { dialog[open] { animation: none; } }
.x { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font: 22px/1 var(--body); cursor: pointer; display: grid; place-items: center; }
.x:hover { background: rgba(255, 255, 255, .2); }
.video-dlg { width: min(1000px, calc(100vw - 32px)); padding-top: 52px; }
.video-box { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-dlg .x { right: 0; top: 0; }

/* the signup dialog always fits the screen: price on top, pay button at the bottom, only the fields scroll */
.signup { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; }
.signup form { position: relative; display: flex; flex-direction: column; max-height: calc(100vh - 34px); max-height: calc(100dvh - 34px); }
.signup-head, .signup-foot { flex-shrink: 0; }
.signup-head { padding: 28px 28px 22px; background: linear-gradient(110deg, rgba(227, 26, 90, .22), rgba(90, 38, 146, .22)); border-bottom: 1px solid var(--line-2); }
.signup-plan { font: 700 15px var(--display); color: var(--muted); }
.signup-price { font: 800 40px/1.1 var(--display); letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.signup-price small { font: 500 15px var(--body); color: var(--muted); letter-spacing: 0; }
.signup-billing { font-size: 14px; color: var(--muted); margin-top: 4px; }
.savings { display: inline-block; margin-top: 10px; font: 700 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; background: #C4144D; color: #fff; border-radius: 999px; padding: 6px 10px; }
.signup-body { padding: 24px 28px 20px; display: grid; gap: 18px; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.signup-body h2 { font-size: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field input { height: 48px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--ground); color: #fff; padding: 0 14px; font: 16px var(--body); }
.field input::placeholder { color: var(--faint); }
.field input:focus { outline: none; border-color: #fff; }
.field .help { font-size: 13px; color: var(--muted); }
.help.ok { color: #4ADE80; } .help.err { color: #FF7A9C; }
.promo-link { background: none; border: 0; padding: 0; color: var(--muted); font: 14px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { max-width: 170px; text-transform: uppercase; }
.promo-row .btn { height: 48px; padding: 0 16px; font-size: 14.5px; }
.signup-foot { padding: 16px 28px 22px; display: grid; gap: 12px; border-top: 1px solid var(--line-2); }
.signup-foot .reassure { font-size: 14px; color: var(--text); }
.signup-foot .btn { width: 100%; }
.signup-foot p { font-size: 13px; color: var(--muted); text-align: center; }

/* toast */
.toast-wrap { position: fixed; z-index: 100; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(16px + env(safe-area-inset-top, 0px)); display: grid; gap: 8px; width: min(360px, calc(100vw - 32px)); }
.toast { background: var(--panel-2); border: 1px solid var(--line-2); border-left: 0; border-radius: 12px; padding: 14px 16px; font-size: 14.5px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); display: flex; gap: 10px; align-items: center; }
.toast i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #4ADE80; }
.toast.err i { background: #FF7A9C; }

/* ============ inner pages ============ */

/* page head: the dark band every inner page opens with */
.page-head { position: relative; overflow: hidden; padding: 64px 0 72px; }
.page-head::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 200%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(227, 26, 90, .16), rgba(90, 38, 146, .12) 55%, transparent 78%); }
.page-head .in { position: relative; }
.page-head .eyebrow { margin-bottom: 16px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.025em; line-height: 1.07; max-width: 22ch; }
.page-head .lead { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 58ch; }

/* paper: the light reading ground (guides, articles, policies). Same system, light tokens. */
.paper { --ground: #FFFFFF; --panel: #F7F6FA; --panel-2: #EFEDF4; --line: #E6E3EC; --line-2: #CFCAD9;
  --text: #17141F; --muted: #56516A; --faint: #6B6680; --rose: #C4144D; --violet: #5A2692;
  background: var(--ground); color: var(--text); color-scheme: light; padding: 72px 0 96px; }
.paper :focus-visible { outline-color: var(--text); }
.paper .btn-main { background: var(--text); color: #fff; }
.paper .btn-main:hover { background: #312A40; }
.paper .btn-line { color: var(--text); }
.paper .btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--text); }

/* band: the one gradient moment on an inner page */
.band { background: linear-gradient(100deg, #C8164F, #9F1574 55%, #5A2692); border-radius: 24px; padding: 48px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.02em; max-width: 26ch; }
.band .eyebrow { color: rgba(255, 255, 255, .82); margin-bottom: 10px; }
.band-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.band .btn-line { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.band .btn-line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.sec-band { padding: 0 0 104px; }
.band { color: #fff; }
.band .btn-main { background: #fff; color: #110E18; }
.band .btn-main:hover { background: #E9E5F2; }
.band .btn-line { color: #fff; }
.paper-end { padding-top: 0; }
.sh .lead-sm { color: var(--muted); font-size: 18px; }

/* ---- about (dark) ---- */
.story .in { padding-top: 24px; padding-bottom: 32px; }
.story h1 { max-width: 16ch; }
.story-text p { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 58ch; }
.story-text p + p { margin-top: 14px; }
.story h1 .lit { color: var(--orange); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.split .sh { margin-bottom: 0; }
.split-text { display: grid; gap: 18px; color: var(--muted); font-size: 18px; max-width: 60ch; }
.split-text strong { color: var(--text); font-weight: 600; }
.pledge { display: flex; align-items: center; gap: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 32px; text-decoration: none; transition: border-color .25s; }
.pledge:hover { border-color: var(--line-2); }
.pledge b { font: 800 clamp(64px, 7vw, 96px)/1 var(--display); letter-spacing: -.04em; color: var(--rose); white-space: nowrap; }
.pledge img { width: 104px; height: 104px; object-fit: contain; flex: none; }
.pledge span { color: var(--muted); font-size: 14.5px; display: block; margin-top: 4px; }
.split-text .pledge { margin-top: 10px; color: var(--text); }
/* team: lineup cards, one logo color per person */
.lit-o { color: var(--orange); } .lit-r { color: var(--rose); } .lit-v { color: var(--violet); }
.story-text h1 + p, .duo .split-text p:first-child { color: var(--text); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.member { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 22px 22px; }
.member::before { content: ""; position: absolute; left: 22px; top: 0; width: 64px; height: 4px; border-radius: 0 0 3px 3px; background: var(--c); }
.member:nth-child(1) { --c: var(--orange); } .member:nth-child(2) { --c: var(--rose); } .member:nth-child(3) { --c: var(--violet); } .member:nth-child(4) { --c: var(--bleu); }
.member img { display: block; width: 168px; height: 210px; border-radius: 12px; object-fit: cover; object-position: center 18%; background: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.member-body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; }
.member h3 { font-size: 19px; }
.member .role { font-size: 13.5px; color: var(--faint); line-height: 1.45; }
.member p { color: var(--muted); font-size: 14.5px; }
.member .socials { margin-top: 10px; gap: 10px; align-self: end; }
.member .socials a { width: 34px; height: 34px; font-size: 14px; border-radius: 9px; color: var(--muted); text-decoration: none; }
.member .socials a:hover { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
/* mission and engagement side by side, the 2 % card across both */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; align-items: start; }
.duo .split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.duo .split-text { font-size: 17px; }
.duo .pledge { grid-column: 1 / -1; margin-top: 0; color: var(--text); }
.band-quiet { background: var(--panel); border: 1px solid var(--line); }

/* ---- guides list (light) ---- */
.tools { margin-top: 32px; display: grid; gap: 18px; }
.search { width: min(440px, 100%); height: 50px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ADA7BC' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center;
  color: var(--text); padding: 0 16px 0 44px; font: 16px var(--body); }
.search::placeholder { color: var(--faint); }
.search:focus { outline: none; border-color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font: 600 14px/1 var(--body); color: var(--muted); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-2); transition: color .2s, box-shadow .2s, background-color .2s; }
.chip:hover { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.chip[aria-current="page"] { background: #fff; color: var(--ground); box-shadow: none; }
.paper .posts { margin: 0; }
.paper .post { background: #fff; }
.paper .post:hover { border-color: var(--line-2); box-shadow: 0 18px 36px -24px rgba(23, 20, 31, .35); }
.paper .post-img { background: var(--panel-2); }
/* each brand tile glows in the next logo color so a row of them does not repeat */
.paper .post-img--brand { --glow: rgba(227, 26, 90, .30); background: radial-gradient(circle at 50% 120%, var(--glow), transparent 62%), #110E18; }
.paper .post:nth-child(5n+1) .post-img--brand { --glow: rgba(244, 111, 28, .30); }
.paper .post:nth-child(5n+3) .post-img--brand { --glow: rgba(159, 21, 116, .38); }
.paper .post:nth-child(5n+4) .post-img--brand { --glow: rgba(90, 38, 146, .45); }
.paper .post:nth-child(5n+5) .post-img--brand { --glow: rgba(16, 59, 153, .55); }
.paper .post .tag { color: var(--rose); }
.post-play { position: absolute; left: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(17, 14, 24, .78); display: grid; place-items: center; }
.post-play::after { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.empty { text-align: center; padding: 64px 20px; color: var(--muted); display: grid; gap: 6px; }
.empty h2 { font-size: 22px; color: var(--text); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; display: inline-grid; place-items: center; font: 600 14.5px/1 var(--body); text-decoration: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.pager a:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.pager [aria-current="page"] { background: var(--text); color: #fff; box-shadow: none; }
.pager .off { opacity: .4; }
.pager .gap { box-shadow: none; min-width: 24px; padding: 0; }

/* ---- article (light) ---- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14.5px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; color: var(--muted); font-size: 14.5px; }
.byline img, .byline .initial { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.byline .initial { display: grid; place-items: center; background: var(--panel-2); color: #fff; font: 700 16px var(--display); }
.byline b { color: var(--text); font-weight: 600; }
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.share { background: none; border: 0; padding: 6px 10px; margin-left: -4px; border-radius: 8px; color: var(--muted); font: 600 14.5px var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; box-shadow: inset 0 0 0 1px var(--line-2); }
.share:hover { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; margin-bottom: 40px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.aside { position: sticky; top: 108px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; display: grid; gap: 10px; }
.aside h2 { font-size: 19px; }
.aside p { color: var(--muted); font-size: 14.5px; }
.aside form { display: grid; gap: 10px; margin-top: 8px; }
.aside input { height: 46px; border-radius: 11px; border: 1px solid var(--line-2); background: #fff; color: var(--text); padding: 0 14px; font: 16px var(--body); }
.aside input:focus { outline: none; border-color: var(--text); }
.aside .btn { height: 46px; width: 100%; }

/* prose: long-form text on paper */
.prose { font-size: 17.5px; line-height: 1.75; color: #2B2738; max-width: 72ch; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose table, .prose pre, .prose blockquote, .prose img { margin: 0 0 1.25em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); letter-spacing: -.015em; }
.prose h1 { font-size: 30px; font-weight: 800; margin: 1.8em 0 .6em; }
.prose h2 { font-size: 26px; font-weight: 800; margin: 1.9em 0 .6em; }
.prose h3 { font-size: 20px; font-weight: 700; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 17.5px; font-weight: 700; margin: 1.4em 0 .4em; }
.prose a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--text); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li > ul, .prose li > ol { margin: .45em 0 0; }
.prose ul li::marker { color: var(--rose); }
.prose ol li::marker { color: var(--muted); font-weight: 600; }
.prose img { display: block; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.prose blockquote { padding: 18px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; color: var(--text); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose code { font: .88em/1.5 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; background: var(--panel-2); border-radius: 6px; padding: 2px 6px; color: var(--text); }
.prose pre { background: #110E18; color: #F3F1F7; border-radius: 14px; padding: 20px 22px; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--panel); font-weight: 650; color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .note { padding: 20px 22px; background: #FCF1F5; border: 1px solid #F3D3DE; border-radius: 14px; color: var(--text); margin: 0 0 1.25em; }
.prose .note p { margin: 0; }
.contact { margin-top: 2.6em; padding-top: 28px; border-top: 1px solid var(--line); }
.contact h2 { margin-top: 0; font-size: 22px; }

/* ---- after payment: the app is being built (dark, header without navigation) ---- */
.focus .nav, .focus .lang, .focus .menu, .focus .top .btn { display: none; }
.build { padding-bottom: 96px; }
.build .lead b { color: var(--text); font-weight: 600; }
.build .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.build h1 { max-width: 14ch; }
.build-card { max-width: 640px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 10px 28px; }
.build-steps { list-style: none; margin: 0; padding: 0; }
.build-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.build-steps li:first-child { border-top: 0; }
.build-steps .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; position: relative; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.build-steps .dot b { font: 700 14px/1 var(--display); color: var(--faint); }
.build-steps .label { font-weight: 600; font-size: 16.5px; color: var(--muted); }
.build-steps .state { font-size: 13.5px; color: var(--faint); }
.build-steps .is-run .label, .build-steps .is-done .label { color: var(--text); }
.build-steps .is-run .state { color: var(--c); font-weight: 600; }
.build-steps .is-run .dot { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.build-steps .is-run .dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--c); border-right-color: var(--c); animation: spin 1s linear infinite; }
.build-steps .is-run .dot b { color: var(--text); }
.build-steps .is-done .dot { background: var(--c); box-shadow: none; }
.build-steps .is-done .dot b { display: none; }
.build-steps .is-done .dot::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-2px) rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .build-steps .is-run .dot::before { animation: none; } }
.build-done { border-top: 1px solid var(--line); padding: 22px 0 18px; display: grid; gap: 18px; justify-items: start; }
.build-done p { color: var(--muted); }
.build-done b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.build-help { margin-top: 28px; color: var(--faint); font-size: 14.5px; }
.build-help a { color: var(--muted); }
.build-help a:hover { color: #fff; }

/* ---- page not found / server error ---- */
.oops { padding: 96px 0 128px; }
.oops-code { font: 800 clamp(96px, 14vw, 168px)/.9 var(--display); letter-spacing: -.05em; color: var(--violet); margin-bottom: 20px; }
.oops .lead a { color: var(--text); }

@media (max-width: 960px) {
  .nav, .top .lang-desk { display: none; }
  .menu { display: block; margin-left: auto; }
  .top .in { gap: 12px; }
}
@media (max-width: 860px) {
  .in { padding-left: 20px; padding-right: 20px; }
  .hero .in { grid-template-columns: minmax(0, 1fr); padding-top: 12px; padding-bottom: 60px; }
  .hero .lead { font-size: 17px; }
  .hero-stage { justify-self: center; }
  .ctas .btn { flex: 1 1 100%; }
  .sec { padding: 68px 0; }
  .sh { margin-bottom: 34px; }
  .quote { grid-template-columns: minmax(0, 1fr); }
  .quote > :not(.quote-mark) { grid-column: 1; }
  .quote-mark { grid-row: auto; justify-self: start; margin-bottom: 6px; }
  .quote-mark::before { inset: -36px; }
  .quote-mark img { width: 92px; }
  .feats, .plans, .posts { grid-template-columns: minmax(0, 1fr); }
  .feat-wide { grid-column: auto; }
  .included { padding: 22px; }
  .included ul { grid-template-columns: minmax(0, 1fr); }
  .assure { flex-direction: column; gap: 10px; }
  .hero::before { right: -40%; top: auto; bottom: -6%; width: 140%; height: 62%; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { border-left: 0; border-top: 1px solid var(--line); padding: 28px; }
  .steps li:first-child { border-top: 0; }
  .plan .desc { min-height: 0; }
  .news { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; gap: 20px; }
  .post-list { grid-template-columns: minmax(0, 1fr); }
  .news form { flex-direction: column; }
  .news input { flex: none; width: 100%; }
  .posts-head { margin-top: 64px; }
  .foot .in { grid-template-columns: minmax(0, 1fr); padding-top: 56px; }
  .foot-bottom { margin-top: 16px; }
  .page-head { padding: 40px 0 52px; }
  .page-head .lead { font-size: 17px; }
  .paper { padding: 48px 0 64px; }
  .band { padding: 32px 24px; }
  .sec-band { padding-bottom: 68px; }
  .story .in { padding-top: 8px; padding-bottom: 8px; }
  .story-text p { font-size: 17px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .split-text { font-size: 17px; }
  .pledge { padding: 22px; gap: 14px 18px; flex-wrap: wrap; }
  .pledge img { width: 80px; height: 80px; }
  .pledge div { flex-basis: 100%; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .article { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .aside { position: static; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 23px; }
}
@media (max-width: 560px) {
  .member { padding: 24px 14px 16px; gap: 14px; }
  .member::before { left: 14px; width: 44px; }
  .member img { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .member-body p:not(.role) { display: none; }
  .member .socials { margin-top: 6px; gap: 8px; }
  .byline .dot { display: none; }
  .build .in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .build-card { padding: 4px 18px; }
  .build-steps li { grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; }
  .build-steps .dot { width: 32px; height: 32px; grid-row: span 2; }
  .build-steps .state { grid-column: 2; }
}
@media (max-width: 420px) {
  .top .btn-main { padding: 0 14px; }
}
