/* Azars.Ai: styles shared by every page (home, product, how it works, pricing and their translations). */
  /* ================= Lemon & lime =================
     Butter yellow for warmth, lime for anything you can press, deep green for the words.
     Change the colours here and the whole page follows. */
  :root {
    /* Azar teal, as on the live site: --butter* is the soft tint, --lime* is what you press, --leaf is Azar's own colour */
    --cream: #f4f8f7;  --paper: #ffffff;
    --butter: #ddf5f0;  --butter-soft: #ecf6f3;  --butter-deep: #bfe6df;
    --lime: #0fa896;  --lime-soft: #ddf5f0;  --lime-deep: #0b7d70;  --press-ink: #ffffff;
    --leaf: #0b7d70;  --leaf-deep: #073b35;
    --ink: #10201d;  --text: #26403b;  --muted: #6c8a82;  --line: #dce7e4;
    --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;   /* as on the live site */
    --radius: 24px;
    --bg: var(--cream);  --card: var(--paper);  --accent: var(--leaf);  --accent-soft: var(--lime-soft);
    --brand: var(--butter);  --brand-tint: var(--butter-soft);  --logo-box: #0fa896;  --logo-ink: #ffffff;
    --hl: #0fa896;  --wordmark: #0b7d70;  --mark: #bfe6df;  --wave-1: #bfe6df;  --wave-2: #34dcc6;  --wave-3: #0b7d70;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
  /* Lenis smooth scrolling (vendor/lenis.min.js) takes over from the browser's own, as on the live site */
  html.lenis, html.lenis body { height: auto; }
  html.lenis { scroll-behavior: auto; }
  .lenis.lenis-stopped { overflow: clip; }
  .lenis.lenis-smooth iframe { pointer-events: none; }
  body { font-family: var(--font);
         color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, .display { font-family: var(--font); color: var(--ink); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
  h2 { font-size: clamp(30px, 3.8vw, 46px); }
  h3 { font-size: 21px; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
  .muted { color: var(--muted); }
  ::selection { background: var(--butter); color: var(--ink); }

  /* Buttons: lime pills, white pills for the second choice */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px;
         padding: 12px 20px; border-radius: 999px; line-height: 1.2; white-space: nowrap; transition: transform .2s, background .2s, box-shadow .2s; }
  .btn:hover { transform: translateY(-1px); }
  .btn-dark { background: var(--lime); color: var(--press-ink, var(--ink)); box-shadow: 0 10px 24px -12px rgba(63,143,58,.55); }
  .btn-dark:hover { background: var(--lime-deep); }
  .btn-light { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
  .btn-light:hover { box-shadow: 0 0 0 1px var(--lime-deep); }
  .btn-lg { font-size: 16px; padding: 14px 24px; }

  /* Floating pill navigation */
  nav { position: sticky; top: 14px; z-index: 40; padding: 0 16px; }
  nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 7px 8px 7px 14px; border-radius: 999px;
              background: rgba(255,255,255,.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
              box-shadow: 0 1px 0 rgba(29,58,42,.06), 0 18px 40px -28px rgba(29,58,42,.35); }
  .logo { display: inline-flex; align-items: center; gap: 9px; color: var(--wordmark); }
  .wordmark { font-family: var(--font); font-weight: 800; font-size: 22px; line-height: .9; letter-spacing: -.02em; }   /* Azars over Ai, in the yellow */
  .logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
  .nav-links { display: flex; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
  .nav-links a { padding: 9px 16px; border-radius: 999px; background: color-mix(in srgb, var(--lime) 9%, #fff);
                 box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lime) 22%, transparent); transition: background .2s, color .2s, transform .2s; }
  .nav-links a:hover { background: color-mix(in srgb, var(--lime) 20%, #fff); color: var(--leaf); transform: translateY(-1px); }
  .nav-links a[aria-current] { background: color-mix(in srgb, var(--lime) 24%, #fff); color: var(--leaf-deep); }
  .nav-menu, .nav-login-m { display: none; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* Phones: the page links open from a ☰ button */
  @media (max-width: 760px) {
    nav .wrap { position: relative; gap: 10px; padding-left: 12px; }
    .nav-right { gap: 4px; }
    nav .logo-mark { width: 38px; height: 38px; }
    nav .wordmark { font-size: 19px; }
    nav .btn { padding: 10px 14px; font-size: 14px; }
    .nav-menu { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
    .nav-menu i, .nav-menu i::before, .nav-menu i::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, background .2s; }
    .nav-menu i { position: relative; }
    .nav-menu i::before, .nav-menu i::after { content: ""; position: absolute; left: 0; }
    .nav-menu i::before { top: -6px; }
    .nav-menu i::after { top: 6px; }
    nav.open .nav-menu i { background: transparent; }
    nav.open .nav-menu i::before { transform: translateY(6px) rotate(45deg); }
    nav.open .nav-menu i::after { transform: translateY(-6px) rotate(-45deg); }
    nav.open .nav-links { display: flex; flex-direction: column; gap: 2px; position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 8px;
                          background: var(--paper); border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px rgba(16,32,29,.35); }
    nav.open .nav-links a { padding: 13px 16px; border-radius: 14px; font-size: 16px; background: none; box-shadow: none; }
    nav.open .nav-links a:hover { background: var(--butter-soft); }
    .nav-login-m { display: block; }
  }
  @media (max-width: 360px) { nav .wordmark { display: none; } }   /* the smallest phones: the mark alone, so the menu button fits */
  .nav-right { display: flex; align-items: center; gap: 18px; }
  .nav-login { font-size: 14px; font-weight: 500; color: var(--text); }
  .nav-login:hover { color: var(--leaf); }

  /* Hero: the words in the middle, lemon and lime light behind them */
  .hero { position: relative; padding: 40px 0 70px; text-align: center; min-height: calc(100vh - 86px); min-height: calc(100svh - 86px);
          display: flex; flex-direction: column; justify-content: center; overflow-x: clip; }   /* the glow behind it is wider than the screen */   /* the first screen is the headline and Azar, nothing else */
  .hero .wrap { position: relative; }
  .hero::before { content: ""; position: absolute; left: 50%; top: -160px; width: 140vw; height: 680px; transform: translateX(-50%); z-index: -1; pointer-events: none;
    background: radial-gradient(42% 60% at 50% 0%, color-mix(in srgb, var(--butter) 75%, transparent), transparent 70%),
                radial-gradient(28% 50% at 86% 30%, color-mix(in srgb, var(--lime) 55%, transparent), transparent 72%),
                radial-gradient(28% 50% at 12% 36%, color-mix(in srgb, var(--butter) 55%, transparent), transparent 72%); }
  /* Frequency waves behind the headline: butter, lime and a whisper of green, drifting both ways */
  .hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
             -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 24%, #000 66%, transparent 94%); mask-image: linear-gradient(180deg, transparent 4%, #000 24%, #000 66%, transparent 94%); }
  .bg-wave { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
  .bg-wave g:nth-child(1) path { stroke: var(--wave-1); }  .bg-wave g:nth-child(2) path { stroke: var(--wave-2); }  .bg-wave g:nth-child(3) path { stroke: var(--wave-3); }
  @media (prefers-reduced-motion: reduce) { .hero-bg { display: none; } }
  .badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 6px 12px 6px 6px; border-radius: 999px;
           background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
  .orb { width: 22px; height: 22px; flex-shrink: 0; }
  .hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; margin: 22px auto 0; }
  .hero h1 em { font-style: normal; font-weight: 700; color: var(--hl); }   /* bolder than the rest of the line */
  .hero-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
  .hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

  /* The product, right under the headline: an example day and a live call */
  .showcase { position: relative; margin-top: 0; padding: 22px; border-radius: 34px; text-align: left; isolation: isolate;
              background: linear-gradient(180deg, var(--butter-soft), color-mix(in srgb, var(--lime-soft) 75%, #fff));
              box-shadow: 0 0 0 1px color-mix(in srgb, var(--butter-deep) 45%, transparent), 0 50px 90px -60px rgba(29,58,42,.45); }
  .day-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
  .panel-ui { background: var(--paper); border-radius: 22px; padding: 22px; box-shadow: 0 0 0 1px var(--line); }
  .ui-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
  .ui-top b { font-weight: 600; font-size: 15px; color: var(--ink); }
  .ui-top small { font-size: 11px; color: var(--muted); }
  .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--leaf-deep); background: var(--lime-soft); padding: 4px 10px; border-radius: 999px; }
  .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); animation: blink 1.6s infinite; }
  .ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
  .ui-stats div { background: var(--butter-soft); border-radius: 14px; padding: 12px; }
  .ui-stats b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); font-family: var(--font); }
  .ui-stats span { display: block; font-size: 11px; line-height: 1.3; color: var(--muted); margin-top: 2px; }
  .feed { list-style: none; }
  .feed li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
  .feed time { color: var(--muted); font-size: 12px; padding-top: 1px; }
  .feed .tag { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--leaf-deep);
               background: var(--lime-soft); border-radius: 6px; padding: 2px 6px; margin-right: 8px; }
  .call-card { border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
  .call-card .call { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
  .pulse { width: 10px; height: 10px; border-radius: 50%; background: #e0493e; box-shadow: 0 0 0 0 rgba(224,73,62,.5); animation: pulse 1.6s infinite; }
  .transcript { background: var(--butter-soft); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
  .msg.patient { background: var(--paper); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
  .msg.azars { background: var(--leaf); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
  .msg.system { align-self: center; background: var(--lime-soft); color: var(--leaf-deep); font-size: 12px; font-weight: 500; border-radius: 999px; padding: 6px 12px; }
  #liveTranscript .msg, .chat .msg { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
  #liveTranscript .msg.shown, .chat .msg.shown { opacity: 1; transform: none; }
  .typing { align-self: flex-end; display: flex; gap: 4px; background: var(--leaf); padding: 12px 14px; border-radius: 16px; border-bottom-right-radius: 4px; }
  .typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.8); animation: typing 1s infinite; }
  .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
  .incoming { position: absolute; top: -22px; right: 28px; display: flex; align-items: center; gap: 10px; background: var(--paper); color: var(--ink);
              padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 13px; font-weight: 500;
              box-shadow: 0 0 0 1px var(--line), 0 16px 36px -16px rgba(29,58,42,.45); animation: float 4s ease-in-out infinite; }
  .incoming small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
  .ring { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 14px; }

  /* "Talk to Azar": a living orb you can press, resting on the corner of the showcase */
  .talk-orb { position: relative; display: inline-grid; justify-items: center; margin-top: 46px; text-decoration: none; cursor: pointer; z-index: 2; }
  /* Azar's orb, the same as on the dashboard: a soft glossy sphere in the brand teal that slowly breathes and catches the light */
  .avatar { --s: 168px; position: relative; width: var(--s); height: var(--s); border-radius: 50%; isolation: isolate;
            background: radial-gradient(circle at 32% 28%, #c9fff6 0%, #5fe3cf 22%, #0fa896 55%, #086b60 100%);
            box-shadow: 0 calc(var(--s) * .184) calc(var(--s) * .395) calc(var(--s) * -.184) rgba(11,125,112,.6),
                        inset calc(var(--s) * -.132) calc(var(--s) * -.184) calc(var(--s) * .342) rgba(4,60,54,.35),
                        inset calc(var(--s) * .105) calc(var(--s) * .132) calc(var(--s) * .263) rgba(255,255,255,.35);
            animation: orb-breathe 6s ease-in-out infinite; }
  .avatar::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
                    background: radial-gradient(circle at 70% 75%, rgba(255,255,255,0) 40%, rgba(255,255,255,.18) 60%, rgba(255,255,255,0) 72%);
                    animation: orb-glint 9s linear infinite; }
  .avatar .face { position: absolute; inset: 0; margin: auto; width: 54%; height: 54%; color: #fff;
                  filter: drop-shadow(0 calc(var(--s) * .02) calc(var(--s) * .045) rgba(4,60,54,.4)); }
  .avatar::after { content: ""; position: absolute; left: 18%; top: 12%; width: 34%; height: 22%; border-radius: 50%;
                   background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,0) 70%); filter: blur(2px);
                   animation: orb-highlight 6s ease-in-out infinite; }
  .talk-tag { margin-top: -22px; position: relative; z-index: 1; padding: 12px 22px; font-size: 16px;
              box-shadow: 0 10px 26px -12px rgba(29,58,42,.5), 0 0 0 1px var(--line); }
  .talk-orb:hover .talk-tag { transform: translateY(-2px); }
  .talk-orb:focus-visible .talk-tag { outline: 2px solid var(--leaf); outline-offset: 3px; }

  /* Sections */
  main > section, main > .cta { padding-top: 96px; }
  /* On laptops and bigger, each section gets a screen to itself with its content centred, as on the live site */
  @media (min-width: 761px) {
    main > section { min-height: 100vh; min-height: 100svh; padding: 90px 0 60px; display: flex; flex-direction: column; justify-content: center; }
    main > .cta { min-height: calc(100vh - 140px); min-height: calc(100svh - 140px); display: flex; flex-direction: column; justify-content: center; }
  }
  .sec-head { border-left: 3px solid var(--butter-deep); padding-left: 20px; margin-bottom: 36px; }
  .sec-head .badge { margin-bottom: 14px; }
  .sec-head h1 { font-size: clamp(34px, 4.4vw, 54px); }   /* the first section of each page carries its title */
  .more-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 7px 7px 7px 20px; border-radius: 999px;
               background: var(--paper); box-shadow: 0 0 0 1.5px var(--lime), 0 12px 26px -16px rgba(11,125,112,.5);
               font-size: 15px; font-weight: 600; color: var(--leaf-deep); transition: background .2s, transform .2s; }
  .more-link::after { content: "→"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
                      background: var(--lime); color: var(--press-ink, #fff); font-size: 16px; }
  .more-link:hover { background: var(--lime-soft); transform: translateY(-1px); }
  [dir="rtl"] .more-link { padding: 7px 20px 7px 7px; }
  [dir="rtl"] .more-link::after { content: "←"; }
  .section-lede { margin-top: 12px; max-width: 60ch; color: var(--text); font-size: 18px; }
  .band { border-radius: 34px; padding: 56px clamp(20px, 4vw, 56px); }
  .band-lime { background: var(--lime-soft); }
  .band-butter { background: var(--butter-soft); }
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  /* What Azar does: a list of jobs beside one phone that plays each conversation */
  .jobs { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
  .job-list { display: grid; gap: 6px; }
  .job { text-align: left; font: inherit; cursor: pointer; border: 0; display: block; padding: 11px 18px; border-radius: 16px;
         background: transparent; color: var(--text); transition: background .25s, box-shadow .25s; }
  .job .tab { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
  .job b, .job small { display: none; }
  .job.active .tab { color: var(--leaf-deep); font-weight: 600; }
  .job.active b { display: block; margin-top: 6px; font-size: 21px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
  .job.active small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
  body.editing .job b, body.editing .job small { display: block; }
  .job:hover { background: var(--butter-soft); }
  .job.active { background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -32px rgba(29,58,42,.4); }
  .job:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
  .phone { position: sticky; top: 96px; justify-self: center; width: min(100%, 360px); border-radius: 40px; padding: 14px; background: var(--paper);
           box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(29,58,42,.5); }
  .phone-top { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; }
  .phone-top .orb { width: 34px; height: 34px; }
  .phone-top b { font-weight: 600; color: var(--ink); flex: 1; }
  .screen { background: var(--butter-soft); border-radius: 28px; min-height: 440px; padding: 12px; }
  .job-chat { display: none; }
  .job-chat.active { display: block; }
  .job-chat .transcript { background: transparent; padding: 6px; }

  /* Azar's library: real recordings */
  .library { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .library.single { grid-template-columns: minmax(0, 560px); }
  .voice { background: var(--paper); border-radius: 24px; padding: 24px; display: grid; gap: 16px; align-content: start;
           box-shadow: 0 0 0 1px var(--line), 0 24px 50px -36px rgba(29,58,42,.4); }
  .voice-top { display: flex; align-items: center; gap: 14px; }
  .vplay { width: 52px; height: 52px; flex-shrink: 0; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--press-ink, var(--ink));
           background: var(--lime); box-shadow: 0 10px 24px -12px rgba(63,143,58,.6); transition: transform .2s, background .2s; }
  .vplay:hover { transform: scale(1.06); background: var(--lime-deep); }
  .vplay:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
  .vplay svg { width: 18px; height: 18px; fill: currentColor; }
  .vplay .i-pause, .voice.playing .vplay .i-play { display: none; }
  .voice.playing .vplay .i-pause { display: block; }
  .voice-top b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -.01em; color: var(--ink); }
  .voice-top span { font-size: 13px; color: var(--muted); }
  .vwave { display: flex; align-items: center; gap: 3px; height: 40px; cursor: pointer; }
  .vwave i { flex: 1; border-radius: 99px; background: var(--butter-soft); transition: background .2s; }
  .vwave i.on { background: linear-gradient(180deg, var(--lime), var(--leaf)); }
  .voice time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .voice-foot { display: flex; justify-content: space-between; align-items: center; }
  .voice-name { font-size: 12px; font-weight: 600; color: var(--leaf-deep); }
  .lib-kind { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: 12px; font-weight: 600; letter-spacing: .02em;
              color: var(--leaf-deep); background: var(--lime-soft); padding: 4px 10px 4px 8px; border-radius: 99px; }
  .lib-kind svg { width: 14px; height: 14px; fill: currentColor; }
  .lib-who { display: block; margin-top: 2px; font-size: 12px; color: var(--leaf-deep); }
  .lib-soon { justify-self: start; font-size: 12px; color: var(--muted); border: 1px dashed var(--line); border-radius: 99px; padding: 4px 10px; }
  .lib-card[data-pending] { display: none; }
  html.show-drafts .lib-card[data-pending] { display: grid; opacity: .6; }
  .clip-frame { justify-self: center; width: min(100%, 230px); aspect-ratio: 9 / 19.5; border-radius: 30px; overflow: hidden; background: var(--ink);
                box-shadow: 0 0 0 6px var(--butter), 0 24px 50px -24px rgba(29,58,42,.5); }
  .clip-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
  html:not(.show-drafts) .lib-group:not(:has(.lib-card:not([data-pending]))) { display: none; }   /* a shelf with nothing recorded yet stays off the live site */
  .video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; display: grid; place-items: center;
                 background: radial-gradient(circle at 30% 25%, var(--butter), var(--butter-deep)); }
  .video-frame .play { position: relative; width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: 0 12px 26px -14px rgba(11,125,112,.7); }
  .video-frame .play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
                              border-left: 17px solid var(--lime); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
  .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }

  /* Why we're building Azar: the founder's note and the numbers behind it */
  .why { display: grid; grid-template-columns: minmax(0, 760px); }
  .note-source { font-size: 12px; }
  .note-source a { color: var(--muted); border-bottom: 1px solid color-mix(in srgb, var(--butter-deep) 50%, transparent); }
  .note-source a:hover { color: var(--leaf); }
  .note-card { background: var(--butter-soft); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
  .note-card p { font-size: 18px; line-height: 1.55; color: var(--ink); letter-spacing: -.01em; }
  .note-card .hl { font-weight: 600; color: var(--leaf-deep); }
  .signature { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--butter-deep) 50%, transparent); }
  .signature .logo-mark { width: 38px; height: 38px; }
  .signature b { font-weight: 600; color: var(--ink); }
  .signature small { color: var(--muted); font-size: 13px; }
  /* A real customer's quote, in a teal band right after the hero */
  .proof { margin: 8px 0 0; padding: clamp(36px, 6vw, 72px) clamp(24px, 6vw, 80px); border-radius: 32px; text-align: center;
           background: radial-gradient(120% 140% at 15% 0%, #13b39f 0%, var(--leaf) 55%, var(--leaf-deep) 100%); color: #fff; }
  .proof-eyebrow { display: inline-block; margin-bottom: 22px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
                   letter-spacing: .02em; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
  .proof blockquote { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.18; font-weight: 600; letter-spacing: -.03em; max-width: 900px; margin: 0 auto; }
  .proof figcaption { margin-top: 22px; font-size: 15px; color: rgba(255,255,255,.8); }
  .proof figcaption b { color: #fff; font-weight: 600; }

  /* Your team, plus Azar */
  .lineup { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
  .member { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 150px; text-align: center; }
  .member i { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--butter-soft); overflow: hidden; }
  .member i::before { content: ""; position: absolute; left: 24px; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: var(--butter-deep); }
  .member i::after { content: ""; position: absolute; left: 16px; top: 34px; width: 32px; height: 34px; border-radius: 16px 16px 0 0; background: var(--butter-deep); }
  .member b { font-weight: 600; color: var(--ink); }
  .member span { font-size: 13px; color: var(--leaf-deep); margin-top: -4px; }
  .plus-azar { display: flex; align-items: center; gap: 16px; }
  .plus-azar .plus { font-size: 40px; font-weight: 300; color: var(--leaf); line-height: 1; }
  .member.azar { position: relative; }
  .member.azar .orb { width: 64px; height: 64px; }
  .member.azar b { font-size: 20px; color: var(--leaf-deep); }
  .member.azar small { font-size: 13px; color: var(--muted); }
  .ping { position: absolute; top: -34px; right: -34px; background: var(--lime); color: var(--press-ink, var(--ink)); font-size: 12px; font-style: normal; font-weight: 600;
          padding: 6px 11px; border-radius: 999px; white-space: nowrap; opacity: 0; transform: scale(.8); transition: opacity .4s .6s, transform .4s .6s;
          box-shadow: 0 10px 24px -12px rgba(63,143,58,.6); }
  .lineup.play .ping { opacity: 1; transform: none; }

  /* Memory */
  .memory { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .memory .transcript { background: var(--paper); }
  .memory .msg.patient { background: var(--butter-soft); }
  .memo { align-self: center; font-size: 12px; font-weight: 600; color: var(--leaf-deep); display: flex; align-items: center; gap: 6px; margin-top: 4px; }
  .memo .orb { width: 18px; height: 18px; }
  .file { align-self: flex-end; background: var(--paper); border: 1px dashed var(--line); border-radius: 12px; padding: 8px 12px; font-size: 13px; }

  /* You stay in charge: what Azar really does today, beyond answering */
  .perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .perk { background: var(--paper); border-radius: 22px; padding: 24px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; }
  .perk .ic { width: 28px; height: 28px; margin-bottom: 10px; fill: none; stroke: var(--leaf); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .perk h3 { font-size: 19px; }
  .perk p { font-size: 15px; color: var(--text); }
  .perk-link { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--leaf); }
  .levels { margin-top: auto; padding-top: 12px; display: flex; gap: 4px; }
  .levels span { flex: 1; text-align: center; font-size: 12px; padding: 6px 4px; border-radius: 999px; background: var(--butter-soft); color: var(--muted); }
  .levels span.on { background: var(--lime); color: var(--press-ink, var(--ink)); font-weight: 600; }

  /* Coming soon: dashed edges, because none of this runs yet */
  .soon-tag { display: inline-block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
              color: var(--leaf-deep); background: var(--lime-soft); padding: 5px 12px; border-radius: 999px; }
  .soon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .soon-card { border-radius: 22px; padding: 24px; background: var(--butter-soft); border: 1.5px dashed var(--butter-deep); }
  .soon-card h3 { font-size: 19px; }
  .soon-card p { margin-top: 6px; font-size: 15px; color: var(--text); }
  .soon-main { grid-column: span 2; display: flex; flex-direction: column; background: var(--paper); }
  .soon-main h3 { font-size: 24px; }
  .sick { margin-top: auto; padding-top: 20px; display: grid; gap: 8px; }
  .sick-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink); }
  .sick-top span { font-size: 12px; font-weight: 600; color: #b4471b; background: #fff0e6; padding: 3px 10px; border-radius: 999px; }
  .sick-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--butter-soft); font-size: 14px; color: var(--ink); }
  .sick-row time { color: var(--muted); text-decoration: line-through; }
  .sick-row em { font-style: normal; font-weight: 600; color: var(--leaf-deep); }
  .sick-row em::before { content: "→ "; }
  .sick-row em::after { content: " ✓"; }
  .sick small { justify-self: end; font-size: 11px; color: var(--muted); }
  .plans .sick-top span { color: var(--leaf-deep); background: var(--lime-soft); }
  .plans .sick-row { grid-template-columns: 1fr auto; }
  .plans .sick-row span, .plans .sick-top span { white-space: nowrap; }
  .plans .sick-row i { font-style: normal; font-size: 13px; color: var(--muted); margin: 0 6px; }
  .sick.plans .sick-row em::before { content: none; }   /* no arrow in either reading direction */
  .plans .sick-row em:not(.done) { font-weight: 500; color: var(--muted); }
  .plans .sick-row em:not(.done)::after { content: none; }

  /* Numbers */
  .numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .num { background: var(--paper); border-radius: 22px; padding: 24px; box-shadow: 0 0 0 1px var(--line); }
  .num b { font-family: var(--font); font-size: 42px; font-weight: 500; letter-spacing: -.03em; display: block; color: var(--ink); }
  .num span { font-size: 14px; color: var(--muted); }

  /* Live in three steps */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .step { background: var(--paper); border-radius: 24px; padding: 28px; box-shadow: 0 0 0 1px var(--line); }
  .step-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 600; background: var(--lime); color: var(--press-ink, var(--ink)); margin-bottom: 18px; }
  .step small { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
  .step h3 { font-size: 22px; margin: 4px 0 10px; }
  .step p { font-size: 15px; color: var(--text); }

  /* Add Azar as a user */
  .adduser { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
  .pms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
  .pms small { width: 100%; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .pms-logo { display: inline-flex; align-items: center; height: 64px; padding: 0 22px; background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
  .pms-logo img { display: block; width: auto; }
  .logo-dentally { height: 26px; }
  .logo-soe { height: 42px; }   /* two lines of small type: needs the extra height to read */
  .form-card { background: var(--paper); border-radius: 24px; padding: 30px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(29,58,42,.35); }
  .form-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 14px; color: var(--ink); }
  .field { margin-bottom: 14px; }
  .field small { font-size: 12px; color: var(--muted); }
  .field div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 4px; display: flex; gap: 8px; align-items: center; color: var(--ink); }

  /* Trust */
  .trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .trust div { background: var(--paper); border-radius: 22px; padding: 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
               box-shadow: 0 0 0 1px var(--line); font-size: 15px; color: var(--ink); }
  .trust svg { width: 36px; height: 36px; flex-shrink: 0; stroke: var(--leaf); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

  /* Calculator */
  .roi { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .roi-inputs { background: var(--paper); border-radius: 24px; padding: 30px; display: grid; gap: 26px; box-shadow: 0 0 0 1px var(--line); }
  .roi-field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px 12px; }
  .roi-field label { font-size: 15px; color: var(--text); }
  .roi-field output { font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
  .roi-field input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--leaf); height: 22px; cursor: pointer; }
  .roi-field small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); margin-top: -6px; }
  .roi-row { grid-template-columns: auto 1fr auto 1fr; align-items: center; }
  .roi-row select { font: inherit; font-size: 16px; padding: 8px 32px 8px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink);
                    background: var(--butter-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d3a2a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px;
                    -webkit-appearance: none; appearance: none; }
  .roi-result { border-radius: 24px; padding: 34px; background: var(--butter); color: var(--ink); display: flex; flex-direction: column; }
  .roi-result > small { font-size: 14px; color: var(--text); }
  .roi-result > b { font-family: var(--font); font-size: clamp(44px, 6vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; margin-top: 10px; }
  .roi-result .per { color: var(--text); font-size: 15px; }
  .roi-lines { margin: 26px 0 18px; }
  .roi-lines div { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid rgba(29,58,42,.15); font-size: 15px; }
  .roi-lines div span:first-child { color: var(--text); }
  .roi-payback { font-size: 15px; line-height: 1.5; margin-bottom: 20px; color: var(--ink); }
  .roi-result .btn { align-self: flex-start; margin-top: auto; }
  .roi-fine { font-size: 12px; color: var(--text); opacity: .75; margin-top: 12px; }

  /* Pricing */
  .price { background: var(--paper); border-radius: 26px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
           box-shadow: 0 0 0 2px var(--lime), 0 30px 70px -40px rgba(63,143,58,.35); }
  .price b { font-family: var(--font); font-size: 52px; font-weight: 500; letter-spacing: -.03em; display: block; margin: 6px 0 20px; color: var(--ink); }
  .price ul { list-style: none; }
  .price li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
  .price li::before { content: "✓"; color: var(--leaf); font-weight: 700; margin-right: 10px; }

  /* Closing invitation */
  .cta { margin-top: 96px; text-align: center; border-radius: 34px; padding: 84px 24px; background: linear-gradient(160deg, var(--butter-soft), var(--lime-soft)); }
  .cta h2 { font-size: clamp(32px, 4.6vw, 52px); max-width: 16ch; margin: 0 auto 26px; }
  .cta .hero-actions { margin-top: 0; }
  .cta-faq { margin-top: 22px; font-size: 15px; }
  .cta-faq a { color: var(--leaf-deep); font-weight: 600; }
  .cta-phone { margin-top: 14px; font-size: 15px; color: var(--muted); }
  .cta-phone a { color: var(--ink); font-weight: 600; }

  /* Footer */
  footer { margin-top: 90px; padding-top: 44px; border-top: 1px solid var(--line); overflow-x: clip; }   /* the big Azar is nudged to touch the edges; on right-to-left pages that nudge made the page scroll sideways */
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
  .foot-grid b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: 14px; }
  .foot-grid a { display: block; font-size: 14px; color: var(--text); padding: 4px 0; }
  .foot-grid a:hover { color: var(--leaf); }
  .foot-legal { margin-top: 28px; font-size: 13px; color: var(--muted); }
  .foot-brand p { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 30ch; }
  .lang-menu { position: relative; margin-top: 16px; }
  .lang-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line);
              background: var(--paper); color: var(--ink); cursor: pointer; }
  .lang-btn svg { width: 10px; height: 7px; }
  .lang-list { position: absolute; left: 0; bottom: calc(100% + 6px); list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
               padding: 6px; min-width: 150px; box-shadow: 0 20px 40px -24px rgba(29,58,42,.4); z-index: 5; }
  .lang-list a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; }
  .lang-list a:hover { background: var(--butter-soft); }
  .lang-list a[aria-current] { color: var(--leaf-deep); font-weight: 600; }
  .footer-mark { margin: 40px 0 -.08em; text-align: left; font-size: 49vw; font-weight: 600; line-height: .8; white-space: nowrap; overflow: hidden;
                 font-family: var(--font);
                 color: var(--mark); }

  /* Thin line along the top showing how far down the page you are */
  #progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 50; transform-origin: 0 50%; transform: scaleX(0);
              background: linear-gradient(90deg, var(--butter-deep), var(--lime-deep)); pointer-events: none; }

  /* Editing (shows on your own computer only) */
  #editbar { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 60; display: none; gap: 8px; align-items: center;
             padding: 8px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 20px 50px -20px rgba(29,58,42,.6); }
  #editbar.show { display: flex; }
  #editbar button { border: 0; border-radius: 9px; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; background: rgba(255,255,255,.14); color: #fff; }
  #editbar button.primary { background: var(--lime); color: var(--ink); }
  #editbar .hint { color: rgba(255,255,255,.7); padding: 0 6px; display: none; }
  body.editing #editbar .hint { display: inline; }
  body.editing [contenteditable="true"]:hover { outline: 2px dashed var(--lime-deep); outline-offset: 3px; border-radius: 4px; }
  body.editing [contenteditable="true"]:focus { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,73,62,.5); } 70% { box-shadow: 0 0 0 10px rgba(224,73,62,0); } 100% { box-shadow: 0 0 0 0 rgba(224,73,62,0); } }
  @keyframes typing { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  @keyframes orb-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
  @keyframes orb-glint { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @keyframes orb-highlight { 0%, 100% { opacity: .9; transform: translate(0, 0); } 50% { opacity: .6; transform: translate(15%, 18%); } }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .avatar, .avatar::before, .avatar::after, .incoming, .live i, .pulse { animation: none; }
  }

  /* Right-to-left languages */
  [dir="rtl"] .job { text-align: right; }
  [dir="rtl"] .sick-row em::before { content: "← "; }
  [dir="rtl"] .sec-head { border-left: 0; border-right: 3px solid var(--butter-deep); padding-left: 0; padding-right: 20px; }
  [dir="rtl"] .msg.patient { border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
  [dir="rtl"] .msg.azars, [dir="rtl"] .typing { border-bottom-right-radius: 16px; border-bottom-left-radius: 4px; }
  [dir="rtl"] .incoming { right: auto; left: 28px; }
  [dir="rtl"] .feed .tag { margin-right: 0; margin-left: 8px; }
  [dir="rtl"] .ping { right: auto; left: -34px; }
  [dir="rtl"] .roi-row select { padding: 8px 10px 8px 32px; background-position: left 12px center; }
  [dir="rtl"] .price li::before { margin-right: 0; margin-left: 10px; }
  [dir="rtl"] .lang-list { left: auto; right: 0; }
  [dir="rtl"] #progress { transform-origin: 100% 50%; }
  [dir="rtl"] .footer-mark { direction: ltr; }

  /* Phones and small tablets */
  @media (max-width: 960px) {
    .library, .steps, .trust, .perks { grid-template-columns: 1fr 1fr; }
    .soon-grid { grid-template-columns: 1fr 1fr; }
    .soon-main { grid-column: auto; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 760px) {
    .nav-links { display: none; }
    nav { top: 10px; padding: 0 10px; }
    .hero { padding-top: 48px; }
    .showcase { padding: 14px; border-radius: 26px; }
    .day-grid, .jobs, .library, .why, .memory, .steps, .adduser, .trust, .roi, .price, .foot-grid, .perks, .soon-grid { grid-template-columns: 1fr; }
    .plans .sick-row i { display: block; margin: 2px 0 0; }   /* the treatment goes under the patient's name */
    .nav-login { display: none; }
    /* the jobs become a row you swipe through, with the phone right underneath */
    .job-list { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 4px 20px 10px; }
    .job-list::-webkit-scrollbar { display: none; }
    .job { flex: 0 0 auto; width: 236px; scroll-snap-align: start; padding: 14px 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
    .job .tab { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf-deep); }
    .job b, .job small { display: block; }
    .job b { margin-top: 4px; font-size: 17px; font-weight: 500; color: var(--ink); }
    .job.active b { font-size: 17px; }
    .job.active { box-shadow: 0 0 0 2px var(--lime-deep); }
    .phone { position: static; width: 100%; }
    .screen { min-height: 360px; }
    .numbers { grid-template-columns: 1fr 1fr; }
    .incoming { display: none; }
    .talk-orb { margin-top: 32px; }
    .avatar { --s: 128px; }
    main > section, main > .cta { padding-top: 72px; }
    .band { padding: 36px 20px; border-radius: 26px; }
    .lineup { gap: 10px; }
    .member { width: 140px; }
    .cta { padding: 64px 20px; }
    .footer-mark { margin-top: 30px; }
  }

  /* ---------- Sign up (after Alven's): light teal backdrop, "Hi … I'm Azar", the orb turns to dots and settles above one question at a time ---------- */
  html.su-open, html.su-open body { overflow: hidden; }
  .su { position: fixed; inset: 0; z-index: 200; display: grid; justify-items: center; align-content: start; padding-top: max(80px, 30vh); background: #f4f8f7; overflow: hidden; }
  .su-bg i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; animation: su-drift 14s ease-in-out infinite alternate; }
  .su-bg i:nth-child(1) { width: 52vmax; height: 52vmax; left: -14vmax; top: -12vmax; background: #c9f1e9; }
  .su-bg i:nth-child(2) { width: 42vmax; height: 42vmax; right: -12vmax; bottom: -14vmax; background: #d7efe9; animation-delay: -5s; }
  .su-bg i:nth-child(3) { width: 26vmax; height: 26vmax; right: 16vw; top: 6vh; background: #e3f6f2; animation-delay: -9s; }
  @keyframes su-drift { to { transform: translate(4vmax, 3vmax) scale(1.08); } }
  .su-hello { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .26em; pointer-events: none;
              font-size: clamp(36px, 5vw, 60px); font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
  .su-hello[hidden] { display: none; }
  .su-blue { background: linear-gradient(100deg, #34dcc6, #0b7d70); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .su-stage { position: relative; width: min(520px, calc(100vw - 32px)); display: grid; gap: 14px; }
  .su-spot { width: 46px; height: 46px; }
  .su-orb { position: fixed; z-index: 1; pointer-events: none; transform-origin: 0 0; }
  .su-spot .su-orb { position: relative; width: 100%; height: 100%; }   /* once it has landed it moves with the question */
  .su-ball, .su-dots { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
  .su-ball { background: radial-gradient(circle at 32% 28%, #c9fff6 0%, #5fe3cf 22%, #0fa896 55%, #086b60 100%);
             box-shadow: 0 18px 40px -18px rgba(11,125,112,.55), inset -10px -14px 26px rgba(4,60,54,.35), inset 8px 10px 20px rgba(255,255,255,.35); }
  .su-step { display: grid; gap: 14px; }
  .su-step[hidden] { display: none; }
  .su [hidden] { display: none !important; }
  .su-step h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 500; letter-spacing: -.02em; }
  .su-step p { color: var(--text); margin: -4px 0 4px; }
  .su-field { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; border-radius: 18px; background: #fff;
              box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(16,32,29,.35); }
  .su-field:focus-within { box-shadow: 0 0 0 2px var(--lime), 0 18px 40px -24px rgba(16,32,29,.35); }
  .su-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 17px; color: var(--ink); padding: 6px 0; }
  .su-go { flex-shrink: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--lime); color: #fff; font-size: 17px; cursor: pointer; }
  .su-go:hover { background: var(--lime-deep); }
  .su-choices { display: flex; flex-wrap: wrap; gap: 10px; }
  .su-choices button { border: 0; border-radius: 999px; padding: 12px 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
  .su-choices button:hover, .su-choices button:focus-visible { box-shadow: 0 0 0 2px var(--lime); outline: 0; }
  .su-book { justify-self: start; }
  .su-login { font-size: 14px; color: var(--muted); margin-top: 6px; }
  .su-login a { color: var(--leaf); font-weight: 600; }
  .su-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff;
              box-shadow: 0 0 0 1px var(--line); font-size: 22px; color: var(--ink); cursor: pointer; }
  [dir="rtl"] .su-close { right: auto; left: 18px; }
  @media (prefers-reduced-motion: reduce) { .su-bg i { animation: none; } }

  /* Pricing: the line for groups under the price card */
  .group-price { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 14px; padding: 20px 24px;
                 border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
  .group-price b { display: block; font-size: 18px; font-weight: 600; color: var(--ink); }
  .group-price span { color: var(--text); }
  .group-price .more-link { margin-top: 0; align-self: center; }

  /* Talk to Azar in the browser: the orb breathes while connecting and pulses with her voice during the call */
  .talk-orb .avatar { transition: scale .12s ease-out; }
  .talk-orb.live .avatar { transition: none; will-change: transform, scale; }   /* the pulse is set every frame; a transition restarting each frame made it judder */
  .talk-orb.connecting .avatar { animation: talk-wait 1.1s ease-in-out infinite; }
  @keyframes talk-wait { 50% { transform: scale(.94); filter: brightness(1.08); } }
  .talk-orb.live .avatar { box-shadow: 0 0 0 10px rgba(15,168,150,.14), 0 0 0 22px rgba(15,168,150,.07), 0 30px 60px -30px rgba(11,125,112,.6); }
  .talk-orb.live .talk-tag { background: var(--ink); color: #fff; }
  .talk-tag > span[hidden] { display: none; }

  /* Microphone note before "Talk to Azar" */
  .mic-ask { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 16px; background: rgba(16,32,29,.45); }   /* no backdrop blur: re-blurring the page behind as the orb pulsed made phones lag */
  .mic-card { position: relative; width: min(340px, 100%); padding: 28px 24px 18px; border-radius: 24px; background: #fff; text-align: center;
              box-shadow: 0 30px 70px -30px rgba(16,32,29,.5); display: grid; justify-items: center; gap: 10px; }
  .mic-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-soft); color: var(--leaf); }
  .mic-icon svg { width: 26px; height: 26px; fill: currentColor; }
  .mic-card h2 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-top: 6px; }
  .mic-card p { font-size: 15px; color: var(--text); margin: 0 0 8px; line-height: 1.55; }
  .mic-yes { width: 100%; justify-content: center; padding: 14px 18px; }
  .mic-no { border: 0; background: none; padding: 10px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
  .mic-no:hover { color: var(--ink); }
  .mic-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; font-size: 22px; color: var(--muted); cursor: pointer; }
  [dir="rtl"] .mic-x { right: auto; left: 12px; }

  /* Coming soon: the Smart detection example conversation */
  .smart { margin-top: auto; padding-top: 20px; display: grid; gap: 8px; }
  .smart-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
  .smart-msg.from-azar { justify-self: start; background: var(--butter-soft); color: var(--ink); border-bottom-left-radius: 6px; }
  .smart-msg.from-patient { justify-self: end; background: var(--lime); color: #fff; border-bottom-right-radius: 6px; }
  [dir="rtl"] .smart-msg.from-azar { border-bottom-left-radius: 16px; border-bottom-right-radius: 6px; }
  [dir="rtl"] .smart-msg.from-patient { border-bottom-right-radius: 16px; border-bottom-left-radius: 6px; }
  .smart small { justify-self: end; font-size: 11px; color: var(--muted); }

  /* Sign up: the caret while a question types itself out */
  .su-typing::after { content: ""; display: inline-block; width: 2px; height: .95em; margin-left: 3px; vertical-align: -.1em; background: var(--leaf); animation: su-caret .8s steps(1) infinite; }
  @keyframes su-caret { 50% { opacity: 0; } }
  .mic-note { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 2px; }
  .mic-note a { color: var(--leaf); text-decoration: underline; }
