/* Shared by the product page (index.html) and the features page (features/index.html). */
  @font-face { font-family: "Jost"; src: url("jost-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
  :root {
    --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* dark first: the brand's marketing look */
    --bg: #0b0b0b;
    --bg-soft: #151515;
    --text: #f5f5f5;
    --muted: #a0a0a0;
    --line: #2a2a2a;
    --accent: #2fa866;
    --accent-dark: #43c27e;
    --accent-text: #0b0b0b;
    --accent-soft: #0f2a1c;
    --link: #43c27e;
    --danger: #f07070;
    --danger-bg: #2e1414;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  }
  @media (prefers-color-scheme: light) {
    :root {
      --bg: #ffffff;
      --bg-soft: #f7f7f5;
      --text: #0b0b0b;
      --muted: #5f6368;
      --line: #e6e6e3;
      --accent: #2fa866;
      --accent-dark: #278f57;
      --accent-text: #0b0b0b;
      --accent-soft: #e8f5ee;
      --link: #1e7a4a;
      --danger: #b42318;
      --danger-bg: #fde8e6;
      --shadow: 0 18px 50px rgba(11, 11, 11, 0.14);
    }
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
  img { max-width: 100%; height: auto; display: block; }
  a { color: var(--link); }
  p { margin: 0 0 14px; }
  h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
  .skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-text); padding: 8px 14px; border-radius: 8px; z-index: 10; }
  .skip:focus { left: 12px; }
  :focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }

  /* header */
  header.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  header.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
  .brand { display: flex; align-items: center; }
  .brand img { height: 30px; width: auto; }
  nav.links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
  nav.links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
  nav.links a:hover { color: var(--text); }
  .btn { display: inline-block; background: var(--accent); color: var(--accent-text); padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 0; font-size: 1rem; cursor: pointer; font-family: inherit; }
  .btn:hover { background: var(--accent-dark); }
  .btn.small { padding: 8px 16px; font-size: 0.93rem; }
  .btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
  .btn.ghost:hover { background: var(--bg-soft); }
  nav.links a.btn { color: var(--accent-text); }

  /* hero */
  .hero { padding: 64px 0 28px; text-align: center; }
  .eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 500; color: var(--link); background: var(--accent-soft); padding: 5px 14px; border-radius: 999px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); max-width: 16em; margin: 0 auto 20px; font-weight: 500; }
  .hero .lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); max-width: 40em; margin: 0 auto 28px; }
  .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .fine { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }
  .shot-wrap { margin: 44px auto 0; max-width: 1000px; }

  /* screenshots in a simple window */
  .frame { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
  .frame .bar { display: flex; gap: 7px; padding: 11px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
  .frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
  .phone { border: 9px solid #2a2a2a; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); background: #fff; max-width: 290px; margin: 0 auto; }
  @media (prefers-color-scheme: light) { .phone { border-color: #0b0b0b; } }

  section { padding: 76px 0; }
  section.soft { background: var(--bg-soft); }
  .kicker { color: var(--link); font-weight: 600; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
  h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 14px; font-weight: 500; }
  .section-lead { color: var(--muted); font-size: 1.12rem; max-width: 42em; }
  .center { text-align: center; }
  .center .section-lead { margin-left: auto; margin-right: auto; }

  /* problem strip */
  .chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 8px; }
  .chip { border: 1px solid var(--line); background: var(--bg); padding: 8px 16px; border-radius: 999px; color: var(--muted); font-size: 0.97rem; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 55%, transparent); }

  /* feature rows */
  .row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; padding: 34px 0; }
  .row.flip { grid-template-columns: 1.25fr 1fr; }
  .row.flip .copy { order: 2; }
  .row h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 12px; font-weight: 500; }
  .row .copy p { color: var(--muted); }
  .ticks { list-style: none; padding: 0; margin: 16px 0 0; }
  .ticks li { position: relative; padding-left: 28px; margin-bottom: 9px; color: var(--text); }
  .ticks li::before { content: ""; position: absolute; left: 0; top: 0.38em; width: 17px; height: 17px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' stroke='%232fa866' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
  .soon { font-size: 0.78rem; font-weight: 600; color: var(--link); background: var(--accent-soft); padding: 2px 9px; border-radius: 999px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }

  /* cards */
  .grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 36px; }
  .card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
  section.soft .card { background: var(--bg); }
  .card h3 { font-size: 1.08rem; margin: 14px 0 6px; font-weight: 500; }
  .card p { color: var(--muted); font-size: 0.96rem; margin: 0; }
  .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--link); display: grid; place-items: center; }
  .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  /* story */
  .story { max-width: 720px; margin: 0 auto; font-size: 1.15rem; }
  .story p { color: var(--muted); }
  .story .sign { color: var(--text); font-weight: 650; margin-top: 22px; }

  /* faq */
  .faq { max-width: 760px; margin: 36px auto 0; }
  details { border-bottom: 1px solid var(--line); padding: 4px 0; }
  summary { cursor: pointer; font-weight: 650; padding: 14px 28px 14px 0; position: relative; list-style: none; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font-size: 1.4rem; color: var(--link); }
  details[open] summary::after { content: "\2212"; }
  details p { color: var(--muted); padding-bottom: 12px; }

  /* sign-up */
  .signup { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px; padding: 56px 28px; text-align: center; }
  .signup p.lead { color: var(--muted); max-width: 34em; margin: 0 auto 26px; font-size: 1.1rem; }
  form.ask { max-width: 520px; margin: 0 auto; text-align: left; display: grid; gap: 12px; }
  form.ask label { font-size: 0.9rem; font-weight: 500; display: block; margin-bottom: 4px; }
  form.ask input, form.ask select { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); font: inherit; background: var(--bg); color: var(--text); }
  form.ask input:focus, form.ask select:focus { outline: 2px solid var(--link); outline-offset: 1px; border-color: var(--accent); }
  form.ask .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  form.ask .btn { width: 100%; padding: 14px; margin-top: 4px; }
  form.ask .btn:disabled { opacity: 0.6; cursor: wait; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .msg { padding: 14px 16px; border-radius: 8px; font-weight: 500; margin-top: 6px; display: none; }
  .msg.ok { display: block; background: var(--accent-soft); color: var(--link); }
  .msg.err { display: block; background: var(--danger-bg); color: var(--danger); }
  .signup .tiny { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }
  footer { border-top: 1px solid var(--line); padding: 30px 0 46px; color: var(--muted); font-size: 0.92rem; }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
  footer a { color: var(--muted); }

  @media (max-width: 860px) {
    nav.links a:not(.btn) { display: none; }
    .row, .row.flip { grid-template-columns: 1fr; gap: 28px; }
    .row.flip .copy { order: 0; }
    section { padding: 56px 0; }
    .hero { padding-top: 44px; }
    form.ask .two { grid-template-columns: 1fr; }
  }
