/* Call My Agent website. Minimal on purpose: system fonts, no trackers, no third-party requests. */
:root {
  --page: #fafaf8;
  --surface: #ffffff;
  --surface-2: #f2f2ef;
  --text: #1a1a19;
  --text-2: #4a4a47;
  --muted: #76766f;
  --line: #e6e5e0;
  --green: #15924a;
  --green-ink: #ffffff;
  --blue: #3987e5;
  --red: #d63c3c;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 20, 18, .04), 0 12px 32px rgba(20, 20, 18, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0d0d0d;
    --surface: #161615;
    --surface-2: #1f1f1d;
    --text: #f2f1ec;
    --text-2: #c4c3bd;
    --muted: #8e8d86;
    --line: #2a2a27;
    --green: #1ba657;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
  .logo-dot { fill: #f2f1ec; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------ header */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text-2); }
.nav a:hover { color: var(--text); }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600;
  font-size: 15.5px; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: transform .12s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: var(--green); border-color: transparent; color: var(--green-ink); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn svg { width: 19px; height: 19px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ------------------------------------------------------------ hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
h1 { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.04; letter-spacing: -.035em; margin: 20px 0 18px; font-weight: 720; }
.lead { font-size: 19px; color: var(--text-2); max-width: 520px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* the phone: a drawing of the app's call screen */
.phone { justify-self: center; width: 300px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px; background: #111;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25), inset 0 0 0 2px #2b2b2b; }
.screen { height: 100%; border-radius: 34px; background: #0d0d0d; color: #f2f1ec; overflow: hidden; display: flex;
  flex-direction: column; align-items: center; padding: 34px 16px 18px; font-size: 13px; }
.avatar { position: relative; width: 86px; height: 86px; display: grid; place-items: center; }
.avatar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(27, 166, 87, .2);
  animation: pulse 1.6s ease-in-out infinite; }
.avatar .disc { position: relative; width: 66px; height: 66px; border-radius: 50%; background: #1f1f1d; display: grid; place-items: center; }
.avatar svg { width: 44px; height: 44px; }
.avatar .logo-dot { fill: #f2f1ec; }
.who { font-weight: 700; font-size: 19px; margin-top: 8px; }
.state { color: #c4c3bd; margin-top: 2px; }
.clock { color: #8e8d86; font-size: 12px; font-variant-numeric: tabular-nums; }
.chat { width: 100%; margin-top: 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.bubble { max-width: 86%; padding: 8px 11px; border-radius: 14px; line-height: 1.35; font-size: 12.5px; }
.bubble.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bubble.nova { align-self: flex-start; background: #1f1f1d; border-bottom-left-radius: 4px; }
.saved { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #c4c3bd; }
.saved b { color: #f2f1ec; font-weight: 600; }
.saved i { width: 13px; height: 13px; border-radius: 50%; background: var(--green); display: inline-grid; place-items: center; }
.saved i::after { content: ""; width: 5px; height: 3px; border: solid #fff; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg) translate(0, -1px); }
.controls { display: flex; align-items: center; gap: 22px; margin-top: 8px; }
.ctl { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #2a2a27; display: grid; place-items: center; }
.ctl svg { width: 17px; height: 17px; stroke: #c4c3bd; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctl.end { width: 54px; height: 54px; background: var(--red); border: 0; }
.ctl.end svg { width: 24px; height: 24px; fill: #fff; stroke: none; }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .55; } }

/* ------------------------------------------------------------ sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; margin: 0 0 10px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 700; }
.section-lead { color: var(--text-2); max-width: 620px; margin: 0 0 36px; font-size: 17px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.step-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: var(--surface-2); margin-bottom: 14px; }
.area { padding: 20px; }
.area .sw { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 14px; }
.area h3 { font-size: 16px; }
.area p { font-size: 14px; }
.quote { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); font-style: italic; }

/* privacy table */
.where { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.where th, .where td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
.where tr:last-child td { border-bottom: 0; }
.where th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; background: var(--surface-2); }
.where td:first-child { font-weight: 600; width: 28%; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; margin-left: 6px; white-space: nowrap; }
.tag.yes { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.tag.no { background: var(--surface-2); color: var(--text-2); }

/* downloads */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dl { display: flex; flex-direction: column; gap: 14px; }
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; }
.dl-icon svg { width: 24px; height: 24px; }
.dl h3 { margin: 0; }
.meta { font-size: 13.5px; color: var(--muted); }
.hash { font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); word-break: break-all;
  background: var(--surface-2); padding: 8px 10px; border-radius: 10px; }
.steps { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 14.5px; }
.steps li + li { margin-top: 4px; }
.soon { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }

/* FAQ */
.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--text-2); margin: 10px 0 0; }

/* footer */
.site-foot { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--text); }
.foot-links { display: flex; gap: 22px; }

/* privacy page */
.doc { max-width: 720px; padding: 56px 24px 72px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 4.4vw, 44px); margin-top: 0; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 20px; }

/* ------------------------------------------------------------ small screens */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .grid5 { grid-template-columns: repeat(2, 1fr); }
  .grid3, .downloads { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 44px 0 36px; }
  section { padding: 52px 0; }
  .phone { width: 270px; }
  .grid5 { grid-template-columns: 1fr; }
  .where td:first-child { width: auto; }
  .where th, .where td { padding: 12px 14px; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .avatar::before { animation: none; }
  .btn { transition: none; }
  html { scroll-behavior: auto; }
}
