/* All's Wells marketing site. No external fonts or CDNs. */
@font-face {
  font-family: "Allura";
  src: url("allura-subset.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  --green: #53AA51;
  --green-dk: #2F7A31;
  --teal: #0F879E;
  --teal-dk: #0B6A7D;
  --purple: #5F3483;
  --purple-dk: #45245f;
  --gold: #D4AF5C;
  --gold-dk: #8a6a1f;
  --band-a: #237891;
  --band-b: #4d2f70;
  --ink: #1d2233;
  --ink-soft: #4a5068;
  --line: #dde2ee;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(35, 30, 80, .12), 0 2px 6px rgba(35, 30, 80, .06);
  --focus: 0 0 0 3px #fff, 0 0 0 6px #0F879E;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
          sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--bg); text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dk); text-underline-offset: 3px; }
a:hover { color: var(--purple); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 800px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- brand band */
.brandband {
  /* each half matches the banner image's own edge colour, so there is no seam */
  background: linear-gradient(90deg, #247892 50%, #4c2f6f 50%);
  border-bottom: 2px solid var(--gold);
}
.brandband img { margin: 0 auto; width: 100%; max-width: 780px; }

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-dk); margin-right: auto; }
.brand img { border-radius: 9px; }
.brand-word { font-family: "Allura", cursive; font-size: 32px; line-height: 1; color: var(--green-dk); padding-top: 4px; }
.js .topbar .brand { opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; pointer-events: none; }
.js.past-banner .topbar .brand { opacity: 1; transform: none; pointer-events: auto; }
.mainnav { display: none; gap: 4px; }
.mainnav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px;
}
.mainnav a:hover { color: var(--purple); background: var(--bg-soft); }
@media (min-width: 900px) { .mainnav { display: flex; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 22px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 700;
  font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s;
}
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--teal-dk), var(--purple));
  box-shadow: 0 6px 16px rgba(69, 36, 95, .25);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(69, 36, 95, .3); }
.btn-primary:active { transform: none; }
.btn-primary[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-ghost { color: var(--purple-dk); background: #fff; border-color: #cfc3e0; }
.btn-ghost:hover { color: var(--purple-dk); border-color: var(--purple); background: #faf7fd; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.linkbtn {
  background: none; border: 0; padding: 4px 2px; font: inherit; color: var(--teal-dk); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}
.linkbtn:hover { color: var(--purple); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(15, 135, 158, .13), transparent 60%),
    radial-gradient(800px 460px at 100% 100%, rgba(95, 52, 131, .14), transparent 60%),
    linear-gradient(180deg, #fbfbfe, #f3f2fa);
  padding: 36px 0 48px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; }
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 800; color: var(--teal-dk); margin-bottom: 10px;
}
.eyebrow.center { text-align: center; }
.eyebrow.light { color: #bfe9f1; }
.hero h1 { font-size: clamp(34px, 7.5vw, 56px); letter-spacing: -.02em; color: var(--ink); margin-bottom: 18px; text-wrap: balance; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--teal-dk), var(--purple)); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lede { font-size: clamp(18px, 2.4vw, 20px); color: var(--ink-soft); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-soft); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--green-dk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.trust.light { color: #e9e4f5; }
.trust.light li::before { background-color: var(--gold); }

/* ---------------------------------------------------------------- sign-in card */
.signin-card {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 24px 20px 20px;
  border: 1px solid #e7e4f1; position: relative;
}
.signin-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--band-a), var(--band-b));
}
.signin-card:focus { outline: none; }
@media (min-width: 520px) { .signin-card { padding: 30px 28px 24px; } }
.card-kicker { font-size: 14px; font-weight: 700; color: var(--teal-dk); margin-bottom: 4px; }
.card-title { font-size: 23px; margin-bottom: 16px; }
.lbl { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.addr {
  display: flex; align-items: stretch; border: 2px solid #c9cfdf; border-radius: 12px; background: #fff; overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.addr:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 135, 158, .18); }
.addr.invalid { border-color: #b3261e; }
.addr input {
  flex: 1 1 auto; width: 0; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 18px; padding: 12px 4px 12px 14px;
  color: var(--ink); background: transparent; text-align: right;
}
.addr input::placeholder { color: #8b91a7; }
.addr input:focus-visible { box-shadow: none; }
.suffix {
  flex: none; display: flex; align-items: center; padding: 0 14px 0 1px; font-size: 18px; color: var(--ink-soft);
  font-weight: 600; white-space: nowrap;
}
@media (max-width: 420px) { .addr input, .suffix { font-size: 16px; } .suffix { padding-right: 10px; } }
.hint { font-size: 14px; color: var(--ink-soft); margin: 8px 0 6px; }
.signin-msg, .form-msg { min-height: 0; font-size: 15px; font-weight: 600; color: #b3261e; margin: 0 0 12px; }
.signin-msg:empty, .form-msg:empty { margin: 0; }
.signin-msg.ok, .form-msg.ok { color: var(--green-dk); }
.signin-form .btn-block { margin-top: 8px; }
.fine { font-size: 14px; color: var(--ink-soft); margin: 12px 0 0; }
.fine.lock { display: flex; gap: 8px; align-items: flex-start; }
.fine.lock::before { content: "🔒"; flex: none; }
.demo-line { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.signin-return .btn-block { margin-top: 4px; }
#continue-name { overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- sections */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-title { font-size: clamp(28px, 5vw, 40px); text-align: center; letter-spacing: -.01em; }
.section-title.left, .section-lede.left { text-align: left; margin-left: 0; }
.section-title.light { color: #fff; }
.section-lede { text-align: center; color: var(--ink-soft); font-size: 18px; max-width: 40em; margin: 0 auto 36px; }
.section-lede.light { color: #e3def0; }

/* features */
.features { background: #fff; }
.fgroup { margin-top: 40px; }
.fgroup-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 21px; margin-bottom: 16px; }
.pill {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px;
  border-radius: 999px; color: #fff;
}
.pill-teal { background: var(--teal-dk); }
.pill-green { background: var(--green-dk); }
.pill-gold { background: var(--gold-dk); }
.pill-purple { background: var(--purple); }
.fgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.fcard {
  background: var(--bg-soft); border: 1px solid #e6e8f2; border-radius: var(--radius); padding: 20px 20px 16px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.fcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d6d2ea; background: #fff; }
.ficon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px;
  font-size: 26px; background: #fff; box-shadow: 0 2px 8px rgba(35, 30, 80, .1); margin-bottom: 12px;
}
.fcard h4 { font-size: 18px; margin-bottom: 6px; }
.fcard p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }

/* screenshots */
.shots {
  background: linear-gradient(135deg, var(--band-a) 0%, #33507f 50%, var(--band-b) 100%); color: #fff; overflow: hidden;
}
.shots-outer { position: relative; max-width: 1400px; margin: 0 auto; }
.shots-row {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 8px 20px 26px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .5) transparent; -webkit-overflow-scrolling: touch;
}
.shots-row:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); border-radius: 12px; }
/* safe centring: auto margins centre the phones when they fit, and never cut off the first one when they overflow */
.shots-row > .phone:first-child { margin-left: auto; }
.shots-row > .phone:last-child { margin-right: auto; }
.phone { flex: none; width: 240px; margin: 0; scroll-snap-align: start; text-align: center; }
.phone img {
  width: 240px; height: auto; aspect-ratio: 320 / 693; border-radius: 28px; border: 7px solid #171a2b; background: #eef0f7;
  box-shadow: 0 18px 40px rgba(10, 8, 40, .45);
}
.phone figcaption { margin-top: 14px; font-weight: 700; font-size: 16px; color: #fff; }
.shots-nav {
  position: absolute; top: calc(50% - 40px); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--purple-dk); font-size: 32px; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3); display: none; align-items: center; justify-content: center; padding-bottom: 4px;
}
.shots-nav.prev { left: 12px; }
.shots-nav.next { right: 12px; }
.shots-nav[disabled] { opacity: 0; pointer-events: none; }
@media (min-width: 700px) and (hover: hover) { .shots-nav { display: flex; } }
.wall { margin-top: 40px; }
.tv { margin: 0 auto; max-width: 900px; text-align: center; }
.tv-frame {
  background: #0d0f1a; padding: 10px; border-radius: 16px; box-shadow: 0 24px 60px rgba(8, 6, 30, .55);
  position: relative;
}
.tv-frame::after {
  content: ""; position: absolute; left: 50%; bottom: -16px; width: 22%; height: 10px; transform: translateX(-50%);
  background: #0d0f1a; border-radius: 0 0 10px 10px;
}
.tv-frame img { width: 100%; border-radius: 6px; aspect-ratio: 16 / 9; background: #151a2b; }
.tv figcaption { margin-top: 36px; color: #efeaf8; font-size: 17px; max-width: 34em; margin-left: auto; margin-right: auto; }
.tv figcaption strong { color: #fff; }

/* how it works */
.how { background: var(--bg-soft); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  background: #fff; border-radius: var(--radius); padding: 26px 22px 20px; border: 1px solid #e6e8f2; position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--teal-dk), var(--purple));
  margin-bottom: 14px; box-shadow: 0 0 0 5px #efeaf8;
}
.step h3 { font-size: 20px; }
.step p { color: var(--ink-soft); margin: 0; }

/* privacy */
.privacy { background: #fff; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 900px) {
  .privacy-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
  .privacy-grid > div:first-child { position: sticky; top: 96px; }
}
.plist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.plist li {
  display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border-radius: var(--radius); padding: 18px;
  border-left: 5px solid var(--teal);
}
.plist li:nth-child(2) { border-left-color: var(--green); }
.plist li:nth-child(3) { border-left-color: var(--gold); }
.plist li:nth-child(4) { border-left-color: var(--purple); }
.plist li:nth-child(5) { border-left-color: var(--band-a); }
.picon { font-size: 26px; line-height: 1.2; flex: none; }
.plist h3 { font-size: 18px; margin-bottom: 4px; }
.plist p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* faq */
.faq { background: var(--bg-soft); }
.faq .section-title { margin-bottom: 28px; }
details {
  background: #fff; border: 1px solid #e3e5f0; border-radius: 14px; margin-bottom: 12px; transition: box-shadow .15s;
}
details[open] { box-shadow: var(--shadow); }
summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; font-size: 18px; position: relative;
  border-radius: 14px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px;
  border-radius: 50%; background: #efeaf8; color: var(--purple); font-size: 22px; line-height: 30px; text-align: center; font-weight: 700;
}
details[open] summary::after { content: "\2212"; }
details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }

/* interest */
.interest { background: linear-gradient(135deg, var(--band-a) 0%, #3b4a85 55%, var(--band-b) 100%); color: #fff; }
.interest-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 900px) { .interest-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.interest .section-lede { margin-bottom: 20px; }
.form-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 24px 20px; box-shadow: 0 24px 60px rgba(8, 6, 30, .35); }
@media (min-width: 520px) { .form-card { padding: 30px 28px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 2px solid #c9cfdf; border-radius: 12px;
  padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 135, 158, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; padding: 20px 6px; }
.thanks:focus { outline: none; }
.thanks-icon { font-size: 48px; margin: 0; }
.thanks h3 { font-size: 26px; margin: 8px 0; color: var(--purple-dk); }
.thanks p { color: var(--ink-soft); margin: 0; }

/* footer */
.footer { background: #231a36; color: #d9d3e8; padding: 36px 0 30px; border-top: 2px solid var(--gold); }
.footer-in { display: grid; gap: 16px; justify-items: center; text-align: center; }
@media (min-width: 820px) { .footer-in { grid-template-columns: auto 1fr auto; justify-items: stretch; text-align: left; align-items: center; } }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 10px; }
.footer .brand-word { color: #8fd18c; font-size: 34px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.footer-nav a { color: #e9e4f5; text-decoration: none; font-weight: 600; font-size: 15px; }
.footer-nav a:hover { color: var(--gold); text-decoration: underline; }
.copy { margin: 0; font-size: 14px; color: #bdb4d3; }

/* simple pages (404, /go fallback) */
body.simple {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: linear-gradient(135deg, var(--band-a), var(--band-b));
}
.simple-card {
  background: #fff; border-radius: 20px; padding: 32px 28px; max-width: 460px; width: 100%; text-align: center; box-shadow: var(--shadow);
}
.simple-card img { margin: 0 auto 14px; border-radius: 16px; }
.simple-card h1 { font-size: 26px; }
.simple-card p { color: var(--ink-soft); }

/* ---------------------------------------------------------------- policy pages (/privacy, /support, /delete-account) */
.privacy-more { margin: 18px 0 0; font-weight: 700; font-size: 17px; }
.privacy-more a::after { content: " \2192"; }
.brandband-link { display: block; }
.mainnav a[aria-current="page"] { color: var(--purple); background: var(--bg-soft); }
.footer-nav a[aria-current="page"] { color: var(--gold); }

.doc-wrap { max-width: 820px; }
.doc-hero {
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(15, 135, 158, .13), transparent 60%),
    radial-gradient(700px 360px at 100% 100%, rgba(95, 52, 131, .13), transparent 60%),
    linear-gradient(180deg, #fbfbfe, #f3f2fa);
  padding: 32px 0 28px; border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .doc-hero { padding: 52px 0 40px; } }
.doc-hero h1 { font-size: clamp(32px, 6vw, 46px); letter-spacing: -.02em; margin-bottom: 12px; text-wrap: balance; }
.doc-meta {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--purple-dk); background: #efeaf8;
  border-radius: 999px; padding: 4px 12px; margin-bottom: 16px;
}
.doc-lede { font-size: 18px; color: var(--ink-soft); margin: 0; max-width: 40em; }
.doc-article { padding: 32px 0 64px; }
.doc-article > section { margin-top: 40px; }
.doc-article > section:first-child { margin-top: 0; }
.doc-article h2 { font-size: clamp(23px, 3.6vw, 28px); letter-spacing: -.01em; }
.doc-article h3 { font-size: 18px; margin: 22px 0 6px; }
.doc-article ul, .doc-article ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc-article li { margin-bottom: 6px; }
.doc-article li::marker { color: var(--teal); }
.doc-article a, .doc-lede a { overflow-wrap: anywhere; }
.doc-callout {
  background: linear-gradient(135deg, #eef8fa, #f4f0fa); border-left: 5px solid var(--teal);
  border-radius: var(--radius); padding: 20px 22px 4px;
}
.doc-callout h2 { font-size: 22px; }
.doc-toc {
  margin-top: 28px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px 8px;
}
.doc-toc-title { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--teal-dk); margin-bottom: 8px; }
.doc-article .doc-toc ol { columns: 2 250px; column-gap: 32px; margin: 0 0 8px; }
.doc-toc li { break-inside: avoid; font-size: 16px; margin-bottom: 4px; }
.doc-article .doc-checks { list-style: none; padding-left: 0; }
.doc-checks li { position: relative; padding-left: 32px; }
.doc-checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-dk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.ui {
  font-weight: 700; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.doc-card .ui, .doc-contact .ui { background: var(--bg); }   /* cards are --bg-soft already: keep the chips visible */
.doc-contacts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 8px 0 18px; }
.doc-contact {
  background: var(--bg-soft); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 16px 20px 4px;
}
.doc-contact:nth-child(2) { border-top-color: var(--purple); }
.doc-contact h3 { margin: 0 0 6px; font-size: 17px; }
.doc-contact a { font-weight: 700; font-size: 17px; }
.doc-fine { font-size: 15px; color: var(--ink-soft); }
.doc-qa { border-top: 1px solid var(--line); margin-top: 18px; }
.doc-qa h3 { margin-top: 18px; }
.doc-card { background: var(--bg-soft); border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: var(--radius); padding: 22px 22px 8px; }
.doc-card + .doc-card { border-left-color: var(--purple); margin-top: 24px; }
.doc-who { font-weight: 700; color: var(--teal-dk); }
.doc-article .doc-steps { list-style: none; padding-left: 0; counter-reset: step; }
/* plain block items (not flex), so the text and the .ui chips wrap as one line of prose */
.doc-steps li { counter-increment: step; position: relative; padding-left: 40px; min-height: 28px; margin-bottom: 10px; }
.doc-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; font-weight: 800; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--teal-dk), var(--purple));
}

/* the policy pages follow the device's dark mode (long reading); the home page stays light */
@media (prefers-color-scheme: dark) {
  body.doc { --ink: #ebe8f5; --ink-soft: #bdb8d0; --line: #36314d; --bg: #15131f; --bg-soft: #1f1c2e; }
  .doc .skip { background: var(--bg-soft); color: var(--ink); }
  .doc .topbar { background: rgba(21, 19, 31, .93); }
  .doc .topbar .brand-word { color: #8fd18c; }
  .doc .mainnav a:hover, .doc .mainnav a[aria-current="page"] { color: #fff; }
  .doc .eyebrow, .doc-toc-title, .doc-who { color: #7fd6e6; }
  .doc-article a, .doc-lede a { color: #7fd6e6; }
  .doc-article a:hover, .doc-lede a:hover { color: #d8c6f2; }
  .doc-article li::marker { color: #7fd6e6; }
  .doc-hero {
    background:
      radial-gradient(700px 320px at 0% 0%, rgba(15, 135, 158, .22), transparent 60%),
      radial-gradient(700px 360px at 100% 100%, rgba(95, 52, 131, .3), transparent 60%),
      linear-gradient(180deg, #181624, #14121d);
  }
  .doc-meta { color: #eadff8; background: #352a50; }
  .doc-callout { background: linear-gradient(135deg, #172a31, #231c33); }
  .ui { background: #2a2640; border-color: #423c5f; }
}
