/* Marketing site (/, /pricing, /terms, /privacy). Light theme, navy text,
   blue accent — same family as the app but bolder type and spacing. */

:root {
    --mk-blue: #1758d4;
    --mk-blue-dark: #0f43a8;
    --mk-navy: #101828;
    --mk-body: #475467;
    --mk-muted: #667085;
    --mk-line: #e7eaf0;
    --mk-bg-soft: #f7f8fb;
    --mk-green: #1f7a3d;
    --mk-green-bg: #e7f6ec;
    --mk-amber: #92600a;
    --mk-amber-bg: #fdf3dd;
    --mk-red: #b3261e;
    --mk-red-bg: #fdeceb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--mk-body);
    background: #fff;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--mk-navy); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; }
a { color: var(--mk-blue); text-decoration: none; }

.mk-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
.mk-nav { position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mk-line); z-index: 50; }
.mk-nav-inner { max-width: 1080px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.mk-logo { font-size: 20px; font-weight: 800; color: var(--mk-navy); letter-spacing: -0.02em; }
/* Inline icon before the wordmark — sized to the text, doesn't alter the
   text's own layout/flow. */
.mk-logo-icon { height: 1.05em; width: auto; vertical-align: -0.18em; margin-right: 8px; }
.mk-nav-links { display: flex; gap: 22px; flex: 1; }
.mk-nav-links a { color: var(--mk-body); font-weight: 500; font-size: 15px; }
.mk-nav-links a:hover { color: var(--mk-navy); }
.mk-nav-cta { display: flex; align-items: center; gap: 16px; }
.mk-nav-login { color: var(--mk-body); font-weight: 500; font-size: 15px; }
@media (max-width: 700px) { .mk-nav-links { display: none; } .mk-nav-inner { justify-content: space-between; } }
@media (max-width: 560px) {
    .mk-nav-inner { padding: 11px 16px; gap: 10px; }
    .mk-logo { font-size: 18px; }
    .mk-nav-cta { gap: 10px; }
    .mk-nav-login { font-size: 14px; white-space: nowrap; }
    .mk-nav-cta .mk-btn { padding: 9px 13px; font-size: 14px; }
}

/* ---- Buttons ---- */
.mk-btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: background .15s, transform .05s; white-space: nowrap; }
.mk-btn-primary { background: var(--mk-blue); color: #fff !important; }
.mk-btn-primary:hover { background: var(--mk-blue-dark); }
.mk-btn-primary:active { transform: translateY(1px); }
.mk-btn-big { padding: 16px 28px; font-size: 17px; border-radius: 12px; }
.mk-btn-ghost { background: #fff; color: var(--mk-navy) !important; border: 1px solid var(--mk-line); }
.mk-btn-ghost:hover { border-color: #c9cfdb; }
.mk-btn[disabled] { background: #aab4c8; cursor: not-allowed; }

/* ---- Hero ---- */
.mk-hero { padding: 84px 0 64px; text-align: center; background:
    radial-gradient(1200px 500px at 50% -150px, #eaf1ff 0%, rgba(255,255,255,0) 70%); }
.mk-hero h1 { font-size: 52px; font-weight: 800; max-width: 820px; margin: 0 auto 18px; }
.mk-hero h1 em { font-style: normal; color: var(--mk-blue); }
.mk-hero-sub { font-size: 19px; max-width: 640px; margin: 0 auto 34px; }
@media (max-width: 700px) { .mk-hero h1 { font-size: 34px; } .mk-hero { padding: 48px 0 40px; } }

/* Hook form */
.mk-hook { display: flex; gap: 10px; max-width: 620px; margin: 0 auto 12px; }
.mk-hook input { flex: 1; padding: 16px 18px; font-size: 16px; border: 1.5px solid var(--mk-line); border-radius: 12px; outline: none; min-width: 0; }
.mk-hook input::placeholder { color: #4a5161; opacity: 1; }
.mk-hook input:focus { border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(23,88,212,.12); }
.mk-hook button { white-space: nowrap; }
@media (max-width: 560px) { .mk-hook { flex-direction: column; } }
.mk-hero-note { font-size: 14px; color: var(--mk-muted); }

/* ---- Verdict mock ---- */
.mk-mock { max-width: 760px; margin: 48px auto 0; border: 1px solid var(--mk-line); border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(16,24,40,.25); overflow: hidden; text-align: left; background: #fff; }
.mk-mock-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--mk-line); background: var(--mk-bg-soft); }
.mk-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d8dce5; }
.mk-mock-body { padding: 26px; }
.mk-verdict { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 12px; background: var(--mk-green-bg); border: 1px solid #bfe5cc; margin: 18px 0; }
.mk-seg-title { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--mk-muted); padding: 4px 2px 10px; }
.mk-verdict-badge { font-size: 22px; font-weight: 800; color: var(--mk-green); letter-spacing: .01em; }
.mk-verdict-meta { font-size: 14px; color: #2c5d3c; }
/* Dashboard-style stat cards inside the hero mock. */
.mk-stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 6px 0 18px; margin-bottom: 8px; border-bottom: 1px solid var(--mk-line); }
.mk-stat-card { border: 1px solid var(--mk-line); border-radius: 12px; background: #fff; padding: 16px 16px 0; overflow: hidden; }
.mk-stat-head { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--mk-navy); }
.mk-stat-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mk-stat-num { font-size: 30px; font-weight: 800; color: var(--mk-navy); line-height: 1.05; margin-top: 8px; }
.mk-stat-sub { font-size: 12px; color: var(--mk-muted); margin: 2px 0 4px; }
/* Sparkline bleeds to the card's bottom + side edges, like the real
   dashboard chart. Negative margins absorb the card's 16px padding; it
   sits directly under the label (no auto gap) and is the last element so
   it reaches the bottom edge. */
.mk-stat-spark { display: block; width: calc(100% + 32px); height: 78px; margin: 0 -16px 0; }
@media (max-width: 560px) {
    /* Preview mock on mobile: ONE stat card per row at full desktop sizing
       (no font shrinking). */
    .mk-mock { margin-top: 32px; }
    .mk-mock-body { padding: 18px; }
    .mk-stats3 { grid-template-columns: 1fr; gap: 12px; }
    /* Verdict stacks: "BUILD IT ✓" on its own line, the stat underneath. */
    .mk-verdict { flex-direction: column; align-items: flex-start; gap: 6px; }
    .mk-verdict-badge { white-space: nowrap; }
    /* Each segment: verdict pill ABOVE the label, everything left-aligned.
       (align-self pins the narrow pill left — flex would otherwise visually
       centre it against the full-width wrapping label.) */
    .mk-seg { flex-direction: column-reverse; align-items: flex-start; gap: 6px; padding: 12px 2px; }
    .mk-seg .mk-seg-label,
    .mk-seg .mk-pill { align-self: flex-start; text-align: left; }
    .mk-pill { white-space: nowrap; }
}

.mk-seg { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--mk-line); font-size: 14px; }
.mk-seg:last-child { border-bottom: none; }
.mk-seg-label { color: var(--mk-navy); font-weight: 600; }
.mk-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.mk-pill-green { background: var(--mk-green-bg); color: var(--mk-green); }
.mk-pill-amber { background: var(--mk-amber-bg); color: var(--mk-amber); }
.mk-pill-red { background: var(--mk-red-bg); color: var(--mk-red); }

/* ---- Sections ---- */
.mk-section { padding: 80px 0; }
.mk-section-soft { background: var(--mk-bg-soft); }
.mk-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-blue); margin-bottom: 10px; }
.mk-section h2 { font-size: 36px; font-weight: 800; max-width: 720px; }
.mk-section-center { text-align: center; }
.mk-section-center h2 { margin-left: auto; margin-right: auto; }
.mk-lead { font-size: 18px; max-width: 640px; margin-bottom: 36px; }
.mk-section-center .mk-lead { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .mk-section { padding: 52px 0; } .mk-section h2 { font-size: 28px; } }

/* Steps */
.mk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
@media (max-width: 820px) { .mk-steps { grid-template-columns: 1fr; } }
.mk-step { background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; padding: 26px; }
.mk-step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--mk-blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.mk-step h3 { font-size: 19px; }
.mk-step p { font-size: 15px; margin: 0; }

/* Feature grid */
.mk-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .mk-features { grid-template-columns: 1fr; } }
.mk-feature { border: 1px solid var(--mk-line); border-radius: 16px; padding: 24px; background: #fff; }
.mk-feature-icon { font-size: 24px; margin-bottom: 10px; }
.mk-feature h3 { font-size: 17px; margin-bottom: 8px; }
.mk-feature p { font-size: 14.5px; margin: 0; }
.mk-soon { display: inline-block; font-size: 11px; font-weight: 700; background: #eef2ff; color: #4651d8; padding: 2px 8px; border-radius: 10px; vertical-align: middle; margin-left: 6px; }

/* Paywall callout */
/* minmax(0,1fr) — without the 0 minimum each column defaults to
   minmax(auto,1fr), so a wide heading's min-content widens the text
   column and starves the media column. The 0 floor forces true 50/50. */
.mk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 820px) { .mk-split { grid-template-columns: 1fr; } }
.mk-card-stack { border: 1px solid var(--mk-line); border-radius: 16px; padding: 26px; background: #fff; box-shadow: 0 16px 40px -20px rgba(16,24,40,.2); }
.mk-fake-paywall { position: relative; border: 1px solid var(--mk-line); border-radius: 12px; padding: 18px; overflow: hidden; }
/* Diagonal semi-transparent "EXAMPLE" watermark over the sample paywall. */
.mk-example-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-18deg);
    font-size: clamp(34px, 8vw, 56px);
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(16, 24, 40, 0.13);
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
}
.mk-fake-paywall .pw-title { font-weight: 700; color: var(--mk-navy); margin-bottom: 10px; }
.mk-fake-row { display: flex; gap: 8px; margin-bottom: 8px; }
.mk-fake-field { flex: 1; height: 38px; border: 1px solid var(--mk-line); border-radius: 8px; background: var(--mk-bg-soft); display: flex; align-items: center; padding: 0 12px; color: var(--mk-muted); font-size: 13px; }
.mk-fake-btn { height: 44px; border-radius: 8px; background: var(--mk-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; margin-top: 4px; }
.mk-ethics { font-size: 13px; color: var(--mk-muted); margin-top: 12px; }

/* Responsive 16:9 YouTube embed. .mk-video-card makes the video itself
   the card (rounded corners + shadow), replacing the white .mk-card-stack
   wrapper entirely. */
.mk-video { position: relative; width: 100%; padding-bottom: 56.25%; border-radius: 16px; overflow: hidden; background: #000; }
.mk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mk-video-card { box-shadow: 0 16px 40px -20px rgba(16,24,40,.2); }

/* Checklist */
.mk-checks { list-style: none; padding: 0; margin: 18px 0 0; }
.mk-checks li { padding-left: 30px; position: relative; margin-bottom: 12px; font-size: 16px; }
.mk-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mk-green-bg); color: var(--mk-green); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ---- Pricing ---- */
.mk-pricing { display: grid; grid-template-columns: repeat(3, minmax(260px, 360px)); gap: 24px; justify-content: center; align-items: stretch; }
@media (max-width: 1080px) { .mk-pricing { grid-template-columns: repeat(2, minmax(260px, 360px)); } }
@media (max-width: 760px) { .mk-pricing { grid-template-columns: minmax(280px, 420px); } }
.mk-price-card { border: 1px solid var(--mk-line); border-radius: 18px; padding: 30px; background: #fff; position: relative; text-align: left; display: flex; flex-direction: column; }
/* Push each card's CTA to the bottom so cards of unequal content still line up. */
.mk-price-card .mk-price-cta { margin-top: auto; }
.mk-price-card-hot { border: 2px solid var(--mk-blue); box-shadow: 0 20px 50px -24px rgba(23,88,212,.35); }
.mk-price-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--mk-blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: 20px; white-space: nowrap; }
.mk-price-name { font-size: 18px; font-weight: 700; color: var(--mk-navy); }
.mk-price-tag { margin: 12px 0 4px; }
.mk-price-now { font-size: 44px; font-weight: 800; color: var(--mk-navy); letter-spacing: -0.03em; }
.mk-price-per { font-size: 15px; color: var(--mk-muted); }
.mk-price-was { font-size: 16px; color: var(--mk-muted); text-decoration: line-through; margin-left: 8px; }
.mk-price-note { font-size: 13.5px; color: var(--mk-muted); margin-bottom: 18px; }
.mk-price-feats { list-style: none; padding: 0; margin: 0 0 22px; }
.mk-price-feats li { padding: 7px 0 7px 28px; position: relative; font-size: 15px; border-bottom: 1px dashed var(--mk-line); }
.mk-price-feats li:last-child { border-bottom: none; }
.mk-price-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--mk-green); font-weight: 800; }
.mk-price-feats li.mk-feat-soon::before { content: "•"; color: var(--mk-muted); }
.mk-price-cta { width: 100%; text-align: center; }

/* ---- FAQ ---- */
.mk-faq { max-width: 720px; margin: 0 auto; }
.mk-faq details { border-bottom: 1px solid var(--mk-line); padding: 4px 0; }
.mk-faq summary { cursor: pointer; font-weight: 600; color: var(--mk-navy); font-size: 16.5px; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--mk-muted); font-weight: 400; }
.mk-faq details[open] summary::after { content: "–"; }
.mk-faq-a { padding: 0 0 16px; font-size: 15.5px; }

/* ---- Final CTA ---- */
.mk-final { background: var(--mk-navy); color: #c5cde0; text-align: center; padding: 90px 24px; }
.mk-final h2 { color: #fff; font-size: 38px; max-width: 700px; margin: 0 auto 14px; }
.mk-final p { max-width: 560px; margin: 0 auto 30px; font-size: 17px; }
.mk-final .mk-hook input { border-color: #2c3a55; }
@media (max-width: 700px) { .mk-final h2 { font-size: 28px; } }

/* ---- Footer ---- */
.mk-footer { border-top: 1px solid var(--mk-line); background: #fff; }
.mk-footer-inner { max-width: 1080px; margin: 0 auto; padding: 48px 24px 28px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .mk-footer-inner { grid-template-columns: 1fr; } }
.mk-footer-brand p { font-size: 14px; max-width: 320px; }
.mk-footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--mk-muted); margin-bottom: 12px; }
.mk-footer-col a { display: block; color: var(--mk-body); font-size: 14.5px; padding: 4px 0; }
.mk-footer-col a:hover { color: var(--mk-navy); }
.mk-footer-base { text-align: center; font-size: 13px; color: var(--mk-muted); padding: 18px 24px 26px; border-top: 1px solid var(--mk-line); }

/* ---- Auth pages (login / signup) ---- */
.mk-auth-wrap { min-height: calc(100vh - 200px); display: flex; align-items: flex-start; justify-content: center; padding: 56px 24px 80px; background:
    radial-gradient(900px 360px at 50% -120px, #eaf1ff 0%, rgba(255,255,255,0) 70%); }
.mk-auth { width: 100%; max-width: 420px; }
.mk-auth h1 { font-size: 28px; text-align: center; margin-bottom: 6px; }
.mk-auth-sub { text-align: center; color: var(--mk-muted); font-size: 15px; margin: 0 0 26px; }
.mk-auth-card { background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; padding: 28px; box-shadow: 0 18px 50px -28px rgba(16,24,40,.28); }
.mk-auth-card label { display: block; font-size: 13px; font-weight: 600; color: var(--mk-navy); margin: 14px 0 6px; }
.mk-auth-card label:first-of-type { margin-top: 0; }
.mk-auth-card input[type=email],
.mk-auth-card input[type=password],
.mk-auth-card input[type=text] { width: 100%; padding: 12px 14px; font-size: 15px; border: 1.5px solid var(--mk-line); border-radius: 10px; outline: none; }
.mk-auth-card input:focus { border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(23,88,212,.12); }
.mk-auth-card .mk-help { font-size: 12.5px; color: var(--mk-muted); margin: 6px 0 0; }
.mk-auth-card .mk-btn { width: 100%; text-align: center; margin-top: 20px; }
.mk-auth-error { background: var(--mk-red-bg); color: var(--mk-red); border: 1px solid #f3c9c6; border-radius: 10px; padding: 11px 14px; font-size: 14px; margin-bottom: 18px; }
.mk-auth-idea { background: var(--mk-bg-soft); border: 1px solid var(--mk-line); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
.mk-auth-idea-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--mk-muted); margin-bottom: 4px; }
.mk-auth-alt { text-align: center; color: var(--mk-muted); font-size: 14px; margin-top: 22px; }
.mk-auth-fine { text-align: center; color: var(--mk-muted); font-size: 12.5px; margin-top: 12px; }

/* ---- Legal pages ---- */
.mk-legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.mk-legal h1 { font-size: 34px; }
.mk-legal h2 { font-size: 21px; margin-top: 34px; }
.mk-legal p, .mk-legal li { font-size: 15.5px; }
.mk-legal-updated { color: var(--mk-muted); font-size: 14px; margin-bottom: 28px; }
