/* ownapp.store, version 2 of the design (the design Artifact). White chrome; colour comes from each app's own accent
   (design-system.json section 3), set per page in one nonced <style> as --a and --at. Instrument Sans throughout
   (design-system.json section 2 keeps it for ownapp.store), self-hosted. No inline styles anywhere: the CSP forbids
   them. */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url('/static/fonts/instrument-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url('/static/fonts/instrument-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #FFFFFF; --soft: #F6F7F7; --soft-2: #EEF1EF; --line: #E4E8E6; --line-2: #CBD2CE;
  --ink: #0E1311; --ink-2: #39423E; --muted: #5E6863; --faint: #8A938F; --on-ink: #FFFFFF;
  --focus: #1F5FE0;
  --ok: #1C7A33; --ok-soft: #E6F4E9; --ok-ink: #145C25; --warn-soft: #FDF2DC; --warn-ink: #6B3D00;
  --danger: #B42318; --danger-soft: #FCE8E6; --info-soft: #E8EEFB; --info-ink: #183F8F;
  --a: #18211D; --at: #EEF1EF;
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 1px 2px rgba(14,19,17,0.05), 0 12px 32px rgba(14,19,17,0.08);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1311; --soft: #151C19; --soft-2: #1C2521; --line: #2A3530; --line-2: #3F4B45;
    --ink: #E7ECE9; --ink-2: #C9D1CD; --muted: #A3AFA9; --faint: #6F7B75; --on-ink: #0E1311;
    --focus: #7FA8FF; --ok: #5BC27A; --ok-soft: #15301D; --ok-ink: #9BE0AE; --warn-soft: #3A2A10; --warn-ink: #F7D08E;
    --danger: #F2877E; --danger-soft: #3B1714; --info-soft: #18253D; --info-ink: #BAD6FF;
    --shadow: 0 0 0 1px #2A3530;
  }
}
/* Tinted panels stay light in both themes: they show an app's own colour and its drawn screens. */
.feature, .screens, .appcard .shot, .light {
  --bg: #FFFFFF; --soft: #F6F7F7; --soft-2: #EEF1EF; --line: #E4E8E6; --line-2: #CBD2CE;
  --ink: #0E1311; --ink-2: #39423E; --muted: #5E6863; --faint: #8A938F; --on-ink: #FFFFFF; --ok-soft: #E6F4E9; --ok-ink: #145C25;
  --warn-soft: #FDF2DC; --warn-ink: #6B3D00; --info-soft: #E8EEFB; --info-ink: #183F8F;
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--a); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
img, svg { display: block; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
.w { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.w-wide { max-width: 1280px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Navigation */
.nav { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav .w { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; }
.logo-mark span { width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--on-ink); }
.logo small { font-weight: 500; color: var(--muted); font-size: 16px; letter-spacing: -0.01em; }
.navlinks { display: flex; gap: 4px; }
.navlinks a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); }
.navlinks a[aria-current="page"] { background: var(--soft-2); color: var(--ink); }
.navsearch { flex: 1 1 240px; max-width: 420px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.navsearch input { border: 0; background: transparent; font: inherit; color: var(--ink); width: 100%; outline: none; min-width: 0; }
.navsearch svg { width: 18px; height: 18px; flex: none; }
.navright { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #DCD5F3; color: #0E1311; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; text-decoration: none; }
.inline-form { display: inline; margin: 0; }

/* Type */
.display { font-size: 68px; line-height: 72px; font-weight: 600; letter-spacing: -0.04em; }
.display-sm { font-size: 56px; line-height: 60px; font-weight: 600; letter-spacing: -0.04em; }
.t1 { font-size: 48px; line-height: 54px; font-weight: 600; letter-spacing: -0.035em; }
.t2 { font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -0.025em; }
.t3 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.t4 { font-size: 17px; line-height: 24px; font-weight: 600; }
.sub { font-size: 20px; line-height: 30px; color: var(--muted); max-width: 34em; }
.small { font-size: 14px; line-height: 21px; color: var(--muted); }
.body2 { font-size: 15px; line-height: 23px; color: var(--muted); }
.strong { font-weight: 600; color: var(--ink); }
.tnum { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; line-height: 20px; }

/* Spacing */
.stack-8 > * + * { margin-top: 8px; } .stack-16 > * + * { margin-top: 16px; } .stack-24 > * + * { margin-top: 24px; } .stack-40 > * + * { margin-top: 40px; }
.pt-28 { padding-top: 28px; } .pt-40 { padding-top: 40px; } .pt-56 { padding-top: 56px; } .pt-88 { padding-top: 88px; } .pt-112 { padding-top: 112px; }
.pb-64 { padding-bottom: 64px; } .pb-80 { padding-bottom: 80px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-28 { margin-top: 28px; } .mt-48 { margin-top: 48px; } .mt-56 { margin-top: 56px; }
.mb-16 { margin-bottom: 16px; } .mb-28 { margin-bottom: 28px; } .mb-40 { margin-bottom: 40px; } .mb-56 { margin-bottom: 56px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-16 { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.row-top { align-items: flex-start; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero .sub { margin: 0 auto; }

/* Buttons and inputs */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.b svg { width: 18px; height: 18px; }
.b-dark { background: var(--ink); color: var(--on-ink); }
.b-dark:hover { background: var(--ink-2); color: var(--on-ink); }
.b-line { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.b-soft { background: var(--soft-2); color: var(--ink); }
.b-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.b-block { width: 100%; }
.b-tall { min-height: 56px; }
.b[disabled] { background: var(--soft-2); color: var(--faint); cursor: not-allowed; border-color: var(--line); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label, .lbl { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--ink); }
.help { font-size: 13px; line-height: 19px; color: var(--muted); }
.in { min-height: 48px; width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); font: 400 16px/24px var(--font); color: var(--ink); }
.in[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
textarea.in { min-height: 110px; resize: vertical; }
.in-code { font-size: 22px; letter-spacing: 0.3em; font-weight: 600; font-variant-numeric: tabular-nums; max-width: 260px; }
.err { font-size: 13px; line-height: 19px; color: var(--danger); font-weight: 500; }
.cb { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 23px; }
.cb input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.affix { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--bg); }
.affix:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.affix input { border: 0; min-height: 48px; padding: 11px 14px; font: 500 16px/24px var(--font); flex: 1; min-width: 0; outline: none; background: transparent; color: var(--ink); }
.affix span { display: flex; align-items: center; padding: 0 14px; background: var(--soft); color: var(--muted); }
.affix span:first-child { border-right: 1px solid var(--line); }
.affix span:last-child { border-left: 1px solid var(--line); }
.affix[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--soft-2); border-radius: 999px; flex-wrap: wrap; border: 0; margin: 0; }
.seg label { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--bg); box-shadow: 0 1px 3px rgba(14,19,17,0.12); font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.bigsearch { width: 100%; max-width: 640px; display: flex; gap: 8px; padding: 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); box-shadow: var(--shadow); margin-top: 8px; align-items: center; }
.bigsearch .ic { display: flex; padding-left: 14px; color: var(--muted); }
.bigsearch .ic svg { width: 20px; height: 20px; }
.bigsearch input { flex: 1; min-width: 0; border: 0; outline: none; font: 400 17px/24px var(--font); background: transparent; color: var(--ink); }

/* Pills, chips, icons */
.pills { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.pills.centered { justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.pill[aria-current="true"], .pill.on { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.pill svg { width: 16px; height: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--soft-2); color: var(--ink-2); }
.chip svg { width: 14px; height: 14px; }
.chip-partners { background: var(--warn-soft); color: var(--warn-ink); }
.chip-sale { background: var(--ok-soft); color: var(--ok-ink); }
.chip-new { background: var(--info-soft); color: var(--info-ink); height: 22px; }
.chip-hidden { background: transparent; color: var(--muted); border: 1px dashed var(--line-2); }
.chip-white { background: var(--bg); color: var(--ink-2); }
.icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #FFFFFF; flex: none; background: var(--a); }
.icon svg { width: 28px; height: 28px; }
.icon-lg { width: 96px; height: 96px; border-radius: 26px; }
.icon-lg svg { width: 46px; height: 46px; }
.icon-sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-sm svg { width: 20px; height: 20px; }
.icon-inv { background: #FFFFFF; color: var(--a); }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--soft-2); display: grid; place-items: center; color: var(--ink); flex: none; }
.ico svg { width: 22px; height: 22px; }
.ico-white { background: var(--bg); }
.num-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 600; }

/* Surfaces */
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; }
.card-pad { padding: 28px; }
.card-pad-sm { padding: 20px 22px; }
.card-raised { box-shadow: var(--shadow); }
.card-strong { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.well { background: var(--soft); border-radius: 20px; }
.well-pad { padding: 28px; }
.well-pad-lg { padding: 40px; }
.tint { background: var(--at); }
.feature { border-radius: 28px; background: var(--at); padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; overflow: hidden; }
.feature-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.feature-art { flex: 1 1 520px; min-width: 0; display: flex; align-items: flex-end; }
.feature h2 { font-size: 40px; line-height: 46px; color: var(--ink); }
.appcard { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; }
.appcard:hover { border-color: var(--line-2); color: inherit; }
.appcard .shot { height: 200px; padding: 22px 22px 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: var(--at); }
/* An app that does not run yet has no picture: its icon stands in. */
.appcard .shot-blank { align-self: center; padding-bottom: 22px; }
.appcard .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-2.wide-gap { gap: 28px 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split.middle { align-items: center; }
.split.stretch { align-items: stretch; }
.split > .main { flex: 999 1 560px; min-width: 0; }
.split > .aside { flex: 1 1 340px; min-width: 0; }
.aside-400 { max-width: 400px; }
.aside-460 { max-width: 460px; }
.narrow { max-width: 620px; }
.reading { max-width: 720px; }
/* The legal pages: numbered clauses (the number is in each heading), each with its sources under it. */
.clauses { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 32px; }
.clauses .src a { color: inherit; }
.sidebar-layout { display: flex; flex-wrap: wrap; gap: 40px; }
.sidebar-layout > .content { flex: 999 1 600px; min-width: 0; }
.side { flex: 1 1 220px; max-width: 250px; display: flex; flex-direction: column; gap: 2px; }
.side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.side a svg { width: 18px; height: 18px; }
.side a[aria-current="page"] { background: var(--soft-2); color: var(--ink); font-weight: 600; }
.side .count { margin-left: auto; }
.side form { margin-top: 16px; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 23px; background: var(--soft); }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.note-ok { background: var(--ok-soft); color: var(--ok-ink); }
.note-warn { background: var(--warn-soft); color: var(--warn-ink); }
.note-bad { background: var(--danger-soft); color: var(--danger); }
.tbl-box { border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; background: var(--bg); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 12px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
/* A tax invoice: its words keep their line breaks; on paper only the invoice prints. */
.invoice .pre { white-space: pre-line; }
.invoice-meta { grid-template-columns: auto auto; }
@media print {
  .nav, .foot, .noprint { display: none !important; }
  .invoice { border: 0; box-shadow: none; }
}
.tbl .compact { min-height: 38px; padding: 6px 12px; width: auto; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--ok); }
.ticks-lg { font-size: 17px; }
.stat { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.stat b { display: block; font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kv { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 10px 16px; font-size: 15px; margin: 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.kv dd.plain { font-weight: 400; }
.contents { display: contents; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.progress { height: 6px; border-radius: 999px; background: var(--soft-2); overflow: hidden; }
.progress.done { background: var(--ink); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 40px; }
.trust > div { display: flex; gap: 14px; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.success-mark svg { width: 32px; height: 32px; }
.filerow { padding: 18px 24px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); }
.filerow .grow { flex: 1; min-width: 200px; }
.cardhead { padding: 22px 24px; }
details.disclose summary { cursor: pointer; font-weight: 600; }

/* Drawn product screens: shown until real screenshots exist */
.mock { background: #FFFFFF; color: #0E1311; border: 1px solid #E4E8E6; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: 12px; line-height: 16px; }
.mock-flat { box-shadow: none; }
.mock-open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.mock-fill { flex: 1 1 auto; min-width: 0; width: 100%; }
.mock-side { flex: 0 1 320px; min-width: 0; }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #E4E8E6; font-weight: 600; font-size: 12px; }
.mock-top span { color: #5E6863; font-weight: 500; }
.mock-body { padding: 10px 14px 16px; }
.diary { display: grid; grid-template-columns: 40px repeat(3, minmax(0, 1fr)); grid-auto-rows: 26px; column-gap: 6px; padding: 10px 12px 12px; }
.diary.tall { grid-auto-rows: 30px; }
.diary.short { grid-auto-rows: 22px; }
.diary .hd { font-weight: 600; font-size: 11px; color: #39423E; align-self: center; }
.diary .tm { font-size: 10px; color: #8A938F; grid-column: 1; }
.bk { border-radius: 7px; padding: 5px 7px; font-size: 10.5px; line-height: 13px; overflow: hidden; }
.bk b { display: block; font-size: 11px; }
.bk-a { background: var(--at); color: #3A2030; }
.bk-b { background: color-mix(in srgb, var(--a) 26%, #FFFFFF); color: #2A1020; }
.bk-c { background: #E6F4E9; color: #145C25; }
.bk-gap { background: repeating-linear-gradient(135deg, #F6F7F7 0 6px, #EEF1EF 6px 12px); color: #5E6863; }
.c2 { grid-column: 2; } .c3 { grid-column: 3; } .c4 { grid-column: 4; }
.r2 { grid-row-start: 2; } .r3 { grid-row-start: 3; } .r4 { grid-row-start: 4; } .r5 { grid-row-start: 5; } .r6 { grid-row-start: 6; } .r7 { grid-row-start: 7; } .r8 { grid-row-start: 8; }
.s1 { grid-row-end: span 1; } .s2 { grid-row-end: span 2; } .s3 { grid-row-end: span 3; }
.phone { width: 210px; border-radius: 34px; border: 7px solid #0E1311; background: #FFFFFF; color: #0E1311; overflow: hidden; box-shadow: var(--shadow); flex: none; }
.phone-overlap { margin-left: -64px; margin-bottom: -24px; }
.phone-drop { margin-bottom: -40px; }
.phone .scr { padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 16px; }
.phone .scr .who { font-weight: 600; font-size: 14px; }
.phone .scr .dim { color: #5E6863; }
.phone .spacer { height: 40px; }
.mline { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid #E4E8E6; }
.mline:last-child { border-bottom: 0; }
.mline.total { font-weight: 600; }
.mtag { display: inline-block; align-self: flex-start; padding: 2px 7px; border-radius: 999px; font-size: 10px; font-weight: 600; background: #E6F4E9; color: #145C25; }
.mbtn { display: block; margin-top: 10px; text-align: center; background: var(--a); color: #FFFFFF; border-radius: 999px; padding: 9px; font-weight: 600; }
.mbtn-ink { background: #0E1311; }
.screens { margin-top: 48px; background: var(--at); padding: 48px 0 0; overflow: hidden; }
.screens .w { display: flex; gap: 24px; align-items: flex-end; }
/* Pictures of an app that runs, from its handbook: the first across the band, then two side by side. */
.screens .w.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; padding-bottom: 48px; }
.shot-fig { margin: 0; }
.shot-fig:first-child { grid-column: 1 / -1; }
.shot-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); background: #FFFFFF; }
.tree { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; line-height: 24px; color: #D7DEDA; background: #0E1311; border-radius: 20px; padding: 24px 26px; white-space: pre; overflow-x: auto; margin: 0; }
.tree b { color: #FFFFFF; font-weight: 600; }
.tree i { color: #F2A7CB; font-style: normal; }
.tree u { color: #8FD3A1; text-decoration: none; }
.code-line { display: block; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; line-height: 20px; color: var(--ink-2); overflow-x: auto; white-space: pre; }

/* The licence card */
.lic { position: relative; border-radius: 22px; padding: 28px; color: #FFFFFF; background: #0E1311; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.lic::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--a); opacity: 0.9; }
.lic::before { content: ""; position: absolute; right: 40px; top: 70px; width: 140px; height: 140px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.35); z-index: 1; }
.lic > * { position: relative; z-index: 2; }
.lic .k { font-size: 12px; line-height: 16px; color: rgba(255,255,255,0.68); }
.lic .v { font-size: 16px; line-height: 22px; font-weight: 600; }
.lic .no { font-size: 22px; letter-spacing: 0.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.lic .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lic-row { display: flex; gap: 18px; align-items: center; padding: 20px 22px; text-decoration: none; flex-wrap: wrap; color: inherit; }
.lic-row .grow { flex: 1; min-width: 200px; }
.lic-row .end { text-align: right; }

/* Sign-in (the OwnApp ID) */
.id-page { display: flex; flex-wrap: wrap; min-height: 100vh; }
.id-brand { flex: 1 1 420px; background: #0E1311; color: #FFFFFF; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.id-brand .logo { color: #FFFFFF; }
.id-brand .logo-mark { background: #FFFFFF; }
.id-brand .logo-mark span { border-color: #0E1311; }
.id-brand .logo small { color: #A9B3AE; }
.id-brand h1 { color: #FFFFFF; max-width: 12ch; }
.id-brand .t1 { color: #FFFFFF; font-size: 44px; line-height: 50px; max-width: 12ch; }
.id-brand p:not(.t1) { font-size: 18px; line-height: 28px; color: #C9D1CD; max-width: 30em; }
.id-brand .pill { background: transparent; border-color: #39423E; color: #E7ECE9; }
.id-main { flex: 1 1 480px; padding: 48px 56px; display: flex; flex-direction: column; gap: 32px; justify-content: center; }
.id-form { max-width: 420px; width: 100%; }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 48px 0 64px; background: var(--soft); }
/* A flexible first column cannot sit beside an auto-fit repeat (the rule was dropped, and the columns stacked). */
.foot .w { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; font-size: 14px; line-height: 22px; color: var(--muted); }
.foot h2 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot a { text-decoration: none; }
.admin-bg { background: var(--soft); min-height: 100vh; }

@media (max-width: 760px) {
  .w { padding-left: 16px; padding-right: 16px; }
  .display { font-size: 44px; line-height: 48px; }
  .display-sm { font-size: 40px; line-height: 44px; }
  .t1 { font-size: 36px; line-height: 42px; }
  .feature { padding: 28px 20px; }
  .feature h2 { font-size: 30px; line-height: 36px; }
  .nav .w { gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
  .navright { order: 1; }
  .navlinks { order: 2; flex-basis: 100%; }
  .navsearch { order: 3; max-width: none; flex-basis: 100%; }
  .phone-overlap { display: none; }
  .screens .mock-side { display: none; }
  .screens .w.shots { grid-template-columns: 1fr; gap: 16px; padding-bottom: 28px; }
  .id-brand, .id-main { padding: 32px 20px; }
  /* The form comes first on a phone; the panel about the ID follows it. */
  .id-main { order: -1; }
  .id-brand .t1 { font-size: 32px; line-height: 38px; }
  .kv { grid-template-columns: 1fr; }
  .foot .w { grid-template-columns: 1fr 1fr; }
  .foot .w > :first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
