/* Getting started - the order of work in Segora (getting-started.html). Builds on about.css. */
.gs { padding-top: 34px; padding-bottom: 56px; }
.gs h1 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.6px; margin: 0 0 10px; color: var(--ink); }
.gs h2 { font-size: 19px; margin: 0 0 8px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.gs-lead { max-width: 820px; font-size: 17px; color: #33415c; margin: 0 0 22px; }
.gs p, .gs li { color: #33415c; }
.gs p { max-width: 900px; margin: 0 0 10px; }
.gs code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9em; background: #eef2f7; padding: 1px 5px; border-radius: 4px; }

/* The order of work across the top: three phase cards (in the Features page's block colours), the middle one a loop,
   and what runs alongside every step underneath. Each step jumps to its section. */
.gs-journey { margin: 6px 0 26px; }
.gs .gs-journey h2 { display: block; margin: 0; text-align: center; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.4px; }
.gs .gs-journey-sub { margin: 4px auto 22px; text-align: center; color: var(--dim); font-size: 15.5px; }
.gs-phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.gs-phase { --ph: #0f9f90; --ph-bg: #effaf8; --ph-line: #bfe9e2; position: relative; display: flex; flex-direction: column;
  background: var(--ph-bg); border: 1.5px solid var(--ph-line); border-radius: 18px; padding: 0 18px 18px; }
.gs-ph-design { --ph: #7c3aed; --ph-bg: #f8f4fe; --ph-line: #d9c3f7; --ph-soft: #ede4fd; --ph-ink: #5b21b6; }   /* the Mapper's violet */
.gs-ph-live { --ph: #2f6fdb; --ph-bg: #f0f5ff; --ph-line: #c8daf8; }
.gs-ph-head { display: flex; align-items: center; margin: -1.5px -18px 0; padding: 0 18px 0 0; height: 46px; background: var(--ph);
  border-radius: 17px 17px 0 0; color: #fff; }
.gs-ph-num { flex: none; display: grid; place-items: center; width: 56px; height: 56px; margin: -6px 12px -6px -6px; border-radius: 50%;
  background: var(--ph); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(13,27,42,.15); font-size: 19px; font-weight: 800; letter-spacing: -.5px; }
.gs .gs-ph-head h3 { margin: 0; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.2px; }
.gs-ph-icon { display: block; width: 52px; height: 52px; margin: 18px auto 14px; color: var(--ph); }
.gs-ph-steps { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--ph-line); display: flex; flex-direction: column; gap: 6px; }
.gs-ph-steps a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 15px; }
.gs-ph-steps a:hover, .gs-ph-steps a:focus-visible { background: #fff; box-shadow: 0 0 0 2px var(--ph) inset; outline: none; }
.gs-ph-steps span, .gs-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px;
  background: #0f766e; color: #fff; font-size: 13px; font-weight: 800; }
.gs-ph-steps span { background: var(--ph); }
.gs-tag { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e3e8f0; color: #4a5872; }
.gs-tag.auto { background: #0f9f90; color: #fff; }
/* The same orange as the sign-in page's main button */
.gs-tag.support { background: linear-gradient(110deg, #ffb32f, #ff9717); color: #102b3d; }
.gs .gs-ph-note { margin: 10px 0 0; padding: 0 10px; font-size: 13.5px; color: var(--dim); }

/* The loop: a bracket down the right of its steps, pointing back up to the first; then the reminder */
.gs-loop { position: relative; padding-right: 34px; }
.gs-loop::after { content: ""; position: absolute; right: 8px; top: 30px; bottom: 16px; width: 16px; border: 2.5px solid var(--ph); border-left: 0;
  border-radius: 0 14px 14px 0; }
.gs-loop::before { content: ""; position: absolute; right: 22px; top: 24px; border: 7px solid transparent; border-right-color: var(--ph); }
.gs .gs-repeat { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px auto 0; padding: 7px 14px; border-radius: 999px;
  background: var(--ph-soft, #e3e8f0); color: var(--ph-ink, var(--ink)); font-size: 13.5px; font-weight: 700; text-align: center; }
.gs-repeat svg { width: 16px; height: 16px; flex: none; }

/* Between the phases: an arrow */
.gs-phase:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + 10px); top: 50%; width: 24px; height: 24px; transform: translateY(-50%);
  background: no-repeat center / 24px 24px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a3b8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h17M14 5l7 7-7 7'/%3E%3C/svg%3E"); }

/* What runs alongside every step */
.gs-alongside { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; background: #f2faf8; border: 1.5px solid #cdeae5; border-radius: 16px; }
.gs-alongside > div { display: flex; align-items: center; gap: 14px; padding: 14px 22px; }
.gs-alongside > div + div { border-left: 1.5px solid #cdeae5; }
.gs-al-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: #0f766e; }
.gs-al-icon svg { width: 28px; height: 28px; }
.gs .gs-alongside p { margin: 0; font-size: 14px; color: #33415c; }
.gs-alongside b { display: block; color: var(--ink); font-size: 15px; }

/* The steps, as a timeline */
.gs-flow-list { list-style: none; margin: 26px 0 0; padding: 0 0 0 22px; border-left: 3px solid #cfe5e1; }
.gs-step { position: relative; margin: 0 0 18px; background: #fff; border-radius: 14px; padding: 18px 22px 12px; box-shadow: 0 1px 3px rgba(13,27,42,.07); scroll-margin-top: 16px; }
.gs-step::before { content: ""; position: absolute; left: -32px; top: 24px; width: 15px; height: 15px; border-radius: 999px; background: #fff; border: 3px solid #0f766e; }
.gs-ways, .gs-sub { margin: 4px 0 12px; padding-left: 20px; }
.gs-ways li, .gs-sub li { margin: 4px 0; }
.gs-tip { background: #f0f8f6; border-left: 3px solid #19c3b1; padding: 9px 12px; border-radius: 0 8px 8px 0; font-size: 14.5px; }
.gs-auto { margin: 4px 0 12px; padding: 11px 14px; border-radius: 10px; background: #eef4ff; color: #22345a; font-size: 14.5px; max-width: 900px; }

/* The pipeline question stands out */
.gs-question { margin: 16px 0 6px; padding: 16px 18px 12px; border-radius: 14px; background: linear-gradient(180deg, #fff8eb, #fffdf7); border: 2px solid #f0b54a; }
.gs-q-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.gs-q-head h3 { margin: 0; font-size: 18px; color: #5a3a00; }
.gs-q-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: #f0b54a; color: #fff; font-weight: 800; font-size: 17px; }
.gs-question p, .gs-question li { color: #4a3a1c; }
.gs-arch { margin: 10px 0 4px; }
.gs-arch figcaption { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #8a6420; margin-bottom: 6px; }
.gs-arch-canvas { background: #fff; border: 1px solid #ecdcb8; border-radius: 12px; padding: 10px; overflow-x: auto; }
.gs-arch-canvas svg { display: block; width: 100%; min-width: 620px; height: auto; font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; }
.gs-arch-canvas .pipe { fill: #f5f8ff; stroke: #1d4ed8; stroke-width: 1.5; stroke-dasharray: 6 5; }
.gs-arch-canvas .pipe-lab { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; fill: #1d4ed8; }
.gs-arch-canvas .n rect { fill: #fff; stroke: #c9d3df; stroke-width: 1.5; }
.gs-arch-canvas .n.src rect { stroke: #19c3b1; fill: #f0fbf9; }
.gs-arch-canvas .n.entry rect { stroke: #1d4ed8; stroke-dasharray: 4 3; fill: #f5f8ff; }
.gs-arch-canvas .n.il rect { stroke: #0f766e; stroke-width: 2; }
.gs-arch-canvas .n text { text-anchor: middle; font-size: 14px; font-weight: 700; fill: #0d1b2a; }
.gs-arch-canvas .n text.sub { font-size: 11.5px; font-weight: 500; fill: #5d6b82; }
.gs-arch-canvas .go { fill: none; stroke: #0f766e; stroke-width: 2; }
.gs-arch-canvas .back { fill: none; stroke: #7c8aa0; stroke-width: 1.6; stroke-dasharray: 5 4; }
.gs-arch-canvas .lab { font-size: 11.5px; font-weight: 600; fill: #0f766e; text-anchor: middle; }
.gs-arch-canvas .lab.dim { fill: #5d6b82; }
.gs-arch-canvas .num { font-weight: 800; }
.gs-arch-note { font-size: 14px; margin-top: 8px; }


@media (max-width: 860px) {
  /* One phase under the next; the arrow between them points down */
  .gs-phases { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin: 0 auto; }
  .gs-phase:not(:last-child)::after { left: calc(50% - 12px); top: calc(100% + 8px); transform: rotate(90deg); }
  .gs-alongside { grid-template-columns: 1fr; }
  .gs-alongside > div + div { border-left: 0; border-top: 1.5px solid #cdeae5; }
}
@media (max-width: 520px) {
  .wrap.gs { padding: 0 16px; }
  .gs-flow-list { padding-left: 14px; }
  .gs-step { padding: 14px 14px 8px; }
  .gs-step::before { left: -24px; }
  .top nav a:not(.signin) { display: none; }
}

/* Screenshots of the product, one example throughout */
.gs-shot { margin: 14px 0 10px; }
.gs-shot a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid #dfe5ee; box-shadow: 0 6px 18px rgba(13,27,42,.08); background: #f5f7fa; cursor: zoom-in; }
.gs-shot img { display: block; width: 100%; height: auto; }
.gs-shot a:hover, .gs-shot a:focus-visible { border-color: #19c3b1; }
.gs-shot figcaption { margin-top: 7px; font-size: 13.5px; color: #4a5a72; }
.gs-question .gs-shot { margin-top: 16px; }

/* Example: which address to load a FHIR profile from */
.gs-eg { margin: 8px 0 6px; padding: 10px 12px; background: #f6f8fb; border: 1px solid #e3e8f0; border-radius: 10px; font-size: 14px; }
.gs-eg p { margin: 0 0 6px; }
.gs-eg-row { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 0 !important; }
.gs-eg-row span { flex: none; min-width: 34px; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.gs-eg-row code { font-size: 12.5px; overflow-wrap: anywhere; word-break: break-all; }
.gs-eg-yes span { color: #0f766e; }
.gs-eg-no span { color: #b42318; }
.gs-auto-list { margin: 6px 0 0; padding-left: 20px; }
.gs-auto-list li { margin: 2px 0; }

/* An annotated screenshot: a dotted ring on part of the picture, a dotted line out of it, and a note beside it.
   The figure is the size container: the picture column is (100cqw - note - gap) wide, so the ring, the line and the
   note's position are worked out from that. */
.gs-annot { --note: 270px; --gap: 34px; --shot: calc(100cqw - var(--note) - var(--gap)); container-type: inline-size;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--note); column-gap: var(--gap); align-items: start; }
.gs-annot-shot { grid-column: 1; grid-row: 1; }
.gs-annot-shot > a { position: relative; overflow: visible; }
.gs-annot-mark { position: absolute; left: 51.4%; top: 50.2%; width: 44.8%; height: 7.4%; border: 2px dashed #e8590c; border-radius: 10px; background: rgba(232,89,12,.06); pointer-events: none; }
.gs-annot-mark::after { content: ""; position: absolute; left: 100%; top: 50%; width: calc(var(--shot) * .038 + var(--gap)); border-top: 2px dashed #e8590c; }
.gs-annot-mark > .gs-annot-num { position: absolute; left: -11px; top: -11px; }
.gs-annot-num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px; background: #e8590c; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; flex: none; }
.gs-annot-note { grid-column: 2; grid-row: 1; margin-top: calc(var(--shot) * .3324 - 22px); box-sizing: border-box; padding: 12px 13px; border: 2px dashed #e8590c; border-radius: 12px; background: #fff8f3; font-size: 13.5px; line-height: 1.45; color: #33415c; }
.gs-annot-note p { margin: 0 0 8px; }
.gs-annot-note code { font-size: 12px; }
.gs-annot-note img { display: block; width: 100%; height: auto; margin: 4px 0 8px; border-radius: 8px; border: 1px solid #e3e8f0; box-shadow: 0 4px 12px rgba(13,27,42,.08); }
.gs-annot-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #14213d; font-size: 14px; }
.gs-annot-small { font-size: 12.5px; color: #5d6b82; margin: 0 !important; }
@media (max-width: 860px) {
  .gs-annot { display: block; }
  .gs-annot-mark::after { display: none; }
  .gs-annot-note { margin-top: 12px; }
}

/* A tip with a small picture beside it */
.gs-tip-shot { display: grid; grid-template-columns: minmax(0, 1fr) 225px; gap: 18px; align-items: start; margin: 12px 0; }
.gs-tip-shot .gs-tip { margin: 0; }
.gs-tip-shot .gs-shot { margin: 0; }
@media (max-width: 760px) { .gs-tip-shot { grid-template-columns: 1fr; } .gs-tip-shot .gs-shot { max-width: 200px; } }

/* The Segora mediator box: like the pipeline question, in the product's teal. */
.gs-question.gs-med { background: linear-gradient(180deg, #effaf7, #fbfefd); border-color: #19c3b1; }
.gs-question.gs-med .gs-q-head h3 { color: #0b4f4a; }
.gs-question.gs-med .gs-q-mark { background: #0f766e; }
.gs-question.gs-med p, .gs-question.gs-med li { color: #24413e; }
.gs-shot.gs-narrow { max-width: 560px; }
.gs-small { font-size: 13.5px; }
.gs-isnot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 4px; }
.gs-isnot > div { background: #fff; border: 1px solid #c9ece6; border-radius: 10px; padding: 10px 14px; }
.gs-isnot > div + div { border-color: #f0c9a0; }
.gs-isnot h4 { margin: 0 0 4px; font-size: 14px; color: #0b4f4a; }
.gs-isnot > div + div h4 { color: #8a4b10; }
.gs-isnot p { margin: 0; font-size: 14px; }
@media (max-width: 700px) { .gs-isnot { grid-template-columns: 1fr; } }

/* The words used here (a short glossary under the steps) */
.gs-terms { margin: 16px 0 0; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(13,27,42,.08); }
.gs-terms summary { cursor: pointer; padding: 11px 16px; font-weight: 700; color: var(--ink); font-size: 15px; }
.gs-terms dl { margin: 0; padding: 2px 16px 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.gs-terms dt { font-weight: 700; color: #0f766e; font-size: 14px; }
.gs-terms dd { margin: 2px 0 0; color: #33415c; font-size: 14px; }
@media (max-width: 700px) { .gs-terms dl { grid-template-columns: 1fr; } }
.gs-opt { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid currentColor; color: #8a5a00; }
.gs-question.gs-med .gs-opt { color: #0f766e; }
.gs-step > ul + p { margin-top: 10px; }