/* Momitor — its own brand. Warm, coral, rounded, playful. Separate from the Luci Apps studio site. */

:root {
  --coral: #e94c7a;
  --coral-deep: #d13566;
  --teal: #17a2b8;
  --sun: #f7a72b;
  --ink: #2e2833;
  --ink-soft: #7d7684;
  --cream: #fffaf5;
  --cream-2: #fff0e9;
  --card: #ffffff;
  --hair: #f3e6dd;
  --shadow: 0 20px 50px rgba(180, 80, 90, 0.10);
  --radius: 26px;
  --maxw: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f6eef0; --ink-soft: #b3a6ad; --cream: #17131a; --cream-2: #1e1720;
    --card: #221b28; --hair: #322838; --coral: #ff6f9c; --coral-deep: #ff86ac;
    --shadow: 0 20px 50px rgba(0,0,0,0.4);
  }
}
:root[data-theme="dark"]{ --ink:#f6eef0;--ink-soft:#b3a6ad;--cream:#17131a;--cream-2:#1e1720;--card:#221b28;--hair:#322838;--coral:#ff6f9c;--coral-deep:#ff86ac;--shadow:0 20px 50px rgba(0,0,0,0.4); }
:root[data-theme="light"]{ --ink:#2e2833;--ink-soft:#7d7684;--cream:#fffaf5;--cream-2:#fff0e9;--card:#fff;--hair:#f3e6dd;--coral:#e94c7a;--coral-deep:#d13566;--shadow:0 20px 50px rgba(180,80,90,.10); }

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.rounded { font-family: inherit; }

/* Header */
header.m { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--cream) 84%, transparent); border-bottom: 1px solid var(--hair); }
header.m .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800;
  font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 4px 12px rgba(233,76,122,.28); }
header.m nav { display: flex; gap: 22px; align-items: center; font-weight: 650; font-size: 15px; }
header.m nav a { color: var(--ink-soft); text-decoration: none; }
header.m nav a:hover { color: var(--coral); }
header.m nav a.studio { color: var(--ink-soft); font-size: 13.5px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content:""; position:absolute; inset:-30% -10% auto -10%; height: 560px; z-index:0;
  background: radial-gradient(50% 62% at 30% 0%, color-mix(in srgb, var(--coral) 24%, transparent), transparent 70%),
             radial-gradient(46% 58% at 76% 6%, color-mix(in srgb, var(--sun) 20%, transparent), transparent 70%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px;
  align-items: center; padding: 60px 22px 40px; }
@media (max-width: 860px){ .hero .wrap { grid-template-columns: 1fr; text-align: center; } }
.bubble { display: inline-block; background: var(--coral); color: #fff; font-weight: 850;
  font-size: 15px; letter-spacing: .02em; padding: 8px 16px; border-radius: 16px 16px 16px 4px;
  transform: rotate(-3deg); box-shadow: 0 8px 18px rgba(233,76,122,.32); }
h1 { font-size: clamp(38px, 6.4vw, 62px); line-height: 1.03; letter-spacing: -0.03em; font-weight: 850;
  margin: 18px 0 0; text-wrap: balance; }
h1 .hl { color: var(--coral); }
.sub { font-size: clamp(17px, 2.3vw, 20px); color: var(--ink-soft); margin: 18px 0 0; max-width: 52ch; }
@media (max-width: 860px){ .sub { margin-left: auto; margin-right: auto; } }
.cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
@media (max-width: 860px){ .cta { justify-content: center; } }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 750;
  padding: 13px 22px; border-radius: 999px; font-size: 16px; }
.btn.primary { background: var(--coral); color: #fff; box-shadow: 0 12px 26px rgba(233,76,122,.35); }
.btn.ghost { background: color-mix(in srgb, var(--coral) 12%, transparent); color: var(--coral-deep); }
.btn:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--coral) 55%, transparent); outline-offset: 3px; border-radius: 10px; }

/* Phone shot in hero */
.phone { justify-self: center; width: min(280px, 74vw); border-radius: 40px; overflow: hidden;
  border: 8px solid var(--ink); box-shadow: var(--shadow); background: var(--ink); }
.phone img { border-radius: 32px; }

/* Sections */
section { padding: 46px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 800; color: var(--coral); text-align: center; }
h2 { font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -0.02em; text-align: center; margin: 10px auto 6px; text-wrap: balance; }
.section-sub { color: var(--ink-soft); text-align: center; max-width: 54ch; margin: 0 auto; }

.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 820px){ .features { grid-template-columns: 1fr; } }
.f { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.f .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--coral) 13%, transparent); color: var(--coral); font-size: 22px; }
.f h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.f p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.f.teal .ic { background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal); }

/* Screens gallery */
.shots { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.shots img { width: min(230px, 60vw); border-radius: 26px; box-shadow: var(--shadow); border: 1px solid var(--hair); }

/* Privacy band */
.privacy-band { background: var(--cream-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.privacy-band .wrap { text-align: center; }
.lockrow { display: flex; gap: 10px; justify-content: center; align-items: center; color: var(--coral); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }

/* Doc pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 22px 80px; }
.doc h1 { text-align: left; font-size: clamp(30px,5vw,42px); margin: 0; }
.doc .updated { color: var(--ink-soft); margin-top: 6px; }
.doc h2 { text-align: left; font-size: 21px; margin-top: 32px; }
.doc p, .doc li { color: color-mix(in srgb, var(--ink) 88%, var(--ink-soft)); }
.doc .promise { background: color-mix(in srgb, var(--coral) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--coral) 30%, transparent); border-radius: 16px; padding: 18px 20px; margin: 22px 0; }
.doc .q { font-weight: 750; margin-top: 22px; }
.doc a { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
footer.m { background: var(--cream-2); border-top: 1px solid var(--hair); margin-top: 20px; }
footer.m .wrap { padding: 34px 22px; display: flex; gap: 22px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
footer.m .brand { font-size: 18px; }
footer.m .links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
footer.m .links a { color: var(--ink-soft); text-decoration: none; }
footer.m .links a:hover { color: var(--coral); }
footer.m .fine { width: 100%; border-top: 1px solid var(--hair); padding-top: 16px; color: var(--ink-soft); font-size: 13.5px; }
footer.m .fine a { color: var(--coral-deep); }

@media (prefers-reduced-motion: reduce){ * { transition: none !important; } }
