/* =========================================================================
   eventcrew — Marketing-Website · "Backstage Ops"
   Ink / Paper / Hi-Vis-Lime · Bricolage Grotesque + Manrope (self-hosted)
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0c0d0f;
  --ink-800:    #16181c;
  --ink-700:    #1d2025;
  --ink-600:    #272b31;
  --ink-500:    #33383f;
  --paper:      #f3f3ef;
  --paper-2:    #e8e8e1;
  --lime:       #cdfb3d;
  --lime-deep:  #b6e625;
  --muted:      #8b8f96;
  --muted-2:    #b7bbc1;
  --line:       rgba(255,255,255,.10);
  --line-ink:   rgba(12,13,15,.12);

  --maxw: 1200px;
  --radius: 1.25rem;
  --radius-sm: .7rem;

  --shadow-lift: 0 18px 40px -18px rgba(0,0,0,.55);
  --shadow-glow: 0 0 0 1px rgba(205,251,61,.4), 0 0 40px -10px rgba(205,251,61,.45);

  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; margin: 0; }
p { margin: 0; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.center { text-align: center; }
.grid-dots {
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 22px 22px;
}
.on-paper .grid-dots,
.grid-dots--ink {
  background-image: radial-gradient(rgba(12,13,15,.07) 1px, transparent 1px);
}

/* Section theming */
.on-paper { background: var(--paper); color: var(--ink); }
.on-paper h1, .on-paper h2, .on-paper h3, .on-paper h4 { color: var(--ink); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink-800 { background: var(--ink-800); }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-sans); font-weight: 700;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lime-deep);
}
.on-ink .kicker { color: var(--lime); }
.kicker::before {
  content: ""; width: 1.7rem; height: 2px; background: currentColor; display: inline-block; opacity: .8;
}
.kicker--plain::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .98rem; letter-spacing: -.01em;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--lime); color: var(--ink); box-shadow: var(--shadow-glow); }
.btn--primary:hover { background: #d7ff5c; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.on-paper .btn--ghost { color: var(--ink); border-color: var(--line-ink); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.on-paper .btn--ghost:hover { color: var(--ink); border-color: var(--ink); background: rgba(12,13,15,.04); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-700); transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* Link with arrow */
.tlink { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--lime-deep); }
.on-ink .tlink { color: var(--lime); }
.tlink svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,13,15,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; color: var(--paper); }
.brand__mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); font-weight: 800; font-size: 1.1rem; flex: none;
  box-shadow: 0 0 0 1px rgba(205,251,61,.35), 0 6px 16px -6px rgba(205,251,61,.5);
}
.brand__mark svg { width: 20px; height: 20px; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a { font-weight: 600; font-size: .96rem; color: var(--muted-2); transition: color .18s var(--ease); position: relative; }
.nav__links a:hover, .nav__links a.is-active { color: var(--paper); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--lime); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: .7rem; }
.nav__toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--paper); align-items: center; justify-content: center; }
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav__links, .nav__cta .btn:not(.btn--keep) { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 380px) {
  .nav__cta .btn--keep { padding-inline: 1rem; font-size: .9rem; }
}

/* Mobile drawer */
.mnav {
  position: fixed; inset: 0; z-index: 60; background: var(--ink);
  transform: translateY(-100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; padding: 1.1rem;
  visibility: hidden;
}
.mnav.is-open { transform: translateY(0); visibility: visible; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.mnav__links { display: flex; flex-direction: column; gap: .3rem; margin-top: 1.5rem; }
.mnav__links a { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; letter-spacing: -.02em; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.mnav__cta { margin-top: auto; display: grid; gap: .7rem; padding-block: 1.4rem; }
.mnav__close { background: transparent; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--paper); display: grid; place-items: center; }
.mnav__close svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(205,251,61,.16), transparent 60%),
    radial-gradient(50% 50% at 8% 100%, rgba(205,251,61,.07), transparent 60%);
}
.hero__grid { position: absolute; inset: 0; z-index: 0; opacity: .6; mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.hero .wrap { position: relative; z-index: 1; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 940px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .4rem .4rem .9rem;
  border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--muted-2);
  background: rgba(255,255,255,.02);
}
.hero__badge b { color: var(--paper); }
.hero__badge .pill { background: var(--lime); color: var(--ink); font-weight: 800; font-size: .72rem; padding: .2rem .6rem; border-radius: 999px; letter-spacing: .02em; }

.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.7rem); font-weight: 800; margin-top: 1.5rem; }
.hero h1 .hl { color: var(--lime); position: relative; white-space: nowrap; }
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted-2); max-width: 34ch; line-height: 1.55; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__note { margin-top: 1.1rem; font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.hero__note svg { width: 1.05em; height: 1.05em; color: var(--lime); }

/* Hero fill-in staggered reveal */
.reveal-hero > * { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
.reveal-hero > *:nth-child(1){ animation-delay: .05s; }
.reveal-hero > *:nth-child(2){ animation-delay: .14s; }
.reveal-hero > *:nth-child(3){ animation-delay: .23s; }
.reveal-hero > *:nth-child(4){ animation-delay: .32s; }
.reveal-hero > *:nth-child(5){ animation-delay: .41s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero mockup: shift board ---------- */
.board {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-700));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(.98); animation: rise .8s var(--ease) .3s forwards;
}
.board__bar { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.board__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-500); }
.board__dot:nth-child(1){ background: #ff5f57; } .board__dot:nth-child(2){ background: #febc2e; } .board__dot:nth-child(3){ background: #28c840; }
.board__title { margin-left: .6rem; font-size: .82rem; font-weight: 700; color: var(--muted-2); }
.board__live { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.board__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(205,251,61,.6); animation: ping 1.8s infinite; }
@keyframes ping { 0%{ box-shadow: 0 0 0 0 rgba(205,251,61,.55);} 70%{ box-shadow: 0 0 0 8px rgba(205,251,61,0);} 100%{ box-shadow: 0 0 0 0 rgba(205,251,61,0);} }
.board__body { padding: 1rem; display: grid; gap: .6rem; }
.shift {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem;
  padding: .8rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  opacity: 0; transform: translateX(-8px); animation: slidein .5s var(--ease) forwards;
}
.shift:nth-child(1){ animation-delay: .7s; } .shift:nth-child(2){ animation-delay: .85s; }
.shift:nth-child(3){ animation-delay: 1s; } .shift:nth-child(4){ animation-delay: 1.15s; }
@keyframes slidein { to { opacity: 1; transform: translateX(0); } }
.shift__time { font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--paper); background: var(--ink-600); border-radius: 8px; padding: .35rem .5rem; text-align: center; min-width: 58px; }
.shift__role { font-weight: 700; font-size: .95rem; }
.shift__role span { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }
.shift__fill { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; }
.cap { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 800; }
.cap--full { background: rgba(205,251,61,.16); color: var(--lime); }
.cap--part { background: rgba(254,188,46,.14); color: #f0b429; }
.cap--open { background: rgba(255,95,87,.14); color: #ff8079; }
.avatars { display: flex; }
.avatars i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink-700); margin-left: -7px; display: inline-block; background: linear-gradient(135deg, var(--ink-500), var(--ink-600)); }
.avatars i:first-child { margin-left: 0; }
.avatars i.on { background: linear-gradient(135deg, var(--lime), var(--lime-deep)); }
.board__foot { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.board__foot b { color: var(--lime); }

/* Floating stat chips around board */
.hero__stack { position: relative; }
.chip-float {
  position: absolute; background: var(--paper); color: var(--ink); border-radius: 14px; padding: .7rem .9rem;
  box-shadow: var(--shadow-lift); font-size: .8rem; font-weight: 700; display: flex; align-items: center; gap: .55rem;
  opacity: 0; animation: rise .6s var(--ease) forwards;
}
.chip-float small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }
.chip-float .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; }
.chip-float .ic svg { width: 17px; height: 17px; }
.chip-float--a { top: -18px; right: -14px; animation-delay: 1.3s; }
.chip-float--b { bottom: -20px; left: -18px; animation-delay: 1.5s; }
@media (max-width: 560px) { .chip-float { display: none; } }

/* ---------- Marquee / trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: var(--ink-800); }
.trust__inner { display: flex; align-items: center; gap: clamp(1.5rem,5vw,3.5rem); flex-wrap: wrap; justify-content: center; padding-block: 1.6rem; }
.trust__label { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.trust__stats { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 4vw, 3rem); }
.tstat { text-align: center; }
.tstat b { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--paper); display: block; letter-spacing: -.02em; }
.tstat b .u { color: var(--lime); }
.tstat span { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* ---------- Section head ---------- */
.shead { max-width: 40rem; }
.shead--center { margin-inline: auto; text-align: center; }
.shead h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin-top: 1rem; }
.shead p { margin-top: 1.1rem; font-size: 1.12rem; color: var(--muted); }
.on-ink .shead p { color: var(--muted-2); }

/* ---------- Problem / Solution split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 1.6rem); margin-top: 3rem; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.panel { border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); border: 1px solid var(--line-ink); }
.panel--bad { background: #fff; }
.panel--good { background: var(--ink); color: var(--paper); border-color: var(--line); position: relative; overflow: hidden; }
.panel--good::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 90% 0%, rgba(205,251,61,.14), transparent 60%); pointer-events: none; }
.panel__tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; }
.panel--bad .panel__tag { background: rgba(255,95,87,.12); color: #d64039; }
.panel--good .panel__tag { background: rgba(205,251,61,.16); color: var(--lime); }
.panel h3 { font-size: 1.35rem; margin-top: 1rem; }
.panel--good h3 { color: var(--paper); }
.checklist { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .85rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: .98rem; }
.checklist .ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; margin-top: 1px; }
.checklist .ic svg { width: 14px; height: 14px; }
.panel--bad .ic { background: rgba(255,95,87,.12); color: #d64039; }
.panel--bad li { color: #55585e; }
.panel--good .ic { background: var(--lime); color: var(--ink); }
.panel--good li { color: var(--muted-2); }
.panel--good li b { color: var(--paper); font-weight: 700; }

/* ---------- Feature tabs ---------- */
.ftabs { margin-top: 3rem; }
.ftabs__nav { display: flex; flex-wrap: wrap; gap: .6rem; }
.ftab-btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line-ink); background: transparent; color: var(--ink); font-weight: 700; font-size: .92rem;
  transition: all .2s var(--ease);
}
.on-ink .ftab-btn { border-color: var(--line); color: var(--muted-2); }
.ftab-btn svg { width: 1.05em; height: 1.05em; }
.ftab-btn:hover { border-color: var(--ink); }
.on-ink .ftab-btn:hover { border-color: var(--muted); color: var(--paper); }
.ftab-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-ink .ftab-btn.is-active { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.ftabs__panels { margin-top: 1.8rem; }
.ftab-panel { display: none; }
.ftab-panel.is-active { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.4rem, 3vw, 3rem); align-items: center; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }
@media (max-width: 860px) { .ftab-panel.is-active { grid-template-columns: 1fr; } }
.ftab-panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-top: .8rem; }
.ftab-panel p { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.on-ink .ftab-panel p { color: var(--muted-2); }
.ftab-panel ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.ftab-panel li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; font-weight: 600; font-size: .98rem; }
.ftab-panel li svg { width: 18px; height: 18px; color: var(--lime-deep); margin-top: 3px; }
.on-ink .ftab-panel li svg { color: var(--lime); }
.ftab-visual {
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, var(--ink-800), var(--ink-700)); box-shadow: var(--shadow-lift);
  aspect-ratio: 4/3.2; position: relative;
}

/* ---------- Feature grid (cards) ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
@media (max-width: 920px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fgrid { grid-template-columns: 1fr; } }
.fcard {
  border-radius: var(--radius); border: 1px solid var(--line); padding: 1.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); position: relative; overflow: hidden;
}
.on-paper .fcard { border-color: var(--line-ink); background: #fff; box-shadow: 0 1px 0 rgba(12,13,15,.03); }
.fcard:hover { transform: translateY(-4px); border-color: rgba(205,251,61,.5); box-shadow: var(--shadow-glow); }
.on-paper .fcard:hover { box-shadow: var(--shadow-lift); }
.fcard__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.fcard__ic svg { width: 24px; height: 24px; }
.fcard h3 { font-size: 1.22rem; margin-top: 1.1rem; }
.fcard p { margin-top: .6rem; color: var(--muted); font-size: .96rem; }
.on-ink .fcard p { color: var(--muted-2); }
.fcard__no { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink-500); }
.on-paper .fcard__no { color: var(--paper-2); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 3rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: var(--ink); background: var(--lime); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
}
.step h3 { font-size: 1.15rem; margin-top: .3rem; }
.step p { margin-top: .55rem; color: var(--muted); font-size: .96rem; }
.on-ink .step p { color: var(--muted-2); }
.step__line { position: absolute; top: 20px; left: 52px; right: -.55rem; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-500) 0 6px, transparent 6px 12px); }
.step:last-child .step__line { display: none; }
@media (max-width: 860px) { .step__line { display: none; } }

/* ---------- Personas ---------- */
.personas { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 3rem; }
@media (max-width: 900px) { .personas { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px) { .personas { grid-template-columns: 1fr;} }
.persona { border-radius: var(--radius); border: 1px solid var(--line-ink); padding: 1.6rem; background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.persona:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.persona__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.persona__ic svg { width: 23px; height: 23px; }
.persona h3 { font-size: 1.2rem; margin-top: 1rem; color: var(--ink); }
.persona p { margin-top: .55rem; color: #5a5d63; font-size: .95rem; }
.persona ul { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.persona li { font-size: .78rem; font-weight: 700; color: var(--ink); background: var(--paper-2); border-radius: 999px; padding: .28rem .65rem; }

/* ---------- Pricing ---------- */
.ptoggle { display: inline-flex; align-items: center; gap: .8rem; margin-top: 2rem; font-weight: 700; font-size: .95rem; }
.ptoggle__sw { position: relative; width: 56px; height: 30px; border-radius: 999px; background: var(--ink-600); border: 1px solid var(--line); transition: background .2s; }
.on-paper .ptoggle__sw { background: var(--paper-2); border-color: var(--line-ink); }
.ptoggle__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); transition: transform .22s var(--ease); }
.ptoggle.is-year .ptoggle__sw::after { transform: translateX(26px); }
.ptoggle .save { color: var(--lime-deep); font-weight: 800; font-size: .82rem; background: rgba(205,251,61,.18); padding: .2rem .6rem; border-radius: 999px; }
.ptoggle .muted { color: var(--muted); }
.ptoggle .on { color: inherit; }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; align-items: stretch; }
@media (max-width: 1040px) { .pgrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }
.plan {
  border-radius: var(--radius); border: 1px solid var(--line-ink); padding: 1.7rem 1.5rem; background: #fff;
  display: flex; flex-direction: column; position: relative;
}
.on-ink .plan { background: var(--ink-800); border-color: var(--line); }
.plan--pop { border-color: var(--ink); box-shadow: var(--shadow-lift); }
.on-ink .plan--pop { border-color: var(--lime); box-shadow: var(--shadow-glow); background: linear-gradient(180deg, var(--ink-700), var(--ink-800)); }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--lime); color: var(--ink); font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.plan__desc { color: var(--muted); font-size: .88rem; margin-top: .35rem; min-height: 2.5em; }
.plan__price { margin-top: 1.2rem; display: flex; align-items: baseline; gap: .35rem; }
.plan__price .amt { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.03em; }
.plan__price .per { color: var(--muted); font-weight: 600; font-size: .9rem; }
.plan__price .amt--sm { font-size: 1.7rem; }
.plan__bill { font-size: .78rem; color: var(--muted); margin-top: .3rem; min-height: 1.1em; }
.plan .btn { margin-top: 1.3rem; }
.plan__feats { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.plan__feats li { display: grid; grid-template-columns: 18px 1fr; gap: .55rem; font-size: .92rem; align-items: start; }
.plan__feats svg { width: 16px; height: 16px; color: var(--lime-deep); margin-top: 3px; }
.on-ink .plan__feats svg { color: var(--lime); }
.on-ink .plan__feats li { color: var(--muted-2); }
.plan__feats li b { color: inherit; }
.plan__feats .head { grid-column: 1/-1; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; margin-top: .3rem; }

/* Add-on modules */
.modules { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 1.2rem; }
@media (max-width: 900px){ .modules { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 480px){ .modules { grid-template-columns: 1fr;} }
.module { border: 1px solid var(--line-ink); border-radius: var(--radius-sm); padding: 1.2rem; background: #fff; }
.on-ink .module { background: var(--ink-800); border-color: var(--line); }
.module__ic { width: 38px; height: 38px; border-radius: 10px; background: var(--paper-2); color: var(--ink); display: grid; place-items: center; }
.on-ink .module__ic { background: var(--ink-600); color: var(--lime); }
.module__ic svg { width: 20px; height: 20px; }
.module h4 { font-size: 1.02rem; margin-top: .8rem; }
.module p { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.module .price { font-weight: 800; color: var(--lime-deep); font-size: .85rem; margin-top: .6rem; }
.on-ink .module .price { color: var(--lime); }

/* Comparison table */
.ctable-wrap { margin-top: 2.4rem; overflow-x: auto; border: 1px solid var(--line-ink); border-radius: var(--radius); }
.on-ink .ctable-wrap { border-color: var(--line); }
.ctable { width: 100%; border-collapse: collapse; min-width: 640px; }
.ctable th, .ctable td { text-align: left; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line-ink); font-size: .92rem; }
.on-ink .ctable th, .on-ink .ctable td { border-color: var(--line); }
.ctable thead th { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.ctable thead th.hi { color: var(--lime-deep); }
.on-ink .ctable thead th.hi { color: var(--lime); }
.ctable tbody th { font-weight: 700; color: var(--muted); }
.ctable td { text-align: center; }
.ctable td:first-child, .ctable th:first-child { text-align: left; }
.ctable .yes { color: var(--lime-deep); font-weight: 800; }
.on-ink .ctable .yes { color: var(--lime); }
.ctable .no { color: var(--muted); opacity: .5; }
.ctable tr:last-child td, .ctable tr:last-child th { border-bottom: none; }
.ctable .grp td { background: var(--paper-2); font-weight: 800; font-family: var(--font-display); text-align: left; color: var(--ink); }
.on-ink .ctable .grp td { background: var(--ink-700); color: var(--paper); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 50rem; margin: 3rem auto 0; }
.qa { border-bottom: 1px solid var(--line-ink); }
.on-ink .qa { border-color: var(--line); }
.qa__q { width: 100%; text-align: left; background: transparent; border: 0; padding: 1.3rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: inherit; letter-spacing: -.01em; }
.qa__q .ic { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-ink); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s, color .2s; }
.on-ink .qa__q .ic { border-color: var(--line); }
.qa__q .ic svg { width: 16px; height: 16px; }
.qa.is-open .qa__q .ic { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: rotate(45deg); }
.qa__a { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.qa__a p { padding-bottom: 1.3rem; color: var(--muted); font-size: 1rem; max-width: 60ch; }
.on-ink .qa__a p { color: var(--muted-2); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(135deg, var(--ink-800), var(--ink)); border: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 5rem); text-align: center;
}
.cta__glow { position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(205,251,61,.18), transparent 60%); pointer-events: none; }
.cta__grid { position: absolute; inset: 0; opacity: .5; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.cta h2 .hl { color: var(--lime); }
.cta p { margin: 1.2rem auto 0; color: var(--muted-2); max-width: 46ch; font-size: 1.12rem; }
.cta__btns { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta__note { margin-top: 1.2rem; font-size: .85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-800); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand p { margin-top: 1rem; color: var(--muted); font-size: .94rem; max-width: 32ch; }
.footer h4 { font-family: var(--font-sans); font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .65rem; }
.footer ul a { color: var(--muted-2); font-size: .95rem; font-weight: 500; transition: color .18s; }
.footer ul a:hover { color: var(--lime); }
.footer__bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer__bottom p { color: var(--muted); font-size: .86rem; }
.footer__bottom .made { color: var(--muted); font-size: .86rem; }
.footer__bottom .made b { color: var(--muted-2); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; } .reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; } .reveal[data-d="4"]{ transition-delay: .32s; }
.reveal[data-d="5"]{ transition-delay: .4s; } .reveal[data-d="6"]{ transition-delay: .48s; }

/* ---------- Legal / prose pages ---------- */
.legal { max-width: 52rem; }
.legal .kicker { margin-bottom: 1rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; }
.legal__meta { color: var(--muted); margin-top: .8rem; font-size: .92rem; }
.legal h1, .legal h2, .legal h3 { overflow-wrap: break-word; hyphens: auto; }
.legal h2 { font-size: 1.5rem; margin-top: 2.6rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.8rem; }
.legal p, .legal li { color: var(--muted-2); margin-top: .9rem; font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.legal a { word-break: break-word; }
.on-paper .legal p, .on-paper .legal li { color: #44474d; }
.legal ul { margin-top: .6rem; padding-left: 1.2rem; }
.legal li { margin-top: .5rem; }
.legal a { color: var(--lime-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.on-ink .legal strong { color: var(--paper); }
.legal__card { background: #fff; border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-top: 1.6rem; }
.on-ink .legal__card { background: var(--ink-800); border-color: var(--line); }

/* ---------- 404 ---------- */
.err { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.err__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 20vw, 11rem); line-height: 1; color: var(--lime); letter-spacing: -.04em; }
.err h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-top: .5rem; }
.err p { color: var(--muted-2); margin-top: 1rem; }
.err .btn { margin-top: 2rem; }

/* ---------- Skip link + a11y ---------- */
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; background: var(--lime); color: var(--ink); font-weight: 800; z-index: 100; }
.skip:focus { position: fixed; top: 0; left: 0; width: auto; height: auto; clip: auto; clip-path: none; padding: .7rem 1.1rem; border-radius: 0 0 10px 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

/* utility */
.mt-sm { margin-top: 1rem; } .mt-md { margin-top: 2rem; }
.hide-sm { }
@media (max-width: 600px) { .hide-sm { display: none; } }
.nowrap { white-space: nowrap; }
