:root {
  --bg: #070707;
  --bg-alt: #0d0d0d;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f4;
  --muted: #a3a3a3;
  --dim: #8a8a8a;
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Page frame: two vertical rails at the container edges, crossed by each section's top border.
   "difference" blending keeps them a soft grey on both the black and the white sections. */
body { position: relative; }
body::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; z-index: 40;
  width: min(var(--container), calc(100% - 32px)); transform: translateX(-50%);
  border-inline: 1px solid #242424;
  mix-blend-mode: difference; pointer-events: none;
}
@media (max-width: 767px) { body::before { display: none; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}
.display-sm { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.h2 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.serif-grad {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff 20%, rgba(255, 255, 255, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.08em;
}
.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 560px; }
.eyebrow { color: var(--dim); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 0.95rem/1 var(--sans);
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 14px; font-size: 0.875rem; border-radius: 10px; }
/* one size for every CTA on the page: fixed height so buttons with/without the arrow chip match */
.btn-lg { height: 48px; padding: 0 22px; font-size: 0.95rem; border-radius: 999px; }
.btn-block { width: 100%; }
/* Primary white button: glossy pill, soft white glow, rotating light ring and an arrow chip */
@property --ring-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn-light {
  position: relative; isolation: isolate;
  color: #0a0a0a; border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 55%, #dcdcdc 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -3px 8px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 10px 30px -8px rgba(255, 255, 255, 0.45),
    0 0 60px -20px rgba(255, 255, 255, 0.6);
  transition: transform .25s ease, box-shadow .25s ease;
}
/* thin light that orbits just outside the button */
.btn-light::before {
  content: ""; position: absolute; inset: -4px; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ring-angle), transparent 0 62%, rgba(255,255,255,0.9) 78%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ring-spin 4s linear infinite;
}
@keyframes ring-spin { to { --ring-angle: 360deg; } }
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -3px 8px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 14px 40px -8px rgba(255, 255, 255, 0.6),
    0 0 80px -16px rgba(255, 255, 255, 0.75);
}
/* arrow in a dark round chip */
.btn-light > span[aria-hidden] {
  display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-right: -0.55em;
  border-radius: 50%; background: #0a0a0a; color: #fff; font-size: 0.85em;
  transition: transform .25s ease;
}
.btn-light:hover > span[aria-hidden] { transform: translateX(3px); }
.btn-dark { background: #0a0a0a; color: #fff; }
.btn-dark:hover { background: #222; }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-outline:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); }
.btn-ghost { color: var(--muted); padding-inline: 10px; }
.btn-ghost:hover { color: var(--text); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--container); margin-inline: auto; padding: 18px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  position: relative;
}
.nav-logo img { height: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links > a, .nav-dd-toggle { color: var(--muted); font-size: 0.95rem; transition: color .2s; }
.nav-links > a:hover, .nav-dd-toggle:hover, .nav-dd.is-open .nav-dd-toggle { color: var(--text); }
.nav-links > a[aria-current="page"] { color: var(--text); }

/* "Outils gratuits" dropdown */
.nav-dd { position: relative; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.nav-dd-chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; }
.nav-dd.is-open .nav-dd-chev { transform: translateY(1px) rotate(-135deg); }
.nav-dd-panel {
  position: absolute; top: calc(100% + 18px); left: 50%; width: 340px; padding: 8px;
  display: grid; gap: 4px; border-radius: 16px;
  background: rgba(14,14,14,0.96); border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none; transform: translate(-50%, -6px); transition: opacity .2s ease, transform .2s ease;
}
/* invisible bridge so the panel doesn't close while the pointer travels to it */
.nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-dd.is-open .nav-dd-panel { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 768px) {
  .nav-dd:hover .nav-dd-panel, .nav-dd:focus-within .nav-dd-panel { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
  .nav-dd:hover .nav-dd-toggle { color: var(--text); }
  .nav-dd:hover .nav-dd-chev { transform: translateY(1px) rotate(-135deg); }
}
.dd-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--text); transition: background .2s; }
a.dd-item:hover { background: rgba(255,255,255,0.06); }
.dd-item.is-soon { opacity: 0.5; cursor: default; }
.dd-ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); }
.dd-ic svg { width: 18px; height: 18px; }
.dd-txt { display: grid; gap: 2px; }
.dd-txt b { font-weight: 500; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 8px; }
.dd-txt b em { font-style: normal; font-size: 0.68rem; font-weight: 500; padding: 1px 7px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); }
.dd-txt small { font-size: 0.8rem; color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.nav-mobile-accounts {
  display: flex; align-items: center; gap: 8px;
  position: fixed;
  right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  top: calc(18px + env(safe-area-inset-top, 0px));
}
.nav-mobile-accounts .btn-outline {
  border-color: transparent; background: transparent; box-shadow: none; color: var(--muted); padding-inline: 10px;
}
@media (min-width: 992px) {
  .nav-mobile-accounts { gap: 16px; }
  .nav-mobile-accounts .btn { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
  .nav-mobile-accounts .btn-outline { border-color: transparent; background: transparent; box-shadow: none; color: var(--text); }
}
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.03);
}
.lang-switch a {
  display: grid; place-items: center; min-width: 32px; height: 28px; padding-inline: 8px;
  border-radius: 999px; color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  transition: color .2s ease, background .2s ease;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="page"] { color: #0a0a0a; background: #fff; }
.nav-actions > .lang-switch { display: none; }
.lang-switch-mobile {
  display: inline-flex;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  background: rgba(14,14,14,0.92);
  border-color: var(--line-strong);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .25s ease, top .25s ease; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav.is-open .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Backgrounds ---------- */
/* Grid background image (lines + crosshairs, fade to transparent baked into the image) */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  /* sized to the page width so the baked-in fade is visible on every side */
  background: url("assets/grilles.webp") no-repeat center top / max(1280px, 100%) auto;
}
@media (max-width: 767px) { .grid-bg { background-size: 900px auto; } }
.hero .grid-bg:not(.grid-spot) { opacity: 0.3; }
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px); }
.glow-hero { width: 620px; height: 420px; left: 50%; top: 42%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,255,255,0.07), transparent); }
.glow-cta { width: 720px; height: 360px; left: 50%; bottom: -160px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,255,255,0.08), transparent); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 40px; overflow: hidden; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.06);
  font-size: 0.85rem; color: #e5e5e5;
}
.meta-partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
}
@media (min-width: 768px) {
  .meta-partner-badge { width: 8px; }
}
.meta-partner-badge img {
  display: block;
  width: 100%;
  height: auto;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.6); }
.hero .lead { margin-inline: auto; max-width: none; }
@media (min-width: 768px) { .hero .lead { white-space: nowrap; } }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.product-frame {
  position: relative; margin: 72px auto 0; max-width: 1120px;
  border-radius: 18px; padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -30px rgba(255,255,255,0.08), 0 30px 80px rgba(0,0,0,0.6);
}
.product-frame img { border-radius: 10px; width: 100%; height: auto; }
.frame-bar { display: flex; gap: 6px; padding: 4px 6px 10px; }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.product-frame::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 35%;
  background: linear-gradient(transparent, var(--bg)); border-radius: 0 0 18px 18px; pointer-events: none;
}

/* ---------- Hero animations ---------- */
/* 1. headline: each word fades in from a blur, staggered */
.hero-title .w {
  display: inline-block;
  animation: word-in 0.9s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: calc(var(--i) * 70ms + 120ms);
}
@keyframes word-in {
  from { opacity: 0; filter: blur(12px); transform: translateY(0.3em); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
/* 2. serif words with a light sweep passing over them */
.shine-words .w {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em;
  padding-right: 0.06em;
  background:
    linear-gradient(100deg, transparent 38%, rgba(255,255,255,0.95) 50%, transparent 62%) no-repeat,
    linear-gradient(120deg, #fff 20%, rgba(255,255,255,0.38));
  background-size: 250% 100%, 100% 100%;
  background-position: 160% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation:
    word-in 0.9s cubic-bezier(.2,.7,.2,1) both calc(var(--i) * 70ms + 120ms),
    shine 5s ease-in-out 1.8s infinite;
}
@keyframes shine {
  0% { background-position: 160% 0, 0 0; }
  35%, 100% { background-position: -60% 0, 0 0; }
}
/* 3. brighter copy of the grid, revealed around the cursor */
.grid-spot {
  opacity: 0; transition: opacity .4s ease;
  -webkit-mask-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 30%), #000 0%, transparent 70%);
  mask-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 30%), #000 0%, transparent 70%);
}
.hero.is-pointer .grid-spot { opacity: 1; }
/* 4. product shot starts tilted back and straightens while scrolling (--tilt: 1 → 0, set in JS) */
.product-frame {
  transform-origin: 50% 0;
  transform: perspective(1400px) rotateX(calc(var(--tilt, 1) * 18deg)) scale(calc(1 - var(--tilt, 1) * 0.06));
  animation: frame-in 1.2s ease 0.5s both;
  will-change: transform;
}
@keyframes frame-in { from { opacity: 0; } to { opacity: 1; } }

/* Hero proof chips */
.proof-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.proof-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px;
  font-size: 0.85rem; color: var(--text);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
}
.pc-ic { width: 15px; height: 15px; flex-shrink: 0; color: #fff; }
@media (max-width: 767px) {
  .proof-chips li { padding: 6px 12px; font-size: 0.8rem; gap: 7px; }
  .pc-ic { width: 14px; height: 14px; }
}

/* Floating annotations on the product screenshot */
.annot {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 99px; font-size: 0.8rem; font-weight: 500; white-space: nowrap;
  background: rgba(10,10,10,0.82); color: #fff; border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  animation: annot-float 6s ease-in-out infinite;
}
.annot-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
.annot-1 { left: 13%; top: 40%; }
.annot-2 { right: 3%; top: 36%; animation-delay: -2s; }
.annot-3 { left: 40%; top: 13%; animation-delay: -4s; }
@keyframes annot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }


/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: 64px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 28px;
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), #0c0c0c);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s ease;
}
.card:hover { border-color: var(--line-strong); }
.card-full { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; padding: 32px; }
.card-full .mock { margin-top: 0; }
/* Feature visuals are 1920×1080: every visual slot (HTML mock or final image/video) is a 16:9 box */
@media (min-width: 768px) {
  .card-full .mock {
    aspect-ratio: 16 / 9; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; gap: 12px;
  }
  .card-full .mock .chips { margin-bottom: 0; }
  .card-full .mock > * { flex-shrink: 0; }
  /* the Bulk mock is the densest: tighten it so it fits the 16:9 frame */
  .card-full .mock-bulk { gap: 8px; padding: 14px 16px; }
  .card-full .mock-bulk .bulk-row { padding: 6px 12px; }
  .card-full .mock-bulk .bulk-copy { padding: 8px 12px; gap: 4px; }
  .card-full .mock-bulk .up-toggle { padding-top: 8px; margin-top: 0; }
  .card-full .mock-bulk .bulk-cta, .card-full .mock-bulk .copy-count { display: none; }
}
/* the three feature cards share one height (the tallest) and one visual width */
@media (min-width: 992px) {
  .bento { grid-auto-rows: 1fr; }
  .card-full .mock, .card-full .feature-media { width: 100%; }
}
.card-reverse { grid-template-columns: 7fr 5fr; }
.card-reverse .card-copy { order: 2; }
/* mid-size screens: give the 16:9 visual more room so its content still fits */
@media (min-width: 992px) and (max-width: 1199px) {
  .card-full { grid-template-columns: 4fr 8fr; gap: 36px; }
  .card-reverse { grid-template-columns: 8fr 4fr; }
}
.card-kicker { display: inline-block; font-size: 0.75rem; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); margin-bottom: 16px; }
.card h3.card-title-lg { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.feature-points { display: grid; margin-top: 20px; border-top: 1px solid var(--line); }
.fp {
  display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; text-align: left;
  width: 100%; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line);
  font: inherit; font-size: 0.92rem; color: inherit; cursor: pointer;
  opacity: 0.45; transition: opacity .3s ease;
}
.fp:hover { opacity: 0.75; }
.fp.is-active { opacity: 1; }
.fp::before {
  content: "✓"; grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.65rem; background: var(--accent-soft); border: 1px solid var(--line-strong); color: var(--text); margin-top: 1px;
}
.fp.is-active::before { background: #fff; color: #0a0a0a; border-color: #fff; }
.fp b { font-weight: 500; color: var(--text); }
.fp span {
  color: var(--muted);
  /* only the active tab shows its description: keeps the card compact */
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .4s ease, opacity .3s ease, margin-top .4s ease;
}
.fp.is-active span { max-height: 5em; opacity: 1; margin-top: 4px; }
/* progress bar showing the auto-rotation */
.fp { position: relative; }
.fp.is-active::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: #fff; transform-origin: left; animation: fp-progress var(--fp-duration, 5s) linear forwards;
}
.fp.is-paused::after { animation: none; }
@keyframes fp-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Feature mocks spotlight: the part matching the active tab stays lit (.is-lit, set in JS), the rest dims */
.mock [data-part] { transition: opacity .35s ease, box-shadow .35s ease; }
.mock[data-active] [data-part]:not(.is-lit) { opacity: 0.3; }
.mock-bulk .up-toggle.is-lit { border-radius: 10px; box-shadow: 0 0 0 1px var(--line-strong); padding: 12px; }
.card h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card p b { color: var(--text); font-weight: 500; }
.mock { margin-top: auto; border-radius: 12px; border: 1px solid var(--line); background: #0a0a0a; padding: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { font-size: 0.75rem; padding: 5px 9px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); color: #d4d4d4; }
.chip-add { background: transparent; border-style: dashed; color: var(--dim); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-ad { position: relative; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.mini-thumb { height: 110px; }
.t1 { background: linear-gradient(135deg, #2a2a2a, #6b6b6b 60%, #d4d4d4); }
.t2 { background: linear-gradient(135deg, #1a1a1a, #3d3d3d 60%, #707070); }
.t3 { background: linear-gradient(160deg, #3a3a3a, #8a8a8a 60%, #ededed); }
.mini-row { display: flex; justify-content: space-between; padding: 8px 10px; font-size: 0.75rem; color: var(--muted); }
.mini-row b { color: var(--text); font-weight: 500; }
.tag { position: absolute; top: 8px; left: 8px; font-size: 0.66rem; padding: 3px 7px; border-radius: 6px; font-weight: 500; }
.tag-top { background: rgba(0,0,0,0.7); color: #fff; }
.tag-fat { background: #fff; color: #0a0a0a; }



.mock-bulk { display: grid; gap: 14px; padding: 20px; }
.bulk-label { font-size: 0.72rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.05em; }
.bulk-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tokens { font-size: 0.78rem; color: var(--dim); }
.tokens i { font-style: normal; color: var(--text); padding: 2px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); margin-inline: 1px; }
.bulk-table { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.bulk-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.4fr) auto; align-items: center; gap: 12px; padding: 10px 12px; font-size: 0.78rem; }
.bulk-row + .bulk-row { border-top: 1px solid var(--line); }
.bulk-row .file { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bulk-row .arrow { color: var(--dim); }
.bulk-row .name { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bulk-row .status { font-size: 0.7rem; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); }
.bulk-copy { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.copy-lines { display: grid; gap: 6px; }
.copy-line { font-size: 0.8rem; color: #e5e5e5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-line em { font-style: normal; color: var(--dim); margin-right: 8px; }
.copy-count { font-size: 0.72rem; color: var(--muted); }
.toggle-off { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.bulk-cta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--muted); }
.up-toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); }
.switch { flex-shrink: 0; width: 30px; height: 18px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-strong); position: relative; }
.switch i { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--dim); }

.mock-comments { display: grid; gap: 8px; }
.cm-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.8rem; }
.cm-text { color: #e5e5e5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-tag { font-size: 0.7rem; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); }
.cm-act { font-size: 0.72rem; padding: 4px 10px; border-radius: 7px; background: #fff; color: #0a0a0a; font-weight: 500; }
.cm-row.is-hidden .cm-text { color: var(--dim); text-decoration: line-through; }
.cm-row.is-hidden .cm-act { background: transparent; color: var(--dim); border: 1px solid var(--line); }

/* Feature visuals: the supplied product screenshots use an approximately 2:1 viewport. */
.feature-media {
  width: 100%; aspect-ratio: 2 / 1; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #0a0a0a;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.feature-media img, .feature-media video { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-card { border-radius: 20px; border: 1px solid var(--line); background: #0a0a0a; overflow: hidden; display: flex; flex-direction: column; }
.compare-card.after {
  border-color: transparent;
  background:
    linear-gradient(#0c0c0c, #0c0c0c) padding-box,
    linear-gradient(140deg, rgba(255,255,255,0.55), rgba(255,255,255,0.06) 45%, rgba(255,255,255,0.25)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -40px rgba(255,255,255,0.12);
}
.compare-top { position: relative; height: 220px; border-bottom: 1px solid var(--line); overflow: hidden; }
.float {
  position: absolute; font-size: 0.8rem; padding: 7px 12px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4); white-space: nowrap;
}
.f1 { top: 64px; left: 8%; transform: rotate(-4deg); }
.f2 { top: 60px; right: 6%; transform: rotate(3deg); }
.f3 { top: 118px; left: 16%; transform: rotate(2deg); }
.f4 { bottom: 26px; left: 4%; transform: rotate(-3deg); opacity: .55; }
.f5 { bottom: 34px; right: 9%; transform: rotate(4deg); opacity: .7; }

.orbit-wrap { display: flex; align-items: center; justify-content: center; padding-inline: 12px; }
.flow { position: relative; width: 380px; max-width: 100%; aspect-ratio: 380 / 200; }
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-track { fill: none; stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.flow-dash { fill: none; stroke: rgba(255,255,255,0.55); stroke-width: 1.2; stroke-dasharray: 4 14; stroke-linecap: round; animation: flow-dash 1.6s linear infinite; }
@keyframes flow-dash { to { stroke-dashoffset: -18; } }
.orbit-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, #1f1f1f, #0a0a0a);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 50px rgba(255,255,255,0.1);
}
.orbit-core img { width: 46px; }
.node {
  position: absolute; transform: translate(-50%, -50%);
  font-size: 0.75rem; padding: 5px 11px; border-radius: 99px; white-space: nowrap;
  border: 1px solid var(--line-strong); background: #111; color: #e5e5e5;
  display: inline-flex; align-items: center; gap: 6px;
  animation: node-pulse 2.4s ease-out infinite;
}
.node::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
/* split layout (380×200 viewBox): logo at x=70, branches end at x=250 on y=38 / 100 / 162 */
.flow-split .orbit-core { left: 18.42%; border-radius: 16px; overflow: hidden; background: #0a0a0a; }
.flow-split .orbit-core img { width: 100%; height: 100%; object-fit: cover; }
.flow-split-dot { fill: #fff; opacity: 0.7; }
.flow-split .node { transform: translate(-13px, -50%); }  /* puts the label's dot on the wire's end */
.n-a { left: 65.79%; top: 19%; animation-delay: 0s; }
.n-b { left: 65.79%; top: 50%; animation-delay: 0.8s; }
.n-c { left: 65.79%; top: 81%; animation-delay: 1.6s; }
/* each label lights up when a particle reaches it (same 2.4s period as the particles) */
@keyframes node-pulse {
  0% { border-color: rgba(255,255,255,0.75); box-shadow: 0 0 18px rgba(255,255,255,0.2); color: #fff; }
  35%, 100% { border-color: var(--line-strong); box-shadow: none; }
}

.compare-body { padding: 28px; }
.compare-label {
  display: inline-flex; align-items: center; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); margin-bottom: 18px;
}
.compare-label.accent { color: var(--accent); border-color: rgba(255,255,255,0.4); background: var(--accent-soft); }
/* label pinned in the top-left corner of the illustration */
.label-ic { position: relative; display: inline-block; width: 9px; height: 9px; margin-right: 8px; vertical-align: -0.02em; font-size: 0; color: #e5484d; }
.compare-card { position: relative; }
.compare-corner { position: absolute; top: 16px; left: 16px; z-index: 2; margin: 0; background: var(--surface-2); }
.compare-corner.accent { background: rgba(255,255,255,0.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.compare-body li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: #d4d4d4; }
.compare-body li:last-child { border-bottom: 0; }
.before .compare-body li { color: var(--muted); }
.ic { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; margin-top: 2px; }
.ic-x { position: relative; font-size: 0; background: rgba(229, 72, 77, 0.1); color: #e5484d; border: 1px solid rgba(229, 72, 77, 0.3); }
/* crosses drawn with two bars so they sit exactly in the centre (a "×" glyph never does) */
.ic-x::before, .ic-x::after, .label-ic::before, .label-ic::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.6px; border-radius: 1px;
  background: currentColor; transform: translate(-50%, -50%) rotate(45deg);
}
.ic-x::after, .label-ic::after { transform: translate(-50%, -50%) rotate(-45deg); }
.label-ic::before, .label-ic::after { width: 10px; }
.ic-ok { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(255,255,255,0.3); }

/* ---------- Pricing ---------- */
.billing {
  display: flex; width: fit-content; margin: -24px auto 40px; padding: 4px; gap: 4px;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
}
.billing-btn {
  font: 500 0.9rem var(--sans); color: var(--muted); background: none; border: 0;
  padding: 9px 16px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, color .2s;
}
.billing-btn.is-active { background: #fff; color: #0a0a0a; }
.save { font-size: 0.72rem; padding: 2px 7px; border-radius: 99px; background: var(--accent); color: #111; }
.billing-btn.is-active .save { background: #0a0a0a; color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 32px; border-radius: 18px;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,0.06), transparent 60%), var(--surface);
  border: 1px solid var(--line-strong);
}
.plan-name { font-size: 1.05rem; font-weight: 500; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; }
.amount { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.per { color: var(--dim); }
.plan-desc { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.plan-features { display: grid; gap: 0; margin-top: 6px; }
.plan-features li { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.92rem; color: #d4d4d4; }
.plan-features li::before {
  content: "✓"; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.65rem; background: var(--accent-soft); color: var(--accent);
}
.plan-featured { background: #fff; color: #0a0a0a; border-color: #fff; box-shadow: 0 30px 80px -30px rgba(255,255,255,0.15); }
.plan-featured .plan-name, .plan-featured .plan-desc, .plan-featured .per { color: #525252; }
.plan-featured .plan-features li { color: #262626; border-top-color: #e5e5e5; }
.plan-featured .plan-features li::before { background: #0a0a0a; color: #fff; }
.badge { position: absolute; top: 28px; right: 28px; font-size: 0.75rem; font-weight: 500; padding: 4px 12px; border-radius: 99px; background: #0a0a0a; color: #fff; }
.amount.flip { animation: flip .35s ease; }
@keyframes flip { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.billing-note { text-align: center; color: var(--dim); font-size: 0.8rem; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; position: sticky; top: 110px; }
.faq-head .btn { margin-top: 8px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 1.1rem; font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--muted); font-weight: 400; transition: transform .25s ease, background .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--surface-2); }
.faq-list details p { color: var(--muted); padding: 0 40px 24px 0; }

/* FAQ on white */
.section-light {
  border-radius: 32px;
  margin-inline: 8px;

  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.18);
  --text: #0a0a0a;
  --muted: #525252;
  --dim: #6b6b6b;
  --surface-2: #f2f2f2;
  background: #fff; color: var(--text);
}
.section-light .serif-grad { background-image: linear-gradient(120deg, #0a0a0a 20%, rgba(10, 10, 10, 0.4)); }
.section-light .btn-outline { background: transparent; }
.section-light .btn-outline:hover { border-color: rgba(0, 0, 0, 0.45); background: #f5f5f5; }
.section-light :focus-visible { outline-color: #0a0a0a; }

/* Workflow on white: light "before", dark "after" */
.section-light .compare-card.before { background: #fafafa; }
.section-light .float { background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06); }
.section-light .compare-card.after {
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f4;
  --muted: #a3a3a3;
  --dim: #8a8a8a;
  --surface-2: #1a1a1a;
  color: var(--text);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.45);
}

/* ---------- CTA ---------- */
.cta { padding: 96px 0; overflow: hidden; }
.cta .grid-bg { background-position: center center; opacity: 0.25; }
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* ---------- Free tool page (TikTok comments export) ---------- */
.tool-hero { padding-bottom: 80px; }
.tool-hero .display-sm { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
.tool-form { width: 100%; max-width: 640px; }
.tool-field {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px;
  border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong);
  transition: border-color .2s, box-shadow .2s;
}
.tool-field:focus-within { border-color: rgba(255,255,255,0.45); box-shadow: 0 0 0 4px rgba(255,255,255,0.06); }
.tool-field.is-error { border-color: rgba(229, 72, 77, 0.7); }
.tool-field-ic { display: grid; color: var(--muted); }
.tool-field-ic svg { width: 18px; height: 18px; }
.tool-field input {
  flex: 1; min-width: 0; height: 44px; background: none; border: 0; outline: none;
  font: inherit; font-size: 0.98rem; color: var(--text);
}
.tool-field input::placeholder { color: var(--dim); }
.tool-msg { min-height: 1.4em; margin-top: 10px; font-size: 0.88rem; color: var(--muted); }
.tool-msg.is-error { color: #e5484d; }
.proof-chips li svg { width: 15px; height: 15px; flex-shrink: 0; }

.tool-preview {
  max-width: 980px; margin: 64px auto 0; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #0c0c0c; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8);
}
.tool-preview-bar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.tp-file { font-weight: 500; }
.tp-count { color: var(--muted); }
.tp-table-wrap { overflow-x: auto; }
.tp-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 640px; }
.tp-table th { text-align: left; font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dim); padding: 12px 20px; border-bottom: 1px solid var(--line); }
.tp-table td { padding: 13px 20px; border-bottom: 1px solid var(--line); color: #d4d4d4; white-space: nowrap; }
.tp-table td:nth-child(2) { white-space: normal; color: var(--text); }
.tp-table td:nth-child(3), .tp-table td:nth-child(4) { font-variant-numeric: tabular-nums; }
.tp-table tr:last-child td { border-bottom: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), #0c0c0c); }
.step-n { display: inline-block; font-size: 0.8rem; color: var(--muted); padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-strong); margin-bottom: 20px; }
.step h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fafafa; }
.use-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #0a0a0a; color: #fff; margin-bottom: 20px; }
.use-ic svg { width: 20px; height: 20px; }
.use h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.use p { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 991px) {
  .steps, .uses { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .tool-field { flex-wrap: wrap; border-radius: 20px; padding: 10px; }
  .tool-field input { flex-basis: calc(100% - 40px); }
  .tool-field .btn { width: 100%; }
  .tool-preview { margin-top: 44px; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand > p { color: var(--muted); font-size: 0.92rem; max-width: 300px; }
.partner-badge {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 8px 14px 8px 10px; border-radius: 99px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03);
  font-size: 0.85rem; font-weight: 500; color: var(--text);
}
.partner-logo { width: 20px; height: 20px; flex-shrink: 0; color: #fff; }
.footer .eyebrow { margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 0.93rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .flow-dash, .node, .annot, .fp.is-active::after, .btn-light::before { animation: none; }
  .hero-title .w, .shine-words .w, .product-frame { animation: none; }
  .product-frame { transform: none; }
  .flow-particles { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card-full, .card-reverse { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .annot-3 { display: none; }
  .card-reverse .card-copy { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 767px) {
  .nav-inner { display: flex; gap: 12px; padding-block: 14px; }
  .nav-toggle { display: block; }
  .nav-actions > .btn { display: none; }
  .nav-logo { margin-right: auto; flex: 0 0 auto; }
  .nav-logo img { width: 132px; max-width: none; }
  .lang-switch-mobile {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .lang-switch-mobile a { min-width: 29px; height: 26px; padding-inline: 6px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(7,7,7,0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s;
  }
  .nav-links > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .nav-mobile-accounts { display: grid; grid-template-columns: 1fr; gap: 10px; padding-top: 14px; position: static; transform: none; }
  .nav-mobile-accounts .btn { width: 100%; min-height: 42px; }
  .nav-mobile-accounts .btn-outline { border-color: transparent; background: transparent; box-shadow: none; color: var(--text); }
  /* in the mobile menu the dropdown becomes an inline sub-list */
  .nav-dd { border-bottom: 1px solid var(--line); }
  .nav-dd-toggle { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1.05rem; color: var(--text); }
  .nav-dd-panel { position: static; width: auto; transform: none; opacity: 1; pointer-events: auto; display: none; margin: 0 0 12px; background: rgba(255,255,255,0.03); box-shadow: none; }
  .nav-dd.is-open .nav-dd-panel { display: grid; transform: none; }
  .nav-dd-panel::before { display: none; }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav.is-open { background: rgba(7,7,7,0.96); }
  .nav-logo { margin-right: auto; }

  .hero { padding-top: 128px; }
  .product-frame { margin-top: 48px; padding: 6px; border-radius: 12px; }
  .frame-bar { display: none; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .bento, .compare { grid-template-columns: 1fr; }
  .card-full { grid-column: auto; padding: 24px; }
  .annot { display: none; }
  .section-light { border-radius: 20px; margin-inline: 4px; }
  .bulk-row { grid-template-columns: minmax(0, 1fr) auto; }
  .bulk-row .file, .bulk-row .arrow { display: none; }
  .mini-thumb { height: 80px; }
  .float { font-size: 0.72rem; }
  /* narrower card: restack the bubbles under the corner label */
  .f1 { top: 60px; left: 5%; }
  .f2 { top: 102px; right: 5%; }
  .f3 { top: 138px; left: 4%; }
  .f4 { display: none; }
  .f5 { bottom: 6px; right: 4%; }
  .plan { padding: 26px; }
  .cta { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .node { font-size: 0.68rem; padding: 4px 9px; gap: 5px; }
  .flow-split { transform: translateX(-34px); }  /* room for the longest label on the right */
  .flow-split .orbit-core { width: 48px; height: 48px; border-radius: 12px; }
  .container { padding-inline: 16px; }
  .nav-inner { padding-inline: 16px; }
  .hero-ctas .btn { width: 100%; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .mini-grid .mini-ad:nth-child(3) { display: none; }
  .cm-tag { display: none; }
  .billing-btn { padding: 9px 12px; }
}
