/* Landing page (signed-out home) — same look as medora-medical.com (copied from medora_patient_web landing.css; staff mock-up bits at the end). Self-contained: does not use app.css. */

  :root {
    --ink: #0f172a; --muted: #5b6b7f; --line: #e3e9ef; --canvas: #f6f8f9;
    --teal-900: #02574b; --teal-800: #02705f; --teal-700: #0a9078; --teal-600: #11a086; --teal-400: #49cbab;
    --mint: #e8f8f3; --mint-2: #d3f2e8; --sun: #f6c454;
  }
  * { box-sizing: border-box; }
  body.landing { margin: 0; font-family: Inter, -apple-system, system-ui, sans-serif; color: var(--ink); background: #fff; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

  /* Nav */
  /* Top bar: pinned while scrolling; clear over the hero, solid teal once the page scrolls */
  nav { position: fixed; inset: 0 0 auto 0; z-index: 10; transition: background .25s, box-shadow .25s, height .25s; }
  nav.scrolled { background: linear-gradient(100deg, rgba(2,112,95,.97) 0%, rgba(10,144,120,.97) 60%, rgba(17,160,134,.97) 100%);
    box-shadow: 0 8px 24px rgba(2,60,50,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  nav .wrap { display: flex; align-items: center; gap: 36px; height: 84px; color: #fff; transition: height .25s; }
  nav.scrolled .wrap { height: 68px; }
  /* Reading progress along the bottom of the bar */
  nav .progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.15);
    opacity: 0; transition: opacity .25s; }
  nav.scrolled .progress { opacity: 1; }
  nav .progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
    background: linear-gradient(90deg, #49cbab, #a7f3d0 70%, #f6c454); border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px rgba(167,243,208,.7); }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  .brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; }
  .logo { width: 40px; height: 40px; border-radius: 11px; background: #27b798; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
  .logo svg { width: 26px; height: 26px; color: #fff; }
  .logo img { width: 100%; height: 100%; display: block; border-radius: inherit; }
  .logo:has(img) { box-shadow: 0 0 0 1.5px rgba(255,255,255,.6), 0 6px 18px rgba(0,0,0,.15); }
  nav .links { display: flex; gap: 28px; margin-left: 20px; font-size: 15px; font-weight: 500; opacity: .92; }
  nav .right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 600; }
  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; }
  .btn.white { background: #fff; color: var(--teal-800); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
  .btn.ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
  .btn.teal { background: var(--teal-800); color: #fff; }

  /* Hero */
  .hero { position: relative; color: #fff; overflow: hidden;
    background: url('/images/landing-town.webp') center bottom / 1500px auto no-repeat,
                linear-gradient(100deg, #02705f 0%, #0a9078 52%, #11a086 100%);
    padding: 150px 0 230px; }
  .hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
    padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
  .eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(246,196,84,.25); }
  h1 { font-size: 58px; line-height: 1.06; letter-spacing: -1.4px; margin: 22px 0 18px; font-weight: 800; }
  .hero p.lead { font-size: 19px; line-height: 1.55; opacity: .92; max-width: 520px; margin: 0 0 30px; }
  .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
  .trust { display: flex; gap: 22px; margin-top: 30px; font-size: 14px; opacity: .9; }
  .trust span { display: inline-flex; align-items: center; gap: 8px; }
  .trust svg { width: 18px; height: 18px; }

  /* Phone mockup */
  .phone { justify-self: center; width: 320px; height: 640px; border-radius: 46px; background: #0b1f1c; padding: 12px;
    box-shadow: 0 40px 80px rgba(0,30,25,.45), inset 0 0 0 2px rgba(255,255,255,.08); position: relative; transform: rotate(-3deg); }
  /* Screen edge the same dark as the frame: a light background showed as a thin dashed line along the tilted, rounded edge */
  .screen { width: 100%; height: 100%; border-radius: 36px; background: #0b1f1c; overflow: hidden; position: relative; color: var(--ink);
    -webkit-mask-image: -webkit-radial-gradient(white, black); isolation: isolate; }
  .island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; border-radius: 20px; background: #0b1f1c; z-index: 2; }
  .apphead { background: linear-gradient(140deg, #0a9078, #02705f); color: #fff; padding: 52px 18px 16px; }
  .apphead .greet { font-size: 13px; opacity: .85; }
  .apphead .nm { font-size: 20px; font-weight: 800; margin-top: 2px; }
  .chat { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
  .bubble { max-width: 82%; padding: 10px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.45; }
  .bubble.me { align-self: flex-end; background: var(--teal-800); color: #fff; border-bottom-right-radius: 5px; }
  .bubble.ai { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
  .bubble.ai b { color: var(--teal-800); }
  .qcard { margin: 4px 14px 0; border-radius: 18px; background: linear-gradient(140deg, #1f5f5c, #174a47); color: #fff; padding: 14px; }
  .qcard .row { display: flex; justify-content: space-between; }
  .qcard small { font-size: 9px; letter-spacing: 1.4px; opacity: .65; font-weight: 700; }
  .qcard .big { font-size: 30px; font-weight: 800; }
  .qcard .mid { font-size: 22px; font-weight: 800; text-align: right; }
  .steps { display: flex; align-items: center; margin-top: 10px; }
  .steps .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
  .steps .d1 { background: #fff; color: #174a47; } .steps .d2 { border: 2px solid #fff; background: rgba(255,255,255,.18); } .steps .d3 { background: rgba(255,255,255,.12); opacity: .6; }
  .steps .ln { flex: 1; height: 2px; background: rgba(255,255,255,.75); margin: 0 4px; }
  .steps .ln.half { background: linear-gradient(90deg, #fff 45%, rgba(255,255,255,.22) 45%); }
  .inputbar { position: absolute; bottom: 14px; left: 14px; right: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
    font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
  .mic { width: 30px; height: 30px; border-radius: 50%; background: var(--teal-800); display: grid; place-items: center; }
  .mic svg { width: 15px; height: 15px; color: #fff; }

  /* Floating chip by the phone */
  .float { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(0,40,30,.25);
    font-size: 13px; display: flex; gap: 10px; align-items: center; }
  .float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--teal-800); font-weight: 800; }
  .float.f1 { right: -86px; top: 64px; transform: rotate(3deg); }
  .float.f2 { left: -118px; bottom: 92px; transform: rotate(-4deg); }
  .float b { display: block; font-size: 13.5px; }
  .float span { color: var(--muted); font-size: 12px; }

  /* Sections */
  section { padding: 96px 0; }
  .kicker { color: var(--teal-700); font-weight: 700; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; }
  h2 { font-size: 40px; letter-spacing: -.8px; margin: 10px 0 14px; line-height: 1.12; }
  .sub { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 640px; margin: 0; }
  .center { text-align: center; } .center .sub { margin: 0 auto; }

  /* App scene above the feature cards (hidden on phones, where its text would be too small) */
  .scene { margin-top: 48px; }
  .scene img { display: block; width: 100%; height: auto; border-radius: 32px; }

  .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
  .card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; transition: transform .2s; }
  .card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--mint); color: var(--teal-800); display: grid; place-items: center; margin-bottom: 18px; }
  .card .ic svg { width: 26px; height: 26px; }
  .card h3 { margin: 0 0 8px; font-size: 19px; }
  .card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
  .card.feature-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center;
    background: linear-gradient(135deg, var(--mint) 0%, #fff 70%); }
  .labs { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; font-size: 13.5px; }
  .labs .r { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
  .labs .r:last-child { border: 0; }
  .pill { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
  .ok { background: #dcfce7; color: #166534; } .hi { background: #fef3c7; color: #92400e; }
  .labs .explain { margin-top: 10px; background: var(--mint); border-radius: 12px; padding: 10px 12px; color: var(--teal-900); font-size: 13px; line-height: 1.5; }

  .how { background: var(--canvas); }
  .steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; counter-reset: s; }
  .step { position: relative; background: #fff; border-radius: 22px; padding: 30px 28px; border: 1px solid var(--line); }
  .step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-800); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 18px; margin-bottom: 18px; }
  .step h3 { margin: 0 0 8px; font-size: 19px; } .step p { margin: 0; color: var(--muted); line-height: 1.6; }

  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
  .lock { background: linear-gradient(150deg, #0a9078, #02574b); border-radius: 30px; padding: 40px; color: #fff; position: relative; overflow: hidden; }
  .lock .bigicon { width: 72px; height: 72px; border-radius: 20px; background: rgba(255,255,255,.15); display: grid; place-items: center; margin-bottom: 22px; }
  .lock .bigicon svg { width: 38px; height: 38px; }
  .lock ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
  .lock li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
  .lock li i { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--teal-400); display: grid; place-items: center; font-style: normal; font-size: 12px; margin-top: 1px; }

  .careers { padding-top: 0; }
  .job { display: flex; gap: 28px; align-items: center; margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 30px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
  .job:hover, .job:focus-visible { border-color: var(--teal-700); box-shadow: 0 10px 30px rgba(2,87,75,.10); }
  .job-main { flex: 1; min-width: 0; }
  .job h3 { margin: 0 0 8px; font-size: 22px; } .job p { margin: 0 0 14px; color: var(--muted); line-height: 1.6; max-width: 720px; }
  .job .tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .job .tags span { background: var(--mint); color: var(--teal-800); font-weight: 600; font-size: 13.5px; padding: 5px 12px; border-radius: 999px; }
  .job-go { flex: 0 0 auto; background: var(--teal-800); color: #fff; font-weight: 700; padding: 13px 20px; border-radius: 14px; }
  @media (max-width: 640px) { .job { flex-direction: column; align-items: flex-start; padding: 22px; } }
  .cta { padding: 0 0 96px; }
  .ctabox { border-radius: 32px; padding: 60px 60px 210px; color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; overflow: hidden;
    background: url('/images/landing-town.webp') center bottom / 100% auto no-repeat,
                linear-gradient(100deg, #02705f 0%, #0a9078 52%, #11a086 100%); }
  .ctabox h2 { color: #fff; margin-top: 0; } .ctabox p { opacity: .9; font-size: 18px; line-height: 1.55; margin: 0 0 26px; }

  .careteam { border-top: 1px solid var(--line); padding: 34px 0; }
  .careteam .wrap { display: flex; align-items: center; gap: 18px; }
  .careteam .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--mint); color: var(--teal-800); display: grid; place-items: center; }
  .careteam b { font-size: 17px; } .careteam span { color: var(--muted); }
  .careteam a { margin-left: auto; color: var(--teal-800); font-weight: 700; }

  footer { background: #0b2a26; color: rgba(255,255,255,.75); padding: 40px 0; font-size: 14px; }
  footer .wrap { display: flex; align-items: center; gap: 26px; }
  footer .brand { color: #fff; font-size: 18px; } footer .logo { width: 32px; height: 32px; } footer .logo svg { width: 20px; height: 20px; }
  footer .sp { margin-left: auto; display: flex; gap: 24px; }

  /* ── Tablet ─────────────────────────────────────────────────────────── */
  @media (max-width: 1080px) {
    .hero .wrap { grid-template-columns: 1fr; text-align: left; }
    .hero { padding: 130px 0 230px; }
    .phone-area { margin-top: 30px; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .card.feature-wide { grid-column: span 2; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .ctabox { grid-template-columns: 1fr; }
    nav .links { display: none; }
  }
  /* ── Phone ──────────────────────────────────────────────────────────── */
  @media (max-width: 640px) {
    .wrap { padding: 0 18px; }
    nav .wrap { gap: 12px; height: 68px; }
    nav .right { gap: 12px; font-size: 14px; }
    nav .right .care-link { display: none; }
    .brand { font-size: 19px; } .logo { width: 34px; height: 34px; } .logo svg { width: 22px; height: 22px; }
    .btn { padding: 11px 16px; font-size: 14px; }
    .hero { padding: 104px 0 150px; background-size: 760px auto, auto; }
    h1 { font-size: 38px; letter-spacing: -.8px; }
    .hero p.lead { font-size: 16.5px; }
    .trust { flex-direction: column; gap: 10px; }
    .phone-area { transform: scale(.82); transform-origin: top center; margin: 10px 0 -110px; }
    .float.f1 { right: -24px; } .float.f2 { left: -30px; }
    section { padding: 64px 0; }
    h2 { font-size: 30px; }
    .sub { font-size: 16px; }
    .scene { display: none; }
    .features, .steps3 { grid-template-columns: 1fr; margin-top: 34px; }
    .card.feature-wide { grid-column: auto; grid-template-columns: 1fr; }
    .lock { padding: 28px; }
    .cta { padding-bottom: 64px; }
    .ctabox { padding: 36px 26px 150px; background-size: 140% auto, auto; }
    .careteam .wrap { flex-wrap: wrap; }
    .careteam a { margin-left: 0; width: 100%; }
    footer .wrap { flex-wrap: wrap; gap: 14px; }
    footer .sp { margin-left: 0; width: 100%; }
  }

  /* ── Staff (Medora Care) phone mock-up: scribe bar ── */
  .scribebar { position: absolute; bottom: 14px; left: 14px; right: 14px; background: #0b2a26; color: #fff; border-radius: 16px; padding: 10px 12px;
    display: flex; align-items: center; gap: 10px; font-size: 11.5px; }
  .scribebar .mic { background: #ef4444; flex: none; }
  .scribebar .tm { margin-left: auto; font-weight: 600; opacity: .9; white-space: nowrap; }
  .wave { display: flex; align-items: center; gap: 3px; height: 22px; }
  .wave i { display: block; width: 3px; border-radius: 2px; background: var(--teal-400); height: 40%; animation: wave 1.1s ease-in-out infinite; }
  .wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.85s; }
  @keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
  @media (prefers-reduced-motion: reduce) { .wave i { animation: none; height: 60%; } }
  @media (min-width: 1081px) { .staff .features { grid-template-columns: repeat(3, 1fr); } }
  .staff .ctabox .ctas .btn.ghost { color: #fff; }
  /* "Medora Care" is longer than "Medora": on phones the staff nav keeps only the name and Sign in (Careers is in the footer) */
  @media (max-width: 640px) { .staff nav .right .careers-link { display: none; } .staff footer .sp { flex-wrap: wrap; gap: 12px 20px; } }

/* ── Shared animation bits (phone mock-up + feature cards) ── */
.nl { display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.nl:last-child { border: 0; }
.nl b { color: var(--teal-800); width: 12px; flex: none; }
.nl span { overflow: hidden; white-space: nowrap; width: 0; animation: type 9s steps(28, end) infinite; }
@keyframes say { 0% { opacity: 0; transform: translateY(6px); } 6%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes type { 0% { width: 0; } 10%, 85% { width: 100%; } 100% { width: 100%; opacity: 0; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes glow { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .nl span { animation: none; width: auto; } }
  /* ── Staff phone mock-up: a visit being scribed (talk → note → tooth chart) ── */
  .staff .apphead.visit { padding: 48px 16px 12px; }
  .vtop { display: flex; justify-content: space-between; align-items: center; font-size: 11px; opacity: .9; }
  .vlive { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.16); border-radius: 999px; padding: 3px 8px; font-weight: 700; font-size: 10px; }
  .vlive i { width: 6px; height: 6px; border-radius: 50%; background: #f87171; animation: blink 1.2s infinite; }
  .apphead.visit .nm { font-size: 19px; margin-top: 4px; }
  .vsub { font-size: 11.5px; opacity: .85; margin-top: 1px; }
  .vbody { padding: 10px 10px 0; display: flex; flex-direction: column; gap: 7px; }
  .vcard { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 7px 9px; }
  .vlabel { font-size: 9px; font-weight: 800; letter-spacing: .7px; color: var(--teal-700); text-transform: uppercase; margin-bottom: 4px; display: flex; justify-content: space-between; }
  .vlabel span { color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
  .tline { font-size: 10.5px; line-height: 1.35; padding: 2px 0; opacity: 0; animation: say 10s infinite; }
  .tline b { color: var(--teal-800); font-weight: 700; margin-right: 3px; }
  .tline.pt b { color: #b45309; }
  .tline:nth-child(3) { animation-delay: 1s; } .tline:nth-child(4) { animation-delay: 2s; }
  .vnote .nl { padding: 2.5px 0; font-size: 10.5px; } .vnote .nl b { width: 10px; }
  .vnote .nl span { animation-duration: 10s; }
  .vnote .nl:nth-child(2) span { animation-delay: 3s; } .vnote .nl:nth-child(3) span { animation-delay: 3.8s; } .vnote .nl:nth-child(4) span { animation-delay: 4.6s; } .vnote .nl:nth-child(5) span { animation-delay: 5.4s; }
  .vchart .sugg { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 10px; background: #fef2f2; color: #991b1b; border-radius: 8px; padding: 4px 6px; opacity: 0; animation: say 10s infinite 6.2s; }
  .vchart .sugg em { font-style: normal; margin-left: auto; background: var(--teal-800); color: #fff; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
  .vchart .t26 { opacity: 0; animation: say 10s infinite 6.2s; }
  .vchart .hl { animation: glow 2.4s ease-in-out infinite; }
  @media (prefers-reduced-motion: reduce) { .tline, .vchart .sugg, .vchart .t26 { animation: none; opacity: 1; } .hl { animation: none; } }

  /* ── Staff feature cards (STAFF-LANDING-SPEC.md): scribe loop, your day, ask Medora ─────────── */
  .staff .features.staff-features { grid-template-columns: 1fr 1fr; }
  .scribe-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, .75fr) 2.25fr; gap: 30px; align-items: center;
    background: linear-gradient(135deg, var(--mint) 0%, #fff 75%); }
  .sc-stage { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 12px; }
  .sc-col { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; min-height: 270px; box-shadow: 0 10px 26px rgba(2,87,75,.06); }
  .sc-listen { background: #0b2a26; border-color: #0b2a26; color: #fff; }
  .sc-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
  .sc-rec { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
  .sc-rec i { width: 8px; height: 8px; border-radius: 50%; background: #f87171; animation: blink 1.2s infinite; }
  .sc-time { font-variant-numeric: tabular-nums; opacity: .75; }
  .sc-wave { display: flex; gap: 3px; align-items: center; height: 44px; margin: 12px 0 4px; }
  .sc-wave i { flex: 1; border-radius: 2px; background: #49cbab; height: 18%; animation: wave 1.05s ease-in-out infinite; }
  .sc-wave i:nth-child(2n) { animation-duration: .8s; } .sc-wave i:nth-child(3n) { animation-duration: 1.3s; animation-delay: -.4s; }
  .sc-wave i:nth-child(5n) { animation-delay: -.7s; } .sc-wave i:nth-child(7n) { animation-duration: .9s; animation-delay: -.2s; }
  .sc-stage [data-at] { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
  .sc-stage [data-at].on { opacity: 1; transform: none; }
  .tl { font-size: 12.5px; line-height: 1.45; margin-top: 10px; color: rgba(255,255,255,.92); }
  .tl b { display: block; font-size: 9.5px; letter-spacing: .8px; text-transform: uppercase; color: #49cbab; margin-bottom: 1px; }
  .tl.pt b { color: #f6c454; }
  .sc-label { font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--teal-700); margin-bottom: 8px;
    display: flex; justify-content: space-between; gap: 6px; }
  .sc-label span { color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
  .sc-note .nf { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; line-height: 1.4; opacity: .35; transform: none; }
  .sc-note .nf:last-child { border: 0; }
  .sc-note .nf b { color: var(--teal-800); width: 12px; flex: none; }
  .sc-note .nf span { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s steps(32, end); }
  .sc-note .nf.on { opacity: 1; } .sc-note .nf.on span { clip-path: inset(0 0 0 0); }
  .cf { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 6px 8px; border-radius: 9px; margin-bottom: 4px; background: var(--canvas); }
  .cf span { color: var(--muted); } .cf b { font-weight: 700; } .cf b.warn { color: #b91c1c; }
  .cf.on { animation: fillflash 1.6s ease-out; }
  @keyframes fillflash { 0% { background: #c9f2e4; } 100% { background: var(--canvas); } }
  .sc-teeth { margin-top: 6px; }
  .sc-teeth .t26 { transform: none; transition: opacity .6s; }
  .sc-done { margin-top: 6px; font-size: 11.5px; font-weight: 700; color: #166534; background: #dcfce7; border-radius: 9px; padding: 6px 8px; text-align: center; }
  /* Your day */
  .daypic { background: linear-gradient(160deg, var(--mint), #fff 70%); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-top: 20px; }
  .dp-top { display: flex; align-items: center; gap: 14px; }
  .ring { width: 88px; height: 88px; flex: none; }
  .ring-v { transition: stroke-dashoffset 1.6s cubic-bezier(.3,.7,.3,1); }
  .dp-ring-t { margin-left: -102px; width: 88px; text-align: center; line-height: 1.1; }
  .dp-ring-t b { display: block; font-size: 20px; font-weight: 800; color: var(--teal-800); } .dp-ring-t span { font-size: 9px; color: var(--muted); }
  .dp-stats { margin-left: 10px; flex: 1; display: grid; gap: 5px; }
  .dp-stats div { display: flex; align-items: center; gap: 7px; font-size: 12.5px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 5px 9px; }
  .dp-stats i { width: 8px; height: 8px; border-radius: 50%; } .dp-stats b { margin-left: auto; font-size: 14px; font-variant-numeric: tabular-nums; }
  .daypic .bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 14px; }
  .daypic .bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--teal-400); opacity: .55; height: 0; transition: height 1s cubic-bezier(.3,.7,.3,1); }
  .daypic .bars i.now { background: var(--teal-800); opacity: 1; }
  .daypic .bars i:nth-child(2) { transition-delay: .08s; } .daypic .bars i:nth-child(3) { transition-delay: .16s; } .daypic .bars i:nth-child(4) { transition-delay: .24s; }
  .daypic .bars i:nth-child(5) { transition-delay: .32s; } .daypic .bars i:nth-child(6) { transition-delay: .4s; } .daypic .bars i:nth-child(7) { transition-delay: .48s; }
  .hrs { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 4px; }
  .daypic .brief { margin-top: 12px; font-size: 12px; line-height: 1.45; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; opacity: 0; transition: opacity .6s .9s; }
  .daypic .brief b { color: var(--teal-800); } .daypic.on .brief { opacity: 1; }
  /* Ask Medora */
  .askpic { margin-top: 20px; background: linear-gradient(160deg, #0b2a26, #02574b); border-radius: 18px; padding: 16px; min-height: 236px; }
  .ask-bar { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 10px 12px; font-size: 13.5px; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
  .ask-bar .spark { color: var(--teal-700); font-weight: 800; }
  .ask-q { white-space: nowrap; overflow: hidden; }
  .caret { width: 1.5px; height: 16px; background: var(--teal-700); animation: blink .9s steps(1) infinite; }
  .ask-mic { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-800); color: #fff; display: grid; place-items: center; flex: none; }
  .ask-mic svg { width: 13px; height: 13px; }
  .ask-res { margin-top: 10px; display: grid; gap: 7px; }
  .ar { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); border-radius: 12px; padding: 8px 10px; font-size: 12.5px;
    opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
  .ar.on { opacity: 1; transform: none; }
  .ar .av { width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--teal-800); font-weight: 800; font-size: 11px; display: grid; place-items: center; flex: none; }
  .ar b { display: block; } .ar small { color: var(--muted); font-size: 11px; }
  .ar .tag { margin-left: auto; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 3px 8px; background: #fef3c7; color: #92400e; white-space: nowrap; }
  .ar .xr { width: 54px; height: 38px; border-radius: 6px; background: radial-gradient(circle at 50% 60%, #9ca3af 0 18%, #374151 19% 100%); flex: none; position: relative; }
  .ar .xr::after { content: ''; position: absolute; left: 26px; top: 12px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #ef4444; }
  @media (max-width: 1080px) { .scribe-card { grid-template-columns: 1fr; } }
  @media (max-width: 640px) {
    .staff .features.staff-features { grid-template-columns: 1fr; }
    .sc-stage { grid-template-columns: 1fr; } .sc-col { min-height: 0; }
    .dp-stats div { font-size: 12px; }
  }
  .sc-teeth .hl { animation: glow 2.4s ease-in-out infinite; }

  /* Hero phone: the rotating app screens (static/hero/phone.html) fill the screen under the island */
  .hero-screens { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); border: 0; display: block; background: #0b1f1c; }
  /* Scribe card driven by landing-anim.js: bar heights follow the "voice" (no CSS loop), words appear as spoken */
  .sc-wave.live i { animation: none; transition: height .09s linear; }
  .sc-stage .tl span { display: inline; }

/* Marketing video ("See it in action", right after the hero): portrait video in a phone-shaped player on a dark band */
.watch { background: radial-gradient(120% 140% at 0% 0%, #0f6e56 0%, #0b3d38 55%, #082f2c 100%); color: #fff; }
.watch .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.watch .kicker { color: var(--teal-400); }
.watch h2 { color: #fff; }
.watch .sub { color: rgba(255,255,255,.78); }
.watch ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.watch li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; color: rgba(255,255,255,.92); }
.watch li i { flex: 0 0 24px; height: 24px; border-radius: 50%; background: rgba(73,203,171,.22); color: var(--teal-400);
  display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; margin-top: 1px; }
.watch .len { display: inline-flex; gap: 8px; align-items: center; margin-top: 30px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.10); color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; }
.player { justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 16; padding: 10px; border-radius: 44px;
  background: #111518; border: 1.5px solid #3a4048; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 10px rgba(255,255,255,.04); }
.player video { display: block; width: 100%; height: 100%; border-radius: 34px; object-fit: cover; background: #0b3d38; }
@media (max-width: 900px) {
  .watch .wrap { grid-template-columns: 1fr; gap: 40px; }
  .watch .text { text-align: center; } .watch .sub { margin: 0 auto; }
  .watch ul { max-width: 420px; margin-left: auto; margin-right: auto; text-align: left; }
  .player { width: min(100%, 300px); }
}

/* "Tap for sound" layer over the landing video until the first tap (js/watch-video.js): a big unmute button in the middle */
.player { position: relative; }
.sound-tap { position: absolute; inset: 10px; border: 0; border-radius: 34px; background: transparent; cursor: pointer;
  display: flex; align-items: flex-end; justify-content: center; padding: 0 0 18%; font: inherit; }
.sound-tap span { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; font-weight: 800;
  font-size: 18px; letter-spacing: -.2px; transition: transform .15s; }
.sound-tap span b { font: inherit; background: rgba(8,47,44,.82); padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.sound-tap span::before { content: ""; width: 96px; height: 96px; border-radius: 50%; background: rgba(8,47,44,.78)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4V5z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7'/%3E%3Cpath d='M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E")
  center / 46px no-repeat; box-shadow: 0 0 0 8px rgba(255,255,255,.18), 0 14px 34px rgba(0,0,0,.4); backdrop-filter: blur(6px); }
.sound-tap:hover span, .sound-tap:focus-visible span { transform: scale(1.06); }
@media (max-width: 900px) { .sound-tap span::before { width: 84px; height: 84px; background-size: 40px; } }

/* Regulatory line under the footer (owner 2026-11-24): what the product does and doesn't do */
footer .disclaimer { margin: 26px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.55); }
footer .wrap { flex-wrap: wrap; }
