/* Help and guides (/help), from Land Explorer's help centre, in the healthcare app's look: its tokens (app.css), Plus Jakarta Sans throughout. */
:root {
  --bg: #f4f6f8; --surface: #fff; --border: #e5eaee; --text: #0f1c24; --muted: #6b7c86; --ink2: #334651;
  --accent: #0b7a6e; --accent-soft: #e3f3f0; --accent-ink: #075e55; --ring: #f59e0b;
  --shadow: 0 1px 2px rgba(16, 32, 40, .05), 0 4px 14px rgba(16, 32, 40, .05);
  --lift: 0 2px 4px rgba(16, 32, 40, .06), 0 18px 48px rgba(16, 32, 40, .13);
  --radius: 14px;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text); background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Plus Jakarta Sans", sans-serif; letter-spacing: -.015em; line-height: 1.2; }
a { color: var(--accent-ink); }
button { font: inherit; }

/* top bar */
.hbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 24px;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-family: "Plus Jakarta Sans", sans-serif; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand .logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #43b3a2); color: #fff; font-size: 15px; box-shadow: 0 4px 12px rgba(11, 122, 110, .3); }
.brand small { font-weight: 500; color: var(--muted); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--border); }
.search { position: relative; flex: 1; max-width: 420px; margin-left: auto; }
.search input { width: 100%; height: 38px; padding: 0 12px 0 36px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font: inherit; font-size: 14px; color: var(--text); }
.search input:focus { outline: 2px solid rgba(11, 122, 110, .25); border-color: var(--accent); }
.search svg { position: absolute; left: 11px; top: 11px; width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }
.back { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--accent); color: #fff;
  text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.back:hover { background: var(--accent-ink); }

/* layout */
.wrap { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 40px; max-width: 1240px; margin: 0 auto; padding: 32px 24px 96px; }
.nav { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; padding-right: 6px; }
.nav h4 { margin: 18px 0 6px; padding: 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.nav h4:first-child { margin-top: 0; }
.nav a { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 10px; color: var(--ink2); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav a:hover { background: #f0f4f6; color: var(--text); }
.nav a.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.nav a .ic { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.nav a[hidden], .guide[hidden], .nav h4[hidden] { display: none; }

/* hero */
.hero { padding: 8px 0 28px; }
.hero h1 { margin: 0 0 8px; font-size: 34px; }
.hero p { margin: 0; max-width: 640px; color: var(--muted); font-size: 16.5px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 26px; }
.card { display: block; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text);
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--lift); border-color: #bfe3dc; }
.card .ic { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--accent-soft); stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card b { display: block; margin: 10px 0 2px; font-size: 14.5px; }
.card span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* a guide */
.guide { padding: 44px 0 8px; border-top: 1px solid var(--border); }
.guide-h { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.guide-h .ic { width: 42px; height: 42px; flex: none; padding: 9px; border-radius: 11px; background: var(--accent-soft); stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guide-h h2 { margin: 2px 0 4px; font-size: 24px; }
.guide-h p { margin: 0; color: var(--muted); max-width: 680px; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; vertical-align: 3px; background: #fef3c7; color: #92400e; letter-spacing: 0; }

/* the animated screenshot */
.stage { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #e9ecef; border: 1px solid var(--border); box-shadow: var(--lift); aspect-ratio: 16 / 10; }
.stage .layer { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1.1s cubic-bezier(.22, .8, .24, 1); }
.stage img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.stage .ring { position: absolute; border-radius: calc(8px / var(--s, 1)); pointer-events: none; opacity: 0;
  border: calc(2.5px / var(--s, 1)) solid var(--ring); box-shadow: 0 0 0 9999px rgba(15, 23, 42, .32);
  transition: opacity .5s ease, left 1.1s cubic-bezier(.22, .8, .24, 1), top 1.1s cubic-bezier(.22, .8, .24, 1), width 1.1s cubic-bezier(.22, .8, .24, 1), height 1.1s cubic-bezier(.22, .8, .24, 1); }
.stage .ring::after { content: ""; position: absolute; inset: calc(-2.5px / var(--s, 1)); border-radius: inherit; border: calc(2.5px / var(--s, 1)) solid var(--ring); animation: pulse 1.8s ease-out infinite; }
.stage.focus .ring { opacity: 1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.12); opacity: 0; } }
.stage .pin { position: absolute; display: grid; place-items: center; width: calc(28px / var(--s, 1)); height: calc(28px / var(--s, 1)); margin: calc(-14px / var(--s, 1)) 0 0 calc(-14px / var(--s, 1));
  border-radius: 50%; background: var(--ring); color: #1c2430; font-weight: 700; font-size: calc(13px / var(--s, 1)); box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  opacity: 0; transform: scale(.4); transition: opacity .35s ease .55s, transform .35s cubic-bezier(.3, 1.6, .5, 1) .55s; }
.stage.focus .pin { opacity: 1; transform: scale(1); }
.stage .caption { position: absolute; left: 16px; right: 16px; bottom: 16px; max-width: 520px; padding: 12px 14px; border-radius: 12px;
  background: rgba(17, 24, 39, .88); color: #fff; font-size: 14px; line-height: 1.45; backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.stage .caption b { display: block; margin-bottom: 2px; font-size: 13px; color: #fcd34d; }
.stage.focus .caption { opacity: 1; transform: none; }
.stage .caption.right { left: auto; }
.stage .ctrl { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.stage .ctrl button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; cursor: pointer;
  background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); color: var(--text); }
.stage .ctrl button:hover { background: #fff; }
.stage .ctrl svg { width: 16px; height: 16px; fill: currentColor; }

/* the steps beside it */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; }
.steps li { position: relative; counter-increment: step; padding: 12px 14px 14px 46px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
  font-size: 13.5px; line-height: 1.5; color: #344054; cursor: pointer; overflow: hidden; transition: border-color .2s, box-shadow .2s, background .2s; }
.steps li::before { content: counter(step); position: absolute; left: 13px; top: 12px; display: grid; place-items: center; width: 23px; height: 23px;
  border-radius: 50%; background: #eef0f3; color: var(--muted); font-size: 12px; font-weight: 700; transition: background .2s, color .2s; }
.steps li b { display: block; color: var(--text); font-size: 14px; margin-bottom: 1px; }
.steps li:hover { border-color: #cfd5dd; }
.steps li.on { border-color: var(--ring); box-shadow: 0 0 0 3px rgba(245, 158, 11, .14); background: #fffdf7; }
.steps li.on::before { background: var(--ring); color: #1c2430; }
.steps li .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--ring); }
.steps li.on.run .bar { animation: fill var(--dur, 5s) linear forwards; }
@keyframes fill { to { width: 100%; } }

/* a short recording, in a browser frame */
.clip { margin: 0 0 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: var(--lift); }
.clip .chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f2f4f7; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.clip .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d0d5dd; }
.clip .chrome i:nth-child(1) { background: #f97066; } .clip .chrome i:nth-child(2) { background: #fdb022; } .clip .chrome i:nth-child(3) { background: #32d583; }
.clip .chrome span { margin-left: 10px; padding: 2px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--border); }
.clip video { display: block; width: 100%; aspect-ratio: 16 / 10; background: #eef0f3; }
.clip figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); }

/* tips and notes */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 18px 0 0; }
.tip { padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: #0c4a43; font-size: 13.5px; line-height: 1.5; }
.tip b { display: block; color: var(--accent-ink); margin-bottom: 2px; }
.tip.plain { background: var(--surface); border: 1px solid var(--border); color: #344054; }
.tip.plain b { color: var(--text); }
kbd { display: inline-block; padding: 0 6px; border: 1px solid #cfd5dd; border-bottom-width: 2px; border-radius: 5px; background: #fff; font: 600 12px/1.6 "Plus Jakarta Sans", sans-serif; color: var(--text); }
.empty { display: none; padding: 40px 0; color: var(--muted); }
.empty.show { display: block; }
.foot { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* entrance */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .wrap { grid-template-columns: 1fr; gap: 0; padding: 20px 16px 72px; }
  .nav { position: static; max-height: none; display: flex; gap: 6px; overflow-x: auto; padding: 0 0 12px; margin: 0 -16px 8px; padding-left: 16px; scrollbar-width: none; }
  .nav h4 { display: none; }
  .nav a { flex: none; border: 1px solid var(--border); background: var(--surface); font-size: 13px; }
  .hbar { padding: 0 16px; gap: 10px; }
  .brand small { display: none; }
  .hero h1 { font-size: 27px; }
  .stage .caption { font-size: 13px; left: 10px; right: 10px; bottom: 10px; padding: 9px 11px; }
}
@media (max-width: 560px) {
  .search { display: none; }
  .back { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .stage .caption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage .layer, .stage .ring, .stage .pin, .stage .caption, .reveal, .card { transition: none !important; }
  .stage .ring::after { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .stage .ctrl { top: auto; bottom: 10px; right: 10px; }
  .stage .ctrl button { width: 30px; height: 30px; }
}

/* support: at the very end, on purpose */
.support { margin-top: 56px; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.support h2 { margin: 0 0 6px; font-size: 20px; }
.support p { margin: 0 0 14px; color: var(--muted); max-width: 640px; }
.sup-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--text); background: var(--text); color: #fff; font-weight: 500; font-size: 14px; cursor: pointer; }
.sup-btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.sup-btn.ghost:hover { border-color: #cfd5dd; }
.sup-btn:disabled { opacity: .45; cursor: not-allowed; }
.sup-flow { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 16px; max-width: 680px; }
.sup-step { display: grid; gap: 8px; }
.sup-step > b { font-size: 14px; }
.sup-step > b span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; }
.sup-flow select, .sup-flow input[type=text], .sup-flow textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: 14px; color: var(--text); background: #fff; }
.sup-flow textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.sup-flow select:focus, .sup-flow input:focus, .sup-flow textarea:focus { outline: 2px solid rgba(11, 122, 110, .25); border-color: var(--accent); }
.sup-guide { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: #0c4a43; font-size: 14px; }
.sup-guide a { margin-left: auto; font-weight: 600; white-space: nowrap; }
.sup-check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: #344054; }
.sup-check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.sup-check.off { opacity: .5; }
.sup-count { font-size: 12.5px; color: var(--muted); }
.sup-count.ok { color: var(--accent-ink); }
.sup-err { color: #b42318; font-size: 13.5px; min-height: 1em; }
.sup-note { font-size: 13px; color: var(--muted); }
.sup-done { padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: #0c4a43; }
.sup-blocked { padding: 12px 14px; border-radius: 12px; background: #fef3c7; color: #92400e; font-size: 14px; }
.sup-mine:empty { display: none; }
.sup-mine { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.sup-mine h3 { margin: 0 0 10px; font-size: 15px; }
.sup-t { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.sup-t > button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 14px; border: 0; background: none; text-align: left; cursor: pointer; font-size: 14px; color: var(--text); }
.sup-t > button small { color: var(--muted); margin-left: auto; white-space: nowrap; }
.sup-pill { padding: 1px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: #eef0f3; color: var(--muted); }
.sup-pill.answered { background: var(--accent-soft); color: var(--accent-ink); }
.sup-pill.open { background: #fef3c7; color: #92400e; }
.sup-thread { padding: 4px 14px 14px; display: grid; gap: 10px; }
.sup-msg { padding: 10px 12px; border-radius: 10px; background: #f6f7f9; font-size: 13.5px; white-space: pre-wrap; }
.sup-msg.staff { background: var(--accent-soft); }
.sup-msg small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11.5px; white-space: normal; }
.sup-back { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: none; height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--text); color: #fff; font-weight: 500; box-shadow: var(--lift); cursor: pointer; }
.sup-back.show { display: inline-flex; align-items: center; }
@media (max-width: 560px) { .support { padding: 18px; } .sup-guide { flex-wrap: wrap; } .sup-guide a { margin-left: 0; } }
.support [hidden] { display: none !important; }
.sup-thread textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: 14px; resize: vertical; }

/* healthcare additions */
a { font-weight: 600; text-decoration: none; } a:hover { text-decoration: underline; }
.guide-h p a { white-space: nowrap; }
.stage img { object-position: top left; }
