/* My-Fit landing. No external fonts or scripts: the site sets no cookies and loads nothing from third parties. */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --muted: #5a6779;
  --line: #e3e8ef;
  --primary: #0a6fd1;
  --primary-ink: #0864bf;
  --primary-soft: #e8f2fb;
  --accent: #14a37f;
  --accent-soft: #e3f6f0;
  --warm: #f08a24;
  --warm-soft: #fdf0e3;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 8px 24px rgba(15, 27, 45, .06);
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #121b2c;
    --ink: #eef2f8;
    --muted: #9aa7ba;
    --line: #223049;
    --primary: #58b4ff;
    --primary-ink: #8ccaff;
    --primary-soft: #16304d;
    --accent: #4fd1a8;
    --accent-soft: #12352c;
    --warm: #ffb066;
    --warm-soft: #3a2614;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav .opt { display: none; } }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-width: 176px; padding: 10px 16px; border-radius: 14px; background: var(--ink); color: var(--bg); line-height: 1.15; }
.store:hover { text-decoration: none; color: var(--bg); opacity: .92; }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .75; }
.store b { font-size: 16px; font-weight: 600; }
.store[aria-disabled="true"] { opacity: .55; cursor: default; }
.soon { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); margin: 18px 0; }
.hero h1 em { font-style: normal; color: var(--primary); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero .stores { margin-top: 30px; }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
}

/* Phone mockup: an illustration of the dashboard, not a screenshot */
.phone { justify-self: center; width: 300px; max-width: 100%; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: #0f1b2d; box-shadow: 0 30px 60px rgba(15, 27, 45, .25); }
.screen { height: 100%; border-radius: 34px; background: #f6f8fb; padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; color: #0f1b2d; }
.screen .hello { font-size: 13px; color: #5a6779; }
.screen .title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.w { background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(15, 27, 45, .05); }
.w .k { font-size: 11px; color: #5a6779; text-transform: uppercase; letter-spacing: .04em; }
.w .v { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.w .v small { font-size: 12px; font-weight: 500; color: #5a6779; }
.bar { height: 8px; border-radius: 8px; background: #e8f2fb; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: #0a6fd1; border-radius: 8px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dots { display: flex; gap: 5px; margin-top: 8px; }
.dots i { width: 14px; height: 14px; border-radius: 5px; background: #14a37f; }
.dots i.off { background: #e3e8ef; }
.tip { background: #e3f6f0; color: #0b5e49; font-size: 13px; line-height: 1.4; }

/* Sections */
section.block { padding: 72px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: 40px; }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.head p { color: var(--muted); font-size: 18px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
section.alt .card { background: var(--bg); box-shadow: none; }
.card h3 { font-size: 19px; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 16px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.ico svg { width: 24px; height: 24px; }
.ico.g { background: var(--accent-soft); color: var(--accent); }
.ico.o { background: var(--warm-soft); color: var(--warm); }

.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; padding: 24px; border-radius: var(--radius); border: 1px dashed var(--line); }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314a37f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

.cta { text-align: center; }
.cta .head { margin-left: auto; margin-right: auto; }
.cta .stores { justify-content: center; }
.note { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 720px; margin-left: auto; margin-right: auto; }

/* Documents */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 10px; }
.doc .meta { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--ink); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 12px 0; }
.doc li + li { margin-top: 6px; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 16px 0; }
.doc .scroll { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }

/* Mockup fill levels and helpers (no inline styles: the CSP forbids them) */
.bar i.p69 { width: 69%; }
.bar i.p78 { width: 78%; }
.bar i.g { background: #14a37f; }
.w .v.sm { font-size: 16px; }
.head.flush { margin-bottom: 0; }
