/* KanAssist marketing site — Trello-inspired layout, own brand tokens */

:root {
  --m-bg: #0c1016;
  --m-bg2: #121a24;
  --m-surface: #1a222d;
  --m-border: #2a3544;
  --m-text: #e8edf4;
  --m-muted: #8b9aad;
  --m-accent: #3d8bfd;
  --m-accent-hover: #5ca3ff;
  --m-accent2: #22c55e;
  --m-accent-violet: #a78bfa;
  --m-accent-amber: #f59e0b;
  --m-accent-pink: #ec4899;
  --m-max: 1120px;
  --m-font: "DM Sans", system-ui, sans-serif;
  --m-display: "Sora", var(--m-font);
}

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

html {
  scroll-behavior: smooth;
}

body.marketing-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--m-font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--m-text);
  background: var(--m-bg);
  background-image: radial-gradient(ellipse 900px 500px at 15% -5%, #1a2840 0%, transparent 55%),
    radial-gradient(ellipse 700px 400px at 90% 20%, #152238 0%, transparent 50%);
}

a {
  color: var(--m-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: var(--m-accent-hover);
}

.m-skip {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--m-accent);
  color: #fff;
}
.m-skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.m-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--m-border);
  background: rgba(12, 16, 22, 0.92);
  backdrop-filter: blur(12px);
}

.m-header-inner {
  max-width: var(--m-max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.m-logo {
  font-family: var(--m-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--m-accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.m-logo:hover {
  text-decoration: none;
  color: var(--m-accent-hover);
}

.m-nav-desktop {
  display: none;
  align-items: center;
  gap: 0.35rem 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.m-nav-desktop a {
  color: var(--m-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.35rem 0;
}
.m-nav-desktop a:hover {
  color: var(--m-text);
  text-decoration: none;
}

.m-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.m-btn:hover {
  text-decoration: none;
}

.m-btn--ghost {
  background: transparent;
  color: var(--m-text);
  border-color: var(--m-border);
}
.m-btn--ghost:hover {
  border-color: #4a5d73;
  background: rgba(255, 255, 255, 0.04);
  color: var(--m-text);
}

.m-btn--primary {
  background: var(--m-accent);
  color: #fff;
  border-color: var(--m-accent);
}
.m-btn--primary:hover {
  background: var(--m-accent-hover);
  border-color: var(--m-accent-hover);
  color: #fff;
}

.m-btn--lg {
  padding: 0.75rem 1.35rem;
  font-size: 1rem;
}

/* Mobile menu */
.m-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--m-border);
  border-radius: 8px;
  background: var(--m-surface);
  color: var(--m-text);
  cursor: pointer;
}
.m-nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.m-mobile-panel {
  display: none;
  border-top: 1px solid var(--m-border);
  background: var(--m-bg2);
  padding: 1rem 1.25rem 1.25rem;
}
.m-mobile-panel.is-open {
  display: block;
}
.m-mobile-panel a {
  display: block;
  padding: 0.65rem 0;
  color: var(--m-text);
  border-bottom: 1px solid rgba(42, 53, 68, 0.5);
  font-weight: 500;
}
.m-mobile-panel a:last-child {
  border-bottom: none;
}
.m-mobile-panel .m-btn {
  width: 100%;
  margin-top: 0.75rem;
}

@media (max-width: 879px) {
  .m-nav-login,
  .m-nav-signup {
    display: none;
  }
}

@media (min-width: 880px) {
  .m-nav-desktop {
    display: flex;
  }
  .m-nav-toggle {
    display: none;
  }
  .m-mobile-panel {
    display: none !important;
  }
}

/* Hero */
.m-hero {
  max-width: var(--m-max);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .m-hero {
    grid-template-columns: 1fr 1fr;
    padding: 4rem 1.25rem 5rem;
  }
}

.m-hero h1 {
  font-family: var(--m-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.m-hero-lead {
  font-size: 1.1rem;
  color: var(--m-muted);
  margin: 0 0 1.75rem;
  max-width: 36ch;
}

.m-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.m-hero-visual {
  border-radius: 12px;
  border: 1px solid var(--m-border);
  background: linear-gradient(145deg, var(--m-surface) 0%, #141c26 100%);
  padding: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  min-height: 220px;
}

.m-board-mock {
  display: flex;
  gap: 0.65rem;
  overflow: hidden;
}

.m-col {
  flex: 1;
  min-width: 0;
  background: rgba(15, 20, 28, 0.9);
  border-radius: 8px;
  padding: 0.5rem;
  border: 1px solid var(--m-border);
}

.m-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--m-muted);
  margin-bottom: 0.5rem;
}

.m-card {
  background: var(--m-bg);
  border: 1px solid var(--m-border);
  border-radius: 6px;
  padding: 0.45rem 0.5rem;
  font-size: 0.72rem;
  margin-bottom: 0.4rem;
  color: var(--m-text);
}

.m-card--accent {
  border-left: 3px solid var(--m-accent);
}

/* Sections */
.m-section {
  padding: 3.5rem 1.25rem;
  border-top: 1px solid var(--m-border);
}

.m-section--alt {
  background: rgba(26, 34, 45, 0.35);
}

.m-section-inner {
  max-width: var(--m-max);
  margin: 0 auto;
}

.m-section h2 {
  font-family: var(--m-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.m-section-intro {
  color: var(--m-muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 0 2rem;
}

.m-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .m-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .m-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.m-card-feature {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 10px;
  padding: 1.35rem;
  height: 100%;
}

.m-card-feature h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  font-family: var(--m-display);
}

.m-card-feature p {
  margin: 0;
  color: var(--m-muted);
  font-size: 0.95rem;
}

.m-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: rgba(61, 139, 253, 0.15);
  color: var(--m-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

/* Stats band */
.m-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
}

.m-stat strong {
  display: block;
  font-family: var(--m-display);
  font-size: 1.75rem;
  color: var(--m-accent2);
}

.m-stat span {
  font-size: 0.88rem;
  color: var(--m-muted);
}

/* Pricing */
.m-pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.m-pricing-card h3 {
  font-family: var(--m-display);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.m-pricing-card .price-tag {
  font-size: 2rem;
  font-weight: 700;
  color: var(--m-text);
  margin: 0.5rem 0 1rem;
}

.m-pricing-card ul {
  text-align: left;
  color: var(--m-muted);
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.m-pricing-card li {
  margin-bottom: 0.45rem;
}

/* CTA band */
.m-cta-band {
  text-align: center;
  padding: 4rem 1.25rem;
  background: linear-gradient(180deg, rgba(61, 139, 253, 0.08) 0%, transparent 100%);
  border-top: 1px solid var(--m-border);
}

.m-cta-band h2 {
  font-family: var(--m-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

.m-cta-band p {
  color: var(--m-muted);
  margin: 0 0 1.5rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.m-footer {
  border-top: 1px solid var(--m-border);
  padding: 2.5rem 1.25rem;
  background: var(--m-bg2);
}

.m-footer-inner {
  max-width: var(--m-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.m-footer-brand {
  font-family: var(--m-display);
  font-weight: 700;
  color: var(--m-accent);
  font-size: 1.1rem;
}

.m-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.m-footer-links a {
  color: var(--m-muted);
  font-size: 0.9rem;
}
.m-footer-links a:hover {
  color: var(--m-text);
}

.m-footer-copy {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--m-border);
  font-size: 0.82rem;
  color: var(--m-muted);
}

/* ===================================================================
   New primitives (redesigned marketing home)
   =================================================================== */

/* Hero eyebrow chip above the h1 */
.m-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(61, 139, 253, 0.12);
  border: 1px solid rgba(61, 139, 253, 0.35);
  color: var(--m-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
}
.m-hero-eyebrow-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--m-accent2);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.m-hero-microcopy {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--m-muted);
}

/* Browser-chrome screenshot frame with a dimension-text fallback */
.m-hero-screenshot {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--m-border);
  background: linear-gradient(145deg, var(--m-surface) 0%, #0f1720 100%);
  padding: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 10px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.m-hero-screenshot__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--m-border);
  background: rgba(0, 0, 0, 0.2);
}
.m-hero-screenshot__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #ef4444;
}
.m-hero-screenshot__dot + .m-hero-screenshot__dot { background: #f59e0b; }
.m-hero-screenshot__dot + .m-hero-screenshot__dot + .m-hero-screenshot__dot { background: #22c55e; }
.m-hero-screenshot__url {
  margin-left: 0.65rem;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--m-muted);
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55%;
}
.m-hero-screenshot__body {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(ellipse 600px 300px at 30% 0%, rgba(61, 139, 253, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.2));
}
.m-hero-screenshot__body img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.m-hero-screenshot__body img[src$="/"],
.m-hero-screenshot__body img:not([src]) { display: none; }
/* Fallback text when <img> fails to load */
.m-hero-screenshot__body::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 1rem;
  z-index: 0;
}
.m-hero-screenshot__body img {
  position: relative;
  z-index: 1;
}

/* Trust strip (early-team logos / wordmarks) */
.m-trust-strip {
  max-width: var(--m-max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  text-align: center;
}
.m-trust-strip__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--m-muted);
  margin: 0 0 0.85rem;
}
.m-trust-strip__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
}
.m-trust-strip__logo {
  font-family: var(--m-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--m-muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Views switcher (Board / Backlog / Sprints / Timeline) */
.m-views {
  padding: 3.5rem 1.25rem;
  border-top: 1px solid var(--m-border);
}
.m-views__inner {
  max-width: var(--m-max);
  margin: 0 auto;
  text-align: center;
}
.m-views h2 {
  font-family: var(--m-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.m-views p.m-section-intro {
  margin-left: auto;
  margin-right: auto;
}
.m-views-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border: 1px solid var(--m-border);
  border-radius: 999px;
  background: var(--m-surface);
  margin: 0.5rem 0 1.75rem;
}
.m-views-tab {
  appearance: none;
  background: transparent;
  color: var(--m-muted);
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.m-views-tab:hover {
  color: var(--m-text);
}
.m-views-tab[aria-selected="true"] {
  background: var(--m-accent);
  color: #fff;
}
.m-views-tab:focus-visible {
  outline: 2px solid var(--m-accent);
  outline-offset: 2px;
}
.m-views-panel {
  text-align: left;
}
.m-views-panel[hidden] {
  display: none;
}
.m-views-panel__caption {
  font-size: 0.95rem;
  color: var(--m-muted);
  text-align: center;
  margin: 1rem 0 0;
}

/* Zig-zag feature rows */
.m-feature-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.m-feature-row.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .m-feature-row {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (min-width: 900px) {
  .m-feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem 0;
  }
  .m-feature-row--reverse .m-feature-row__visual {
    order: 2;
  }
}
.m-feature-row__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--m-accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.m-feature-row h3 {
  font-family: var(--m-display);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}
.m-feature-row p {
  color: var(--m-muted);
  font-size: 1rem;
  margin: 0 0 1rem;
}
.m-feature-row__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.m-feature-row__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--m-text);
}
.m-feature-row__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--m-accent) 0 40%, transparent 42%),
    rgba(61, 139, 253, 0.18);
}

/* Use-case tiles */
.m-usecase-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .m-usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .m-usecase-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.m-usecase-card {
  position: relative;
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1.25rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 160ms ease, border-color 160ms ease;
}
.m-usecase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 139, 253, 0.45);
}
.m-usecase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--_m-usecase-color, var(--m-accent));
}
.m-usecase-card--violet { --_m-usecase-color: var(--m-accent-violet); }
.m-usecase-card--amber { --_m-usecase-color: var(--m-accent-amber); }
.m-usecase-card--pink { --_m-usecase-color: var(--m-accent-pink); }
.m-usecase-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--_m-usecase-color, var(--m-accent));
}
.m-usecase-card h3 {
  font-family: var(--m-display);
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.m-usecase-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: var(--m-muted);
  font-size: 0.92rem;
}
.m-usecase-card li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.m-usecase-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--_m-usecase-color, var(--m-accent));
  opacity: 0.75;
}

/* Quote / beta-feedback cards */
.m-quote-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 820px) {
  .m-quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.m-quote-card {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.m-quote-card__body {
  margin: 0;
  color: var(--m-text);
  font-size: 1rem;
  line-height: 1.55;
}
.m-quote-card__body::before {
  content: "“";
  display: block;
  font-family: var(--m-display);
  color: var(--m-accent);
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.m-quote-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.m-quote-card__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-violet));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.m-quote-card__name {
  font-weight: 600;
  color: var(--m-text);
  font-size: 0.9rem;
  line-height: 1.2;
}
.m-quote-card__role {
  font-size: 0.82rem;
  color: var(--m-muted);
}
.m-quote-card__badge {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--m-accent2);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Pricing grid (Open beta + Team coming soon) */
.m-pricing-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 780px) {
  .m-pricing-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}
.m-pricing-col {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}
.m-pricing-col--primary {
  border-color: rgba(61, 139, 253, 0.55);
  box-shadow: 0 10px 28px rgba(61, 139, 253, 0.14);
}
.m-pricing-col--soon {
  opacity: 0.82;
}
.m-pricing-col h3 {
  font-family: var(--m-display);
  margin: 0;
  font-size: 1.2rem;
}
.m-pricing-col__price {
  font-family: var(--m-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--m-text);
  margin: 0;
  letter-spacing: -0.02em;
}
.m-pricing-col__price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--m-muted);
  margin-left: 0.25rem;
}
.m-pricing-col__badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.m-pricing-col--primary .m-pricing-col__badge {
  background: rgba(34, 197, 94, 0.12);
  color: var(--m-accent2);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.m-pricing-col--soon .m-pricing-col__badge {
  background: rgba(148, 163, 184, 0.12);
  color: var(--m-muted);
  border: 1px solid var(--m-border);
}
.m-pricing-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--m-muted);
  font-size: 0.95rem;
}
.m-pricing-col li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}
.m-pricing-col li::before {
  content: "✓";
  color: var(--m-accent2);
  font-weight: 700;
  flex: 0 0 1rem;
}
.m-pricing-col--soon li::before {
  color: var(--m-muted);
  content: "○";
}
.m-pricing-col__cta {
  margin-top: auto;
}
.m-pricing-col__cta .m-btn {
  width: 100%;
  box-sizing: border-box;
}

/* FAQ accordion */
.m-faq {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto;
}
.m-faq-item {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: 10px;
  overflow: hidden;
}
.m-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--m-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.m-faq-item summary::-webkit-details-marker { display: none; }
.m-faq-item summary::after {
  content: "＋";
  color: var(--m-muted);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 160ms ease;
}
.m-faq-item[open] summary::after {
  content: "－";
}
.m-faq-item summary:focus-visible {
  outline: 2px solid var(--m-accent);
  outline-offset: -2px;
}
.m-faq-item__body {
  padding: 0 1.15rem 1.1rem;
  color: var(--m-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* AI deep-dive section */
.m-ai-deepdive {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .m-ai-deepdive {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}
.m-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: var(--m-accent-violet);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.m-ai-badge::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--m-accent-violet);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}
.m-ai-bullets {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.m-ai-bullets li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--m-text);
  font-size: 0.98rem;
}
.m-ai-bullets li::before {
  content: "✦";
  color: var(--m-accent-violet);
  margin-top: 0.05rem;
  flex: 0 0 auto;
}

/* Footer grid (expanded 4-col) */
.m-footer-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
}
@media (min-width: 700px) {
  .m-footer-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr);
  }
}
.m-footer-col h4 {
  font-family: var(--m-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--m-text);
  margin: 0 0 0.75rem;
}
.m-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}
.m-footer-col a {
  color: var(--m-muted);
  font-size: 0.9rem;
}
.m-footer-col a:hover {
  color: var(--m-text);
}

/* Legal pages */
.m-legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.m-legal h1 {
  font-family: var(--m-display);
  font-size: 1.75rem;
  margin-top: 0;
}
.m-legal h2 {
  font-size: 1.1rem;
  margin-top: 2rem;
}
.m-legal p,
.m-legal li {
  color: var(--m-muted);
  font-size: 0.95rem;
}

/* Light theme — same localStorage key as the app (`kanassist-theme`); set on <html> in base_marketing.html */
html[data-theme="light"] {
  color-scheme: light;
  --m-bg: #eef2f7;
  --m-bg2: #e8edf5;
  --m-surface: #ffffff;
  --m-border: #c9d4e4;
  --m-text: #15202b;
  --m-muted: #4b5d73;
  --m-accent: #2563eb;
  --m-accent-hover: #3b82f6;
  --m-accent2: #16a34a;
}

html[data-theme="light"] body.marketing-body {
  color: var(--m-text);
  background: var(--m-bg);
  background-image: radial-gradient(ellipse 900px 500px at 15% -5%, #dbeafe 0%, transparent 55%),
    radial-gradient(ellipse 700px 400px at 90% 20%, #e0e7ef 0%, transparent 50%);
}

html[data-theme="light"] .m-header {
  border-bottom-color: var(--m-border);
  background: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .m-btn--ghost:hover {
  border-color: #94a3b8;
  background: rgba(37, 99, 235, 0.06);
  color: var(--m-text);
}

html[data-theme="light"] .m-nav-toggle {
  border-color: var(--m-border);
  background: var(--m-surface);
  color: var(--m-text);
}

html[data-theme="light"] .m-mobile-panel {
  border-top-color: var(--m-border);
  background: var(--m-bg2);
}

html[data-theme="light"] .m-mobile-panel a {
  color: var(--m-text);
  border-bottom-color: rgba(201, 212, 228, 0.85);
}

html[data-theme="light"] .m-hero-visual {
  border-color: var(--m-border);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .m-col {
  background: #f8fafc;
  border-color: var(--m-border);
}

html[data-theme="light"] .m-card {
  background: var(--m-surface);
  border-color: var(--m-border);
  color: var(--m-text);
}

html[data-theme="light"] .m-section--alt {
  background: rgba(241, 245, 249, 0.92);
}

html[data-theme="light"] .m-icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--m-accent);
}

html[data-theme="light"] .m-cta-band {
  border-top-color: var(--m-border);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.07) 0%, transparent 100%);
}

html[data-theme="light"] .m-footer {
  border-top-color: var(--m-border);
  background: var(--m-bg2);
}

html[data-theme="light"] .m-footer-copy {
  border-top-color: var(--m-border);
}

/* ---- Light theme overrides for the new primitives ---- */
html[data-theme="light"] {
  --m-accent-violet: #7c3aed;
  --m-accent-amber: #d97706;
  --m-accent-pink: #db2777;
}

html[data-theme="light"] .m-hero-eyebrow {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.28);
  color: var(--m-accent);
}

html[data-theme="light"] .m-hero-screenshot {
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1), 0 8px 18px rgba(15, 23, 42, 0.06);
}
html[data-theme="light"] .m-hero-screenshot__chrome {
  background: rgba(15, 23, 42, 0.03);
}
html[data-theme="light"] .m-hero-screenshot__url {
  background: rgba(15, 23, 42, 0.05);
  color: var(--m-muted);
}
html[data-theme="light"] .m-hero-screenshot__body {
  background:
    radial-gradient(ellipse 600px 300px at 30% 0%, rgba(37, 99, 235, 0.08), transparent 65%),
    #f8fafc;
}

html[data-theme="light"] .m-views-tabs {
  background: #ffffff;
  border-color: var(--m-border);
}
html[data-theme="light"] .m-views-tab[aria-selected="true"] {
  background: var(--m-accent);
  color: #fff;
}

html[data-theme="light"] .m-feature-row__list li::before {
  background:
    radial-gradient(circle at 50% 50%, var(--m-accent) 0 40%, transparent 42%),
    rgba(37, 99, 235, 0.14);
}

html[data-theme="light"] .m-usecase-card {
  background: var(--m-surface);
}
html[data-theme="light"] .m-usecase-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

html[data-theme="light"] .m-quote-card {
  background: var(--m-surface);
}
html[data-theme="light"] .m-quote-card__body::before {
  color: var(--m-accent);
}
html[data-theme="light"] .m-quote-card__badge {
  background: rgba(22, 163, 74, 0.1);
  color: var(--m-accent2);
  border-color: rgba(22, 163, 74, 0.3);
}

html[data-theme="light"] .m-pricing-col {
  background: var(--m-surface);
}
html[data-theme="light"] .m-pricing-col--primary {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}
html[data-theme="light"] .m-pricing-col--primary .m-pricing-col__badge {
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.3);
  color: var(--m-accent2);
}

html[data-theme="light"] .m-faq-item {
  background: var(--m-surface);
}

html[data-theme="light"] .m-ai-badge {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.35);
  color: var(--m-accent-violet);
}
html[data-theme="light"] .m-ai-badge::before {
  background: var(--m-accent-violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
html[data-theme="light"] .m-ai-bullets li::before {
  color: var(--m-accent-violet);
}

html[data-theme="light"] .m-trust-strip__logo {
  color: var(--m-muted);
}
