/* ==========================================================================
   Viralow (ex Dub Studio) — public pages (offers, sign-up, login)
   Dark: white type on a violet-tinted near-black, thin rules; soft violet
   and teal glows behind the page (the user found plain black too bare,
   30/09/2026). The accent marks the Pro offer.
   ========================================================================== */

:root {
  --bg: #0b0a14;
  --bg-2: #13121f;
  --bg-3: #1a1829;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --ink: #f4f4f6;
  --ink-2: #a3a3ac;
  --ink-3: #6d6d77;
  --accent: #8b7cff;
  --accent-soft: rgba(139, 124, 255, 0.12);
  --accent-line: rgba(139, 124, 255, 0.55);
  --accent-text: #bdb4ff;
  --r: 10px;
  --r-lg: 18px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* the colour: two soft glows fixed behind the page, violet above, teal aside */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 40% at 50% -6%, rgba(139, 124, 255, .38), transparent 70%),
    radial-gradient(38% 34% at 92% 18%, rgba(45, 212, 191, .13), transparent 70%),
    radial-gradient(42% 38% at 4% 72%, rgba(139, 124, 255, .17), transparent 70%);
}
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.12; font-weight: 650; }
p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r); border: 1px solid transparent; padding: 11px 18px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, opacity .15s;
}
.btn-primary { background: var(--ink); color: #0a0a0c; }
.btn-primary:hover { background: #fff; }
.btn-line { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink-3); background: var(--bg-3); }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.link:hover { color: var(--ink); }

/* ---------------------------------------------------------------- nav -- */

.nav { border-bottom: 1px solid var(--line); background: rgba(11, 10, 20, .8); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
/* the logo: the V mark (logo.svg) and "viralow" in Outfit, white fading to lavender */
.logo { font-family: "Outfit", var(--sans); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; display: flex; align-items: baseline; gap: 0; white-space: nowrap; }
.logo-mark { width: 1.12em; height: 1.12em; display: block; position: relative; top: .1em; margin-right: -.13em; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-text { background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #b9a9ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav nav { display: flex; gap: 24px; font-size: 15px; }
.nav nav a { color: var(--ink-2); text-decoration: none; }
.nav nav a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
@media (max-width: 760px) { .nav nav { display: none; } .nav .wrap { gap: 12px; } .nav-cta { gap: 12px; } }
.logo, .nav-cta a { white-space: nowrap; }
@media (max-width: 440px) { .nav-cta .btn { display: none; } }

/* --------------------------------------------------------------- hero -- */

.hero { padding: 64px 0 88px; }
.hero-text { max-width: 760px; margin: 0 auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 12px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.lead { font-size: 18px; color: var(--ink-2); margin: 20px auto 0; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; justify-content: center; flex-wrap: wrap; }

/* before / after: the video as sent, the result, and the subtitle styles
   to pick from — the result wears the one picked, live (tarifs.js) */
.show {
  max-width: 1040px; margin: 56px auto 0; padding: 44px 32px 36px;
  display: grid; grid-template-columns: auto auto auto auto; justify-content: center; align-items: start; gap: 36px 22px;
  border: 1px solid var(--line-2); border-radius: 28px;
  background: radial-gradient(120% 90% at 50% 0%, #211f33 0%, var(--bg-2) 60%);
}
/* not wide enough for the four side by side: the styles go under, in a row */
@media (max-width: 1100px) and (min-width: 801px) {
  .show { grid-template-columns: auto auto auto; }
  .show .show-styles { grid-column: 1 / -1; justify-self: center; align-items: center; text-align: center; max-width: none; }
  .show-styles .style-picker { grid-template-columns: repeat(3, 150px); }
}
@media (max-width: 800px) {
  .show { grid-template-columns: 1fr; padding: 28px 16px; gap: 22px; margin-top: 40px; border-radius: 22px; }
}
.show-side { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
/* what is what, at a glance: big AVANT / APRÈS, and an arrow from one to the other */
.show-label { font-size: 30px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1; color: var(--ink-3); }
.show-side.after .show-label { color: var(--ink); }
.show-side.after .show-label::after { content: ""; display: block; height: 3px; margin: 7px auto 0; width: 60%; border-radius: 3px; background: var(--accent); }
/* between the two, what was done to the video (04/10/2026, the user: people only saw the
   subtitles swapped and a mirror): ticked one by one when the block comes on screen */
.show-did { display: flex; flex-direction: column; gap: 12px; align-self: center; width: 178px; color: var(--accent-text); }
.did-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.did-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.did-list li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; font-size: 14px; font-weight: 600;
  line-height: 1.3; color: var(--ink); opacity: 0; transform: translateX(-8px); --d: .5s; }
.did-list li b { color: var(--accent-text); font-weight: 700; }
.did-list li:nth-child(2) { --d: .8s; }
.did-list li:nth-child(3) { --d: 1.1s; }
.did-list li:nth-child(4) { --d: 1.4s; }
.did-list li:nth-child(5) { --d: 1.7s; }
.did-tick { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; margin-top: -1px;
  background: var(--accent); color: #fff; transform: scale(0); }
.did-tick svg { width: 12px; height: 12px; }
.show.in .did-list li { animation: did-in .5s cubic-bezier(.2, .7, .2, 1) var(--d) forwards; }
.show.in .did-tick { animation: did-tick .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--d) + .15s) forwards; }
@keyframes did-in { to { opacity: 1; transform: none; } }
@keyframes did-tick { to { transform: none; } }
.did-arrow { width: 96px; height: auto; align-self: center; margin-top: 6px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
@media (max-width: 1100px) and (min-width: 801px) { .show-did { width: 156px; } .did-list li { font-size: 13.5px; } }
@media (max-width: 800px) {
  .show-did { width: 100%; max-width: 380px; justify-self: center; align-items: center; gap: 10px; }
  .did-list { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .did-list li { grid-template-columns: 18px auto; gap: 6px; align-items: center; font-size: 13px; padding: 5px 11px 5px 6px;
    border: 1px solid var(--line-2); border-radius: 100px; background: rgba(255, 255, 255, .04); }
  .did-tick { width: 18px; height: 18px; margin: 0; }
  .did-arrow { width: 52px; margin: 0; transform: rotate(90deg); animation: none; }
}
.show-phone {
  position: relative; width: 236px; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-2); background: #000; container-type: inline-size;
}
.show-phone video, .stack-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-pill {
  font-size: 13.5px; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 7px 15px; white-space: nowrap;
}
.show-pill b { color: var(--accent-text); font-weight: 650; }

/* the result, in front of two cards that peek out behind it — within its own
   column (margin-inline): they covered the start of "Sous-titres" (04/10/2026) */
.show-stack { position: relative; width: 262px; max-width: 100%; aspect-ratio: 9 / 16; display: grid; place-items: center;
  margin-inline: 18px; }
.show-phone.front {
  width: 100%; z-index: 2; border-color: var(--accent-line);
  box-shadow: 0 0 0 1px var(--accent-line), 0 30px 70px -24px rgba(0, 0, 0, .9);
}
.stack-card {
  position: absolute; inset: 7% 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  filter: brightness(.38) saturate(.7); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.stack-card.left { transform: translateX(-11%) scale(.84) rotate(-2.5deg); }
.stack-card.right { transform: translateX(11%) scale(.84) rotate(2.5deg); }
.show.swap .stack-card.left { transform: translateX(-14%) scale(.84) rotate(-4deg); }
.show.swap .stack-card.right { transform: translateX(14%) scale(.84) rotate(4deg); }
.show.swap .show-phone.front { animation: card-swap .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes card-swap {
  0% { transform: none; } 35% { transform: scale(.955) translateY(6px); } 100% { transform: none; }
}

/* the styles to pick from: each tile shows the style itself on a plain tile */
.show-styles { display: flex; flex-direction: column; gap: 12px; align-self: center; max-width: 180px; position: relative; z-index: 3; }
.show-styles-head { display: flex; flex-direction: column; gap: 2px; }
.show-styles-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.show-styles-sub { font-size: 13.5px; color: var(--ink-3); }
/* the fonts of TikTok's caption styles, drawn as subtitles.py burns them: Contour noir in Montserrat
   ExtraBold since 04/10/2026, the two others in Barlow Condensed Bold */
@font-face { font-family: "Montserrat"; src: url("/static/fonts/Montserrat.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/static/fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
.style-picker { display: grid; grid-template-columns: 150px; gap: 10px; }
@media (max-width: 800px) { .show-styles { width: 100%; max-width: 360px; justify-self: center; } .style-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.style-chip {
  position: relative; height: 72px; padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line-2); background: #3a3a44;
  display: flex; flex-direction: column; justify-content: flex-end; text-align: center; color: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.style-chip:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.style-chip[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-line), 0 10px 26px -10px rgba(139, 124, 255, .7); }
.style-chip .sample { position: absolute; left: 5px; right: 5px; top: 13px; line-height: 1.1; paint-order: stroke fill; white-space: nowrap; }
.style-chip .chip-name {
  position: relative; z-index: 1; font-size: 11px; font-weight: 650; color: var(--ink); padding: 3px 0;
  background: rgba(10, 10, 12, .78);
}
.style-chip[aria-selected="true"] .chip-name { background: var(--accent); color: #fff; }
.style-chip .st-contour { font-size: 15.5px; } .style-chip .st-encadre, .style-chip .st-couleur { font-size: 17px; }

.listen {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: transparent;
  border-radius: 100px; padding: 5px 11px 5px 9px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2);
}
.listen:hover { background: var(--bg-3); color: var(--ink); }
.listen svg { width: 15px; height: 15px; }
.listen[aria-pressed="true"] { background: var(--ink); color: #0a0a0c; border-color: var(--ink); }

/* the live captions, drawn like the software burns them (subtitles.py): its
   outline lies outside the letters (a stroke twice as wide, half hidden under
   the fill) and its shadow is the outlined text, offset (drop-shadow) */
.live-cap {
  position: absolute; left: 6%; right: 6%; bottom: 22%; z-index: 3; text-align: center; line-height: 1.15;
  color: #fff; pointer-events: none; paint-order: stroke fill;
}
.live-cap .c { display: inline-block; }
.live-cap.pop .c { animation: cap-pop .16s ease-out; }
@keyframes cap-pop { from { transform: scale(1.18); } to { transform: none; } }
/* TikTok's three styles (subtitles.STYLES "tt"), their measures in em:
   Contour noir outline .124 and a hard shadow .075/.178; Mot encadré outline
   .10, the red box .22/.33 around the said word, fading from word to word;
   Mot en couleur outline .095, the said word light blue, a soft shadow below */
.st-contour { font: 800 5.59cqw Montserrat, var(--sans); text-transform: uppercase; letter-spacing: .025em;
  font-kerning: none; -webkit-text-stroke: .248em #000; }
.st-contour .c, .style-chip .st-contour { filter: drop-shadow(.075em .178em 0 #000); }
.st-encadre, .st-couleur { font: 700 5.82cqw "Barlow Condensed", var(--sans); text-transform: uppercase;
  letter-spacing: .02em; font-kerning: none; }
.st-encadre { -webkit-text-stroke: .2em #000; }
.st-encadre .c, .style-chip .st-encadre { isolation: isolate; text-shadow: .02em .03em .06em rgba(0, 0, 0, .4); }
.st-encadre .w { position: relative; }
.st-encadre .w::before {
  content: ""; position: absolute; z-index: -1; left: -.182em; right: -.175em; top: -.03em; bottom: -.138em;
  background: #fe2c55; border-radius: .2em; opacity: 0; transition: opacity .1s linear;
}
.st-encadre .w.on::before { opacity: 1; transition-duration: .07s; }
.st-couleur { -webkit-text-stroke: .19em #000; }
.st-couleur .c, .style-chip .st-couleur { filter: drop-shadow(.017em .126em .04em rgba(0, 0, 0, .94)); }
.st-couleur .on { color: #93dfe6; }

/* things slide in as the page scrolls */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .show *, .live-cap .c { animation: none !important; transition: none !important; }
  .did-list li, .did-tick { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- sections -- */

.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 42px); }
.section-head p { color: var(--ink-2); margin-top: 12px; font-size: 17px; }

/* ------------------------------------------------------------ pricing -- */

.period-row { display: flex; justify-content: center; margin-bottom: 44px; }
.period { display: inline-flex; border: 1px solid var(--line-2); border-radius: 100px; padding: 4px; gap: 4px; background: var(--bg-2); }
.period button { border: 0; background: none; padding: 8px 18px; border-radius: 100px; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.period button[aria-pressed="true"] { background: var(--ink); color: #0a0a0c; }
.period .save { font-size: 12px; font-weight: 650; color: var(--accent-text); background: var(--accent-soft); border-radius: 100px; padding: 2px 8px; }
.period button[aria-pressed="true"] .save { color: #4a3fb3; background: #e7e3ff; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 20px; justify-content: center; align-items: stretch; }
@media (max-width: 800px) { .plans { grid-template-columns: minmax(0, 480px); gap: 32px; } }
/* 4 offers (04/10/2026): side by side on a wide screen, 2 by 2 below, the price over the credits */
.plans.many { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plans.many .plan { padding: 26px 20px 24px; }
.plans.many .features { font-size: 14.5px; }
@media (min-width: 801px) { .plans.many .plan-tagline { min-height: 2.9em; } }   /* side by side: prices, blocks, buttons in line */
@media (max-width: 1060px) { .plans.many { grid-template-columns: repeat(2, minmax(0, 440px)); gap: 28px 20px; } }
@media (max-width: 800px) { .plans.many { grid-template-columns: minmax(0, 480px); gap: 32px; } }
.plan { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; background: var(--bg-2); display: flex; flex-direction: column; }
@media (max-width: 560px) { .plan { padding: 22px; } }
.plan.featured { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  background: var(--accent); color: #fff; border-radius: 100px; padding: 4px 12px;
}
.plan h3 { font-size: 22px; }
.plan-tagline { color: var(--ink-2); margin-top: 6px; font-size: 14.5px; }

/* the price, then the month in videos (04/10/2026, the user: the offers looked the same — the
   number of videos a month is what sets them apart, with a bar for its size) */
.plan-price { margin-top: 14px; }
.price-was { display: block; color: var(--ink-3); text-decoration: line-through; font-size: 14px; font-weight: 600; min-height: 1.3em; }
.price-line { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-now { font-size: 40px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-unit { color: var(--ink-3); font-size: 15px; font-weight: 600; }
/* the videos a month, in the brand's violet so it reads at once (the price stays white) */
.plan-volume {
  margin-top: 18px; padding: 14px 16px 16px; border-radius: 14px; border: 1px solid rgba(139, 124, 255, .32);
  background: linear-gradient(160deg, rgba(139, 124, 255, .13), rgba(139, 124, 255, .03) 70%); display: flex; flex-direction: column;
}
.plan.featured .plan-volume { border-color: var(--accent-line); background: linear-gradient(160deg, rgba(139, 124, 255, .26), rgba(139, 124, 255, .06) 75%); }
.vol-kicker { color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vol-head { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }   /* the same lines on every card */
.vol-num {
  font-size: 38px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums;
  color: var(--accent-text); background: linear-gradient(135deg, #ded9ff 0%, #a99bff 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.vol-unit { color: var(--accent-text); font-size: 16px; font-weight: 700; }
.vol-label { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }
.vol-label.vol-day { margin-top: 1px; }
/* the month's credits, under the videos: big and white, the second thing read */
.vol-credits { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding-top: 12px;   /* the same lines on every card */
  border-top: 1px solid rgba(139, 124, 255, .22); }
.vol-credits b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink);
  font-variant-numeric: tabular-nums; }
.vol-credits span { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.vol-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); margin-top: 10px; overflow: hidden; }
.vol-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ded9ff); }
.plan .btn { margin-top: 20px; }
.plan-note { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 8px; }

/* the same rows on every card: ✓ what's in it, ✗ (dimmed) what isn't */
.features { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.features li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.features li::before {
  content: ""; width: 11px; height: 6px; margin: 6px 0 0 2px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.features li.off { color: var(--ink-3); }
.features li.off::before { content: "✕"; width: auto; height: auto; margin: 0 0 0 2px; border: 0; transform: none;
  font-size: 13px; line-height: 1.5; color: var(--ink-3); }

.fine { color: var(--ink-3); font-size: 13.5px; margin-top: 22px; text-align: center; }

/* ---------------------------------------------- credits + simulator -- */

.credits {
  max-width: 900px; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden;
}
@media (max-width: 800px) { .credits { grid-template-columns: 1fr; } }
.credits > div { padding: 28px; }
@media (max-width: 560px) { .credits > div { padding: 22px; } }
.credits > div + div { border-left: 1px solid var(--line); }
@media (max-width: 800px) { .credits > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.credits h3 { font-size: 18px; margin-bottom: 18px; }
.rates { list-style: none; margin: 0; padding: 0; }
.rates li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rates li:first-child { padding-top: 0; }
.rates span { color: var(--ink-2); }
.rates b { text-align: right; font-variant-numeric: tabular-nums; }
.rates-note { color: var(--ink-3); font-size: 13.5px; margin-top: 14px; }

.seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.seg button { border: 0; border-right: 1px solid var(--line-2); background: transparent; padding: 9px 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #0a0a0c; }
.control-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14.5px; font-weight: 600; cursor: pointer; margin-top: 16px; }
.switch { appearance: none; width: 42px; height: 24px; border-radius: 100px; background: var(--line-2); position: relative; cursor: pointer; flex-shrink: 0; transition: background .15s; margin: 0; }
.switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch:checked { background: var(--accent); }
.switch:checked::before { transform: translateX(18px); }
.sim-cost { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; }
.sim-cost b { font-size: 30px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sim-cost span { color: var(--ink-3); font-size: 14px; }
.sim-plans { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sim-plans li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; }
.sim-plans li span { color: var(--ink-2); }
.sim-plans li b { font-variant-numeric: tabular-nums; text-align: right; }
.sim-plans li.pro { border-color: var(--accent-line); }

/* ---------------------------------------------------------------- faq -- */

.faq { max-width: 740px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); margin-top: 10px; }

/* ------------------------------------------------------------- footer -- */

.footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--ink-3); font-size: 14px; }
.footer .wrap { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .spacer { flex: 1; }

/* ---------------------------------------------- legal pages (plain text) -- */

.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 8px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal b { color: var(--ink); }
.legal a { color: var(--ink); }
.legal mark { background: rgba(255, 200, 0, .18); color: #ffd666; padding: 1px 5px; border-radius: 4px; }
.legal-date { font-size: 14px; color: var(--ink-3); margin-bottom: 24px; }
.legal-links { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal-table th { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .legal-table { font-size: 13px; } .legal-table th, .legal-table td { padding: 7px 6px; } }

.co-accept { display: flex; gap: 9px; align-items: flex-start; text-align: left; cursor: pointer; }
.co-accept input { margin: 3px 0 0; accent-color: var(--accent); flex-shrink: 0; }

/* --------------------------------------------------------------- log-in -- */

.auth { min-height: calc(100vh - 65px); display: grid; place-items: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 420px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 760px) { .auth { padding: 32px 16px; } }
.auth-form { padding: 36px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 560px) { .auth-form { padding: 24px; } }
.auth-form h1 { font-size: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 14px; font-weight: 600; }
.field input {
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; background: var(--bg-3); outline: none; width: 100%;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus { border-color: var(--ink-2); }
.form-error { color: #ff7b72; font-size: 14px; }
.form-error a { color: inherit; }

/* ------------------------------------------- checkout, over the offers -- */

body.modal-open { overflow: hidden; }

/* sign-ups closed: a full screen over the offers page (site-status.json) */
.soon { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 24px 16px; overflow-y: auto; background: var(--bg);
  background-image: radial-gradient(60% 45% at 50% 0%, rgba(139, 124, 255, .22), transparent 70%),
                    radial-gradient(45% 35% at 85% 100%, rgba(91, 60, 255, .14), transparent 70%); }
.soon-card { width: 100%; max-width: 480px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.soon-brand { display: flex; align-items: center; gap: 8px; font-family: "Outfit", var(--sans); font-weight: 700; font-size: 30px; margin-bottom: 10px; }
.soon-brand img { width: 44px; height: 44px; }
.soon h1 { margin: 0; font-size: clamp(26px, 6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.soon p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.soon .btn { margin-top: 10px; max-width: 100%; white-space: normal; }
.soon-legal { margin-top: 18px !important; font-size: 13px; color: var(--ink-3) !important; }
.soon-legal a { color: var(--ink-3); }
.checkout-backdrop {
  position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px);
  display: flex; justify-content: center; align-items: flex-start; padding: 48px 16px; overflow-y: auto;
}
.checkout {
  position: relative; width: 100%; max-width: 500px; background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
@media (max-width: 560px) { .checkout-backdrop { padding: 0; } .checkout { border-radius: 0; min-height: 100%; padding: 22px 16px; } }
.co-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 8px; border: 0;
  background: transparent; color: var(--ink-3); font-size: 24px; line-height: 1; cursor: pointer;
}
.co-close:hover { background: var(--bg-3); color: var(--ink); }
.checkout h2 { font-size: 23px; padding-right: 36px; }
.co-credits { color: var(--accent-text); font-variant-numeric: tabular-nums; }
.co-sub { font-size: 14px; color: var(--ink-2); margin-top: -8px; display: flex; align-items: center; gap: 8px; }
.co-sub b { color: var(--ink); }
.tick { width: 10px; height: 6px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg) translateY(-2px); flex-shrink: 0; }
.co-trust {
  list-style: none; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2);
}
.co-trust li { display: flex; align-items: center; gap: 8px; }
.co-trust svg { width: 14px; height: 14px; color: var(--accent-text); }

.co-plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.co-plan b { display: block; font-size: 16px; }
.co-plan small { display: block; color: var(--ink-3); font-size: 13.5px; }
.co-plan > div:first-child { min-width: 0; }
.co-plan .period button { padding: 6px 11px; font-size: 13px; }

.co-pay { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-3); padding: 14px; }
.co-card-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.co-card-head svg { width: 17px; height: 17px; color: var(--ink-2); }
.co-fields { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.co-input { padding: 11px 14px; color: var(--ink-3); font-size: 15px; background: var(--bg-2); user-select: none; }
.co-input.wide { grid-column: 1 / -1; border-bottom: 1px solid var(--line-2); }
.co-input + .co-input:not(.wide) { border-left: 1px solid var(--line-2); }
.co-test { font-size: 13px; color: var(--ink-3); }
.co-whop-note { margin: 0; font-size: 13.5px; color: var(--ink-2); }

.co-sum { margin: 0; border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.co-sum div { display: flex; justify-content: space-between; gap: 12px; }
.co-sum dt { color: var(--ink-2); }
.co-sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.co-sum .co-total { font-weight: 650; font-size: 16px; }
.co-sum .co-total dt { color: var(--ink); }
.co-legal, .co-login { text-align: center; font-size: 13px; color: var(--ink-3); }
.co-legal { margin-top: -4px; }
.co-legal a, .co-login a { color: var(--ink-2); }
.co-login { margin-top: -6px; }

.period.small button { padding: 6px 14px; font-size: 13.5px; }


/* ------------------------------------------------------------ launch offer (06/10/2026) */
.launch {
  position: relative; overflow: hidden; margin: 0 auto 36px; max-width: 880px; padding: 26px 30px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  border: 1px solid var(--accent-line); border-radius: 22px;
  background:
    radial-gradient(70% 140% at 0% 0%, rgba(139, 124, 255, .34), transparent 62%),
    radial-gradient(60% 120% at 100% 100%, rgba(45, 212, 191, .20), transparent 60%),
    var(--bg-2);
  box-shadow: 0 0 0 1px rgba(139, 124, 255, .15), 0 18px 60px -18px rgba(139, 124, 255, .55);
}
.launch-main { flex: 1 1 340px; min-width: 0; }
.launch-tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 5px 13px 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #fff;
}
.launch-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5d73; box-shadow: 0 0 0 0 rgba(255, 93, 115, .7); animation: launch-pulse 1.6s infinite; }
@keyframes launch-pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 93, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 93, 115, 0); } }
.launch h3 { margin: 14px 0 8px; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.launch h3 em {
  font-style: normal; background: linear-gradient(90deg, #cdb6ff, #7ee8d8); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.launch p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 46ch; }
.launch-clock { display: flex; align-items: flex-start; gap: 8px; flex: none; }
.lc-unit { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lc-unit b {
  display: block; min-width: 68px; padding: 12px 8px 10px; text-align: center; border-radius: 14px;
  font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 22px -10px rgba(0, 0, 0, .6);
}
.lc-unit span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lc-sep { padding-top: 10px; font-size: 34px; font-weight: 800; color: var(--accent-text); opacity: .7; }
.launch-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .07); }
.launch-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8b7cff, #7ee8d8); transition: width 1s linear; }
@media (max-width: 640px) {
  .launch { padding: 22px 20px 26px; justify-content: center; text-align: center; }
  .launch p { margin: 0 auto; }
  .lc-unit b { min-width: 58px; font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .launch-dot { animation: none; } .launch-bar i { transition: none; } }

/* each offer card: the launch credits, and what they become after midnight */
.plan-volume.launch { border-color: rgba(126, 232, 216, .55); box-shadow: 0 0 0 1px rgba(126, 232, 216, .18), 0 10px 30px -14px rgba(126, 232, 216, .45); }
.vol-after {
  display: flex; flex-direction: column; gap: 5px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-2);
  color: var(--ink-2); font-size: 13.5px;
}
.vol-after-tag {
  align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(126, 232, 216, .16); color: #7ee8d8;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

/* the promo code (app/promo.py): a field in the checkout window, and its own entry on the offers page */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-text); cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--ink); }
.promo-link { margin-top: 8px; }
.co-promo { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-3); padding: 12px 14px; }
.co-promo summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.co-promo[open] summary { margin-bottom: 12px; color: var(--ink); }
.co-promo input { text-transform: uppercase; letter-spacing: .06em; }
.co-promo-note { margin: 8px 0 0; font-size: 13px; color: var(--ink-3); }
.co-promo-ok { color: var(--accent-text); font-size: 14px; }
/* promo-only window: the offer, the payment and the summary give way to the code */
.checkout.promo-mode .co-hide-promo { display: none; }
.checkout.promo-mode .co-promo { border: 0; background: none; padding: 0; }
.checkout.promo-mode .co-promo summary { display: none; }
.checkout.signup-mode .co-promo { display: none; }          /* "S'inscrire": the account only, no code asked */
.checkout.signed-in .co-account { display: none; }

