:root {
  --page-bg: #eef6ff;
  --surface: #ffffff;
  --surface-tint: #f5f9ff;
  --surface-sunk: #e7f0fc;
  --border: #dbe6f5;
  --border-strong: #c3d6ef;
  --text: #0b1730;
  --muted: #56698a;
  --muted-soft: #7c8ba8;
  --accent: #2f6fed;
  --accent-hover: #2560d9;
  --accent-soft: #e8f0ff;
  --accent-strong: #1b3f9e;
  --ok: #1a9e5c;
  --ok-soft: #e3f7ec;
  --warn: #b4780f;
  --warn-soft: #fdf1de;
  --danger: #d0374a;
  --danger-soft: #fbe7ea;
  --shadow-sm: 0 1px 2px rgba(11, 23, 48, 0.05);
  --shadow: 0 1px 2px rgba(11, 23, 48, 0.04), 0 16px 36px -22px rgba(11, 23, 48, 0.22);
  --shadow-lg: 0 2px 4px rgba(11, 23, 48, 0.05), 0 28px 60px -24px rgba(11, 23, 48, 0.28);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }
h1, h2, h3 { line-height: 1.14; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
h2 { font-size: 2.1rem; margin: 0 0 0.65rem; }
h2.tight { margin-bottom: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.section-head { text-align: center; margin: 0 auto 3.25rem; max-width: 660px; }
.section-head .lede { margin: 0 auto; }
.section-head.left { text-align: left; margin-left: 0; margin-right: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.78rem 1.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--border-strong); }
.btn.ghost:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn.lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn.block { width: 100%; }

/* ---------------------------------------------------------------- header */
header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.12rem; color: var(--text); letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; }
nav.site-nav { display: flex; align-items: center; gap: 2rem; }
nav.site-nav a { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
nav.site-nav a:hover { color: var(--text); text-decoration: none; }
nav.site-nav .nav-signin { display: none; } /* the header button covers desktop; this is for the mobile drawer */
.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--text); margin: 0 auto; border-radius: 1px; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 5rem 0 4.5rem; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 46rem;
  height: 46rem;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: 3.15rem; margin: 0 0 1.2rem; }
.hero h1 .accent { color: var(--accent); }
.hero .lede { font-size: 1.15rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-note { font-size: 0.85rem; color: var(--muted-soft); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.hero-note .sep { opacity: 0.5; }

.hero-art {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}
.phone-mock {
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.35rem;
}
.phone-mock .call-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.85rem;
}
.phone-mock .call-row .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--warn-soft); color: var(--warn);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.phone-mock .call-row .meta .num { font-weight: 700; font-size: 0.92rem; }
.phone-mock .call-row .meta .sub { font-size: 0.76rem; color: var(--muted); }
.phone-mock .bubble {
  background: var(--accent);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  padding: 0.72rem 0.95rem;
  font-size: 0.88rem;
  max-width: 86%;
  margin-left: auto;
  box-shadow: var(--shadow-sm);
}
.phone-mock .bubble-meta { text-align: right; font-size: 0.72rem; color: var(--muted); margin-top: 0.45rem; }
.hero-stats { display: flex; gap: 1rem; margin-top: 1.15rem; }
.hero-stats .stat { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem 0.6rem; text-align: center; }
.hero-stats .stat .n { font-weight: 800; font-size: 1.18rem; color: var(--text); }
.hero-stats .stat .l { font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }

/* --------------------------------------------------------------- how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.step .num {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1.03rem; margin: 0 0 0.4rem; }
.step p { color: var(--muted); font-size: 0.89rem; margin: 0; }

/* ---------------------------------------------------------- automations showcase */
.automations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.automation-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.automation-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.automation-card .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.automation-card .ic {
  width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-strong);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0;
}
.automation-card h3 { font-size: 1.14rem; margin: 0 0 0.2rem; }
.automation-card .scope { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-soft); }
.automation-card .default-pill {
  font-size: 0.7rem; font-weight: 700; padding: 0.28rem 0.65rem; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.automation-card .default-pill.on { background: var(--ok-soft); color: var(--ok); }
.automation-card .default-pill.off { background: var(--surface-sunk); color: var(--muted); }
.automation-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.automation-card .kinds { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.2rem; }
.automation-card .kinds span { background: var(--surface-sunk); color: var(--text); font-size: 0.74rem; font-weight: 600; padding: 0.28rem 0.6rem; border-radius: 999px; }

/* -------------------------------------------------------------------- always-included features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature-card .ic {
  width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-strong);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 0.9rem;
}
.feature-card h3 { font-size: 0.98rem; margin: 0 0 0.4rem; }
.feature-card p { color: var(--muted); font-size: 0.86rem; margin: 0; }

/* ----------------------------------------------------------------- trust / permissions section */
.trust-band { background: var(--surface-tint); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.75rem; }
.perm-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow-sm); }
.perm-card .ic {
  width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem; margin-bottom: 0.8rem;
}
.perm-card h4 { font-size: 0.92rem; margin: 0 0 0.35rem; font-weight: 700; }
.perm-card p { color: var(--muted); font-size: 0.82rem; margin: 0; }

.not-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  max-width: 760px;
  margin: 0 auto;
}
.not-list h4 { font-size: 0.95rem; margin: 0 0 0.9rem; }
.not-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }
.not-list li { display: flex; align-items: baseline; gap: 0.55rem; font-size: 0.88rem; color: var(--muted); }
.not-list li .x { color: var(--danger); font-weight: 800; flex-shrink: 0; }
.trust-links { text-align: center; margin-top: 1.75rem; font-size: 0.9rem; color: var(--muted); }

/* A highlighter-pen callout for the one claim worth repeating everywhere it's relevant: nothing
   reads your messages. Reuses --ok/--ok-soft, the same tokens the Android app's own card uses
   for the identical statement, so the claim looks like one voice across the product. */
.trust-highlight {
  font-weight: 800;
  color: var(--ok);
  background: var(--ok-soft);
  padding: 0.05em 0.45em;
  border-radius: 6px;
  white-space: normal;
}

/* --------------------------------------------------------------------- pricing */
/* Four plans, one row on desktop — tightened from the 3-across version so they fit without
   crowding: less padding, a smaller price figure, a narrower gap. Falls back to 2 then 1
   column with everything else at the same breakpoints (980px / 720px). */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1.35rem; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.15s ease; min-width: 0; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan.featured { border-color: var(--accent); position: relative; box-shadow: var(--shadow-lg); }
.plan.featured::before {
  content: "Most popular";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.66rem; font-weight: 700;
  padding: 0.3rem 0.75rem; border-radius: 999px; letter-spacing: 0.02em; white-space: nowrap;
}
.plan h3 { font-size: 1.02rem; margin: 0 0 0.3rem; }
.plan .price { font-size: 1.68rem; font-weight: 800; margin: 0.35rem 0 0.1rem; letter-spacing: -0.02em; line-height: 1.1; word-break: break-word; }
.plan .price span { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.plan .billing { color: var(--muted); font-size: 0.74rem; margin-bottom: 0.8rem; }
.plan .plan-note { color: var(--text); font-size: 0.82rem; font-weight: 600; margin-bottom: 1.05rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.plan ul li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.82rem; padding: 0.35rem 0; color: var(--text); }
.plan ul li .check { color: var(--ok); font-weight: 800; flex-shrink: 0; }
.plan .btn { font-size: 0.88rem; padding: 0.7rem 1rem; }

/* ------------------------------------------------------------------------- faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.3rem 1.45rem; margin-bottom: 0.8rem; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; padding: 1.05rem 0; font-weight: 700; font-size: 0.97rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; flex-shrink: 0;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 1.15rem; color: var(--muted); font-size: 0.9rem; }

/* --------------------------------------------------------------------- final cta */
.cta-band {
  background: linear-gradient(135deg, var(--accent), #1b3f9e);
  border-radius: var(--radius-lg);
  padding: 3.75rem 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 0 auto 1.85rem; }
.cta-band .btn { background: #fff; color: var(--accent); }
.cta-band .btn:hover { background: #f1f5ff; }
.cta-band .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,0.12); }

/* --------------------------------------------------------------------- footer */
footer.site { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; background: var(--surface); }
footer.site .wrap { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
footer.site .brand { margin-bottom: 0.6rem; }
footer.site .fcol { min-width: 140px; }
footer.site .fcol h4 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-soft); margin: 0 0 0.85rem; font-weight: 700; }
footer.site .fcol a { display: block; color: var(--text); font-size: 0.88rem; margin-bottom: 0.6rem; font-weight: 500; }
footer.site .fcol a:hover { color: var(--accent); text-decoration: none; }
footer.site .fnote { color: var(--muted); font-size: 0.82rem; max-width: 34ch; }
.foot-bottom { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; color: var(--muted-soft); font-size: 0.8rem; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .steps, .features-grid, .pricing-grid, .automations-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .not-list ul { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 2.2rem; }
  nav.site-nav { position: fixed; z-index: 30; inset: 68px 0 0 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 1.5rem; gap: 1.1rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: 0.15s ease; border-bottom: 1px solid var(--border); }
  nav.site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .header-cta .btn.ghost { display: none; }
  nav.site-nav .nav-signin { display: block; }
  .steps, .features-grid, .pricing-grid, .automations-grid, .trust-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2.75rem 1.5rem; }
  footer.site .wrap { flex-direction: column; }
}
@media (max-width: 460px) {
  .wrap { padding: 0 1.1rem; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats .stat { flex: 1 1 40%; }
  .hero h1 { font-size: 1.85rem; }
  .brand { font-size: 1rem; }
  .header-cta { gap: 0.5rem; }
  .header-cta .btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .not-list { padding: 1.25rem; }
}
@media (max-width: 340px) {
  header.site .wrap { padding: 0 0.85rem; gap: 0.4rem; }
  .brand span.brand-text { display: none; }
  .nav-toggle { width: 32px; height: 32px; }
  .header-cta .btn { padding: 0.5rem 0.75rem; font-size: 0.78rem; }
}
