/* maado.app — DoIt landing page. No web fonts, no scripts: system fonts,
   the app's colours (primary #5449E6, accent #00796B), light and dark. */

:root {
  --primary: #5449e6;
  --primary-ink: #3f35c8;
  --on-primary: #ffffff;
  --accent: #00796b;
  --ink: #1a1a2e;
  --muted: #4a4a63;
  --bg: #ffffff;
  --tint: #f4f3ff;
  --card: #ffffff;
  --line: #e3e2f2;
  --good: #00796b;
  --bad: #5e5e78;
  --shadow: 0 1px 2px rgba(26, 26, 46, .06), 0 8px 24px rgba(26, 26, 46, .08);
  --radius: 16px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #8f87ff;
    --primary-ink: #b3adff;
    --on-primary: #12112a;
    --accent: #4fd1c0;
    --ink: #ecebf8;
    --muted: #b8b7cc;
    --bg: #11111d;
    --tint: #191829;
    --card: #1e1d31;
    --line: #2f2e47;
    --good: #4fd1c0;
    --bad: #8d8ca6;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--primary-ink); text-underline-offset: 3px; }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-ink); color: var(--on-primary); }
.btn--ghost { border-color: var(--primary); color: var(--primary-ink); background: transparent; }
.btn--ghost:hover { background: var(--tint); }
.btn--light { background: #ffffff; color: #3f35c8; }
.btn--light:hover { color: #2c2496; }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: .95rem; }

/* ── Header ──────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; }
.brand--light { color: #ffffff; }
.nav { margin-left: auto; display: none; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; }
.nav a:hover { color: var(--primary-ink); text-decoration: underline; }
.top__cta { display: none; }
.menu { margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; font-size: 1.3rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: 52px; list-style: none; margin: 0; padding: 8px; min-width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.menu a:hover { background: var(--tint); }
@media (min-width: 960px) {
  .nav, .top__cta { display: flex; }
  .menu { display: none; }
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding: 56px 0 32px; background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 60%), radial-gradient(800px 400px at -10% 20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr .85fr; } .hero { padding-top: 80px; } }
.eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.hl { color: var(--primary); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.fine { font-size: .92rem; color: var(--muted); }

.phone { justify-self: center; width: min(330px, 100%); padding: 12px; border-radius: 40px; background: linear-gradient(160deg, #2b2a45, #1a1a2e); box-shadow: 0 30px 60px rgba(26, 26, 46, .25); }
.phone__screen { background: #f8f8fc; color: #1a1a2e; border-radius: 30px; padding: 22px 18px; display: grid; gap: 14px; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.25rem; }
.phone__dot { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #5449e6, #00796b); }
.mock-goal { background: #ffffff; border-radius: 16px; padding: 14px; box-shadow: 0 2px 8px rgba(26, 26, 46, .08); }
.mock-goal__head { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: 8px; }
.mock-goal__head span { color: #3f35c8; font-weight: 700; }
.mock-goal small { color: #5a5a72; font-size: .78rem; }
.meter { height: 8px; border-radius: 99px; background: #e8e6fb; overflow: hidden; margin-bottom: 8px; }
.meter span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #5449e6, #00796b); }
.meter__62 { width: 62%; }
.mock-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mock-tasks li { display: flex; align-items: center; gap: 10px; background: #ffffff; border-radius: 12px; padding: 10px 12px; font-size: .88rem; }
.mock-tasks i { flex: none; width: 18px; height: 18px; border-radius: 6px; border: 2px solid #5449e6; }
.mock-tasks .done { color: #6b6b82; text-decoration: line-through; }
.mock-tasks .done i { background: #5449e6; }
.mock-tasks em { margin-left: auto; font-style: normal; font-size: .75rem; color: #5a5a72; }
.tag { padding: 2px 8px; border-radius: 99px; background: #eceaff; color: #3f35c8 !important; font-weight: 600; }
.tag--high { background: #fde7e7; color: #a32020 !important; }
.mock-review { background: linear-gradient(135deg, #5449e6, #3f35c8); color: #ffffff; border-radius: 16px; padding: 12px 14px; display: grid; gap: 2px; font-size: .85rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; }
.stat strong { font-size: 1.5rem; color: var(--primary-ink); }
.stat span { color: var(--muted); font-size: .92rem; }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section__lead { font-size: 1.12rem; color: var(--muted); max-width: 46rem; margin-bottom: 36px; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card .note { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--accent); }
.ico { width: 44px; height: 44px; padding: 9px; margin-bottom: 14px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 14%, transparent); stroke: var(--primary-ink); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps p { color: var(--muted); margin: 0; }
.steps__n { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 14px; color: transparent; -webkit-text-stroke: 2px var(--primary); }

.modes { display: grid; gap: 18px; }
@media (min-width: 820px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode { border-radius: var(--radius); padding: 28px; background: var(--card); border: 2px solid color-mix(in srgb, var(--primary) 40%, var(--line)); }
.mode--alt { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.mode p { color: var(--muted); }

.ticks, .crosses { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.ticks li, .crosses li { position: relative; padding-left: 28px; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; font-weight: 800; color: var(--good); }
.crosses li { color: var(--bad); }
.crosses li::before { content: "–"; position: absolute; left: 6px; font-weight: 800; }
.crosses li::after { content: " (not included)"; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.plan .btn { margin-top: auto; }
.plan--featured { border: 2px solid var(--primary); }
.plan__badge { position: absolute; top: -13px; left: 22px; margin: 0; padding: 3px 12px; border-radius: 99px; background: var(--primary); color: var(--on-primary); font-size: .8rem; font-weight: 700; }
.plan__price { font-size: 1.35rem; font-weight: 800; color: var(--primary-ink); margin-bottom: 4px; }
.plan__price--small { font-size: 1.1rem; }
.plan__for { color: var(--muted); font-size: .95rem; }
.plan__sub { font-size: 1.05rem; margin-top: 8px; }
.plan__more { font-size: .92rem; color: var(--muted); }
.plans__note { margin-top: 28px; padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px dashed var(--line); color: var(--muted); }
.plans__note strong { color: var(--ink); }

/* ── Get the app ─────────────────────────────────────────────────────── */
.get { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.get__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
.get__card h3, .get__card p { margin: 0; }
.get__card > p { color: var(--muted); }
.qr-wrap { position: relative; }
.qr { display: block; width: 180px; height: 180px; padding: 6px; border-radius: 14px; background: #ffffff; border: 1px solid var(--line); }
.soon-badge { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); white-space: nowrap; padding: 4px 12px; border-radius: 99px; background: var(--accent); color: #ffffff; font-size: .8rem; font-weight: 700; }
@media (prefers-color-scheme: dark) { .soon-badge { color: #0c2a26; } }
.get__card .btn { margin-top: 10px; }
.get__link { font-size: .92rem; }

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .contact { grid-template-columns: 1.2fr .8fr; } }
.contact__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact__label { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact__name { font-size: 1.4rem; font-weight: 800; }
.contact__mail { font-size: 1.15rem; font-weight: 650; word-break: break-all; }

/* ── Closing and footer ──────────────────────────────────────────────── */
.closing { padding: 72px 0; text-align: center; color: #ffffff; background: linear-gradient(135deg, #5449e6, #3c329c 60%, #005b51); }
.closing p { font-size: 1.15rem; color: #eceaff; }
.foot { background: #12111f; color: #cfcee0; padding: 56px 0 24px; }
.foot a { color: #e6e5f5; text-decoration: none; }
.foot a:hover { color: #ffffff; text-decoration: underline; }
.foot__grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.foot__tag { margin-top: 12px; color: #a9a8c2; }
.foot__h { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #a9a8c2; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #2a293d; font-size: .88rem; color: #a9a8c2; }
.foot__base p { margin: 0; }

/* ── Simple pages (coming soon, 404) ─────────────────────────────────── */
.simple { min-height: 70vh; display: grid; place-items: center; padding: 64px 0; text-align: center; }
.simple__box { max-width: 36rem; }
.simple__box img { border-radius: 22px; margin-bottom: 20px; }
.simple__box .cta-row { justify-content: center; }
