/* ══════════════════════════════════════════════════════════
   OurCompare Marketing Landing Page
   Design: Text-dominant, warm palette, fast path to compare
   ══════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────── */

:root {
  --m-black: #1C1917;
  --m-white: #ffffff;
  --m-cream: #FAF7F2;
  --m-sand: #F5F0E8;
  --m-teal: #1B4D3E;
  --m-teal-dark: #153D31;
  --m-teal-light: #E8F0ED;
  --m-amber: #D4A853;
  --m-amber-dark: #B8923F;
  --m-warm-gray: #78716C;
  --m-border: #E7E5E4;
  --m-font-heading: "DM Sans", system-ui, -apple-system, sans-serif;
  --m-font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */

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

/* ── Utility ─────────────────────────────────────────────── */

.hidden {
  display: none !important;
}

/* ── Base ────────────────────────────────────────────────── */

body {
  font-family: var(--m-font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--m-black);
  background-color: var(--m-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--m-font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--m-black);
}

a {
  color: var(--m-teal);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--m-teal-dark);
}

/* ── Layout ──────────────────────────────────────────────── */

.m-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.m-section {
  padding: 6rem 0;
}

.m-section--cream {
  background-color: var(--m-cream);
}

.m-section--dark {
  background-color: var(--m-black);
  color: var(--m-white);
}

.m-section--dark h2,
.m-section--dark h3,
.m-section--dark p {
  color: var(--m-white);
}

.m-section--teal {
  background-color: var(--m-teal);
  color: var(--m-white);
}

.m-section--teal h2,
.m-section--teal p {
  color: var(--m-white);
}

.m-section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.m-section__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.m-section__subtitle {
  font-size: 1.125rem;
  color: var(--m-warm-gray);
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────── */

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--m-font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  gap: 0.5rem;
}

.m-btn--primary {
  background-color: var(--m-teal);
  color: var(--m-white);
  border-color: var(--m-teal);
}

.m-btn--primary:hover {
  background-color: var(--m-teal-dark);
  border-color: var(--m-teal-dark);
  color: var(--m-white);
}

.m-btn--outline {
  background-color: transparent;
  color: var(--m-black);
  border-color: var(--m-black);
}

.m-btn--outline:hover {
  background-color: var(--m-black);
  color: var(--m-white);
}

.m-btn--amber {
  background-color: var(--m-amber);
  color: var(--m-black);
  border-color: var(--m-amber);
}

.m-btn--amber:hover {
  background-color: var(--m-amber-dark);
  border-color: var(--m-amber-dark);
  color: var(--m-black);
}

.m-btn--white {
  background-color: var(--m-white);
  color: var(--m-teal);
  border-color: var(--m-white);
}

.m-btn--white:hover {
  background-color: var(--m-cream);
  border-color: var(--m-cream);
  color: var(--m-teal-dark);
}

.m-btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

.m-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Navigation ──────────────────────────────────────────── */

.m-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.m-nav--scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--m-border);
  padding: 0.875rem 0;
}

.m-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-nav__logo {
  font-family: var(--m-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--m-black);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.m-nav__logo .m-brand-mark {
  flex-shrink: 0;
}

.m-brand-mark {
  display: inline-block;
  vertical-align: middle;
}

.m-nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.m-nav__links a {
  color: var(--m-black);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.m-nav__links a:hover {
  color: var(--m-teal);
}

.m-nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.m-nav__cta {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.m-nav__signin {
  color: var(--m-black);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.m-nav__signin:hover {
  color: var(--m-teal);
}

.m-nav__toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--m-black);
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: background-color 0.15s ease;
  z-index: 210;
}

.m-nav__toggle:hover {
  background-color: var(--m-sand);
}

.m-nav__toggle:focus-visible {
  outline: 2px solid var(--m-teal);
  outline-offset: 2px;
}

.m-nav__toggle-bars {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 14px;
}

.m-nav__toggle-bars > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.2s ease,
              top 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.m-nav__toggle-bars > span:nth-child(1) { top: 0; }
.m-nav__toggle-bars > span:nth-child(2) { top: 6px; }
.m-nav__toggle-bars > span:nth-child(3) { top: 12px; }

[data-m-nav="open"] .m-nav__toggle {
  display: none;
}

/* Scrim sits between the page content and the drawer.
   Pointer-events off while closed so clicks pass through. */
.m-nav__scrim {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.38);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 190;
}

[data-m-nav="open"] .m-nav__scrim {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer — slides in from the right on mobile. Display is flex
   permanently so the transition runs; pointer-events are managed
   alongside the transform so the panel can't intercept clicks when
   parked off-screen. */
.m-nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 380px);
  background: var(--m-cream);
  border-left: 1px solid var(--m-border);
  box-shadow: -24px 0 48px -24px rgba(28, 25, 23, 0.25);
  z-index: 200;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

[data-m-nav="open"] .m-nav__mobile {
  transform: translateX(0);
}

.m-nav__mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--m-border);
}

.m-nav__mobile-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--m-font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--m-black);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.m-nav__mobile-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--m-border);
  border-radius: 10px;
  color: var(--m-black);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.m-nav__mobile-close:hover {
  background: var(--m-white);
  border-color: var(--m-black);
}

.m-nav__mobile-close:focus-visible {
  outline: 2px solid var(--m-teal);
  outline-offset: 2px;
}

.m-nav__mobile-links {
  display: flex;
  flex-direction: column;
  padding: 1rem 0.5rem;
  overflow-y: auto;
  flex: 1;
}

.m-nav__mobile-links a {
  display: flex;
  align-items: center;
  font-family: var(--m-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--m-black);
  letter-spacing: -0.015em;
  text-decoration: none;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.m-nav__mobile-links a:hover,
.m-nav__mobile-links a:focus-visible {
  background: var(--m-white);
  color: var(--m-teal);
  outline: none;
}

.m-nav__mobile-foot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--m-border);
  background: var(--m-white);
}

.m-nav__mobile-cta {
  width: 100%;
}

.m-nav__mobile-signin {
  align-self: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--m-warm-gray);
  padding: 0.5rem 0.75rem;
}

.m-nav__mobile-signin:hover {
  color: var(--m-black);
}

/* Scroll-lock the page while the drawer is open. */
html[data-m-nav="open"],
html[data-m-nav="open"] body {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .m-nav__mobile,
  .m-nav__scrim,
  .m-nav__toggle-bars > span {
    transition: none;
  }
}

/* ── Hero ────────────────────────────────────────────────── */

.m-hero {
  min-height: calc(100vh - 4rem);
  padding: 8rem 0 5rem;
  background: linear-gradient(180deg, var(--m-cream) 60%, var(--m-white) 100%);
  position: relative;
  overflow: clip;
  text-align: center;
  display: flex;
  align-items: center;
}

.m-hero > .m-container {
  width: 100%;
}

.m-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.m-hero__scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 3rem;
  font-family: var(--m-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--m-warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.m-hero__scroll-cue:hover {
  color: var(--m-teal);
  transform: translateY(2px);
}

.m-hero__scroll-cue-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--m-teal);
  color: var(--m-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -12px rgba(27, 77, 62, 0.5);
  animation: m-hero-cue-bounce 2s ease-in-out infinite;
}

.m-hero__scroll-cue-circle svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

@keyframes m-hero-cue-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

.m-hero__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--m-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

/* Role-selector pill used on the demo pages in place of the hero eyebrow.
   Each tab is a real link to the other role's /demo/:role route — plain
   server-rendered navigation, no JS. */
.m-role-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  margin-bottom: 1.75rem;
  background: var(--m-white);
  border: 1px solid var(--m-border);
  border-radius: 9999px;
  box-shadow: 0 6px 20px -14px rgba(0, 0, 0, 0.25);
}
.m-role-tab {
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--m-warm-gray);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.m-role-tab:hover { color: var(--m-black); }
.m-role-tab.is-active { background: var(--m-teal); color: var(--m-white); }
.m-role-tab__short { display: none; }
@media (max-width: 420px) {
  .m-role-tab__full { display: none; }
  .m-role-tab__short { display: inline; }
}

.m-hero__title {
  font-size: 4rem;
  line-height: 1.06;
  margin-bottom: 1.5rem;
}

.m-hero__subtitle {
  font-size: 1.25rem;
  color: var(--m-warm-gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.m-hero .m-btn-group {
  justify-content: center;
}

.m-hero__fineprint {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--m-warm-gray);
  letter-spacing: 0.01em;
}

/* FAQ — collapsible objection-handling list on the landing page */
.m-faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.m-faq__item {
  background: var(--m-white);
  border: 1px solid var(--m-border);
  border-radius: 12px;
  padding: 0 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.m-faq__item[open] {
  border-color: var(--m-teal);
  box-shadow: 0 8px 24px -16px rgba(27, 77, 62, 0.3);
}

.m-faq__q {
  font-family: var(--m-font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--m-black);
  letter-spacing: -0.01em;
  padding: 1.2rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.m-faq__q::-webkit-details-marker { display: none; }

.m-faq__q::after {
  content: "+";
  font-family: var(--m-font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--m-teal);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.m-faq__item[open] .m-faq__q::after {
  transform: rotate(45deg);
}

.m-faq__a {
  padding: 0 0 1.2rem;
  color: var(--m-warm-gray);
  line-height: 1.7;
  font-size: 1rem;
}

.m-faq__a p { margin: 0; }


/* ── How It Works ────────────────────────────────────────── */

.m-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  counter-reset: step;
}

.m-step {
  text-align: center;
  counter-increment: step;
  position: relative;
}

.m-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--m-teal);
  color: var(--m-white);
  font-family: var(--m-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.m-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: var(--m-border);
}

.m-step__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.m-step__text {
  font-size: 1rem;
  color: var(--m-warm-gray);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

.m-step__credit {
  font-size: 0.8125rem;
  color: var(--m-warm-gray);
  letter-spacing: 0.02em;
  margin-top: 0.9rem;
}

/* ── Differentiators ─────────────────────────────────────── */

.m-diff__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.m-diff-card {
  padding: 2.5rem;
  background: var(--m-white);
  border: 1px solid var(--m-border);
  border-radius: 1rem;
  transition: all 0.2s ease;
}

.m-diff-card:hover {
  border-color: var(--m-teal);
  box-shadow: 0 8px 30px rgba(27, 77, 62, 0.08);
  transform: translateY(-2px);
}

.m-diff-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--m-teal-light);
  color: var(--m-teal);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.m-diff-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.m-diff-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.m-diff-card__text {
  font-size: 1rem;
  color: var(--m-warm-gray);
  line-height: 1.6;
}

.m-diff-card__text--closer {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--m-border);
  font-size: 0.9375rem;
  color: var(--m-black);
}

/* ── Pricing strip ───────────────────────────────────────── */

.m-pricing-strip {
  background: var(--m-cream);
  padding: 2.25rem 0;
}

.m-pricing-strip__line {
  text-align: center;
  font-size: 1rem;
  color: var(--m-black);
}

.m-pricing-strip__link {
  margin-left: 0.5rem;
  font-weight: 600;
  color: var(--m-teal);
}

.m-pricing-strip__link:hover {
  color: var(--m-teal-dark);
}

/* ── Stats Bar ───────────────────────────────────────────── */

.m-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.m-stat__value {
  font-family: var(--m-font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--m-white);
}

.m-stat__label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ── CTA Section ─────────────────────────────────────────── */

.m-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.m-cta__title {
  font-size: 2.5rem;
  color: var(--m-white);
  margin-bottom: 1rem;
}

.m-cta__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

.m-cta .m-btn-group {
  justify-content: center;
}

/* ── Footer ──────────────────────────────────────────────── */

.m-footer {
  background-color: var(--m-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.m-footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s ease;
}

.m-footer a:hover {
  color: var(--m-white);
}

.m-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.m-footer__brand {
  max-width: 300px;
}

.m-footer__logo {
  font-family: var(--m-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--m-white);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.m-footer__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.m-footer__tagline {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.m-footer__col-title {
  font-family: var(--m-font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--m-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.m-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.m-footer__links a {
  font-size: 0.9375rem;
}

.m-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.m-footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ── Wave Divider ────────────────────────────────────────── */

.m-wave {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.m-wave--cream {
  background: var(--m-white);
}

.m-wave--cream svg {
  fill: var(--m-cream);
}

.m-wave--white {
  background: var(--m-cream);
}

.m-wave--white svg {
  fill: var(--m-white);
}

.m-wave--dark {
  background: var(--m-white);
}

.m-wave--dark svg {
  fill: var(--m-black);
}

.m-wave--teal {
  background: var(--m-cream);
}

.m-wave--teal svg {
  fill: var(--m-teal);
}

.m-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Scroll Reveal ───────────────────────────────────────── */

.m-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.m-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.m-reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.m-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.m-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.m-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.m-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .m-section {
    padding: 4rem 0;
  }

  .m-section__title {
    font-size: 2rem;
  }

  .m-section__header {
    margin-bottom: 3rem;
  }

  body {
    font-size: 1rem;
  }

  .m-hero {
    padding: 7rem 0 4rem;
  }

  .m-hero__title {
    font-size: 2.25rem;
  }

  .m-hero__subtitle {
    font-size: 1.0625rem;
  }

  .m-nav__links {
    display: none;
  }

  .m-nav__signin,
  .m-nav__cta {
    display: none;
  }

  .m-nav__toggle {
    display: inline-flex;
  }

  .m-nav__mobile {
    display: flex;
  }

  .m-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .m-step:not(:last-child)::after {
    display: none;
  }

  .m-diff__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .m-diff-card {
    padding: 2rem;
  }

  .m-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .m-stat__value {
    font-size: 2rem;
  }

  .m-cta__title {
    font-size: 2rem;
  }

  .m-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .m-footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .m-hero__title {
    font-size: 2rem;
  }

  .m-btn-group {
    flex-direction: column;
  }

  .m-btn-group .m-btn {
    width: 100%;
  }
}

/* ── Pricing grid (Graden-specific) ─────────────────────── */
.m-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.m-pricing-card {
  background: var(--m-white);
  border: 1px solid var(--m-border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.m-pricing-card--highlight {
  border-color: var(--m-teal);
  box-shadow: 0 10px 30px -12px rgba(27, 77, 62, 0.25);
}

.m-pricing-card__name {
  font-family: var(--m-font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--m-warm-gray);
}

.m-pricing-card__best-for {
  font-size: 0.85rem;
  color: var(--m-warm-gray);
  line-height: 1.45;
  margin: 0.4rem 0 1.2rem;
  min-height: 2.5em;
}

.m-pricing-card__price {
  font-family: var(--m-font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--m-black);
}

.m-pricing-card__cadence {
  font-size: 0.875rem;
  color: var(--m-warm-gray);
  margin-top: -0.5rem;
}

.m-pricing-card__unit {
  margin-top: 0.55rem;
  padding: 0.3rem 0.65rem;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--m-teal);
  background: var(--m-teal-light);
  border-radius: 9999px;
  letter-spacing: 0.01em;
}

.m-pricing-footnote {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--m-warm-gray);
}

.m-pricing-card__volume {
  margin: 1.25rem 0 1.5rem;
  padding: 0.85rem 1rem;
  background: var(--m-cream);
  border-radius: 10px;
  font-family: var(--m-font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--m-black);
  text-align: center;
  letter-spacing: -0.005em;
}

.m-pricing-card__cta {
  margin-top: auto;
  text-align: center;
}

.m-pricing-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--m-cream);
  border: 1px solid var(--m-border);
  border-radius: 12px;
  color: var(--m-warm-gray);
  line-height: 1.6;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 0.95rem;
}

/* Every-plan-includes block — single source of truth for what each
   plan ships with, so the cards can focus on price/volume. */
.m-pricing-included {
  margin-top: 5rem;
  padding: 3rem 2.5rem;
  background: var(--m-cream);
  border: 1px solid var(--m-border);
  border-radius: 20px;
}

.m-pricing-included__header {
  text-align: center;
  margin-bottom: 2.25rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.m-pricing-included__title {
  font-family: var(--m-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--m-black);
  margin-bottom: 0.5rem;
}

.m-pricing-included__subtitle {
  color: var(--m-warm-gray);
  line-height: 1.6;
  margin: 0;
}

.m-pricing-included__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
}

.m-pricing-included__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.m-pricing-included__tick {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  padding: 3px;
  border-radius: 50%;
  background: var(--m-teal-light);
  color: var(--m-teal);
}

.m-pricing-included__item-title {
  font-family: var(--m-font-heading);
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--m-black);
  margin: 0 0 0.2rem;
  letter-spacing: -0.005em;
}

.m-pricing-included__item-body {
  font-size: 0.9rem;
  color: var(--m-warm-gray);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .m-pricing-included { padding: 2rem 1.5rem; }
  .m-pricing-included__grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ── Prose content (about page) ─────────────────────────── */
.m-prose {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--m-black);
}

.m-prose h2 {
  font-family: var(--m-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.m-prose p + p {
  margin-top: 1.25rem;
}

.m-prose__lead {
  font-family: var(--m-font-heading);
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--m-black);
  letter-spacing: -0.015em;
  margin-bottom: 2rem !important;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--m-border);
}

/* ── Demo walkthrough ───────────────────────────────────── */

/* Demo page decorative background — gentle dot grid anchors the whole
   walkthrough; stays under the cards so the texture reads as paper
   rather than noise. */
.m-demo-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 7rem;
}

.m-demo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(27, 77, 62, 0.06) 1px, transparent 0);
  background-size: 24px 24px;
  background-position: 0 0;
  pointer-events: none;
  opacity: 0.9;
  mask-image: linear-gradient(180deg, transparent 0, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, black 8%, black 92%, transparent 100%);
}

.m-demo-section > .m-container {
  position: relative;
}

/* Chapter wrapper — one per role */
.m-demo {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.m-demo__chapter {
  position: relative;
  scroll-margin-top: 6rem;
}

.m-demo__chapter-header {
  position: relative;
  margin-bottom: 2.25rem;
}

.m-demo__chapter-marker {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.m-demo__chapter-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.m-demo__chapter-marker .m-demo__chapter-eyebrow,
.m-demo__chapter-marker .m-demo__chapter-title {
  margin: 0;
}

.m-demo__chapter-emblem {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: var(--m-white);
  border: 1px solid var(--m-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m-teal);
  box-shadow: 0 12px 26px -14px rgba(27, 77, 62, 0.4);
  flex-shrink: 0;
  position: relative;
}

.m-demo__chapter-emblem::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 13px;
  background: var(--m-teal-light);
  z-index: 0;
}

.m-demo__chapter-emblem svg {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  stroke-width: 1.5;
}

.m-demo__chapter-eyebrow {
  font-family: var(--m-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--m-warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.m-demo__chapter-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--m-warm-gray);
  opacity: 0.5;
}

.m-demo__chapter-title {
  font-family: var(--m-font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--m-black);
  margin-bottom: 0.75rem;
  line-height: 1.15;
  max-width: 620px;
}

.m-demo__chapter-lead {
  font-size: 1.0625rem;
  color: var(--m-warm-gray);
  line-height: 1.65;
  max-width: 580px;
}

/* Chapter's inner stack of step cards — connected by a continuous rail */
.m-demo__chapter-steps {
  position: relative;
  padding-left: 3.25rem;
}

.m-demo__chapter-steps::before {
  content: "";
  position: absolute;
  left: 1.24rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 2px;
  background:
    linear-gradient(180deg,
      transparent 0,
      var(--m-border) 0.75rem,
      var(--m-border) calc(100% - 0.75rem),
      transparent 100%
    );
  border-radius: 2px;
}

/* Step card — own bordered surface on the rail */
.m-demo__step {
  position: relative;
  margin-bottom: 1.75rem;
}

.m-demo__step:last-child {
  margin-bottom: 0;
}

.m-demo__step-num {
  position: absolute;
  left: -3.25rem;
  top: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--m-white);
  border: 2px solid var(--m-teal);
  color: var(--m-teal);
  font-family: var(--m-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 4px 12px -6px rgba(27, 77, 62, 0.3);
}

.m-demo__step-card {
  background: var(--m-white);
  border: 1px solid var(--m-border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 10px 28px -20px rgba(27, 77, 62, 0.25), 0 2px 4px -2px rgba(28, 25, 23, 0.04);
  position: relative;
}

.m-demo__step-card::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 1.85rem;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid var(--m-white);
  filter: drop-shadow(-1px 0 0 var(--m-border));
  z-index: 1;
}

.m-demo__step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.m-demo__step-head-text { min-width: 0; flex: 1; }

.m-demo__step-title {
  font-family: var(--m-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--m-black);
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.m-demo__step-text {
  font-size: 0.975rem;
  color: var(--m-warm-gray);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

/* Tag floats on the right of a step title */
.m-demo__step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: var(--m-sand);
  color: var(--m-warm-gray);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--m-font-body);
  flex-shrink: 0;
}

.m-demo__step-tag svg { width: 12px; height: 12px; }

/* Final "and then…" connector at the end of each chapter */
.m-demo__chapter-outro {
  margin-top: 2rem;
  padding-left: 3.25rem;
  font-family: var(--m-font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--m-teal);
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.m-demo__chapter-outro svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

/* Mockup tile — shared shell for every illustrative surface */
.m-mockup {
  background: var(--m-white);
  border: 1px solid var(--m-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 32px -18px rgba(27, 77, 62, 0.2), 0 2px 6px -2px rgba(28, 25, 23, 0.04);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.m-mockup--tight { padding: 1.25rem 1.5rem; }
.m-mockup--flush { padding: 0; overflow: hidden; }

.m-mockup__label {
  font-family: var(--m-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--m-warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.m-mockup__title {
  font-family: var(--m-font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--m-black);
  letter-spacing: -0.015em;
}

.m-mockup__meta {
  font-size: 0.8125rem;
  color: var(--m-warm-gray);
}

/* Challenge card mockup */
.m-mockup-challenge__brief {
  font-size: 0.9rem;
  color: var(--m-warm-gray);
  line-height: 1.6;
  margin: 0.75rem 0 1.25rem;
}

.m-mockup-challenge__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--m-border);
}

.m-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--m-border);
  background: var(--m-white);
  color: var(--m-black);
  transition: none;
}

.m-chip--teal {
  background: var(--m-teal);
  border-color: var(--m-teal);
  color: var(--m-white);
  font-weight: 600;
}

.m-chip--amber {
  background: #FBF1DB;
  border-color: #EFDDB1;
  color: #6B4D16;
}

.m-chip--dot::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
  margin-right: 0.1rem;
}

.m-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.m-status--open { background: #E8F0ED; color: var(--m-teal); }
.m-status--started { background: #FBF1DB; color: #6B4D16; }
.m-status--submitted { background: #F0EAFB; color: #5B3F9E; }
.m-status--reviewed { background: #DFF3E8; color: #156537; }

/* Activity feed mockup */
.m-mockup-feed {
  display: flex;
  flex-direction: column;
}

.m-mockup-feed__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--m-border);
}

.m-mockup-feed__row:last-child { border-bottom: none; }

.m-mockup-feed__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m-teal);
  flex-shrink: 0;
}

.m-mockup-feed__dot--amber { background: var(--m-amber); }
.m-mockup-feed__dot--muted { background: var(--m-warm-gray); }

.m-mockup-feed__text {
  font-size: 0.9rem;
  color: var(--m-black);
}

.m-mockup-feed__text strong {
  font-weight: 600;
}

.m-mockup-feed__time {
  font-size: 0.75rem;
  color: var(--m-warm-gray);
  font-variant-numeric: tabular-nums;
}

/* Starter card mockup */
.m-mockup-starter__steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.25rem;
  margin: 1rem 0 1.5rem;
  list-style: decimal;
  color: var(--m-black);
  font-size: 0.9rem;
  line-height: 1.5;
}

.m-mockup-starter__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  background: var(--m-teal);
  color: var(--m-white);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Questionnaire mockup */
.m-mockup-question {
  margin-bottom: 1rem;
}

.m-mockup-question:last-child { margin-bottom: 0; }

.m-mockup-question__label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--m-black);
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.m-mockup-question__label::before {
  content: counter(q, decimal) ".";
  color: var(--m-warm-gray);
  font-variant-numeric: tabular-nums;
  counter-increment: q;
  min-width: 1.25rem;
}

.m-mockup-questions { counter-reset: q; }

.m-mockup-question__field {
  border-radius: 10px;
  border: 1px solid var(--m-border);
  background: var(--m-cream);
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: var(--m-warm-gray);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Review mockup */
.m-mockup-review {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.m-mockup-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.m-mockup-score {
  padding: 0.85rem 1rem;
  border: 1px solid var(--m-border);
  border-radius: 12px;
  background: var(--m-cream);
}

.m-mockup-score__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--m-warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.m-mockup-score__value {
  font-family: var(--m-font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--m-black);
  line-height: 1;
}

.m-mockup-score__value span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--m-warm-gray);
  margin-left: 0.15rem;
}

.m-mockup-review__summary {
  font-size: 0.925rem;
  color: var(--m-black);
  line-height: 1.65;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--m-teal);
  background: var(--m-cream);
  border-radius: 0 10px 10px 0;
}

.m-mockup-points {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.m-mockup-point {
  display: grid;
  grid-template-columns: 0.45rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.7rem 1rem 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.55;
  background: var(--m-sand);
}

.m-mockup-point__bar {
  width: 3px;
  height: 100%;
  min-height: 1.5rem;
  border-radius: 3px;
  background: var(--m-warm-gray);
  margin-top: 0.15rem;
}

.m-mockup-point--positive .m-mockup-point__bar { background: #2D7A5F; }
.m-mockup-point--flag .m-mockup-point__bar { background: var(--m-amber); }

.m-mockup-point__text {
  color: var(--m-black);
}

.m-mockup-point__meta {
  font-family: SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--m-warm-gray);
  margin-top: 0.2rem;
  display: block;
}

/* Q&A mockup */
.m-mockup-answer {
  margin-bottom: 1.25rem;
}

.m-mockup-answer:last-child { margin-bottom: 0; }

.m-mockup-answer__q {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--m-black);
  margin-bottom: 0.4rem;
  line-height: 1.45;
}

.m-mockup-answer__a {
  font-size: 0.9rem;
  color: var(--m-warm-gray);
  line-height: 1.65;
}

/* Code-browser mockup — illustrative file tree + source snippet + reviewer note */
.m-mockup-code {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 280px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.m-mockup-code__files {
  background: var(--m-sand);
  border-right: 1px solid var(--m-border);
  padding: 1rem 0.85rem;
}

.m-mockup-code__heading {
  font-family: var(--m-font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--m-warm-gray);
  margin-bottom: 0.65rem;
}

.m-mockup-code__heading code {
  font-family: inherit;
  font-size: 0.7rem;
  background: var(--m-white);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--m-teal);
  letter-spacing: 0;
}

.m-mockup-code__tree {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--m-warm-gray);
}

.m-mockup-code__dir { color: var(--m-black); font-weight: 600; }
.m-mockup-code__dir::before { content: "▸ "; color: var(--m-warm-gray); }
.m-mockup-code__dir--nested { padding-left: 0.85rem; }
.m-mockup-code__file { padding-left: 0.85rem; }
.m-mockup-code__file--nested { padding-left: 1.7rem; }
.m-mockup-code__file--active {
  background: var(--m-teal-light);
  color: var(--m-teal);
  font-weight: 600;
  border-radius: 6px;
  padding-right: 0.35rem;
  margin-right: -0.35rem;
}

.m-mockup-code__pane {
  background: var(--m-white);
  display: flex;
  flex-direction: column;
}

.m-mockup-code__tab {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--m-border);
  font-size: 0.72rem;
  font-family: var(--m-font-body);
  color: var(--m-warm-gray);
  letter-spacing: 0.05em;
}

.m-mockup-code__source {
  margin: 0;
  padding: 0.9rem 0;
  font-size: 0.78rem;
  line-height: 1.75;
  overflow-x: auto;
}

.m-mockup-code__ln {
  display: inline-block;
  width: 2.25rem;
  padding-right: 0.65rem;
  text-align: right;
  color: #c7c2bb;
  user-select: none;
}

.m-mockup-code__ln--flag { color: var(--m-amber); font-weight: 600; }

.m-mockup-code__line {
  display: inline-block;
  white-space: pre;
  color: var(--m-black);
}

.m-mockup-code__line--flag {
  background: rgba(212, 168, 83, 0.16);
  width: calc(100% - 2.9rem);
  padding-left: 0.25rem;
}

.c-tk--kw { color: var(--m-teal); font-weight: 600; }
.c-tk--fn { color: #8a5a00; }
.c-tk--com { color: #94a39c; font-style: italic; }

.m-mockup-code__note {
  display: flex;
  gap: 0.75rem;
  margin: 0.75rem 1rem 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--m-cream);
  border: 1px solid var(--m-border);
  border-radius: 8px;
}

.m-mockup-code__note-bar {
  width: 3px;
  border-radius: 3px;
  background: var(--m-teal);
  flex-shrink: 0;
}

.m-mockup-code__note-text {
  font-family: var(--m-font-body);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--m-black);
  margin-bottom: 0.25rem;
}

.m-mockup-code__note-meta {
  font-family: var(--m-font-body);
  font-size: 0.7rem;
  color: var(--m-warm-gray);
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 768px) {
  .m-demo__chapter-title { font-size: 1.5rem; }
  .m-demo__chapter-emblem { width: 60px; height: 60px; border-radius: 14px; }
  .m-demo__chapter-emblem svg { width: 28px; height: 28px; }
  .m-demo__chapter-steps { padding-left: 0; }
  .m-demo__chapter-steps::before { display: none; }
  .m-demo__step-num {
    position: static;
    margin-bottom: 0.75rem;
  }
  .m-demo__step-card::before { display: none; }
  .m-demo__chapter-outro { padding-left: 0; }
  .m-demo__step-card { padding: 1.35rem; }
  .m-mockup-code { grid-template-columns: 1fr; min-height: 0; }
  .m-mockup-code__files { border-right: 0; border-bottom: 1px solid var(--m-border); }
}

@media (max-width: 640px) {
  .m-mockup-scores { grid-template-columns: 1fr; }
  .m-mockup-feed__row { grid-template-columns: auto 1fr; }
  .m-mockup-feed__time { grid-column: 2; padding-left: 1.05rem; }
  .m-demo__step-head { flex-direction: column; align-items: flex-start; }
  .m-demo__step-tag { margin-top: -0.25rem; }
  .m-mockup { padding: 1.15rem; }
  .m-mockup-question__field { -webkit-line-clamp: 4; }
}

/* ── Cookie notice ────────────────────────────────────────── */

.m-cookie-notice {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.m-cookie-notice[hidden] {
  display: none;
}

.m-cookie-notice__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--m-black);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.m-cookie-notice__copy {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.m-cookie-notice__link {
  color: var(--m-amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.m-cookie-notice__link:hover {
  color: var(--m-amber-dark);
}

.m-cookie-notice__btn {
  flex-shrink: 0;
  background: var(--m-white);
  color: var(--m-black);
  border: 0;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.m-cookie-notice__btn:hover {
  background: var(--m-cream);
}

@media (max-width: 560px) {
  .m-cookie-notice__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .m-cookie-notice__btn {
    width: 100%;
  }
}
