:root {
  --mk-bg: #fbf6ed;
  --mk-text: #241f1a;
  --mk-muted: #6b6258;
  --mk-accent: #4f46e5;
  --mk-accent-dark: #3f39c4;
  --mk-border: #e8e0d2;
  --mk-card: #ffffff;
}

.mk-body {
  margin: 0;
  background: var(--mk-bg);
  color: var(--mk-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.mk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 28px;
}

.mk-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--mk-text);
  text-decoration: none;
}

.mk-brand svg {
  width: 26px;
  height: 26px;
  color: var(--mk-accent);
  flex-shrink: 0;
}

.mk-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mk-nav-links a {
  color: var(--mk-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.mk-btn {
  display: inline-block;
  background: var(--mk-accent);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.mk-btn:hover {
  background: var(--mk-accent-dark);
  color: #fff;
}

.mk-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--mk-text);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid var(--mk-border);
}

.mk-btn-outline:hover {
  border-color: var(--mk-text);
  color: var(--mk-text);
}

.mk-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 28px 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 960px) {
  .mk-hero {
    grid-template-columns: 1fr 0.9fr;
    padding-top: 60px;
  }

  .mk-hero > div:first-child {
    padding-top: 32px;
  }
}

.mk-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mk-accent);
  margin-bottom: 14px;
}

.mk-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 600;
  margin: 0 0 20px;
}

.mk-hero p.mk-sub {
  font-size: 1.15rem;
  color: var(--mk-muted);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 46ch;
}

.mk-hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.mk-hero-ctas .mk-login-link {
  font-weight: 600;
  color: var(--mk-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Device-frame mockup wrapping the real dashboard markup/CSS */
.mk-device {
  background: #111;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(20, 15, 5, 0.35);
  transform: rotate(1.2deg);
}

/* transform: scale() only affects paint, not layout box size, so the wrapper below pins the
   post-scale height explicitly (tuned to the current mockup content) and clips the rest. */
.mk-device-screen-clip {
  overflow: hidden;
  border-radius: 12px;
  height: 640px;
}

.mk-device-screen {
  background: #fff;
  transform: scale(0.72);
  transform-origin: top left;
  width: 138.9%;
  pointer-events: none;
  user-select: none;
}

.mk-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 28px;
}

.mk-section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.mk-section-heading h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.1rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.mk-section-heading p {
  color: var(--mk-muted);
  font-size: 1.05rem;
  margin: 0;
}

.mk-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .mk-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mk-feature-card {
  background: var(--mk-card);
  border: 1px solid var(--mk-border);
  border-radius: 16px;
  padding: 28px;
}

.mk-feature-card .mk-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--mk-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.mk-feature-icon svg {
  width: 22px;
  height: 22px;
}

.mk-feature-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.mk-feature-card p {
  color: var(--mk-muted);
  margin: 0;
  line-height: 1.5;
}

.mk-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  counter-reset: mk-step;
}

@media (min-width: 720px) {
  .mk-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mk-step {
  text-align: left;
}

.mk-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mk-text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  margin-bottom: 14px;
}

.mk-step h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.mk-step p {
  color: var(--mk-muted);
  margin: 0;
  line-height: 1.5;
}

.mk-cta-band {
  background: var(--mk-text);
  color: #fff;
  border-radius: 24px;
  max-width: 1120px;
  margin: 20px auto 80px;
  padding: 56px 28px;
  text-align: center;
}

.mk-cta-band h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  margin: 0 0 14px;
}

.mk-cta-band p {
  color: #d9d6d0;
  margin: 0 0 26px;
}

.mk-footer {
  border-top: 1px solid var(--mk-border);
  padding: 28px;
}

.mk-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--mk-muted);
  font-size: 0.9rem;
}

.mk-footer-links {
  display: flex;
  gap: 20px;
}

.mk-footer-links a {
  color: var(--mk-muted);
  text-decoration: none;
}

.mk-footer-links a:hover {
  color: var(--mk-text);
  text-decoration: underline;
}

/* Privacy policy page */
.mk-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 28px 80px;
}

.mk-legal h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.3rem;
  margin: 0 0 6px;
}

.mk-legal .mk-updated {
  color: var(--mk-muted);
  font-size: 0.9rem;
  margin: 0 0 40px;
}

.mk-legal h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  margin: 36px 0 12px;
}

.mk-legal p, .mk-legal li {
  line-height: 1.65;
  color: #3a352e;
}

.mk-legal ul {
  padding-left: 22px;
}
