  :root { --teal: #027A84; --teal-dark: #025873; --navy: #023F4D; --ink: #10262C; --soft: #4B6468; --ground: #F1F6F6; --line: #CDDEDE; --amber: #87500F; --amber-soft: #F4E7D6; --radius: 14px; }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; }
  img { max-width: 100%; height: auto; display: block; }
  a { color: var(--teal); }
  h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; color: var(--navy); }
  h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 700; }
  h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; }
  h3 { font-size: 1.12rem; font-weight: 600; }
  p { margin: 0 0 1em; }
  .wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
  .narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
  .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .6em; }
  .btn { display: inline-block; background: var(--teal); color: #fff !important; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 600; transition: background .15s; }
  .btn:hover { background: var(--teal-dark); }
  .btn-ghost { background: transparent; color: var(--teal) !important; border: 1.5px solid var(--teal); }
  .btn-ghost:hover { background: #EEF8F7; }
  .btn-wa { background: #157A42; }
  .btn-wa:hover { background: #0F6435; }

  /* Header */
  .top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .top-row { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.25rem; }
  .brand img { width: 34px; height: 34px; border-radius: 8px; }
  .nav { display: flex; align-items: center; gap: 22px; }
  .nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
  .nav a:hover { color: var(--teal); }
  .nav .btn { color: #fff; padding: 8px 16px; font-size: .9rem; }

  /* Hero */
  .hero { background: linear-gradient(160deg, #EEF8F7, #fff 60%); padding: 56px 0 40px; }
  .hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
  .hero-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: end; }
  .hero-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 10px 30px rgba(2,63,77,.07); }
  .hero .hero-side .ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 0 0 6px; font-size: .95rem; color: var(--ink); }
  .hero-side .cta { margin: 16px 0 10px; }
  .hero .lead { max-width: none; }
  @media (max-width: 960px) { .hero-top { grid-template-columns: 1fr; gap: 24px; } }
  @media (max-width: 480px) { .hero .hero-side .ticks { grid-template-columns: 1fr; } }
  .lead { font-size: 1.15rem; color: var(--soft); max-width: 34rem; }
  .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
  .small { font-size: .88rem; color: var(--soft); }
  .shot { border-radius: 12px; box-shadow: 0 18px 50px rgba(2, 63, 77, .18), 0 0 0 1px var(--line); }
  .ticks { list-style: none; padding: 0; margin: 0; }
  .ticks li { padding-left: 24px; position: relative; margin-bottom: 6px; }
  .ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
  .hero .ticks { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; font-size: .93rem; color: var(--soft); }

  .section { padding: 72px 0; }
  .alt { background: var(--ground); }
  .head { max-width: 680px; margin-bottom: 32px; }
  .head p { color: var(--soft); }

  /* Features */
  .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
  .feature .ico { width: 38px; height: 38px; border-radius: 10px; background: #DAF1EF; color: var(--teal); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 10px; }
  .feature p { color: var(--soft); margin: 0; font-size: .95rem; }

  /* Editions */
  .editions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .edition { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
  .edition h3 { font-size: 1.3rem; }
  .edition .tag { display: inline-block; background: var(--amber-soft); color: var(--amber); font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }

  /* Screens */
  .screens { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1040px; margin-inline: auto; }
  .screens a, a.shot-link { display: block; }
  .hero-shot { width: 100%; }
  .screens figure { margin: 0; }
  .screens figcaption { margin-top: 10px; color: var(--soft); font-size: .93rem; }
  .screens figcaption strong { color: var(--navy); }

  /* Trust */
  .trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .trust div { background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
  .trust strong { display: block; color: var(--navy); margin-bottom: 4px; }
  .trust span { color: var(--soft); font-size: .93rem; }

  /* Pricing / download */
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .box { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
  .box.dark { background: var(--navy); color: #DCEBEB; border: 0; }
  .box.dark h3 { color: #fff; }
  .box.dark .small { color: #A9C7C9; }
  .note { background: var(--amber-soft); color: #6B4310; border-radius: 10px; padding: 12px 14px; font-size: .9rem; margin-top: 16px; }

  details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
  summary { cursor: pointer; font-weight: 600; }
  details p { margin: 10px 0 0; color: var(--soft); }

  .contact { background: var(--navy); color: #DCEBEB; padding: 56px 0; }
  .contact h2 { color: #fff; }
  .contact-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .foot { background: #01303A; color: #9FBDBF; font-size: .88rem; padding: 22px 0; }
  .foot a { color: #DCEBEB; }
  .foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

  .wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; background: #157A42; color: #fff; border-radius: 999px; height: 56px; padding: 0 20px 0 16px; display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
  .wa-float svg { width: 30px; height: 30px; }

  @media (max-width: 960px) {
    .hero-grid, .editions, .two { grid-template-columns: 1fr; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .trust { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 680px) {
    .nav a:not(.btn) { display: none; }
    .features, .trust, .screens { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
    .foot { padding-bottom: 84px; }
  }
  .nav .btn-ghost { color: var(--teal) !important; }
  /* Phones: the header keeps the free-trial button (new visitors from ads); Sign in is in the hero and footer. */
  @media (max-width: 680px) { .nav .btn-ghost { display: none; } }
  .setup-wa { flex-basis: 100%; color: #157A42; text-decoration: none; font-size: .95rem; }
  .setup-wa:hover { text-decoration: underline; }

  /* Feature pages */
  .page-hero { background: linear-gradient(160deg, #EEF8F7, #fff 60%); padding: 48px 0 28px; }
  .page-hero .lead { max-width: 46rem; }
  .crumbs { font-size: .85rem; color: var(--soft); margin-bottom: 14px; }
  .crumbs a { color: var(--soft); }
  .prose { max-width: 46rem; }
  .prose h2 { margin-top: 1.6em; }
  .prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .4em; }
  .pagefig { margin: 28px 0 8px; } .pagefig figcaption { margin-top: 10px; color: var(--soft); font-size: .93rem; }
  .related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
  .related a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--navy); font-weight: 600; }
  .related a span { display: block; font-weight: 400; color: var(--soft); font-size: .92rem; margin-top: 4px; }
  .feature a.more { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; text-decoration: none; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* For patients: the strip on the home page */
.patients-strip { background: #e7f3f2; border-top: 1px solid #d3e6e5; border-bottom: 1px solid #d3e6e5; }
.patients-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 10px 0; font-size: .95rem; }
.patients-row .btn { padding: 8px 16px; font-size: .9rem; }
@media (max-width: 680px) { .patients-more { display: none; } }
