/* Marketing-only layout (theme tokens come from /theme.css) */

.marketing-page h1,
.marketing-page h2,
.marketing-page h3 {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.marketing-page .mr-modal-head h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}

.mr-brand-link {
  color: inherit;
  text-decoration: none;
}

.mr-brand-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar.mr-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 20px;
}

.mr-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  font-size: 14px;
  font-weight: 650;
}

.mr-nav a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.mr-nav a:hover {
  color: var(--ink);
}

.mr-topbar-cta {
  margin-left: 0;
  justify-self: end;
}

.marketing-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px 36px;
  align-items: start;
}

.marketing-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.marketing-hero p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 22px;
}

.marketing-hero p.lead em {
  color: var(--ink);
  font-style: normal;
  font-weight: 650;
}

.mr-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 12px;
}

.mr-kicker-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.mr-kicker-on-dark {
  color: rgba(255, 240, 228, 0.95);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(58, 42, 36, 0.28);
}

.btn-secondary:hover {
  border-color: rgba(58, 42, 36, 0.22);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 35px rgba(58, 42, 36, 0.22);
}

.btn-secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(230, 223, 215, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-top: 6px;
}

.hero-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.mr-hero-steps {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.58;
  font-size: 15px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.mr-hero-steps li + li {
  margin-top: 10px;
}

.mr-prose {
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 52ch;
}

.mr-prose:last-child {
  margin-bottom: 0;
}

.mr-prose strong {
  color: var(--ink);
  font-weight: 650;
}

/* Split: narrative + pull quote */
.mr-split {
  width: min(1120px, calc(100% - 32px));
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: 1fr min(340px, 92vw);
  gap: 32px 48px;
  align-items: start;
}

.mr-split-main h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.12;
  margin: 0 0 16px;
}

.mr-pullquote {
  position: relative;
  margin-top: 8px;
}

.mr-pullquote blockquote {
  margin: 0;
  padding: 24px 22px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(58, 42, 36, 0.08);
  transform: rotate(-0.4deg);
}

.mr-pullquote blockquote p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 14px;
}

.mr-pullquote blockquote footer {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Insights + cadence */
.mr-insights {
  width: min(1120px, calc(100% - 32px));
  margin: 80px auto 0;
}

.mr-insights-intro {
  max-width: 720px;
  margin-bottom: 36px;
}

.mr-insights-intro h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.12;
  margin: 0 0 14px;
}

.mr-insights-lead {
  max-width: none;
}

.mr-cadence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.mr-cadence-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 250, 244, 0.88) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 20px 22px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mr-cadence-card:hover {
  border-color: rgba(230, 122, 46, 0.35);
  box-shadow: 0 12px 32px rgba(58, 42, 36, 0.07);
}

.mr-period-label {
  display: inline-block;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.mr-cadence-card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mr-cadence-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.mr-dash-preview {
  background: var(--brand);
  color: #f5f0eb;
  border-radius: 22px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 50px rgba(58, 42, 36, 0.25);
}

.mr-dash-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.mr-dash-preview-title {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.mr-dash-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.88);
}

.mr-period-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  margin-bottom: 20px;
}

.mr-period-tab {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 750;
  padding: 9px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
}

.mr-period-tab-active {
  background: #fff;
  color: var(--brand);
}

.mr-dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mr-dash-metric {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 14px;
}

.mr-dash-metric-num {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.mr-dash-metric-label {
  font-size: 12px;
  opacity: 0.78;
  line-height: 1.35;
}

/* Actions band */
.mr-actions-band {
  margin: 72px 0 0;
  padding: 56px 22px;
  background: linear-gradient(90deg, rgba(255, 240, 228, 0.65) 0%, rgba(246, 243, 238, 0.95) 45%, rgba(255, 255, 255, 0.4) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mr-actions-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px 48px;
  align-items: start;
}

.mr-actions-inner h2 {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  margin: 0 0 14px;
}

.mr-action-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  border-left: 3px solid var(--accent);
  padding-left: 22px;
}

.mr-action-list li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid rgba(230, 223, 215, 0.85);
}

.mr-action-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mr-action-list strong {
  color: var(--ink);
  font-weight: 750;
}

/* Capture */
.mr-capture {
  width: min(1120px, calc(100% - 32px));
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px 40px;
  align-items: start;
}

.mr-capture h2 {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  margin: 0 0 14px;
}

.mr-capture-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mr-capture-list li {
  position: relative;
  padding: 18px 0 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 20px;
}

.mr-capture-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.mr-capture-list li:last-child {
  border-bottom: 0;
}

.mr-capture-list strong {
  color: var(--ink);
  font-weight: 700;
}

/* Beta */
.mr-beta {
  width: min(1120px, calc(100% - 32px));
  margin: 72px auto 80px;
}

.mr-beta-card {
  border-radius: 26px;
  overflow: hidden;
  background: var(--brand);
  box-shadow: 0 28px 60px rgba(58, 42, 36, 0.28);
}

.mr-beta-copy {
  padding: 40px 36px 44px;
  max-width: 640px;
}

.mr-beta-copy h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.12;
  margin: 0 0 14px;
}

.mr-prose-on-dark {
  color: rgba(245, 238, 232, 0.82);
  max-width: none;
}

.mr-beta-includes {
  margin: 22px 0 26px;
  padding-left: 1.1rem;
  color: rgba(245, 238, 232, 0.88);
  line-height: 1.65;
  font-size: 15px;
}

.mr-btn-inverse {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.mr-btn-inverse:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.mr-btn-inverse-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.mr-btn-inverse-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.mr-beta-contact {
  margin: 22px 0 0;
  font-size: 14px;
  color: rgba(245, 238, 232, 0.72);
}

.mr-beta-contact a {
  color: #fff;
  font-weight: 700;
}

/* Footer */
.mr-footer {
  padding: 28px 22px 40px;
  border-top: 1px solid rgba(230, 223, 215, 0.9);
  background: rgba(255, 255, 255, 0.35);
}

.mr-footer-row {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: baseline;
  justify-content: space-between;
}

.mr-footer-brand {
  font-weight: 850;
  letter-spacing: -0.04em;
  font-size: 18px;
  color: var(--ink);
}

.mr-footer-links {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 640px;
}

.mr-footer-links a {
  color: var(--brand);
  font-weight: 750;
  text-decoration: none;
}

.mr-footer-links a:hover {
  text-decoration: underline;
}

.mr-footer-dot {
  margin: 0 6px;
  opacity: 0.45;
}

.mr-footer-code {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.mr-footer-note {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  opacity: 0.92;
}

@media (max-width: 960px) {
  .mr-topbar-cta {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .marketing-hero,
  .mr-split,
  .mr-actions-inner,
  .mr-capture {
    grid-template-columns: 1fr;
  }

  .mr-pullquote blockquote {
    transform: none;
  }

  .mr-cadence-grid {
    grid-template-columns: 1fr;
  }

  .mr-dash-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar.mr-topbar {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav nav";
  }

  .topbar.mr-topbar > .brand {
    grid-area: brand;
  }

  .topbar.mr-topbar > .mr-nav {
    grid-area: nav;
    justify-content: flex-start;
    padding-top: 8px;
    border-top: 1px solid rgba(230, 223, 215, 0.65);
  }

  .topbar.mr-topbar > .mr-topbar-cta {
    grid-area: cta;
  }
}

/* Sign-up modal */
.mr-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(43, 33, 29, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mr-modal-backdrop[hidden] {
  display: none;
}

.mr-modal {
  width: min(440px, 100%);
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px 22px 20px;
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.mr-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.mr-modal-head h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.mr-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0 4px;
}

.mr-modal-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.mr-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.mr-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
  margin-bottom: 14px;
  font-family: inherit;
}

.mr-input:focus {
  outline: 2px solid rgba(230, 122, 46, 0.35);
  outline-offset: 1px;
}

.mr-hint {
  font-size: 12px;
  color: var(--muted);
  margin: -6px 0 14px;
  line-height: 1.45;
}

.mr-msg {
  min-height: 1.25em;
  font-size: 14px;
  color: var(--red);
  margin: 0 0 12px;
}

.mr-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}

.mr-modal-actions .btn-primary,
.mr-modal-actions .btn-secondary {
  cursor: pointer;
  border: 0;
  font: inherit;
}
