/* AutoTrademarks.com — one stylesheet, no build step.
   Type: the Apple system font (SF Pro) in Safari, Inter everywhere else (bundled in
   assets/fonts, SIL Open Font License 1.1). Colour, radius and spacing come from the variables
   below; dark mode swaps the variables. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  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: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  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 {
  --font: "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #ffffff; --bg-alt: #f5f5f7; --bg-elev: #ffffff; --bg-muted: #f5f5f7; --bg-inset: #fafafc; --bg-fill: #e8e8ed; --bg-fill-hover: #dcdce1;
  --text: #1d1d1f; --text-muted: #6e6e73; --text-faint: #6e6e73; --text-secondary: #424245;
  --line: #d2d2d7; --line-soft: #e8e8ed; --line-strong: #b9b9bf;
  --link: #0066cc; --link-hover: #0071e3;
  --primary: #0071e3; --primary-hover: #0077ed; --primary-active: #006edb; --primary-strong: #0066cc; --primary-soft: #e8f1fb; --on-primary: #ffffff;
  --brand-point: #0071e3;
  --success: #137333; --success-soft: #e6f4ea; --warn: #a35200; --warn-soft: #fff4e5; --danger: #c4001a; --danger-soft: #fff0f1; --info: #0066cc; --info-soft: #e8f1fb;
  --green: #137333; --amber: #a35200; --red: #c4001a;
  --danger-fill: #c4001a; --success-fill: #137333;
  --dark-bg: #000000; --dark-text: #f5f5f7; --dark-muted: #a1a1a6; --dark-tile: #1d1d1f; --dark-link: #2997ff;
  --nav-bg: rgba(255, 255, 255, .8); --nav-line: rgba(0, 0, 0, .1); --nav-solid: #ffffff;
  --focus: 0 0 0 4px rgba(0, 113, 227, .28);
  --radius: 18px; --radius-lg: 28px; --radius-sm: 12px; --radius-xs: 8px; --pill: 980px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 6px 24px rgba(0, 0, 0, .05);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, .05), 0 18px 48px rgba(0, 0, 0, .12);
  --maxw: 1024px; --maxw-narrow: 720px; --maxw-wide: 1440px; --maxw-mkt: 1120px;
  color-scheme: light;
}
/* Safari (macOS, iPhone, iPad) has the Apple system font: use SF Pro there. Chromium maps -apple-system
   to the platform UI font everywhere (Segoe UI on Windows), so other browsers get the bundled Inter. */
@supports (font: -apple-system-body) {
  :root { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter Variable", "Helvetica Neue", Arial, sans-serif; --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Variable", "Helvetica Neue", Arial, sans-serif; }
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #000000; --bg-alt: #161617; --bg-elev: #1c1c1e; --bg-muted: #2c2c2e; --bg-inset: #111112; --bg-fill: #3a3a3c; --bg-fill-hover: #48484a;
    --text: #f5f5f7; --text-muted: #a1a1a6; --text-faint: #a1a1a6; --text-secondary: #d2d2d7;
    --line: #424245; --line-soft: #2c2c2e; --line-strong: #5c5c60;
    --link: #2997ff; --link-hover: #4aa8ff;
    --primary: #0071e3; --primary-hover: #0077ed; --primary-active: #006edb; --primary-strong: #2997ff; --primary-soft: #0b2540; --on-primary: #ffffff;
    --brand-point: #3d9dff;
    --success: #30d158; --success-soft: #0f2a17; --warn: #ffb340; --warn-soft: #2e2210; --danger: #ff6961; --danger-soft: #330f0f; --info: #64d2ff; --info-soft: #0b2533;
    --green: #30d158; --amber: #ffb340; --red: #ff6961;
    --danger-fill: #d70015; --success-fill: #1a7f37;
    --nav-bg: rgba(22, 22, 23, .8); --nav-line: rgba(255, 255, 255, .12); --nav-solid: #161617;
    --focus: 0 0 0 4px rgba(41, 151, 255, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 28px rgba(0, 0, 0, .45);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, .5), 0 18px 48px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.01em; color: var(--text); background: var(--bg-alt); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body.marketing { background: var(--bg); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 2px; }
p a, li a, dd a, td a, .help a, .alert a, .small a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
p a:hover, li a:hover, dd a:hover, td a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.02em; overflow-wrap: break-word; color: var(--text); }
h1 { font-size: clamp(32px, 2.6vw + 18px, 48px); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(24px, 1.2vw + 16px, 32px); }
h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 17px; letter-spacing: -0.01em; }
h5 { font-size: 15px; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .3em; }
strong, b { font-weight: 600; }
code, pre, .mono { font-family: var(--mono); font-size: .88em; letter-spacing: 0; }
pre { background: var(--bg-inset); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 14px 16px; overflow: auto; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 28px 0; }
::selection { background: rgba(0, 113, 227, .2); }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -0.006em; }
.xsmall { font-size: 12px; line-height: 1.33; letter-spacing: 0; }
.lead { font-size: clamp(19px, .6vw + 16px, 21px); line-height: 1.38; color: var(--text-muted); letter-spacing: -0.012em; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: var(--pill); z-index: 100; font-size: 14px; }
.skip-link:focus { left: 12px; color: var(--on-primary); }

/* ---- Layout ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.container-narrow { max-width: var(--maxw-narrow); }
.container-wide { max-width: var(--maxw-wide); }
main.container { padding-top: 40px; padding-bottom: 72px; min-height: 60vh; }
main.main-bleed { min-height: 60vh; }
.flash-wrap { padding-top: 20px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-sidebar { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-sidebar { grid-template-columns: minmax(0, 1fr); } }
.grid > * { min-width: 0; }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row-between { justify-content: space-between; }
.row-end { justify-content: flex-end; }
.stack > * + * { margin-top: 16px; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px } .mt-3 { margin-top: 28px } .mt-4 { margin-top: 48px }
.mb-0 { margin-bottom: 0 } .mb-1 { margin-bottom: 8px } .mb-2 { margin-bottom: 16px } .mb-3 { margin-bottom: 28px }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--nav-line); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: var(--nav-solid); } }
.header-inner { max-width: var(--maxw-mkt); margin: 0 auto; padding: 0 22px; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-inner.container-wide { max-width: var(--maxw-wide); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.022em; line-height: 1; white-space: nowrap; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand-symbol { width: 20px; height: 22px; flex: none; color: var(--text); }
.brand-point { fill: var(--brand-point); }
.brand-tld { color: var(--text-muted); }
.brand .badge { margin-left: 4px; font-family: var(--font); letter-spacing: 0; }
.site-nav { display: flex; gap: 4px 22px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a, .site-nav .link-button { color: var(--text); opacity: .85; font-size: 14px; letter-spacing: -0.01em; text-decoration: none; padding: 6px 0; transition: opacity .2s, color .2s; }
.site-nav a:hover, .site-nav .link-button:hover { opacity: 1; color: var(--text); text-decoration: none; }
.site-nav a[aria-current="page"] { opacity: 1; font-weight: 600; }
.site-nav a.nav-muted, .site-nav .link-button.nav-muted { color: var(--text); }
.site-nav a.btn, .site-nav a.btn:hover { opacity: 1; padding: 6px 14px; font-size: 14px; color: var(--on-primary); text-decoration: none; }
.nav-admin .site-nav { gap: 4px 16px; }
.nav-admin .site-nav a, .nav-admin .site-nav .link-button { font-size: 13px; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -12px; border: 0; background: none; color: var(--text); cursor: pointer; border-radius: var(--radius-xs); }
.nav-toggle-bars, .nav-toggle-bars::before { position: absolute; left: 14px; width: 17px; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform .25s ease, top .25s ease; content: ""; }
.nav-toggle-bars { top: 18px; }
.nav-toggle-bars::before { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(-90deg); }
@media (max-width: 833px) {
  .nav-toggle { display: inline-block; }
  .header-inner { flex-wrap: wrap; gap: 0 12px; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 18px; }
  .site-nav.open { display: flex; }
  .site-nav > a, .site-nav > .inline-form { border-bottom: 1px solid var(--line-soft); }
  .site-nav > a, .site-nav .link-button { display: block; width: 100%; text-align: left; padding: 14px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; opacity: 1; }
  .site-nav .inline-form { display: block; }
  .site-nav a.btn { margin-top: 16px; padding: 12px 22px; font-size: 17px; text-align: center; border-bottom: 0; }
  .nav-admin .site-nav a, .nav-admin .site-nav .link-button { font-size: 17px; padding: 11px 0; }
}
.banner { padding: 10px 22px; font-size: 14px; line-height: 1.43; text-align: center; }
.banner-danger { background: var(--danger-fill); color: #ffffff; }
.banner-warn { background: var(--warn-soft); color: var(--warn); }
.banner-info { background: var(--info-soft); color: var(--info); }
.banner a { color: inherit; text-decoration: underline; }
.banner + .banner { border-top: 1px solid rgba(0, 0, 0, .06); }

/* ---- Footer ---- */
.site-footer { background: var(--bg-alt); color: var(--text-muted); font-size: 12px; line-height: 1.5; letter-spacing: -0.005em; border-top: 1px solid var(--line-soft); }
body:not(.marketing) .site-footer { border-top-color: var(--line); }
.footer-inner { max-width: var(--maxw-mkt); margin: 0 auto; padding: 18px 22px 22px; }
.nav-admin .footer-inner { max-width: var(--maxw-wide); }
.site-footer .container { padding-top: 18px; padding-bottom: 22px; }
.site-footer .disclaimer { margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); max-width: none; }
.footer-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 22px 0 6px; }
.footer-directory h2 { font-family: var(--font); font-size: 12px; line-height: 1.33; font-weight: 600; letter-spacing: -0.005em; color: var(--text); margin: 0 0 10px; }
.footer-directory ul { list-style: none; margin: 0; padding: 0; }
.footer-directory li { margin: 0 0 8px; }
.footer-directory a { color: var(--text-secondary); text-decoration: none; }
.footer-directory a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 16px; }
.footer-directory + .footer-bottom { margin-top: 10px; }
.disclaimer + .footer-bottom { border-top: 0; margin-top: 0; }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; }
.footer-links a { color: var(--text-secondary); text-decoration: none; padding: 0 10px; border-left: 1px solid var(--line); line-height: 1; }
.footer-links a:first-child { padding-left: 0; border-left: 0; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom .footer-version { margin-left: auto; }
@media (max-width: 733px) {
  .footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-bottom .footer-version { margin-left: 0; }
}

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px; border-radius: var(--pill); border: 1px solid transparent; background: var(--bg-fill); color: var(--text); font: inherit; font-size: 17px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.18; cursor: pointer; text-decoration: none; text-align: center; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn:hover { background: var(--bg-fill-hover); color: var(--text); text-decoration: none; }
.btn:active { filter: brightness(.96); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-primary:active { background: var(--primary-active); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--link); }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); }
.btn-success { background: var(--success-fill); color: #ffffff; }
.btn-success:hover { background: var(--success-fill); color: #ffffff; filter: brightness(1.08); }
.btn-danger { background: var(--danger-fill); color: #ffffff; }
.btn-danger:hover { background: var(--danger-fill); color: #ffffff; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--link); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--link); }
.btn-link { min-height: 0; border: 0; background: none; color: var(--link); padding: 0; font-weight: 400; border-radius: 0; text-decoration: none; white-space: normal; }
.btn-link:hover { background: none; color: var(--link-hover); text-decoration: underline; }
.btn-sm { min-height: 32px; padding: 6px 15px; font-size: 14px; }
.btn-lg { min-height: 50px; padding: 14px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-group { display: inline-flex; gap: 10px; flex-wrap: wrap; }

/* ---- Cards ---- */
.card { background: var(--bg-elev); border: 0; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
body.marketing .card { background: var(--bg-alt); box-shadow: none; }
body.marketing .section-alt .card { background: var(--bg-elev); }
.currency-picker { display: inline-flex; align-items: center; gap: 12px; margin: 30px auto 0; }
.currency-picker label { margin: 0; font-weight: 400; color: var(--text-muted); }
.currency-picker select { width: auto; min-height: 40px; padding: 8px 38px 8px 16px; border-radius: var(--pill); font-size: 15px; }
.card-flat { box-shadow: none; }
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-header h2, .card-header h3 { margin: 0; }
.card-muted { background: var(--bg-inset); box-shadow: none; border: 1px solid var(--line-soft); }
.card + .card { margin-top: 20px; }
.grid > .card + .card, .price-grid > .card + .card, .tile-grid > .card + .card, .stat-grid > .card + .card { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card h2 { font-size: 24px; letter-spacing: -0.02em; }
.panel { background: var(--primary-soft); padding: 14px 18px; border-radius: var(--radius-sm); }
.panel .muted, .panel .help, .panel .faint, .alert .muted, .alert .help { color: var(--text-secondary); }

/* ---- Alerts and badges ---- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); border: 0; margin-bottom: 18px; font-size: 15px; line-height: 1.45; }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-error, .alert-danger { background: var(--danger-soft); color: var(--danger); }
.alert-warn, .alert-warning { background: var(--warn-soft); color: var(--warn); }
.alert-info { background: var(--info-soft); color: var(--info); }
.alert strong { font-weight: 600; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--pill); font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: 0; background: var(--bg-fill); color: var(--text-secondary); white-space: nowrap; vertical-align: middle; }
.badge-muted { background: var(--bg-fill); color: var(--text-secondary); }
.badge-primary { background: var(--primary-soft); color: var(--link); }
.badge-success, .badge-green { background: var(--success-soft); color: var(--success); }
.badge-warn, .badge-amber { background: var(--warn-soft); color: var(--warn); }
.badge-danger, .badge-red { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--info-soft); color: var(--info); }
.pill { display: inline-block; padding: 5px 12px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 14px; background: var(--bg-elev); }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
label, .label { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.008em; margin-bottom: 8px; color: var(--text); }
.help { display: block; color: var(--text-muted); font-size: 14px; line-height: 1.43; margin-top: 6px; font-weight: 400; }
.why-link { font-size: 13px; color: var(--link); margin-left: 6px; font-weight: 400; }
input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"], input[type="date"], input[type="tel"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-elev); color: var(--text); font: inherit; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; transition: border-color .2s, box-shadow .2s;
}
select { -webkit-appearance: none; appearance: none; padding-right: 40px; 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='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
select[multiple] { background-image: none; padding-right: 15px; }
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: .85; }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus); }
.btn:focus-visible, a:focus-visible, button:focus-visible, [tabindex]:focus-visible, summary:focus-visible, input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; box-shadow: none; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); }
textarea { min-height: 128px; resize: vertical; line-height: 1.47; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; margin-top: 6px; }
.checkbox, .radio { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 17px; padding: 8px 0; cursor: pointer; margin: 0; }
.checkbox input, .radio input { margin-top: 3px; width: 20px; height: 20px; flex: none; }
/* Labels that hold more than plain text (a help line, "Why we ask", a bold term, a button) flow as text beside the box;
   as flex items each piece would become its own squeezed column. */
.checkbox:has(> .help, > details, > strong, > button), .radio:has(> .help, > details, > strong, > button) { display: block; position: relative; padding-left: 32px; }
.checkbox:has(> .help, > details, > strong, > button) > input, .radio:has(> .help, > details, > strong, > button) > input { position: absolute; left: 0; }
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: var(--bg-elev); cursor: pointer; font-weight: 500; font-size: 17px; margin: 0; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.choice:hover { border-color: var(--line-strong); }
.choice:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); background: var(--bg-elev); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 1px var(--primary), var(--focus); }
.choice input { margin-top: 3px; width: 20px; height: 20px; flex: none; }
.choice .help { font-weight: 400; margin-top: 4px; }
.inline-fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
fieldset { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px 6px; margin: 0 0 22px; background: var(--bg-elev); }
legend { font-weight: 600; font-size: 15px; padding: 0 8px; margin-left: -8px; }
.card fieldset { border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; padding: 14px 0 0; background: none; }
.card fieldset > legend { padding: 0 8px 0 0; margin-left: 0; }
.sticky-side .checkbox, aside .checkbox, .sticky-side .radio, aside .radio { font-size: 15px; }
.form-actions { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.input-group { display: flex; gap: 10px; }
.input-group input { flex: 1; }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: 15px; letter-spacing: -0.008em; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
th { font-weight: 600; font-size: 13px; letter-spacing: -0.003em; color: var(--text-muted); border-bottom-color: var(--line); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--bg-alt) 70%, transparent); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td > code { white-space: nowrap; }
.table-compact th, .table-compact td { padding: 8px 10px; font-size: 14px; }
.card > .table-wrap, .card > table { margin: 0 -8px; width: calc(100% + 16px); }
.kv { display: grid; grid-template-columns: fit-content(40%) minmax(0, 1fr); gap: 10px 20px; font-size: 15px; }
.kv dt { color: var(--text-muted); font-weight: 400; }
.kv dd { margin: 0; }

/* ---- Tabs (segmented) ---- */
.tabs { display: flex; gap: 2px; padding: 3px; margin-bottom: 24px; overflow-x: auto; background: var(--bg-fill); border-radius: 11px; width: max-content; max-width: 100%; }
.tabs a, .tabs button { padding: 7px 16px; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.tabs a:hover, .tabs button:hover { background: color-mix(in srgb, var(--bg-elev) 55%, transparent); text-decoration: none; color: var(--text); }
.tabs a.active, .tabs button.active, .tabs a[aria-current="page"], .tabs [aria-selected="true"] { background: var(--bg-elev); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }

/* ---- Wizard ---- */
.wizard-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.wizard-steps span { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--pill); background: var(--bg-fill); color: var(--text-secondary); }
.wizard-steps span.done { background: var(--success-soft); color: var(--success); }
.wizard-steps span.current { background: var(--primary); color: var(--on-primary); }
.progress { height: 6px; background: var(--bg-fill); border-radius: var(--pill); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--primary); border-radius: var(--pill); transition: width .5s cubic-bezier(.25, .1, .25, 1); }
.meter { display: flex; align-items: center; gap: 12px; }
.meter .bar { flex: 1; height: 6px; background: var(--bg-fill); border-radius: var(--pill); overflow: hidden; }
.meter .bar > span { display: block; height: 100%; background: var(--success); border-radius: var(--pill); }
.meter.warn .bar > span { background: var(--warn); }
.meter.over .bar > span { background: var(--danger); }

/* ---- Risk and readiness ---- */
.band { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 6px 14px; border-radius: var(--pill); }
.band::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.band-green { color: var(--green); background: var(--success-soft); }
.band-amber { color: var(--amber); background: var(--warn-soft); }
.band-red { color: var(--red); background: var(--danger-soft); }
.flag { position: relative; padding: 12px 16px 12px 30px; margin-bottom: 10px; background: var(--bg-inset); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); font-size: 15px; }
.flag::before { content: ""; position: absolute; left: 14px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.flag-info::before { background: var(--info); } .flag-low::before { background: var(--success); } .flag-medium::before { background: var(--warn); } .flag-high::before, .flag-blocking::before { background: var(--danger); }
.flag-blocking { background: var(--danger-soft); border-color: transparent; }
.flag .rule { font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.judg { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: var(--warn-soft); color: var(--warn); }
.det { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: var(--bg-fill); color: var(--text-secondary); }

/* ---- Blur and lock ---- */
.blur-wrap { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-elev); box-shadow: var(--shadow); }
.blur-wrap img { display: block; width: 100%; }
.blur-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .72)); text-align: center; padding: 24px; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .blur-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .7)); } }
.redacted { font-family: var(--mono); color: var(--text-faint); letter-spacing: .02em; overflow-wrap: anywhere; }
.locked-card { opacity: 1; }

/* ---- Lead cards ---- */
.lead-card { display: grid; gap: 12px; }
.lead-card .lead-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.price-tag { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.price-tag small { font-family: var(--font); font-size: 14px; font-weight: 400; letter-spacing: -0.006em; color: var(--text-muted); }

/* ---- Pricing (shared) ---- */
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
body.marketing .price-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.price-card { text-align: left; display: flex; flex-direction: column; }
.price-card h3 { font-size: 21px; margin-bottom: 4px; }
.price-card .amount { font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin: 10px 0 6px; }
.price-card .amount small { font-family: var(--font); font-size: 15px; font-weight: 400; letter-spacing: -0.008em; color: var(--text-muted); }
.price-card .amount-sub { font-size: 24px; letter-spacing: -0.02em; }
.price-card ul { text-align: left; padding-left: 0; list-style: none; margin: 14px 0 0; border-top: 1px solid var(--line); }
.price-card ul li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.price-card ul li:last-child { border-bottom: 0; }

/* ---- Messages ---- */
.thread { display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 80%; padding: 10px 15px; border-radius: 18px; background: var(--bg-fill); font-size: 15px; }
.msg.mine { align-self: flex-end; background: var(--primary); color: var(--on-primary); }
.msg.mine .meta { color: rgba(255, 255, 255, .85); }
.msg .meta, .msg .muted { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.msg.mine .muted { color: rgba(255, 255, 255, .85); }
.msg.system { align-self: center; background: transparent; color: var(--text-muted); font-size: 13px; }

/* ---- Checklist ---- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--line-soft); }
.checklist li:last-child { border-bottom: 0; }
.checklist li.done { color: var(--text-muted); text-decoration: line-through; }
.checklist .step-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-fill); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.checklist li.done .step-num { background: var(--success-soft); color: var(--success); }

/* ---- Copy blocks ---- */
.copy-block { position: relative; background: var(--bg-inset); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 12px 52px 12px 14px; font-family: var(--mono); font-size: 14px; white-space: pre-wrap; word-break: break-word; letter-spacing: 0; }
.copy-btn { position: absolute; top: 7px; right: 7px; }
/* A copy button placed after its block (partner dashboard, admin system) sits under it, not at the page's top corner. */
.copy-block + .copy-btn { position: static; margin-top: 8px; }
.copy-btn.copied { color: var(--success); }

/* ---- Stats ---- */
.stat { background: var(--bg-elev); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat .value { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.stat .label { font-size: 13px; color: var(--text-muted); text-transform: none; letter-spacing: -0.003em; margin: 0 0 4px; font-weight: 500; }
.stat-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }


/* ---- Misc ---- */
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 600px; margin: 0 auto; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border: 1px solid var(--nav-line); border-radius: var(--radius); padding: 14px 16px 14px 20px; box-shadow: var(--shadow-lift); z-index: 60; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cookie-banner p { margin: 0; flex: 1 1 260px; font-size: 14px; line-height: 1.43; }
.cookie-actions { display: flex; gap: 8px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: var(--pill); z-index: 70; font-size: 14px; box-shadow: var(--shadow-lift); }
details { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 10px; background: var(--bg-elev); }
summary { cursor: pointer; font-weight: 600; }
details[open] > summary { margin-bottom: 8px; }
.spinner { width: 20px; height: 20px; border: 2.5px solid var(--bg-fill); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.sticky-side { position: sticky; top: 76px; }
.divider-text { display: flex; align-items: center; gap: 14px; color: var(--text-muted); font-size: 13px; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.diff-add { background: var(--success-soft); color: var(--success); }
.diff-del { background: var(--danger-soft); color: var(--danger); text-decoration: line-through; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.dropzone { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 24px; text-align: center; color: var(--text-muted); background: var(--bg-inset); }
.search-results { border: 1px solid var(--line); border-radius: var(--radius-sm); max-height: 280px; overflow: auto; background: var(--bg-elev); box-shadow: var(--shadow); }
.search-results button { display: block; width: 100%; text-align: left; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line-soft); background: none; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; }
.search-results button:hover, .search-results button:focus-visible { background: var(--primary-soft); }
.item-list { list-style: none; padding: 0; margin: 0; }
.item-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); margin: 0 0 8px; background: var(--bg-elev); }
.item-list li.custom { border-style: dashed; border-color: var(--line); }
.item-list .src { font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--text-faint); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line-soft); }
.timeline li { position: relative; padding: 4px 0 16px 22px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-elev); border: 2px solid var(--primary); }
.timeline li.deadline::before { border-color: var(--danger); }
.timeline .when { font-weight: 600; }
@media print { .site-header, .site-footer, .cookie-banner, .btn, .nav-toggle { display: none !important; } body { background: #fff; color: #000; } .card { box-shadow: none; border: 1px solid #ddd; } }

/* ---- Marketing pages ---- */
.wrap { max-width: var(--maxw-mkt); margin: 0 auto; padding: 0 22px; }
.section { padding: 112px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark-bg); color: var(--dark-text); --text: #f5f5f7; --text-muted: #a1a1a6; --text-faint: #a1a1a6; --text-secondary: #d2d2d7; --link: #2997ff; --link-hover: #4aa8ff; --line: #424245; --line-soft: #2c2c2e; --bg-alt: #1d1d1f; --bg-elev: #1d1d1f; --bg-fill: #3a3a3c; --brand-point: #3d9dff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--dark-text); }
.section-head { text-align: center; max-width: 1000px; margin: 0 auto 56px; }
.section-head .intro { margin-left: auto; margin-right: auto; }
.eyebrow { display: block; font-family: var(--font-display); font-size: clamp(17px, .5vw + 14px, 21px); font-weight: 600; letter-spacing: -0.012em; color: var(--text-muted); margin: 0 0 10px; }
.display-hero { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 18px; text-wrap: balance; }
.display { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -0.028em; font-weight: 600; margin: 0 0 18px; text-wrap: balance; }
.headline { font-size: clamp(28px, 3vw, 44px); line-height: 1.09; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 14px; text-wrap: balance; }
.intro { font-size: clamp(19px, .7vw + 15px, 24px); line-height: 1.38; letter-spacing: -0.014em; color: var(--text-muted); max-width: 780px; margin: 0 0 1em; text-wrap: pretty; }
.section-head .intro, .mk-hero .intro, .page-hero .intro { text-wrap: balance; }
.intro strong { color: var(--text); font-weight: 600; }
.statement { font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.18; letter-spacing: -0.024em; font-weight: 600; color: var(--text-muted); max-width: 980px; margin: 0; }
.statement strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: center; margin-top: 30px; }
.cta-row.cta-left { justify-content: flex-start; }
.link-more { color: var(--link); font-size: 19px; letter-spacing: -0.014em; text-decoration: none; white-space: nowrap; }
.link-more::after { content: "\00a0›"; }
.link-more:hover { color: var(--link-hover); text-decoration: underline; }
.fineprint { font-size: 14px; line-height: 1.43; color: var(--text-muted); }
.fineprint.center, .center > .fineprint { max-width: 760px; margin-left: auto; margin-right: auto; text-wrap: balance; }

/* Hero */
.mk-hero { padding: 88px 0 0; text-align: center; overflow: hidden; }
.mk-hero .intro { margin: 0 auto; }
.mk-hero .fineprint { margin: 22px auto 0; max-width: 560px; }
.page-hero { padding: 88px 0 64px; text-align: center; }
.page-hero .intro { margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 14px; }

/* Product visual (decorative, built from HTML so it uses the page fonts) */
.hero-visual { position: relative; max-width: 940px; margin: 64px auto 0; padding: 0 22px 24px; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
.hero-visual::before { content: ""; position: absolute; left: 6%; right: 6%; top: 18%; bottom: -10%; background: radial-gradient(60% 60% at 50% 40%, rgba(0, 113, 227, .16), transparent 70%); filter: blur(20px); z-index: 0; }
.sheet { position: relative; z-index: 1; text-align: left; background: var(--bg-elev); border-radius: 22px 22px 0 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 30px 80px rgba(0, 0, 0, .14); padding: 28px 32px 8px; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.sheet-office { font-size: 13px; font-weight: 600; color: var(--text-muted); margin: 0 0 4px; letter-spacing: 0; }
.sheet-mark { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.sheet-ready { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--success); background: var(--success-soft); border-radius: var(--pill); padding: 6px 14px; white-space: nowrap; }
.sheet-ready::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sheet-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.sheet-row:last-child { border-bottom: 0; }
.sheet-label { color: var(--text-muted); font-size: 13px; font-weight: 600; }
.sheet-value { font-size: 16px; color: var(--text); letter-spacing: -0.012em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-copy { font-size: 13px; color: var(--link); background: var(--primary-soft); border-radius: var(--pill); padding: 4px 12px; }
.sheet-copy.done { color: var(--success); background: var(--success-soft); }
@media (max-width: 640px) {
  .sheet { padding: 20px 18px 4px; border-radius: 18px 18px 0 0; }
  .sheet-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .sheet-label { grid-column: 1 / -1; }
  .sheet-top { flex-wrap: wrap; }
}

/* Tiles */
.tile-grid { display: grid; gap: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tile { position: relative; background: var(--bg-alt); border-radius: var(--radius-lg); padding: 40px; overflow: hidden; grid-column: span 2; min-width: 0; }
.section-alt .tile { background: var(--bg-elev); }
.section-dark .tile { background: var(--dark-tile); }
.tile.span-2 { grid-column: span 2; } .tile.span-3 { grid-column: span 3; } .tile.span-4 { grid-column: span 4; } .tile.span-6 { grid-column: span 6; }
.tile h3 { font-size: clamp(21px, 1vw + 14px, 28px); line-height: 1.14; letter-spacing: -0.02em; margin: 0 0 10px; }
.tile p { color: var(--text-muted); margin: 0; }
.tile p + p { margin-top: 10px; }
.tile .price-tag { color: var(--text); margin: 4px 0 12px; font-size: 32px; }
.tile .price-tag small { display: block; margin-top: 4px; }
.tile .price-tag-sub { font-size: 22px; }
.tile .h-tile { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; color: var(--text-muted); margin: 0 0 6px; font-family: var(--font); }
.tile .tile-icon { width: 44px; height: 44px; color: var(--primary); margin-bottom: 22px; display: block; }
.section-dark .tile .tile-icon { color: #2997ff; }
.tile-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.mini-fields { list-style: none; margin: 0; padding: 0; background: var(--bg-elev); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-soft), 0 10px 30px rgba(0, 0, 0, .06); padding: 6px 16px; }
.section-alt .mini-fields { background: var(--bg-alt); box-shadow: none; }
.mini-fields li { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.mini-fields li:last-child { border-bottom: 0; }
.mini-fields .k { color: var(--text-muted); font-size: 12px; font-weight: 600; display: block; }
.mini-fields .v { color: var(--text); }
.mini-fields .c { font-size: 12px; color: var(--link); background: var(--primary-soft); border-radius: var(--pill); padding: 3px 10px; flex: none; }
@media (max-width: 1023px) { .tile-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1023px) { .tile, .tile.span-2 { grid-column: span 3; } .tile.span-4, .tile.span-6 { grid-column: span 6; } }
@media (max-width: 733px) { .tile-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .tile, .tile.span-2, .tile.span-3, .tile.span-4, .tile.span-6 { grid-column: auto; padding: 30px 26px; } }

/* Countries */
.office-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }
.office { display: flex; flex-direction: column; background: var(--bg-elev); border-radius: var(--radius-lg); padding: 30px 26px 26px; color: var(--text); text-decoration: none; transition: transform .3s cubic-bezier(.25, .1, .25, 1), box-shadow .3s; }
.section:not(.section-alt) .office { background: var(--bg-alt); }
.office:hover { color: var(--text); text-decoration: none; transform: scale(1.015); box-shadow: var(--shadow-lift); }
.office-code { font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-bottom: 22px; color: var(--text); }
.office-name { font-size: 19px; font-weight: 600; letter-spacing: -0.016em; margin: 0; line-height: 1.25; }
.office-body { font-size: 14px; color: var(--text-muted); margin: 2px 0 22px; }
.office-from { font-size: 13px; color: var(--text-muted); }
.office-price { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); line-height: 1.2; }
.office-fee { font-size: 13px; color: var(--text-muted); line-height: 1.4; margin-top: 8px; min-height: 2.8em; }
.office .link-more { font-size: 15px; margin-top: auto; padding-top: 16px; display: inline-block; }

/* Steps */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: mkstep; list-style: none; padding: 0; margin: 0; }
.steps > li { margin: 0; background: var(--bg-elev); border-radius: var(--radius-lg); padding: 32px 28px; }
.section:not(.section-alt) .steps > li { background: var(--bg-alt); }
.steps .step-n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: var(--text); color: var(--bg); font-size: 15px; font-weight: 600; margin-bottom: 22px; }
.steps h3 { font-size: 21px; margin: 0 0 8px; }
.steps p { color: var(--text-muted); font-size: 15px; margin: 0; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Feature list (two columns of short items with a hairline) */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.feature-list li { margin: 0; padding: 20px 0; border-top: 1px solid var(--line); }
.feature-list > li > strong { display: block; font-size: 19px; letter-spacing: -0.016em; margin-bottom: 4px; }
.feature-list span strong { color: var(--text); }
.feature-list span { color: var(--text-muted); font-size: 15px; }
@media (max-width: 733px) { .feature-list { grid-template-columns: minmax(0, 1fr); } }

/* Long-form sections (country, how it works) */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); }
.split:first-child { border-top: 0; padding-top: 0; }
.split h2 { font-size: clamp(24px, 1.6vw + 14px, 32px); letter-spacing: -0.022em; margin: 0; }
.split .split-body > :last-child { margin-bottom: 0; }
.split .split-body p, .split .split-body li { color: var(--text-secondary); }
.split .num-big { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-muted); margin-bottom: 10px; }
@media (max-width: 833px) { .split { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 36px 0; } }
.mk-table { background: var(--bg-elev); border-radius: var(--radius-lg); padding: 8px 28px; }
.section:not(.section-alt) .mk-table { background: var(--bg-alt); }
.mk-table table { font-size: 15px; }
.mk-table th { padding-top: 18px; }
.mk-table td { padding-top: 16px; padding-bottom: 16px; }
.mk-table tbody tr:hover td { background: transparent; }
.mk-table td:first-child { white-space: nowrap; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 0 0 0 30px; margin: 0 0 12px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 16px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23137333' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
.side-card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 30px 28px; }
.side-card + .side-card { margin-top: 20px; }
.side-card h3 { font-size: 19px; margin-bottom: 8px; }
.side-card .price-tag { font-size: 34px; }

/* Legal and other text pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { margin-bottom: 12px; font-size: clamp(36px, 3vw + 18px, 56px); letter-spacing: -0.028em; }
.prose > .lead { margin-bottom: 28px; }
body.marketing main.container { padding-top: 64px; padding-bottom: 96px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose p, .prose li { color: var(--text-secondary); }

/* Gentle reveal on scroll, only when the visitor has not asked for reduced motion (app.js adds the classes). */
.reveal-pending { opacity: 0; transform: translateY(28px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.25, .1, .25, 1), transform .9s cubic-bezier(.25, .1, .25, 1); }
@media (prefers-reduced-motion: reduce) { .reveal-pending { opacity: 1; transform: none; } .office:hover { transform: none; } }
@media print { .reveal-pending { opacity: 1 !important; transform: none !important; } }

@media (max-width: 733px) {
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
  .mk-hero { padding-top: 56px; }
  .page-hero { padding: 56px 0 40px; }
  .section-head { margin-bottom: 36px; }
  .card { padding: 22px 20px; }
  main.container { padding-top: 28px; }
}

/* ---- engine module ---- */
/* Package HTML, redacted preview, specification blocks, instructions.
   Rendered by App\Engine\PackageBuilder::renderHtml and PreviewRenderer::redactedHtml. */
.package { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.package > * { min-width: 0; }
.site-nav a.btn, .cta-row .btn, .btn-sm { white-space: nowrap; }
.package .pkg-cover h2 { margin-bottom: 12px; }
.package .pkg-cover .kv dd { margin-bottom: 4px; }
.package .pkg-jurisdiction > h3 { margin-top: 4px; }
.package .pkg-disclaimers { font-size: 14px; color: var(--text-muted); }
.package .pkg-disclaimers p { margin-bottom: .6em; }
.package h4 { margin: 18px 0 8px; }
.package .spec-class { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 14px 16px; margin: 12px 0; background: var(--bg-inset); }
.package .spec-class .copy-block { margin-top: 8px; }
.package .copy-block { position: relative; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 96px 12px 14px; font-family: var(--mono); font-size: .9em; white-space: pre-wrap; word-break: break-word; }
.package .copy-block .copy-btn { position: absolute; top: 7px; right: 7px; }
.package .item-list { margin: 6px 0 0; padding-left: 18px; }
.package .item-list li { margin: 2px 0; padding: 0; border: 0; background: none; display: list-item; }
.package .item-list .src { font-size: .8em; color: var(--text-faint); margin-left: 6px; }
.package .flag { display: block; padding: 10px 14px; margin: 8px 0; border: 0; border-left: 3px solid var(--line-strong); background: var(--bg-inset); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
.package .flag::before { display: none; }
.package .flag .rule { font-family: var(--mono); font-size: .8em; color: var(--text-muted); white-space: nowrap; }
.package .flag .judg { font-size: .75em; color: var(--text-faint); }
.package .flag-blocking, .package .flag-high { border-left-color: var(--red); }
.package .flag-medium { border-left-color: var(--amber); }
.package .flag-low { border-left-color: var(--info); }
.package .flag-info { border-left-color: var(--line-strong); }
.package .instructions ol.numbered-steps { counter-reset: step; list-style: none; padding-left: 0; }
.package .instructions ol.numbered-steps > li { counter-increment: step; position: relative; padding-left: 44px; margin: 12px 0; }
.package .instructions ol.numbered-steps > li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--bg); font-weight: 600; font-size: 13px; display: grid; place-items: center; }
.package .instructions h4 { margin-top: 18px; }
.package .instructions table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.package .instructions th, .package .instructions td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.package .checklist { list-style: none; padding-left: 0; }
.package .checklist li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line-soft); display: block; }
.package .checklist li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 5px; }
.package .timeline { list-style: none; padding-left: 0; border-left: 0; }
.package .timeline li { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.package .timeline li::before { display: none; }
.package .timeline .when { font-weight: 600; }
.package .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.package .help { color: var(--text-muted); font-size: .88em; }
.package .faint { color: var(--text-faint); }
.package .xsmall { font-size: .78em; }
.package .band { display: inline-block; padding: 3px 12px; border-radius: var(--pill); font-weight: 600; font-size: .9em; }
.package .band::before { display: none; }
.package .band-green { background: var(--success-soft); color: var(--green); }
.package .band-amber { background: var(--warn-soft); color: var(--amber); }
.package .band-red { background: var(--danger-soft); color: var(--red); }

/* Redacted (pre-payment) preview: sensitive text is replaced server-side with block glyphs; the
   styling only makes the blocks look like blurred text. Nothing underneath exists in the DOM. */
.package-redacted .redacted { display: inline-block; color: transparent; text-shadow: 0 0 9px var(--text-muted); letter-spacing: -1px; user-select: none; pointer-events: none; line-height: 1.2; }
.package-redacted .locked-card { position: relative; }
.package-redacted .locked-card::after { content: "Unlock to reveal"; position: absolute; right: 14px; top: 14px; font-size: 12px; font-weight: 600; color: var(--text-secondary); border-radius: var(--pill); padding: 3px 11px; background: var(--bg-fill); }
.package-redacted p.redacted { display: block; }

/* Blurred page image (preview_blur PNG) */
.preview-blur-wrap { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-elev); box-shadow: var(--shadow); }
.preview-blur-wrap img { display: block; width: 100%; height: auto; }
.preview-blur-wrap .preview-cta { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(to top, var(--bg-elev) 55%, transparent); text-align: center; }

@media (max-width: 640px) {
  .package .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .package .copy-block { padding-right: 14px; }
  .package .copy-block .copy-btn { position: static; display: inline-flex; margin-top: 10px; }
}
@media print {
  .package .copy-btn, .package-redacted .locked-card::after { display: none; }
  .package .card { break-inside: avoid; }
}

/* ---- client module ---- */
.intake .partner-header { margin-bottom: 18px; }
.intake details.why { border: 0; padding: 0; margin: 4px 0 0; background: none; }
.intake details.why summary { list-style: none; cursor: pointer; font-weight: 400; font-size: 13px; color: var(--link); display: inline; white-space: nowrap; }
.intake details.why summary::-webkit-details-marker { display: none; }
.intake details.why[open] { display: block; background: var(--bg-inset); border: 1px solid var(--line-soft) !important; border-radius: var(--radius-sm); padding: 10px 14px !important; margin: 8px 0; }
.class-card .card-header { align-items: flex-start; }
.class-card .class-items li .item-text { flex: 1; }
.class-card .item-results { margin-top: 6px; }
.redacted-view { font-size: 15px; line-height: 1.6; }
.redacted-view h1, .redacted-view h2, .redacted-view h3 { font-size: 17px; margin: 14px 0 6px; }
.redacted-view table { font-size: 14px; }
.package-section h2 { font-size: 21px; margin-top: 24px; }
.package-section h3 { font-size: 17px; margin-top: 18px; }
.package-section table { margin-bottom: 14px; }
.package-section .copy-block { margin: 6px 0 12px; }
.instructions ol { padding-left: 22px; }
.instructions li { margin-bottom: 8px; }
.sticky-side .card { margin-top: 0; }
.sticky-side .card + .card { margin-top: 20px; }
.grid > .card + .card, .price-grid > .card + .card, .tile-grid > .card + .card, .stat-grid > .card + .card { margin-top: 0; }
@media (max-width: 900px) { .sticky-side { position: static; } }
.plain .intake { max-width: 760px; margin: 0 auto; }
.blur-wrap img { filter: none; }
#quote-table td, #quote-table th { padding: 7px 4px; }

/* ---- lawyer module ---- */
.jurisdiction-block legend label { margin: 0; }
.lead-card .kv { grid-template-columns: fit-content(40%) minmax(0, 1fr); }
.lead-card.locked-card { opacity: 1; box-shadow: none; border: 1.5px dashed var(--line); }
.package-embed { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 14px; background: var(--bg-inset); max-height: 70vh; overflow: auto; }
.package-embed table { font-size: 14px; }
.checklist li form { flex: none; }
.thread { max-height: 440px; overflow: auto; padding-right: 4px; }
.tabs .badge { margin-left: 6px; }
@media (max-width: 620px) { .lead-card .kv { grid-template-columns: minmax(0, 1fr); } }

/* ---- admin module ---- */
.nav-admin main.container { max-width: var(--maxw-wide); }
body.nav-admin { font-size: 15px; }
.nav-admin h1 { font-size: clamp(28px, 1.6vw + 16px, 36px); }
.nav-admin .kv dt { font-weight: 400; }
.nav-admin .table-compact td code { font-size: 12px; }
.nav-admin details.mb-1 summary, .nav-admin details.mb-2 summary { padding: 4px 0; }
.nav-admin pre.small { font-size: 12px; line-height: 1.45; }
.nav-admin .stat .value { font-size: 26px; }
.nav-admin .band { font-size: 12px; padding: 3px 10px; }
.nav-admin textarea.mono { font-family: var(--mono); font-size: 13px; line-height: 1.5; }
.nav-admin .diff-add, .nav-admin .diff-del { padding: 4px 6px; border-radius: 4px; white-space: pre-wrap; }
.nav-admin input:not([type]), .nav-admin input[type="text"], .nav-admin input[type="email"], .nav-admin input[type="password"], .nav-admin input[type="url"], .nav-admin input[type="number"], .nav-admin input[type="date"], .nav-admin input[type="tel"], .nav-admin input[type="search"], .nav-admin select, .nav-admin textarea { font-size: 15px; min-height: 40px; padding: 9px 12px; }
.nav-admin select { padding-right: 36px; background-position: right 13px center; }
.nav-admin .btn { font-size: 15px; min-height: 38px; padding: 8px 18px; }
.nav-admin .btn-sm { font-size: 13px; min-height: 30px; padding: 5px 13px; }
.nav-admin .card { padding: 24px; }
.nav-admin label, .nav-admin .label { font-size: 14px; }

/* Narrow screens: wide admin tables and code scroll inside the page instead of widening it. */
.main-admin { overflow-x: auto; }
textarea, select, input { max-width: 100%; }
.table-wrap:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
/* A form button that looks like a nav link (sign-out). */
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.link-button:hover { text-decoration: underline; }
.inline-form { display: inline; margin: 0; }

dl.kv { margin: 0; }

/* Narrow screens: definition lists stack, long values wrap, the redacted preview scrolls inside its card. */
.kv dd { min-width: 0; overflow-wrap: break-word; }
.redacted-view { overflow-x: auto; }
@media (max-width: 620px) { .kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .kv dd { margin-bottom: 10px; } }
/* Tables marked .table-stack: on phones each row becomes a card and each cell shows its column name (data-label).
   Wider screens keep the table; short cells (.nowrap, .num: amounts, codes, dates) stay on one line and only text columns wrap. */
@media (max-width: 620px) {
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack th, .table-stack td { display: block; width: auto; }
  .table-stack thead { display: none; }
  .table-stack tr { margin: 0 0 12px; padding: 4px 16px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--bg-elev); }
  .table-stack td, .table-stack th, .table-stack td.num, .table-stack th.num { padding: 9px 0; border-bottom: 0; text-align: left; white-space: normal; }
  .table-stack td:not(:last-child), .table-stack th:not(:last-child) { border-bottom: 1px solid var(--line-soft); }
  .table-stack td[data-label]::before, .office-rules td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--text-muted); }
  /* 1.2.3 RC2, UX-11: the phone labels come from each cell's data-label (the table headings). */
  .table-stack tbody tr:hover td { background: none; }
  .table-wrap:has(> .table-stack) { overflow: visible; }
  .mk-table:has(> .table-stack) { padding: 0; background: none; }
  .card > .table-wrap:has(> .table-stack) { margin: 0; width: auto; }
}
/* Table cells ignore min-width, so a zero-height 7em block sets the text columns' minimum width. */
@media (min-width: 621px) and (max-width: 900px) { .table-stack td:not(.nowrap):not(.num)::after { content: ""; display: block; width: 7em; height: 0; } .table-stack th { white-space: normal; } .mk-table:has(> .table-stack) { padding-left: 20px; padding-right: 20px; } }
@media (max-width: 733px) { .br-wide { display: none; } }
@media (max-width: 480px) {
  .brand { font-size: 17px; gap: 7px; }
  .brand-symbol { width: 18px; height: 20px; }
  .brand .badge { font-size: 11px; padding: 2px 8px; margin-left: 2px; }
  .office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .office { padding: 22px 18px 18px; }
  .office-code { font-size: 34px; margin-bottom: 16px; }
  .office-name { font-size: 17px; }
  .office-price { font-size: 21px; }
  .office-fee { font-size: 12px; }
  .footer-links a { border-left: 0; padding: 0 14px 0 0; }
}
/* Minimal layout (account deleted, unsubscribed, print views) */
.plain-header { max-width: var(--maxw-narrow); margin: 0 auto; padding: 22px 22px 0; }
body.plain main.container { padding-top: 32px; }
body.plain .site-footer .disclaimer { border-bottom: 0; padding-bottom: 0; }
@media print { .plain-header { padding-top: 0; } }
/* Package data sheets (the package page, the professional's lead view, the preview's structure card): field
   labels wrap, so the value column keeps its width; on phones each label sits above its value. */
.package th:not(.num):not(.nowrap), .redacted-view th:not(.num):not(.nowrap), .package-embed th:not(.num):not(.nowrap) { white-space: normal; }
@media (max-width: 620px) {
  .pkg-jurisdiction .table-wrap > table:not(.table-stack) th, .pkg-jurisdiction .table-wrap > table:not(.table-stack) td,
  .redacted-view table:not(.table-stack) th, .redacted-view table:not(.table-stack) td { display: block; width: auto !important; }
  .pkg-jurisdiction .table-wrap > table:not(.table-stack) th, .redacted-view table:not(.table-stack) th { border-bottom: 0; padding-bottom: 2px; }
}
/* The professional's lead view: its "Data sheet (portal order)" table reads the same way, and long
   values (emails, web addresses) wrap instead of running past the card (1.2.2 RC3, UX-1). */
.data-sheet { width: 100%; }
.data-sheet th { white-space: normal; width: 34%; }
.data-sheet td { overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .data-sheet th, .data-sheet td { display: block; width: auto; }
  .data-sheet th { border-bottom: 0; padding-bottom: 2px; }
}
/* Preview: below 900 px the unlock form follows the whole structure card, so a link to it comes first. */
.unlock-jump { display: none; }
/* Below 900 px the unlock form comes after the long structure card: this button stays in view
   (at the bottom of the screen before its place, under the header after it) until the form. */
@media (max-width: 900px) { .unlock-jump { display: flex; position: sticky; top: 72px; bottom: 12px; z-index: 40; box-shadow: var(--shadow-lift); } }
/* 1.2.3 — the footer's "Showing: Canada · Change" market control: a small line; "Change" opens the list. */
.market-picker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; color: var(--text-secondary); }
.market-picker strong { color: var(--text); font-weight: 600; }
.market-choose { position: relative; display: inline-block; }
.market-choose > summary { cursor: pointer; color: var(--link, #0066cc); list-style: none; display: inline; }
.market-choose > summary::-webkit-details-marker { display: none; }
.market-choose > summary:hover { text-decoration: underline; }
.market-menu { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; max-width: 520px; }
.market-menu p { flex-basis: 100%; margin: 0; }
.market-menu .link-button { color: var(--link, #0066cc); padding: 6px 0; }
.market-menu .link-button[aria-current="true"] { color: var(--text); font-weight: 600; }
/* 1.2.3 — "Why register?" explainer and the questions people ask (home and country pages). */
.explainer { max-width: 760px; margin: 0 auto; }
.explainer p { font-size: 19px; line-height: 1.5; margin: 0 0 18px; }
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; line-height: 1.35; }
.faq details p { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--text-secondary); }
@media (max-width: 620px) { .explainer p { font-size: 17px; } .faq summary { font-size: 17px; } }
/* 1.2.3 — a small "Why?" note after a flag or a requirement: the legal source, one click away. */
.why-inline { display: inline; }
.why-inline > summary { display: inline; cursor: pointer; color: var(--link); list-style: none; }
.why-inline > summary::-webkit-details-marker { display: none; }
.why-inline[open] { display: block; margin-top: 4px; color: var(--text-secondary); }
/* 1.2.3: a long badge in a table cell ("US-licensed attorney required") wraps instead of running past the card. */
.badge.badge-wrap { white-space: normal; text-align: left; }
/* 1.2.3: the preview summary's long headings wrap, so all five columns fit the card on a desktop. */
.table-head-wrap th { white-space: normal; }

/* 1.2.3 RC2, UX-7: step E "office wording you can use instead" wraps on phones */
.custom-suggest-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.custom-suggest-list .custom-suggest { white-space: normal; text-align: left; height: auto; padding-left: 0; padding-right: 0; }

/* 1.2.3 RC2, UX-9: "Buy the package" and the price wrap as two pieces, never a lone dash */
.btn-buy { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 8px; white-space: normal; }
/* 1.2.3 RC2, UX-12: in a package's office card the band moves under the heading on phones */
.package .pkg-jurisdiction .card-header { flex-wrap: wrap; gap: 8px; }
.package .pkg-jurisdiction .card-header .band { white-space: nowrap; }
/* 1.2.3 RC2, UX-10: a printed page shows every FAQ answer */
@media print {
  .faq details > *:not(summary) { display: block !important; }
  .faq details::details-content { content-visibility: visible; display: block; }
}
