/* Self-service portal styling.

   No framework and no build step on purpose: the portal is a handful of forms and tables,
   and a customer's security review is a lot shorter when the answer to "what third-party
   code runs here" is "none". The Content-Security-Policy in Program.cs says the same thing
   from the other side — which is also why there are no web fonts and no images here: the
   system font stack and a single data: chevron are all the look needs. */

:root {
    color-scheme: light dark;
    --bg: #f5f5f7;
    --panel: #ffffff;
    --field: #ffffff;
    --line: #d2d2d7;
    --hair: rgba(0, 0, 0, .08);
    --text: #1d1d1f;
    --muted: #6e6e73;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --link: #0066cc;
    --ring: rgba(0, 113, 227, .28);
    --bar: rgba(255, 255, 255, .72);
    --good-bg: #e6f6ea; --good-text: #1a6b34;
    --bad-bg: #fdecec;  --bad-text: #b3261e;
    --warn-bg: #fff4dc; --warn-text: #7a5200;
    --chip: #f0f0f3;
    --tile-dark: #1d1d1f;
    --switch-off: #d9d9de;
    --tabs: #e6e6eb;
    --tab-on: #ffffff;
    --radius: 18px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --panel: #1d1d1f;
        --field: #2a2a2d;
        --line: #424245;
        --hair: rgba(255, 255, 255, .1);
        --text: #f5f5f7;
        --muted: #a1a1a6;
        --accent: #0a84ff;
        --accent-hover: #2b95ff;
        --link: #2997ff;
        --ring: rgba(10, 132, 255, .4);
        --bar: rgba(22, 22, 23, .72);
        --good-bg: #10301c; --good-text: #7ee2a0;
        --bad-bg: #3a1614;  --bad-text: #ff9d94;
        --warn-bg: #362a0c; --warn-text: #ffd479;
        --chip: #2f2f33;
        --tile-dark: #1d1d1f;
        --switch-off: #48484d;
        --tabs: #1d1d1f;
        --tab-on: #48484d;
    }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI",
                 "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.0625rem;
    background: var(--bg);
    color: var(--text);
    line-height: 1.47;
    letter-spacing: -.011em;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* ---- Global bar ---------------------------------------------------------------------- */

header {
    position: sticky; top: 0; z-index: 10;
    background: var(--bar);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hair);
}

.bar {
    max-width: 64rem; margin: 0 auto; padding: 0 1.4rem; min-height: 3rem;
    display: flex; align-items: center; gap: 1.6rem;
}

.brand {
    font-weight: 600; color: var(--text); font-size: 1.05rem; letter-spacing: -.02em;
    white-space: nowrap;
}
.brand:hover { text-decoration: none; }

/* One row that scrolls sideways on a phone rather than wrapping into a second and third
   line and eating the top third of the screen. */
nav {
    display: flex; gap: 1.5rem; flex: 1; align-items: center;
    overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
nav::-webkit-scrollbar { display: none; }
nav.end { justify-content: flex-end; }
nav a {
    color: var(--text); opacity: .8; font-size: .8rem; padding: .9rem 0;
    transition: opacity .15s;
}
nav a:hover { opacity: 1; text-decoration: none; }
nav a.on { opacity: 1; font-weight: 600; }
nav a.pill {
    opacity: 1; background: var(--accent); color: #fff; padding: .25rem .8rem; border-radius: 980px;
}
nav a.pill:hover { background: var(--accent-hover); }

.who { font-size: .8rem; color: var(--muted); margin-right: .9rem; white-space: nowrap; }
form.inline { display: flex; align-items: center; margin: 0; }
button.link {
    background: none; border: 0; color: var(--link); font: inherit; font-size: .8rem;
    cursor: pointer; padding: .35rem 0; white-space: nowrap;
}
button.link:hover { text-decoration: underline; }

/* ---- Page ---------------------------------------------------------------------------- */

main { width: 100%; min-width: 0; max-width: 64rem; margin: 0 auto; padding: 3rem 1.4rem 4rem; flex: 1; }

h1, h2, h3 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display",
                 "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1 { font-size: 2.5rem; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; margin: 0 0 .5rem; }
h2 { font-size: 1.3rem; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .9rem; }
h3 { font-size: 1rem; font-weight: 600; letter-spacing: -.015em; margin: 1.8rem 0 .5rem; }
.lede { color: var(--muted); margin: 0 0 2.2rem; font-size: 1.3rem; line-height: 1.38; letter-spacing: -.015em; max-width: 46rem; }

p { margin: 0 0 .8rem; }

.panel {
    background: var(--panel); border-radius: var(--radius);
    padding: 1.9rem; margin-bottom: 1.4rem;
    /* A wide table scrolls inside its card on a phone instead of pushing the page sideways. */
    overflow-x: auto;
}
.panel > :last-child, .panel > form > :last-child { margin-bottom: 0; }

/* Sign-in, registration and the other one-thing pages: a single centred card. */
.panel.narrow { max-width: 28rem; margin: 2rem auto 0; padding: 2.6rem 2.4rem; }
.panel.narrow h1 { font-size: 2rem; text-align: center; }
.panel.narrow .lede { font-size: 1.02rem; text-align: center; margin-bottom: 1.6rem; }
.panel.narrow .primary { display: block; width: 100%; text-align: center; margin-top: 1.6rem; padding: .8rem 1.2rem; }

.grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.grid > .panel { margin-bottom: 0; display: flex; flex-direction: column; }
.grid > .panel > a:last-child { margin-top: auto; padding-top: .6rem; }
.grid + .panel, .grid + form { margin-top: 1.4rem; }

/* The one big number on an overview card. */
.stat { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -.035em; margin-right: .3rem; }

/* ---- Tabs ----------------------------------------------------------------------------
   Built by portal.js from sections marked data-tab; see there. `hidden` needs the
   !important because .actions and the grid cards set a display of their own, which would
   otherwise win over the attribute and leave a hidden section on screen. */

[hidden] { display: none !important; }

.tabbar {
    display: inline-flex; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
    background: var(--tabs); border-radius: 12px; padding: 3px; margin-bottom: 1.4rem;
}
.tabbar::-webkit-scrollbar { display: none; }
.tabbar button {
    border: 0; background: transparent; color: var(--text); cursor: pointer; white-space: nowrap;
    font-size: .9rem; padding: .45rem 1.1rem; border-radius: 9px;
    transition: background .15s;
}
.tabbar button:hover { background: var(--hair); }
.tabbar button[aria-selected=true] {
    background: var(--tab-on); font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04);
}

/* ---- Forms --------------------------------------------------------------------------- */

label { display: block; font-size: .85rem; font-weight: 600; margin: 1.2rem 0 .4rem; }
label.check {
    font-weight: 400; font-size: .95rem; display: flex; gap: .85rem; align-items: flex-start;
    margin: 0; padding: 1rem 0; border-top: 1px solid var(--hair);
}
label.check:first-of-type { margin-top: .6rem; }
label.check > span { flex: 1; }

input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], select, textarea {
    width: 100%; padding: .7rem .9rem; font-size: 1rem; font-family: inherit; letter-spacing: inherit;
    border: 1px solid var(--line); border-radius: 12px; background: var(--field); color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .7; }
textarea { min-height: 5.5rem; resize: vertical; }

select {
    appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .9rem center;
}

input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 1.1rem; height: 1.1rem; margin: 0; }
label.check input[type=radio] { margin-top: .2rem; }

/* Settings that are a yes/no on their own line read as switches. Checkboxes inside tables
   stay checkboxes: thirty switches in a column is a wall, not a list. */
label.check input[type=checkbox] {
    appearance: none; -webkit-appearance: none; flex: none;
    width: 2.75rem; height: 1.6rem; border-radius: 980px; margin-top: .05rem;
    background: var(--switch-off); position: relative; cursor: pointer;
    transition: background .2s;
}
label.check input[type=checkbox]::before {
    content: ""; position: absolute; top: 2px; left: 2px;
    width: calc(1.6rem - 4px); height: calc(1.6rem - 4px); border-radius: 50%;
    background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
    transition: transform .2s;
}
label.check input[type=checkbox]:checked { background: #34c759; }
label.check input[type=checkbox]:checked::before { transform: translateX(1.15rem); }
label.check input[type=checkbox]:disabled { opacity: .5; cursor: default; }

.hint { font-size: .8rem; color: var(--muted); margin: .4rem 0 0; }

/* Accepting the terms is a statement somebody makes, not a setting they flip — so a plain
   tick box here, not the switch the other yes/no lines get. */
label.agree {
    font-weight: 400; font-size: .88rem; display: flex; gap: .7rem; align-items: flex-start;
    margin: 1.4rem 0 0;
}
label.agree input { flex: none; margin-top: .15rem; }
label.agree > span { flex: 1; }

/* ---- Buttons ------------------------------------------------------------------------- */

button { font-family: inherit; letter-spacing: inherit; }

button.primary, a.primary {
    display: inline-block; margin-top: 1.5rem; padding: .62rem 1.35rem; border: 0; border-radius: 980px;
    background: var(--accent); color: #fff; font-size: 1rem; font-weight: 400;
    cursor: pointer; text-decoration: none; transition: background .15s;
}
button.primary:hover, a.primary:hover { background: var(--accent-hover); text-decoration: none; }

button.secondary, a.secondary {
    display: inline-block; padding: .42rem 1.05rem; border: 1px solid var(--accent); border-radius: 980px;
    background: transparent; color: var(--link); font-size: .88rem; cursor: pointer;
    text-decoration: none; transition: background .15s, color .15s;
}
button.secondary:hover, a.secondary:hover { background: var(--accent); color: #fff; text-decoration: none; }
button.danger { border-color: var(--bad-text); color: var(--bad-text); }
button.danger:hover { background: var(--bad-text); color: var(--panel); }

.actions { display: flex; gap: .9rem 1.1rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }
.actions .primary { margin-top: 0; }

/* ---- Tables -------------------------------------------------------------------------- */

table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .8rem .7rem; border-bottom: 1px solid var(--hair); vertical-align: top; }
th { font-size: .75rem; color: var(--muted); font-weight: 600; padding-top: .3rem; padding-bottom: .55rem; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
tr:last-child td { border-bottom: 0; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
td input[type=text] { padding: .45rem .7rem; font-size: .88rem; border-radius: 9px; }

/* Tables whose cells hold audit data — JSON arguments, DocuWare queries, hashes, long
   user names. With the default automatic layout one such cell bids for the width of its
   longest line, the table grows past the panel, and the columns that carry the answer
   ("when", "how many") get squeezed to a character per row. Fixed layout hands every
   column the width its header declares and makes the content wrap into it instead. */
table.fixed { table-layout: fixed; }
table.fixed td { overflow-wrap: anywhere; }

/* A fixed-layout table stops shrinking once its declared widths add up to more than the
   panel, so below roughly 600px it would push the page sideways again. Here it scrolls
   inside its own panel instead and the page itself stays put. */
.table-scroll { overflow-x: auto; }

/* ---- Code ---------------------------------------------------------------------------- */

code, .mono {
    font-family: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", Consolas, Menlo, monospace;
    font-size: .85em; letter-spacing: 0;
    /* `anywhere` and not `break-all`: a hash or an IPv6 address still breaks mid-token when
       it has to, but "2026-09-18 11:20:33" breaks at its space instead of after the 3. */
    overflow-wrap: anywhere;
}
code { background: var(--chip); padding: .15rem .45rem; border-radius: 6px; }

/* A value somebody is going to copy — the connector address, a redirect URI — gets a line
   of its own that is easy to triple-click. */
p > code:only-child { display: block; padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; user-select: all; }

/* Tool arguments and DocuWare queries arrive as a single very long line. Sideways
   scrolling a block that is itself inside a table cell reads badly and hides the end of
   the query, so these wrap. `anywhere` rather than `break-word` because the long runs are
   unbroken tokens — GUIDs, base64, field names joined by punctuation. */
pre {
    font-family: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", Consolas, Menlo, monospace;
    background: var(--chip); padding: 1rem; border-radius: 12px; font-size: .8rem; letter-spacing: 0;
    white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; margin: .4rem 0 .9rem;
}

/* In the log list a payload is context, not the subject: cap it so one noisy record
   cannot push the next hundred off the screen. The payload page shows it in full. */
details pre { max-height: 16rem; overflow-y: auto; }
summary { cursor: pointer; margin-top: .3rem; }
details h3 { margin-top: 1rem; font-size: .85rem; }

/* The app registration walkthrough on the Connection page: numbered steps, each with a
   screenshot of the DocuWare dialog it describes. */
.walkthrough { margin: 1rem 0 1.4rem; font-size: .9rem; }
.walkthrough ol { padding-left: 1.3rem; }
.walkthrough li { margin: .9rem 0; }
.walkthrough img {
    display: block; max-width: 100%; height: auto; margin: .6rem 0;
    border: 1px solid var(--line); border-radius: 10px;
}
.walkthrough table { margin-top: .6rem; font-size: .85rem; }
.walkthrough code.copy { display: block; margin-top: .4rem; user-select: all; }

/* ---- Status -------------------------------------------------------------------------- */

.banner { padding: .9rem 1.2rem; border-radius: 14px; margin-bottom: 1.4rem; font-size: .92rem; }
.banner.good { background: var(--good-bg); color: var(--good-text); }
.banner.bad { background: var(--bad-bg); color: var(--bad-text); }
.banner.warn { background: var(--warn-bg); color: var(--warn-text); }
.banner a { color: inherit; text-decoration: underline; }
.panel .banner { margin-top: 1.2rem; }

.chip {
    display: inline-block; padding: .16rem .62rem; border-radius: 980px; vertical-align: middle;
    font-size: .74rem; font-weight: 600; letter-spacing: 0; background: var(--chip); color: var(--muted);
}
.chip.ok { background: var(--good-bg); color: var(--good-text); }
.chip.no { background: var(--bad-bg); color: var(--bad-text); }
.chip.wait { background: var(--warn-bg); color: var(--warn-text); }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.right { text-align: right; }
.stack > * + * { margin-top: .4rem; }

.filters { display: flex; gap: .8rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1.2rem; }
.filters label { margin: 0 0 .35rem; }
.filters input, .filters select { width: auto; min-width: 9rem; padding: .5rem .8rem; font-size: .9rem; }
.filters select { padding-right: 2.2rem; }
.filters > div:last-child { padding-bottom: .5rem; }

footer {
    width: 100%; max-width: 64rem; margin: 0 auto; padding: 1.2rem 1.4rem 2rem;
    color: var(--muted); font-size: .75rem; border-top: 1px solid var(--hair);
    display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: space-between; align-items: center;
}
footer nav { flex: none; gap: 1.2rem; flex-wrap: wrap; overflow: visible; }
footer nav a { font-size: inherit; padding: 0; color: var(--muted); opacity: 1; }
footer nav a:hover { color: var(--text); }

/* The language picker. Each language under its own name, so it can be found by somebody
   who cannot read the language the page is currently in. */
footer .lang { display: flex; align-items: center; gap: .5rem; margin: 0; }
footer .lang label { margin: 0; font-size: inherit; font-weight: 400; }
footer .lang select {
    width: auto; padding: .3rem 1.9rem .3rem .65rem; font-size: inherit; border-radius: 8px;
    background-position: right .6rem center;
}

/* ---- Legal pages --------------------------------------------------------------------- */

/* Imprint, privacy policy, terms of use: long text somebody reads once, carefully. A
   narrower measure and quieter headings than the rest of the portal. */
.panel.legal { max-width: 48rem; margin-left: auto; margin-right: auto; padding: 2.8rem 3rem; font-size: 1rem; }
.legal h1 { font-size: 2.2rem; }
.legal .lede { font-size: 1.1rem; margin-bottom: 1.8rem; }
.legal h2 { font-size: 1.15rem; margin: 2.2rem 0 .7rem; }
.legal ul { margin: 0 0 .8rem; padding-left: 1.2rem; }
.legal li { margin-bottom: .45rem; }
.legal dl { display: grid; grid-template-columns: 13rem 1fr; gap: 0; margin: 0; }
.legal dt, .legal dd { margin: 0; padding: .6rem 0; border-top: 1px solid var(--hair); }
.legal dt { color: var(--muted); font-size: .88rem; padding-right: 1rem; }
@media (max-width: 46rem) {
    .panel.legal { padding: 1.8rem 1.4rem; }
    .legal dl { grid-template-columns: 1fr; }
    .legal dt { padding-bottom: 0; }
    .legal dd { border-top: 0; padding-top: .1rem; }
}

/* ---- Pricing ------------------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 50rem; margin: 0 auto; }
.plan {
    background: var(--panel); border-radius: 28px; padding: 2.6rem 2.4rem; text-align: left;
    display: flex; flex-direction: column; border: 2px solid transparent;
}
.plan.featured { border-color: var(--accent); }
.plan .eyebrow { font-size: .85rem; margin-bottom: .9rem; }
.plan .price { margin: 0 0 .6rem; }
.plan .price strong { font-size: 3.4rem; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.plan .price span { color: var(--muted); }
.plan ul { list-style: none; margin: 1rem 0 1.8rem; padding: 0; }
.plan li { padding: .55rem 0; border-top: 1px solid var(--hair); font-size: .95rem; }
.plan .primary, .plan .secondary {
    margin-top: auto; align-self: flex-start; padding: .62rem 1.35rem; font-size: 1rem;
}
.plans-note { text-align: center; margin: 1.4rem auto 0; max-width: 40rem; }

.hero.compact { padding-bottom: 3rem; }
.pricing { padding: 5.5rem 0 1rem; text-align: center; }
.pricing > h2 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.pricing > .lede { margin: 0 auto 3rem; }
.panel.faq { max-width: 50rem; margin: 3rem auto 0; }
.faq h3:first-of-type { margin-top: 1rem; }

/* Read-only facts in a settings panel: the plan, the price, when the free month ends. */
.facts { display: grid; grid-template-columns: 11rem 1fr; margin: 0 0 .4rem; font-size: .95rem; }
.facts dt, .facts dd { margin: 0; padding: .6rem 0; border-top: 1px solid var(--hair); }
.facts dt { color: var(--muted); }

/* ---- Landing page -------------------------------------------------------------------- */

.hero { text-align: center; padding: 3.5rem 0 4.5rem; }
.eyebrow { font-size: 1.05rem; font-weight: 600; color: var(--muted); margin: 0 0 .7rem; letter-spacing: -.01em; }
.hero h1 {
    font-size: clamp(2.2rem, 7.2vw, 5rem); line-height: 1.05; letter-spacing: -.04em;
    margin: 0 auto 1.3rem;
}
.hero .lede { margin: 0 auto; font-size: clamp(1.15rem, 2.2vw, 1.5rem); max-width: 40rem; }
.cta { display: flex; gap: 1rem 1.8rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 2.2rem; }
.cta .primary { margin-top: 0; padding: .78rem 1.6rem; font-size: 1.06rem; }
.cta a.more { font-size: 1.06rem; }
.more::after { content: " \203A"; }
.hero .banner { max-width: 38rem; margin: 2.2rem auto 0; text-align: left; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.tile {
    background: var(--panel); border-radius: 28px; padding: 3rem 2.8rem;
    display: flex; flex-direction: column; min-height: 19rem;
}
.tile.wide { grid-column: 1 / -1; min-height: 0; padding: 4rem 3.4rem; }
.tile.dark { background: var(--tile-dark); color: #f5f5f7; }
.tile.dark .eyebrow, .tile.dark p { color: #a1a1a6; }
.tile .eyebrow { font-size: .85rem; margin-bottom: .9rem; }
.tile h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 1rem; max-width: 18ch; }
.tile.wide h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.tile p { color: var(--muted); font-size: 1.06rem; margin: 0; max-width: 34rem; }

.steps { padding: 5.5rem 0 1rem; text-align: center; }
.steps > h2 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.03em; margin-bottom: 3rem; }
.steps ol {
    list-style: none; margin: 0; padding: 0; text-align: left; counter-reset: step;
    display: grid; gap: 2.4rem; grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 60rem) { .steps ol { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 30rem) { .steps ol { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.steps li::before {
    content: counter(step); display: block; font-size: 2.6rem; font-weight: 600;
    letter-spacing: -.04em; line-height: 1; margin-bottom: .9rem; color: var(--muted);
}
.steps li strong { display: block; font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: .35rem; }
.steps li span { color: var(--muted); font-size: .95rem; }
.steps .cta { margin-top: 4rem; }

@media (max-width: 46rem) {
    main { padding-top: 2rem; }
    h1 { font-size: 2rem; }
    .lede { font-size: 1.12rem; }
    .panel { padding: 1.4rem; }
    .panel.narrow { padding: 2rem 1.5rem; margin-top: .5rem; }
    .hero { padding: 2rem 0 3rem; }
    .tiles, .plans { grid-template-columns: 1fr; }
    .plan { padding: 2.2rem 1.7rem; border-radius: 22px; }
    .pricing { padding-top: 3.5rem; }
    .facts { grid-template-columns: 1fr; }
    .facts dt { padding-bottom: 0; }
    .facts dd { border-top: 0; padding-top: .1rem; }
    .tile, .tile.wide { padding: 2.2rem 1.7rem; min-height: 0; border-radius: 22px; }
    .steps { padding-top: 3.5rem; }
    .who { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
