/* Maaya marketing site.

   Static: one HTML file, this stylesheet, no build step and no JavaScript, so
   it deploys separately from the app and a copy change never touches
   production code.

   The product illustrations are drawn here in CSS using the app's real design
   tokens (#7c3aed accent, 12px radii, Inter at 13px, hairline borders), which
   is why they read as the product rather than as a stock mockup. A screenshot
   would go stale the first time a button moves. */

:root {
  --ink: #171122;
  --ink-soft: #453d5c;
  --muted: #6b6383;
  --paper: #fbfafd;
  --card: #ffffff;
  --line: #e8e4f2;
  --line-soft: #f0edf7;

  --violet: #7c3aed;
  --violet-deep: #4c1d95;
  --violet-soft: #f4f0ff;
  --violet-line: #ddd0fb;

  --stage: #140e23;

  --mint: #1aa564;
  --mint-ink: #0e7a4b;
  --amber: #e7a007;
  --amber-ink: #8a5300;
  --rose: #e5483d;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: Fraunces, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --shadow-app: 0 1px 2px rgba(23, 17, 34, 0.04), 0 18px 40px -16px rgba(58, 26, 120, 0.22),
    0 44px 90px -40px rgba(58, 26, 120, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--card);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-app);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}

.wrap--narrow {
  max-width: 760px;
}

/* ─────────────────────────────── type ─────────────────────────────── */

h1,
h2,
h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

h1 em {
  font-style: italic;
  color: var(--violet-deep);
  font-variation-settings: "SOFT" 70, "WONK" 1;
}

h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}

.lede {
  font-size: 1.07rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 18px 0 0;
}

.lede--mid {
  margin-inline: auto;
}

.lede--light {
  color: #c9c0e2;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--violet-soft);
  color: var(--violet-deep);
  padding: 1px 6px;
  border-radius: 5px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-deep);
}

.eyebrow--light {
  color: #c4b5fd;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
}

.dot--light {
  background: #a78bfa;
}

/* ─────────────────────────────── nav ─────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 253, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 22px;
  height: 22px;
  display: block;
}

.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
}

.nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--violet-deep);
}

/* ─────────────────────────────── buttons ─────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn--primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 1px 2px rgba(76, 29, 149, 0.3), 0 8px 20px -8px rgba(124, 58, 237, 0.55);
}

.btn--primary:hover {
  background: var(--violet-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--violet-line);
  background: var(--violet-soft);
}

.btn--sm {
  padding: 8px 15px;
  font-size: 14px;
}

.btn--lg {
  padding: 14px 26px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
  margin-top: auto;
}

/* ─────────────────────────────── hero ─────────────────────────────── */

.hero {
  padding-block: clamp(44px, 6.5vw, 88px) clamp(38px, 5.5vw, 68px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ─────────────────────────────── the stage ─────────────────────────────

   A dark plinth behind each app illustration. It separates "this is the
   product" from the page around it, without a fake browser frame pretending
   the drawing is a screenshot. */

.stage {
  margin: 0;
  padding: clamp(14px, 2vw, 22px);
  border-radius: var(--r-xl);
  background: radial-gradient(120% 130% at 12% 0%, #2a1f4a, var(--stage) 62%);
  box-shadow: var(--shadow-app);
}

.stage--hero {
  padding: clamp(16px, 2.2vw, 26px);
}

.stage--flat {
  background: linear-gradient(160deg, #241a42, var(--stage));
}

.stage--dark {
  background: linear-gradient(160deg, #2b2050, #0f0a1c);
}

/* ─────────────────────────── app illustration ─────────────────────────── */

.app {
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}

.app--dark {
  background: #171029;
  color: #ece9f5;
}

.app__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f6f5fa;
  border-bottom: 1px solid var(--line-soft);
}

.app__chrome i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dcd8e8;
}

.app__chrome span {
  margin-left: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.app__chrome--dark {
  background: #1f1637;
  border-bottom-color: #2c2247;
}

.app__chrome--dark i {
  background: #3b2f5e;
}

.app__chrome--dark span {
  color: #9c94b4;
}

.app__frame {
  display: grid;
  grid-template-columns: 138px 1fr;
}

.app__nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 8px;
  background: #faf9fc;
  border-right: 1px solid var(--line-soft);
}

.app__navitem {
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--muted);
}

.app__navitem.is-on {
  background: var(--violet-soft);
  color: var(--violet-deep);
  font-weight: 600;
}

.app__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  min-width: 0;
}

/* cards inside the illustration */

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  background: var(--card);
}

.card--dark {
  background: #1e1637;
  border-color: #2c2247;
}

.card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}

.card__title {
  font-weight: 600;
  font-size: 13px;
}

.card__title--light {
  color: #ece9f5;
}

.card__meta {
  font-size: 11.5px;
  color: var(--muted);
}

/* score ring */

.card--score {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ring {
  --pct: 70;
  position: relative;
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--violet) calc(var(--pct) * 1%), #efecf6 0);
}

.ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--card);
}

.ring__n {
  position: relative;
  z-index: 1;
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* The ring holds the number only. A caption inside a 112px ring has about
   70px of usable width, which "Store health" does not fit into at a legible
   size, so the label sits beside the ring instead of on top of the arc. */
.score__k {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.score__side {
  min-width: 0;
}

.score__verdict {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
}

.score__hint {
  margin: 3px 0 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.chip {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8f8fa;
  font-size: 11.5px;
  font-weight: 550;
  color: var(--ink-soft);
}

.chip--accent {
  background: var(--violet-soft);
  border-color: var(--violet-line);
  color: var(--violet-deep);
}

/* segmented breakdown bar */

.seg {
  display: flex;
  gap: 2px;
  height: 9px;
  margin-bottom: 12px;
}

.seg i {
  display: block;
  border-radius: 3px;
}

.legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.legend li {
  display: grid;
  grid-template-columns: 9px 1fr auto auto;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
}

.legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.legend b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.legend u {
  text-decoration: none;
  font-size: 11px;
  font-weight: 650;
  color: var(--mint-ink);
  background: #e7f6ee;
  border-radius: 999px;
  padding: 1px 7px;
  font-variant-numeric: tabular-nums;
}

/* fix-queue rows */

.qrow {
  display: grid;
  grid-template-columns: 4px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.qrow--open {
  border-color: var(--violet-line);
  background: #fdfcff;
  align-items: start;
}

.qrow__sev {
  align-self: stretch;
  border-radius: 999px;
  min-height: 30px;
}

.qrow__sev--high {
  background: var(--rose);
}

.qrow__sev--mid {
  background: var(--amber);
}

.qrow__main {
  min-width: 0;
}

.qrow__main b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.qrow__issue {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.pts {
  font-size: 11.5px;
  font-weight: 650;
  color: var(--mint-ink);
  background: #e7f6ee;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.mini-btn {
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}

.mini-btn--go {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

/* a Google result preview, the way the app shows it */

.serp {
  margin-top: 9px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--line);
}

.serp__url {
  display: block;
  font-size: 11.5px;
  color: #5f6368;
}

.serp__title {
  display: block;
  font-size: 14px;
  color: #1a0dab;
  line-height: 1.3;
  margin: 2px 0;
}

.serp__desc {
  display: block;
  font-size: 12px;
  color: #4d5156;
}

/* editor fields with live character meters */

.field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.field__k {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__in {
  grid-column: 1 / -1;
  font-size: 13px;
}

.field__in--empty {
  color: #9b95a8;
  font-style: italic;
}

.field--was {
  opacity: 0.62;
}

.meter {
  height: 4px;
  border-radius: 999px;
  background: #efecf6;
  overflow: hidden;
  align-self: center;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.field__n {
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.field__n--ok {
  color: var(--mint-ink);
  font-weight: 600;
}

.editor__foot {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* activity rows */

.act {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.act__tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f6ee;
  color: var(--mint-ink);
  font-size: 11px;
}

.act__tick--back {
  background: #fff4dc;
  color: var(--amber-ink);
}

.act__main {
  min-width: 0;
}

.act__main b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.act__main span {
  font-size: 12px;
  color: var(--muted);
}

.tag {
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f4f4f7;
  color: var(--ink-soft);
  white-space: nowrap;
}

.tag--good {
  background: #e7f6ee;
  color: var(--mint-ink);
  font-weight: 600;
}

.tag--bad {
  background: #fdecea;
  color: #b42318;
  font-weight: 600;
}

.act__undo {
  font-size: 12px;
  color: var(--violet-deep);
  font-weight: 550;
}

/* growth: sparkline, opportunity rows, auto-pilot switch */

.spark {
  width: 100%;
  height: 70px;
  display: block;
  margin-bottom: 10px;
}

.kpirow {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.kpirow b {
  display: block;
  font-size: 16px;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.kpirow__up b {
  color: var(--mint-ink);
}

.opp {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.opp--done {
  background: #fbfaff;
}

.opp__gain {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 6px 8px;
  border-radius: var(--r-sm);
  background: #e7f6ee;
  color: var(--mint-ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.opp__gain small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.85;
}

.opp__main {
  min-width: 0;
}

.opp__main b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.opp__main span {
  font-size: 12px;
  color: var(--muted);
}

.switchrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.switchrow b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.switchrow span {
  font-size: 12px;
  color: var(--muted);
}

.switch {
  flex: none;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #ddd9e8;
  padding: 3px;
  display: flex;
}

.switch i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 17, 34, 0.25);
}

.switch--on {
  background: var(--violet);
  justify-content: flex-end;
}

.perms {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.perm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  color: var(--muted);
}

.perm::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1.5px solid #cfc9dd;
}

.perm--on {
  border-color: var(--violet-line);
  background: var(--violet-soft);
  color: var(--violet-deep);
  font-weight: 550;
}

.perm--on::before {
  background: var(--violet);
  border-color: var(--violet);
}

.permnote {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
}

/* site health rows */

.hrow {
  display: grid;
  grid-template-columns: 20px auto 1fr;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}

.hrow:last-child {
  border-bottom: 0;
}

.hrow__i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.hrow__i--ok {
  background: #e7f6ee;
  color: var(--mint-ink);
}

.hrow__i--warn {
  background: #fff4dc;
  color: var(--amber-ink);
}

.hrow b {
  font-weight: 600;
}

.hrow span:last-child {
  color: var(--muted);
  font-size: 12.5px;
}

/* AI panel */

.kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kpi {
  border: 1px solid #2c2247;
  background: #1e1637;
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kpi span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9c94b4;
  font-weight: 600;
}

.kpi b {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.kpi u {
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
}

.up {
  color: #34d399;
}

.engines {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.engine {
  display: grid;
  grid-template-columns: 74px 1fr 38px;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.engine i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #2c2247;
  overflow: hidden;
}

.engine i u {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
}

.engine b {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cite {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  border: 1px solid #2c2247;
  background: #1e1637;
  flex-wrap: wrap;
}

.cite__rank {
  font-weight: 700;
  font-size: 12px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border-radius: 999px;
  padding: 2px 9px;
}

.cite__q {
  font-size: 12.5px;
  color: #ece9f5;
  min-width: 0;
}

.cite__on {
  font-size: 11.5px;
  color: #9c94b4;
}

/* ─────────────────────────── proof strip ─────────────────────────── */

.strip {
  border-block: 1px solid var(--line);
  background: var(--card);
}

.strip__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-block: 28px;
}

.strip__in div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strip__in b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
  line-height: 1;
}

.strip__in span {
  font-size: 13px;
  color: var(--muted);
}

/* ─────────────────────────────── sections ─────────────────────────── */

.section {
  padding-block: clamp(56px, 8vw, 100px);
}

.section--tint {
  background: var(--card);
  border-block: 1px solid var(--line);
}

.section--dark {
  background: var(--stage);
  color: #ece9f5;
}

.section--dark h2 {
  color: #fff;
}

.head {
  max-width: 720px;
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.head--left {
  text-align: left;
  align-items: flex-start;
  margin-inline: 0;
}

/* ─────────────────────────────── steps ─────────────────────────────── */

.step {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 46px);
}

.step--flip .step__copy {
  order: 2;
}

.step__n {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}

.step__copy p {
  color: var(--ink-soft);
  margin: 14px 0 0;
}

/* ─────────────────────────────── ticks ─────────────────────────────── */

.ticks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: rotate(-45deg);
  border-radius: 1px;
}

.ticks--light li {
  color: #c9c0e2;
}

.ticks--light li::before {
  border-color: #a78bfa;
}

.ticks--sm {
  margin: 16px 0 22px;
  gap: 8px;
}

.ticks--sm li {
  font-size: 13.5px;
}

/* The tier a plan builds on, so Plus and Pro do not read as if they lost
   the features listed under the plan before them. */
.ticks--sm b {
  font-weight: 650;
  color: var(--ink);
}

/* ─────────────────────────────── AI section ─────────────────────────── */

.ai__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.section--dark code {
  background: rgba(167, 139, 250, 0.16);
  color: #d5c7fb;
}

/* ─────────────────────────── split and cards ─────────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mcard {
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
}

.mcard h3 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.mcard p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ─────────────────────────────── pricing ─────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--card);
}

.plan--best {
  position: relative;
  border-color: var(--violet-line);
  box-shadow: 0 2px 4px rgba(76, 29, 149, 0.06), 0 26px 60px -26px rgba(124, 58, 237, 0.42);
}

.plan__ribbon {
  position: absolute;
  top: -11px;
  left: 26px;
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}

.plan h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 0;
  flex-wrap: wrap;
}

.plan__price b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  font-size: 2.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan__price span {
  font-size: 13.5px;
  color: var(--muted);
}

.plan__price s {
  font-size: 14px;
  color: #a49cb8;
}

.plan__tag {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ─────────────────────────────── faq ─────────────────────────────── */

.faq {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.faq > div {
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.faq > div:last-child {
  border-bottom: 1px solid var(--line);
}

.faq dt {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.faq dd {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 68ch;
}

/* ─────────────────────────────── cta ─────────────────────────────── */

.cta {
  padding-block: clamp(56px, 8vw, 92px);
  background: radial-gradient(90% 130% at 50% 0%, #2a1f4a, var(--stage) 68%);
  color: #ece9f5;
}

.cta__in {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta h2 {
  color: #fff;
}

.cta p {
  margin: 0;
  color: #c9c0e2;
}

.install {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
  width: 100%;
  max-width: 520px;
}

.install input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #3b2f5e;
  background: #1c1433;
  color: #ece9f5;
  font: inherit;
  font-size: 15px;
}

.install input::placeholder {
  color: #7d7499;
}

.install input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.32);
}

.cta__note {
  font-size: 13px;
  color: #9c94b4;
}

/* ─────────────────────────────── footer ─────────────────────────────── */

.foot {
  background: var(--card);
  border-top: 1px solid var(--line);
}

.foot__in {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 28px;
  font-size: 14px;
}

.brand--foot {
  font-size: 15px;
}

.foot nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.foot a {
  color: var(--ink-soft);
  text-decoration: none;
}

.foot a:hover {
  color: var(--violet-deep);
}

.foot__c {
  color: var(--muted);
}

/* ─────────────────────────────── responsive ─────────────────────────── */

@media (max-width: 960px) {
  .hero__grid,
  .ai__grid,
  .step,
  .split {
    grid-template-columns: 1fr;
  }

  .step--flip .step__copy {
    order: 0;
  }

  .nav__links {
    display: none;
  }

  .strip__in {
    grid-template-columns: 1fr 1fr;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .plan--best {
    order: -1;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding-inline: 18px;
  }

  .app__frame {
    grid-template-columns: 1fr;
  }

  /* The sidebar becomes a scrolling row, so the illustration keeps its
     proportions instead of squeezing the content to nothing. */
  .app__nav {
    flex-direction: row;
    gap: 4px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .app__navitem {
    white-space: nowrap;
  }

  .card--score {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards,
  .kpis {
    grid-template-columns: 1fr;
  }

  .strip__in {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .qrow,
  .act {
    grid-template-columns: 4px 1fr auto;
  }

  .qrow .mini-btn,
  .act__undo {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .engine {
    grid-template-columns: 62px 1fr 34px;
  }

  .foot nav {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
