/* ============================================================
   Orgmee — shared stylesheet for the marketing pages.
   Used by index.html and the six feature pages. The legal /
   account pages keep their own inline styles.
   ============================================================ */

:root {
  color-scheme: light dark;
  --brand: #1877F2;
  --brand-600: #0f5fd0;
  --brand-glow: rgba(24,119,242,.35);
  --bg: #f6f8fc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --text: #0f1622;
  --text-muted: #5a6a80;
  --border: #e4e9f2;
  --shadow: 0 20px 50px -20px rgba(16,40,80,.25);
  --good: #12855a;
  --bad: #b23c3c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1a;
    --bg-2: #0d1420;
    --surface: #111a2b;
    --text: #eef2f8;
    --text-muted: #9fb0c8;
    --border: #1e2a3f;
    --shadow: 0 24px 60px -24px rgba(0,0,0,.7);
    --good: #3ddc9a;
    --bad: #ff8383;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 14px var(--brand-glow); }
.brand span { color: var(--brand); }
.nav-links { display: flex; gap: 22px; margin-left: auto; margin-right: 6px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.nav-links a:hover { color: var(--brand); }
@media (max-width: 900px) { .nav-links { display: none; } }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 14px;
  padding: 9px 16px; border-radius: 10px; transition: transform .15s, background .15s;
}
.nav-cta:hover { background: var(--brand-600); transform: translateY(-1px); }
@media (max-width: 420px) { .nav-cta { padding: 8px 13px; font-size: 13px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero.sm { padding: 56px 0 20px; }
.hero::before {
  content: ""; position: absolute; inset: -30% 0 auto 0; height: 720px; z-index: 0;
  background:
    radial-gradient(600px 380px at 78% 8%, var(--brand-glow), transparent 60%),
    radial-gradient(520px 340px at 8% 20%, rgba(24,119,242,.16), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; } }
.hero-solo { position: relative; z-index: 1; text-align: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }

h1 {
  font-size: clamp(32px, 5.6vw, 54px); line-height: 1.06; letter-spacing: -.03em;
  font-weight: 850; margin-bottom: 18px;
}
h1 em {
  font-style: normal; color: var(--brand);
  background: linear-gradient(120deg, var(--brand), #6aa6ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-muted); max-width: 560px; margin-bottom: 28px; }
@media (max-width: 880px) { .lede { margin-left: auto; margin-right: auto; } }
.hero-solo .lede { margin-left: auto; margin-right: auto; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 880px) { .cta-row { justify-content: center; } }
.hero-solo .cta-row { justify-content: center; }

.play-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0f1622; color: #fff; padding: 12px 22px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08); transition: transform .15s, box-shadow .15s;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.5);
}
@media (prefers-color-scheme: dark) { .play-btn { background: #fff; color: #0f1622; } }
.play-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(0,0,0,.55); }
.play-btn .g { width: 26px; height: 28px; flex: none; }
.play-btn small { display: block; font-size: 11px; opacity: .7; font-weight: 500; letter-spacing: .03em; }
.play-btn b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ghost-link { color: var(--text-muted); font-weight: 600; font-size: 15px; }
.ghost-link:hover { color: var(--brand); }

/* free / ad-free reassurance under a CTA */
.reassure { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 13.5px; color: var(--text-muted); font-weight: 500; }
@media (max-width: 880px) { .reassure { justify-content: center; } }
.hero-solo .reassure { justify-content: center; }
.reassure span { display: inline-flex; align-items: center; gap: 6px; }
.reassure span::before { content: "✓"; color: var(--good); font-weight: 800; }

/* hero visual */
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; }
.tile {
  position: relative; width: min(300px, 72vw); aspect-ratio: 1; border-radius: 30%;
  background: linear-gradient(150deg, var(--brand), #0b47a6);
  box-shadow: 0 40px 90px -30px var(--brand-glow), inset 0 2px 0 rgba(255,255,255,.25);
  display: grid; place-items: center; animation: float 6s ease-in-out infinite;
}
/* The hero icon sits inside a <picture> (for the WebP source), so the
   element the grid centres is the <picture>, not the <img>. Size THAT: a
   percentage on the img resolves against a shrink-to-fit <picture> rather
   than against .tile, which sized it wrong and pushed it off-centre. */
.tile picture { display: block; width: 64%; height: 64%; }
.tile img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); }
.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120px 80px at 30% 18%, rgba(255,255,255,.35), transparent 60%);
}
.tile .emoji { font-size: min(120px, 28vw); filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); }
@keyframes float { 0%,100% { transform: translateY(-8px); } 50% { transform: translateY(10px); } }

/* ---------- generic section ---------- */
section.block { padding: 64px 0; }
section.block.tight { padding: 44px 0; }
.eyebrow { text-align: center; color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.h2 { text-align: center; font-size: clamp(26px, 4vw, 38px); font-weight: 820; letter-spacing: -.02em; margin-bottom: 12px; }
.sub { text-align: center; color: var(--text-muted); max-width: 660px; margin: 0 auto 44px; font-size: 17px; }

/* ---------- feature cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid, .grid.two { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card {
  display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .18s, border-color .18s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 23px;
  background: color-mix(in srgb, var(--brand) 12%, transparent); margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 720; letter-spacing: -.01em; margin-bottom: 7px; }
.card p { color: var(--text-muted); font-size: 15px; }
.card .more { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 650; font-size: 14px; }
.card:hover .more { text-decoration: underline; }

/* ---------- scenarios ---------- */
.scen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 780px) { .scen { grid-template-columns: 1fr; } }
.scen-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px 24px; box-shadow: var(--shadow);
}
.scen-card .who { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.scen-card .pain { font-size: 16.5px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 10px; }
.scen-card .fix { color: var(--text-muted); font-size: 15px; }
.scen-card .fix b { color: var(--text); font-weight: 650; }

/* ---------- prose ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; letter-spacing: -.02em; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18.5px; font-weight: 720; margin: 26px 0 8px; }
.prose p { color: var(--text-muted); margin-bottom: 14px; font-size: 16px; }
.prose p b, .prose li b { color: var(--text); font-weight: 650; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { color: var(--text-muted); margin-bottom: 8px; font-size: 16px; }
.prose a { color: var(--brand); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 14px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- comparison table ---------- */
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.cmp thead th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; background: color-mix(in srgb, var(--brand) 5%, transparent); }
table.cmp thead th.us { color: var(--brand); }
table.cmp tbody th { font-weight: 650; color: var(--text); }
table.cmp td { color: var(--text-muted); }
table.cmp td.us { color: var(--text); font-weight: 600; background: color-mix(in srgb, var(--brand) 5%, transparent); }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: 0; }
.yes { color: var(--good); font-weight: 700; }
.no { color: var(--bad); font-weight: 700; }

/* ---------- privacy strip ---------- */
.strip {
  background: linear-gradient(120deg, var(--brand), #0b47a6); color: #fff;
  border-radius: 24px; padding: 40px; text-align: center; box-shadow: 0 30px 70px -30px var(--brand-glow);
}
.strip h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.strip p { max-width: 660px; margin: 0 auto; opacity: .92; font-size: 16px; }
.strip .play-btn { margin-top: 24px; background: #fff; color: #0f1622; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 0 20px; margin-bottom: 12px; transition: border-color .18s;
}
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 24px; font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details > p { color: var(--text-muted); font-size: 15.5px; padding: 0 0 18px; margin: 0; }
.faq details > p + p { padding-top: 0; margin-top: -8px; }
.faq a { color: var(--brand); font-weight: 600; }

/* ---------- business band ---------- */
.biz-band {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 30px 32px; box-shadow: var(--shadow);
}
.biz-band .t { flex: 1 1 380px; }
.biz-band .tag { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.biz-band h2 { font-size: clamp(20px, 2.8vw, 26px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.biz-band p { color: var(--text-muted); font-size: 15.5px; max-width: 640px; }
.biz-cta {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 650; font-size: 15px;
  padding: 12px 22px; border-radius: 12px; transition: background .15s, transform .15s;
}
.biz-cta:hover { background: var(--brand-600); transform: translateY(-1px); }

/* ---------- download ---------- */
.dl {
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 40px; box-shadow: var(--shadow);
}
@media (max-width: 720px) { .dl { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.qr-card { background: #fff; padding: 16px; border-radius: 18px; width: 188px; box-shadow: 0 12px 30px -12px rgba(16,40,80,.3); }
.qr-card svg { display: block; width: 100%; height: auto; }
.qr-card .cap { display: block; text-align: center; margin-top: 10px; font-size: 12px; font-weight: 600; color: #5a6a80; }
.dl h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 820; letter-spacing: -.02em; margin-bottom: 10px; }
.dl p { color: var(--text-muted); margin-bottom: 22px; max-width: 470px; }
@media (max-width: 720px) { .dl p { margin-left: auto; margin-right: auto; } }

/* ---------- cross links ---------- */
.xlinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .xlinks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .xlinks { grid-template-columns: 1fr; } }
.xlink {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  font-weight: 600; font-size: 15px; transition: border-color .18s, transform .18s;
}
.xlink:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); transform: translateY(-2px); }
.xlink .e { font-size: 20px; flex: none; }
.xlink[aria-current="page"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }

/* ---------- breadcrumb ---------- */
.crumb { font-size: 13.5px; color: var(--text-muted); padding-top: 20px; }
.crumb a { color: var(--text-muted); font-weight: 500; }
.crumb a:hover { color: var(--brand); }
.crumb span { opacity: .55; margin: 0 7px; }

/* ---------- sticky mobile install bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--border);
}
.sticky-cta .txt { font-size: 13.5px; font-weight: 650; line-height: 1.3; }
.sticky-cta .txt small { display: block; font-weight: 500; color: var(--text-muted); font-size: 12px; }
.sticky-cta .go {
  flex: none; background: var(--brand); color: #fff; font-weight: 700; font-size: 14.5px;
  padding: 11px 20px; border-radius: 11px;
}
@media (max-width: 720px) { .sticky-cta { display: flex; } body { padding-bottom: 72px; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 24px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 720px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 26px; } }
.foot-cols .about { color: var(--text-muted); font-size: 14px; margin-top: 12px; max-width: 300px; }
.foot-col h3 { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; font-weight: 700; }
.foot-col a { display: block; color: var(--text-muted); font-size: 14.5px; margin-bottom: 9px; }
.foot-col a:hover { color: var(--brand); }
.foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.foot-links a:hover { color: var(--brand); }
.foot .copy { color: var(--text-muted); font-size: 13px; }

/* ---------- entrance ---------- */
/* Slide only — deliberately NOT a fade. This used to start at opacity:0,
   and every above-the-fold element in the hero carries it, so nothing was
   paintable until the animation had run: up to .24s delay + .7s duration in
   front of First Contentful Paint, the same again for LCP, and a viewport
   still visibly changing ~1s after first paint (Speed Index). The slide
   keeps the entrance without ever hiding content. */
.reveal { transform: translateY(16px); animation: up .7s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; }
@keyframes up { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal, .tile { animation: none; transform: none; } }
