/* CardTill website. Colors come from the v4 app palettes (light and Charcoal dark). */
:root {
  --bg: #ffffff;
  --surface: #f6f8fa;
  --surface-alt: #f1f2f4;
  --border: #d5dce0;
  --hairline: #eceef0;
  --text: #131b24;
  --muted: #55616e;
  --secondary: #3b4652;
  --primary: #007a5a;
  --primary-soft: #e3f1eb;
  --on-primary: #ffffff;
  --green-text: #00634a;
  --warn: #7a4f08;
  --warn-soft: #f5e6c6;
  --ink: #0b1419;
  --on-ink: #ffffff;
  --shadow: 0 1px 2px rgba(11, 20, 25, .06), 0 8px 24px rgba(11, 20, 25, .06);
  --logo-light: block;
  --logo-dark: none;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151617;
    --surface: #1e1f21;
    --surface-alt: #262829;
    --border: #2a2c2e;
    --hairline: #2a2c2e;
    --text: #eef0f1;
    --muted: #bfc3c7;
    --secondary: #bfc3c7;
    --primary: #2fd0a0;
    --primary-soft: #1c3a32;
    --on-primary: #06130f;
    --green-text: #2fd0a0;
    --warn: #f2b45a;
    --warn-soft: #382c14;
    --ink: #1e1f21;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --logo-light: none;
    --logo-dark: block;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--green-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 740px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* header */
header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
header.site .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.logo-light { display: var(--logo-light); }
.logo-dark { display: var(--logo-dark); }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 4px; }
nav.main a { color: var(--secondary); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
nav.main a:hover { background: var(--surface-alt); }
nav.main a[aria-current="page"] { color: var(--green-text); background: var(--primary-soft); }
nav.main a.cta { background: var(--primary); color: var(--on-primary); }
nav.main a.cta:hover { filter: brightness(1.06); }
.menu-btn { display: none; margin-left: auto; background: var(--surface-alt); border: 0; color: var(--text); font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--hairline); flex-direction: column; align-items: stretch; padding: 8px 20px 16px; margin: 0; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 14px; font-size: 17px; }
}

/* type */
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--secondary); max-width: 38em; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--green-text); margin-bottom: 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 24px; border-radius: 999px; background: var(--primary); color: var(--on-primary); border: 2px solid var(--primary); font-size: 16px; }
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; color: var(--green-text); border-color: var(--border); }
.btn.ghost:hover { background: var(--surface-alt); filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* sections */
section { padding: 72px 0; }
section.tint { background: var(--surface); border-block: 1px solid var(--hairline); }
section.ink { background: var(--ink); color: var(--on-ink); }
section.ink .lead, section.ink p { color: #d5dce0; }
section.ink .eyebrow { color: #2fd0a0; }
section.ink .btn { background: #2fd0a0; border-color: #2fd0a0; color: #06130f; }
section.ink .btn.ghost { background: transparent; color: #fff; border-color: #55616e; }
.sec-head { max-width: 40em; margin-bottom: 40px; }
.page-head { padding: 64px 0 24px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* hero */
.hero { padding: 64px 0 80px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.tagline { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-top: 28px; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* illustrative phone: the Home screen as it looks in the app (sample data) */
.phone { position: relative; width: min(310px, 82vw); height: 640px; margin: 0 auto; background: var(--bg); border: 8px solid var(--ink); border-radius: 44px; box-shadow: var(--shadow); overflow: hidden; }
@media (prefers-color-scheme: dark) { .phone { border-color: #3a3c3f; } }
.phone .ph-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 0; }
.phone .circ { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-alt); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--text); }
.phone .circ svg { width: 16px; height: 16px; }
.phone .ph-head img { height: 22px; width: auto; }
.phone .ph-shop { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--secondary); margin: 6px 0 10px; }
.phone .ph-shop .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.phone .live { margin: 0 12px; padding: 11px 14px 12px; border-radius: 18px; color: #fff; background: linear-gradient(150deg, #00755a, #004d3a); box-shadow: 0 6px 16px rgba(0, 77, 58, .28); }
.phone .live .l1 { display: flex; justify-content: space-between; font-size: 8.5px; font-weight: 800; letter-spacing: .14em; color: #f2cf7a; }
.phone .live b { display: block; font-size: 13.5px; font-weight: 800; margin-top: 5px; letter-spacing: -.01em; }
.phone .live .l3 { display: flex; align-items: baseline; gap: 6px; margin-top: 3px; }
.phone .live .l3 strong { font-size: 23px; font-weight: 800; letter-spacing: -.03em; }
.phone .live .l3 span { font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.phone .hero-k { padding: 14px 18px 0; font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.phone .hero-n { padding: 0 18px; font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -.05em; color: var(--green-text); }
.phone .hero-c { padding: 2px 18px 0; display: flex; gap: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; }
.phone .hero-c span { color: var(--green-text); }
.phone .chart { display: block; width: 100%; height: 64px; margin-top: 10px; }
.phone .switch { display: flex; gap: 2px; margin: 8px 12px 0; padding: 3px; border-radius: 16px; background: var(--surface-alt); }
.phone .switch span { flex: 1; text-align: center; font-size: 10px; font-weight: 600; color: var(--secondary); padding: 6px 0; border-radius: 13px; }
.phone .switch span.on { background: var(--bg); color: var(--text); font-weight: 800; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.phone .rh { display: flex; justify-content: space-between; padding: 14px 18px 2px; font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.phone .rh i { font-style: normal; letter-spacing: 0; font-size: 10px; color: var(--green-text); }
.phone .row { display: flex; align-items: center; gap: 10px; padding: 8px 18px; }
.phone .row + .row { border-top: 1px solid var(--hairline); margin: 0 12px; padding-inline: 6px; }
.phone .thumb { width: 26px; height: 36px; border-radius: 4px; background: linear-gradient(135deg, var(--primary-soft), var(--surface-alt)); border: 1px solid var(--border); flex: none; box-shadow: 0 2px 5px rgba(0, 0, 0, .12); }
.phone .row b { display: block; font-size: 11.5px; line-height: 1.25; }
.phone .row small { display: block; font-size: 9.5px; color: var(--muted); }
.phone .row em { margin-left: auto; font-style: normal; font-weight: 800; font-size: 13px; }
.phone .row em.g { color: var(--green-text); }
.phone .tabs { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 8px; align-items: center; }
.phone .cap { flex: 1; display: flex; justify-content: space-around; padding: 9px 4px 7px; border-radius: 28px; background: color-mix(in srgb, var(--bg) 82%, transparent); border: 1px solid var(--border); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.phone .cap span { font-size: 8.5px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.1; }
.phone .cap span svg { display: block; width: 17px; height: 17px; margin: 0 auto 3px; }
.phone .cap span.on { color: var(--green-text); font-weight: 800; }
.phone .plus { flex: none; width: 46px; height: 46px; border-radius: 50%; background: color-mix(in srgb, var(--bg) 82%, transparent); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--green-text); }
.phone .plus svg { width: 22px; height: 22px; }
.phone-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }


/* more illustrated app screens */
.phone .pg { padding-top: 14px; }
.phone .ph-bar { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; padding: 14px 14px 0; gap: 6px; }
.phone .ph-bar .t { text-align: center; line-height: 1.15; }
.phone .ph-bar .t b { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.phone .ph-bar .t small { font-size: 10px; color: var(--muted); font-weight: 600; }
.phone .ph-bar .circ.g { color: var(--green-text); }
.phone .ph-title { padding: 16px 18px 0; display: flex; justify-content: space-between; align-items: center; }
.phone .ph-title b { font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.phone .chips { display: flex; gap: 6px; padding: 10px 14px 0; flex-wrap: nowrap; overflow: hidden; }
.phone .chip { flex: none; font-size: 10px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--surface-alt); color: var(--secondary); }
.phone .chip.on { background: var(--primary-soft); color: var(--green-text); }
.phone .sum { padding: 12px 18px 4px; font-size: 11px; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.phone .sum b { color: var(--text); font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.phone .sum i { font-style: normal; font-weight: 800; color: var(--green-text); }
.phone .ra { margin-left: auto; text-align: right; flex: none; }
.phone .ra em { display: block; margin: 0; }
.phone .ra small { font-size: 9px; font-weight: 700; color: var(--muted); }
.phone .ra small.g { color: var(--green-text); }
.phone .ra small.a { color: var(--warn); }
.phone .ra small.r { color: #b3261e; }
@media (prefers-color-scheme: dark) { .phone .ra small.r { color: #f2766b; } }
.phone .tag { display: inline-block; white-space: nowrap; flex: none; font-size: 8.5px; font-weight: 800; letter-spacing: .03em; padding: 2px 7px; border-radius: 999px; background: var(--surface-alt); color: var(--secondary); margin-top: 2px; }
.phone .tag.g { background: var(--primary-soft); color: var(--green-text); }
.phone .tag.a { background: var(--warn-soft); color: var(--warn); }
.phone .big2 { padding: 14px 18px 0; font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.phone .big2 .live-tag { font-size: 8.5px; letter-spacing: .08em; padding: 2px 7px; border-radius: 999px; background: var(--primary-soft); color: var(--green-text); font-weight: 800; }
.phone .btnrow { display: flex; gap: 8px; padding: 10px 12px 0; }
.phone .pbtn { flex: 1; text-align: center; font-size: 11px; font-weight: 800; padding: 10px 0; border-radius: 999px; background: var(--primary); color: var(--on-primary); }
.phone .pbtn.glass { background: var(--surface-alt); color: var(--text); }
.phone .glance { margin: 12px 12px 0; border-radius: 18px; background: var(--surface); border: 1px solid var(--hairline); display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 6px; text-align: center; }
.phone .glance span { font-size: 8px; font-weight: 800; letter-spacing: .1em; color: var(--muted); display: block; }
.phone .glance b { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.phone .glance b.g { color: var(--green-text); }
.phone .acc-k { padding: 16px 18px 0; font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.phone .acc-n { padding: 0 18px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--green-text); line-height: 1.1; }
.phone .acc-n small { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.phone .track { margin: 8px 18px 0; height: 7px; border-radius: 4px; background: var(--surface-alt); overflow: hidden; }
.phone .track i { display: block; height: 100%; width: 83%; background: var(--primary); border-radius: 4px; }
.phone .pill4 { display: grid; grid-template-columns: repeat(4, 1fr); margin: 10px 12px 0; padding: 8px 4px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hairline); text-align: center; }
.phone .pill4 span { display: block; font-size: 7.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.phone .pill4 b { font-size: 14px; font-weight: 800; }
.phone .grp { padding: 12px 18px 2px; font-size: 8.5px; font-weight: 800; letter-spacing: .12em; color: var(--muted); display: flex; justify-content: space-between; }
.phone .grp i { font-style: normal; letter-spacing: 0; font-weight: 600; }
.phone .found { white-space: nowrap; margin-left: auto; font-size: 9px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--green-text); flex: none; }
.phone .found.miss { background: var(--warn-soft); color: var(--warn); }
.phone .footbtns { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.phone .inv-k { padding: 16px 18px 0; font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.phone .inv-n { padding: 0 18px; font-size: 44px; font-weight: 800; letter-spacing: -.05em; color: var(--green-text); line-height: 1.05; }
.phone .inv-s { padding: 0 18px; font-size: 10.5px; color: var(--muted); }
.phone .trio { display: grid; grid-template-columns: repeat(3, 1fr); margin: 12px 12px 0; padding: 10px 4px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hairline); text-align: center; }
.phone .trio span { display: block; font-size: 8px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.phone .trio b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.phone .mrow { display: flex; align-items: center; gap: 10px; padding: 8px 18px; }
.phone .mrow + .mrow { border-top: 1px solid var(--hairline); margin: 0 12px; padding-inline: 6px; }
.phone .mic { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--green-text); display: grid; place-items: center; flex: none; }
.phone .mic svg { width: 15px; height: 15px; }
.phone .mrow b { display: block; font-size: 11.5px; line-height: 1.2; }
.phone .mrow small { display: block; font-size: 9.5px; color: var(--muted); line-height: 1.25; }
.phone .mrow .chev { margin-left: auto; color: var(--muted); font-size: 14px; flex: none; }

.phonepanel { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; display: flex; flex-direction: column; align-items: center; }
.gallery { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); justify-items: center; }
@media (max-width: 1000px) { .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: flex-start; padding: 8px 20px 20px; margin: 0 -20px; -webkit-overflow-scrolling: touch; } .gallery > div { flex: none; scroll-snap-align: center; } }
.gallery .cap { text-align: center; margin-top: 14px; font-weight: 700; }
.gallery .cap small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

/* cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
section.tint .card { background: var(--bg); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 14px; background: var(--primary-soft); color: var(--green-text); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }

.split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%23007a5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (prefers-color-scheme: dark) { .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%232fd0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); } }
.ticks li.no { color: var(--muted); }
.ticks li.no::before { background: var(--surface-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' fill='none' stroke='%2355616e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; border-top: 1px solid var(--hairline); }
.feature:first-of-type { border-top: 0; }
.feature .panel { background: var(--surface); border: 1px solid var(--hairline); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.feature.flip .text { order: 2; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; gap: 20px; } .feature.flip .text { order: 0; } }
.stat { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.stat:first-child { border-top: 0; }
.stat b { font-weight: 800; }
.stat .g { color: var(--green-text); }

/* pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--hairline); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.plan.pick { border: 2.5px solid var(--primary); box-shadow: var(--shadow); background: var(--bg); }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--primary-soft); color: var(--green-text); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.plan .tag.plain { background: var(--surface-alt); color: var(--muted); }
.plan h3 { font-size: 1.5rem; margin-bottom: .1em; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .yr { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.plan .desc { color: var(--secondary); min-height: 3.2em; }
.plan .ticks { margin-top: 12px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--bg); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; }
.table-wrap { overflow-x: auto; border-radius: 16px; }
table.compare th, table.compare td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--hairline); vertical-align: top; }
table.compare thead th { background: var(--surface); border-top: 0; font-size: 14px; }
table.compare td:first-child, table.compare th:first-child { font-weight: 600; }
.soon { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--warn-soft); color: var(--warn); padding: 2px 8px; border-radius: 999px; margin-left: 6px; white-space: nowrap; }

/* faq */
details { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 0 20px; margin-bottom: 10px; }
details[open] { background: var(--bg); box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-text); }
details[open] summary::after { content: "\2212"; }
details p, details ul { color: var(--secondary); }
details > :last-child { margin-bottom: 20px; }

/* legal */
.legal { padding: 8px 0 80px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-top: 48px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal h3 { margin-top: 1.6em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin: .3em 0; }
.legal hr { border: 0; border-top: 1px solid var(--hairline); margin: 2.5em 0; }
.legal code { background: var(--surface-alt); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.legal mark.todo { background: var(--warn-soft); color: var(--warn); padding: 1px 5px; border-radius: 5px; font-weight: 600; }
.toc { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 16px 20px; margin: 24px 0; font-size: 15px; }
.toc b { display: block; margin-bottom: 6px; }
.toc a { display: inline-block; margin: 2px 14px 2px 0; }

/* support form-less contact */
.contact { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.big-mail { font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 800; word-break: break-all; }

/* footer */
footer.site { border-top: 1px solid var(--hairline); padding: 48px 0 56px; background: var(--surface); font-size: 15px; }
footer.site .cols { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr; } footer.site .cols > :first-child { grid-column: 1 / -1; } }
footer.site h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 6px 0; }
footer.site a { color: var(--secondary); text-decoration: none; }
footer.site a:hover { color: var(--green-text); text-decoration: underline; }
footer.site .fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
@media print { header.site, footer.site, .menu-btn { display: none; } body { font-size: 12pt; } }
