/* dfuse.com.au mock-up: the site's own look, carried over from the sales-site mock-up
   (04-design/mockups/dfuse-sales-site/editorial.css: its colours, type and quiet editorial lines).
   Phone first (390), then 1440. Every class is s-* so it never meets the app's own classes on the
   example pages (they load app-css/ too). Nothing scrolls inside the page; only the page scrolls. */

/* The fonts are the site's own files (public/site/fonts, SIL Open Font License): nothing is fetched from another site. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/site/fonts/dm-sans-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/site/fonts/source-serif-4-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/site/fonts/source-serif-4-latin-wght-italic.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/site/fonts/figtree-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/site/fonts/lora-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/site/fonts/lora-latin-wght-italic.woff2') format('woff2'); }

:root {
  --s-navy: #153856; --s-deep: #112f46; --s-teal: #287a89; --s-aqua: #469dac; --s-amber: #df9b2f;
  --s-cream: #f6f3eb; --s-paper: #fffdf8; --s-band: #eaece0; --s-line: #c9ccc0; --s-muted: #55665f; --s-ink: #263e45;
  --s-font: 'DM Sans', Arial, sans-serif; --s-serif: 'Source Serif 4', Georgia, serif;
  --s-gutter: 16px; --s-max: 1200px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body.s-body { margin: 0; background: var(--s-cream); color: var(--s-navy); font-family: var(--s-font); font-size: 17px; line-height: 1.6; overflow-wrap: break-word; }
.s-wrap { width: 100%; max-width: var(--s-max); margin: 0 auto; padding: 0 var(--s-gutter); }
.s-skip { position: absolute; left: 12px; top: -60px; background: var(--s-navy); color: #fff; padding: 10px 14px; z-index: 60; }
.s-skip:focus { top: 8px; }
.s-body a:focus-visible, .s-body button:focus-visible, .s-body summary:focus-visible, .s-body input:focus-visible, .s-body select:focus-visible, .s-body textarea:focus-visible { outline: 3px solid var(--s-amber); outline-offset: 3px; }

/* Header: the logo and the one action. On a phone that's all; wider, three quiet links too. */
.s-head { position: sticky; top: 0; z-index: 40; background: var(--s-cream); border-bottom: 1px solid var(--s-line); }
.s-head .s-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.s-head .s-btn.is-sm { margin-left: auto; }
.s-logo { display: inline-flex; align-items: center; min-height: 44px; }
.s-logo img { display: block; width: 96px; height: auto; }
.s-links { display: none; gap: 28px; margin-left: auto; margin-right: 8px; font-size: 15px; font-weight: 500; }
.s-links a { text-decoration: none; color: var(--s-navy); padding: 10px 0; }
.s-links a:hover { color: var(--s-teal); }
.s-links a[aria-current="page"], .s-drop summary.is-on { color: var(--s-teal); }
.s-drop { position: relative; }
.s-drop summary { list-style: none; cursor: pointer; padding: 10px 0; display: flex; align-items: center; gap: 6px; }
.s-drop summary::-webkit-details-marker, .s-mnav summary::-webkit-details-marker { display: none; }
.s-drop summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.s-drop[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.s-drop summary:hover { color: var(--s-teal); }
.s-droplist { position: absolute; top: calc(100% + 8px); left: -18px; min-width: 290px; background: var(--s-paper); border: 1px solid var(--s-line); box-shadow: 0 10px 30px rgba(17, 47, 70, .12); padding: 8px 0; display: grid; }
.s-droplist a { padding: 10px 18px; }
.s-droplist a:hover { background: var(--s-cream); }
.s-mnav summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--s-navy); }
.s-head .s-btn.is-sm { white-space: nowrap; }
.s-mnav summary::before { content: ''; width: 18px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.s-mnav[open] summary { background: var(--s-navy); color: var(--s-paper); }
.s-mlist { position: absolute; left: 0; right: 0; top: 100%; background: var(--s-cream); border-bottom: 1px solid var(--s-line); box-shadow: 0 12px 24px rgba(17, 47, 70, .1); padding: 8px var(--s-gutter) 16px; display: grid; }
.s-mlist a { display: flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--s-navy); font-weight: 500; border-bottom: 1px solid var(--s-line); }
.s-mlist a[aria-current="page"] { color: var(--s-teal); }
.s-mlist p { margin: 14px 0 2px; font-size: 13px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--s-muted); font-weight: 600; }

/* Buttons and links */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--s-navy); background: var(--s-navy); color: var(--s-paper); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.25; text-decoration: none; cursor: pointer; border-radius: 0; transition: background .18s, color .18s, border-color .18s; text-align: center; }
.s-btn:hover { background: var(--s-teal); border-color: var(--s-teal); }
.s-btn:active { transform: translateY(1px); }
.s-btn.is-o { background: transparent; color: var(--s-navy); }
.s-btn.is-o:hover { background: var(--s-navy); color: var(--s-paper); }
.s-btn.is-amber { background: var(--s-amber); border-color: var(--s-amber); color: var(--s-deep); }
.s-btn.is-amber:hover { background: #e9ac4c; border-color: #e9ac4c; }
.is-navy .s-btn.is-o { color: var(--s-paper); border-color: var(--s-paper); }
.is-navy .s-btn.is-o:hover { background: var(--s-paper); color: var(--s-navy); }
.s-btn.is-sm { min-height: 44px; padding: 10px 14px; font-size: 14.5px; }
.s-arrow { font-family: Arial, sans-serif; font-weight: 400; font-size: 19px; line-height: 1; }
.s-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.s-textlink { color: var(--s-teal); font-weight: 600; text-underline-offset: 4px; }

/* Type */
.s-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12.5px; letter-spacing: 1.4px; font-weight: 600; text-transform: uppercase; color: var(--s-teal); }
.s-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--s-amber); flex: none; }
.s-h1 { font-family: var(--s-serif); font-weight: 400; font-size: 31px; line-height: 1.17; letter-spacing: -.6px; margin: 0; }
.s-h1 em { font-style: normal; color: var(--s-teal); }
.s-h2 { font-family: var(--s-serif); font-weight: 400; font-size: 29px; line-height: 1.2; letter-spacing: -.5px; margin: 0 0 14px; }
.s-h3 { font-family: var(--s-serif); font-weight: 500; font-size: 22px; line-height: 1.3; margin: 0 0 6px; }
.s-lead { font-size: 18px; line-height: 1.55; color: var(--s-ink); margin: 0 0 22px; max-width: 62ch; }
.s-p { margin: 0 0 16px; color: var(--s-muted); max-width: 66ch; }
.s-small { font-size: 14.5px; color: var(--s-muted); margin: 0; }

/* A: the first screen */
.s-hero { padding: 26px 0 30px; border-bottom: 1px solid var(--s-line); }
.s-hero .s-lead { margin: 18px 0 24px; }
.s-hero .s-acts .s-btn { flex: 1 1 100%; justify-content: space-between; }

/* Sections */
.s-sec { padding: 48px 0; border-bottom: 1px solid var(--s-line); }
.s-sec.is-band { background: var(--s-band); }
.s-sec.is-navy { background: var(--s-navy); color: var(--s-paper); border-bottom: 0; }
.s-sec.is-navy .s-eyebrow { color: #a8d1cc; }
.s-sec.is-navy .s-p, .s-sec.is-navy .s-lead { color: #d3dedd; }

/* B: the three example cards; each whole card is the link */
.s-cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.s-card { position: relative; display: grid; gap: 8px; background: var(--s-paper); border: 1px solid #cbd1c3; border-top: 3px solid var(--s-navy); padding: 20px 20px 18px; text-decoration: none; color: var(--s-navy); min-height: 44px; transition: border-color .18s, transform .18s; }
.s-card:hover { border-color: var(--s-teal); border-top-color: var(--s-teal); }
.s-card:hover .s-cardgo { color: var(--s-teal); }
.s-card::after { content: ''; position: absolute; width: 26px; right: 12px; top: -3px; border-top: 3px solid var(--s-amber); }
.s-cardtag { font-size: 12.5px; letter-spacing: 1.2px; font-weight: 600; text-transform: uppercase; color: var(--s-teal); }
.s-card p { margin: 0; color: var(--s-muted); }
.s-cards + .s-small { margin-top: 14px; }
.s-cardgo { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 1px solid #e1e1d6; font-weight: 600; font-size: 15.5px; }

/* C: why it's different */
.s-four { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 0; border-top: 1px solid #3a5a6e; }
.s-four li { font-size: 17px; line-height: 1.35; padding: 12px 0; border-bottom: 1px solid #3a5a6e; display: grid; grid-template-columns: 30px minmax(0, 1fr); }
.s-four li span { font-family: var(--s-font); font-size: 13px; color: var(--s-amber); padding-top: 7px; }
.s-four h3 { font-family: var(--s-serif); font-weight: 500; font-size: 22px; line-height: 1.3; margin: 0; color: var(--s-paper); }
.s-four p { margin: 4px 0 0; color: #d3dedd; max-width: 52ch; }
.s-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.s-line { font-family: var(--s-serif); font-style: italic; font-size: 22px; line-height: 1.45; border-left: 3px solid var(--s-amber); padding: 2px 0 2px 16px; margin: 0 0 26px; color: var(--s-paper); max-width: 40ch; }
.s-cols { display: grid; gap: 26px; }
.s-col h3 { font-family: var(--s-font); font-size: 15px; letter-spacing: 1.1px; text-transform: uppercase; font-weight: 600; color: #a8d1cc; margin: 0 0 10px; }
.s-col ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #e4ebea; }
.s-col p { margin: 0; color: #d3dedd; }
.s-sec:not(.is-navy) .s-col h3 { color: var(--s-teal); }
.s-sec:not(.is-navy) .s-col p { color: var(--s-ink); }

/* D: questions, opened in place */
.s-faq { border-top: 1px solid var(--s-line); }
.s-faq details { border-bottom: 1px solid var(--s-line); }
.s-faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; min-height: 56px; padding: 12px 0; font-weight: 600; font-size: 17px; line-height: 1.4; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--s-teal); grid-column: 2; grid-row: 1; width: 28px; text-align: center; }
.s-faq details[open] > summary::after { content: '\2212'; }
.s-faq .s-ans { padding: 0 0 18px; color: var(--s-muted); max-width: 66ch; }
.s-faq .s-ans p { margin: 0 0 10px; }
.s-faq .s-ans ul { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; }

/* E: book a walk-through */
.s-form { display: grid; gap: 16px; max-width: 640px; margin-top: 8px; }
.s-fld { display: grid; gap: 6px; }
.s-fld > span { font-size: 15px; font-weight: 600; }
.s-fld > span small { font-weight: 400; color: var(--s-muted); font-size: 14px; }
.s-fld input, .s-fld select, .s-fld textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; min-height: 48px; padding: 10px 12px; background: var(--s-paper); border: 1px solid #a9b8a6; color: var(--s-navy); border-radius: 0; }
.s-fld textarea { min-height: 96px; resize: vertical; }
.s-fld input:focus, .s-fld select:focus, .s-fld textarea:focus { outline: 2px solid var(--s-teal); outline-offset: 1px; }
.s-fld[data-bad] input, .s-fld[data-bad] select { border-color: #a3251c; }
.s-err { color: #a3251c; font-size: 14.5px; margin: 0; }
.s-form .s-btn { justify-self: stretch; justify-content: space-between; }
.s-privacy { font-size: 14.5px; color: var(--s-muted); margin: 0; }
.s-thanks { background: var(--s-paper); border-left: 3px solid var(--s-teal); padding: 18px 20px; max-width: 640px; }
.s-thanks p { margin: 0; }
.s-thanks b { display: block; font-family: var(--s-serif); font-weight: 500; font-size: 22px; margin-bottom: 4px; }

/* Footer */
.s-foot { background: var(--s-deep); color: var(--s-paper); padding: 36px 0 28px; }
.s-foot .s-wrap { display: grid; gap: 20px; }
.s-foot img { width: 96px; height: auto; display: block; }
.s-foot nav { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.s-foot nav a { color: #e0e4dd; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.s-foot nav a:hover { color: #b3d3cc; text-decoration: underline; }
.s-foot .s-small { color: #a4b6b8; }

/* A plain page (privacy) */
.s-plain { padding: 40px 0 56px; }
.s-plain .s-h1 { margin-bottom: 16px; }
.s-plain .s-h3 { margin-top: 26px; }

@media (min-width: 720px) {
  :root { --s-gutter: 32px; }
  .s-hero .s-acts .s-btn { flex: 0 0 auto; min-width: 240px; }
  .s-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .s-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-form .s-span, .s-form .s-btn, .s-form .s-privacy, .s-form .s-err { grid-column: 1 / -1; }
  .s-form .s-btn { justify-self: start; min-width: 280px; }
}
@media (min-width: 1024px) {
  :root { --s-gutter: 56px; }
  body.s-body { font-size: 17.5px; }
  .s-head .s-wrap { height: 80px; }
  .s-logo img { width: 112px; }
  .s-links { display: flex; align-items: center; }
  .s-mnav { display: none; }
  .s-head .s-btn.is-sm { margin-left: 0; }
  .s-hero { padding: 72px 0 80px; }
  .s-h1 { font-size: 60px; line-height: 1.1; letter-spacing: -1.6px; max-width: 23ch; }
  .s-hero .s-lead { font-size: 21px; margin: 28px 0 34px; max-width: 46ch; }
  .s-sec { padding: 84px 0; }
  .s-h2 { font-size: 42px; letter-spacing: -1px; max-width: 24ch; }
  .s-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
  .s-four h3 { font-size: 26px; }
  .s-line { font-size: 25px; }
  .s-foot .s-wrap { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 40px; } .s-foot .s-small { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* dfuse.app's sign-in door (sign-in.html). */
.s-signin { grid-template-columns: 1fr !important; max-width: 520px; margin-top: 24px; }
.s-org { display: flex; align-items: stretch; }
.s-org input { flex: 1 1 auto; border-right: 0; }
.s-org b { display: flex; align-items: center; padding: 0 12px; background: var(--s-band); border: 1px solid #a9b8a6; font-weight: 500; color: var(--s-muted); white-space: nowrap; }
.s-fld[data-bad] .s-org input { border-color: #a3251c; }
.s-signin .s-btn { justify-self: start !important; min-width: 0 !important; }
.s-signin-new { margin-top: 28px; }
