/* Mail Exchange 2026-11 redesign (Claude Design export "Mail Exchange redesign").
   Loaded AFTER site.css: it re-points the old tokens (so every existing content page takes the new look) and adds the
   components the redesigned pages use (prefix .x-). Light theme only, as in the design. */
:root, :root[data-theme="dark"] {
  --ink: #0B1220; --ink-2: #334155; --muted: #526072;
  --bg: #FFFFFF; --card: #FFFFFF; --line: #E6EAF0; --line-2: #EEF1F6; --alt: #F5F7FB;
  --night: #0B1220; --night-2: #0F172A; --on-night: #FFFFFF; --on-night-2: #B4BFD0;
  --accent: #2563EB; --accent-2: #1D4ED8; --accent-ink: #FFFFFF; --accent-soft: #EFF4FF;
  --brand: #2563EB; --brand-ink: #FFFFFF; --logo-ex: #2563EB; --violet: #2563EB; --link: #1D4ED8;
  --hl: #D6E3FF; --sky: #4F8CFF;
  --green: #10B981; --red: #EF4444; --amber: #F59E0B; --blue: #2563EB;
  --radius: 16px; --shadow: 0 1px 2px rgba(11,18,32,.04), 0 18px 40px rgba(11,18,32,.07);
  --band: #F5F7FB; --chip: #F1F5F9; --chip-hi: #EFF4FF;
  --btn-dark-bg: #0B1220; --btn-dark-fg: #FFFFFF;
  --callout-bg: #EFF4FF; --callout-line: #D6E3FF; --callout-green-bg: #ECFDF5; --callout-green-line: #A7F3D0;
  --pill-ok-bg: #EFF4FF; --pill-ok: #1D4ED8; --pill-risky-bg: #FEF3C7; --pill-risky: #92400E;
  --pill-bad-bg: #FEE2E2; --pill-bad: #B91C1C; --pill-unk-bg: #F1F5F9; --pill-unk: #475569;
  --good-bg: #ECFDF5; --good-text: #047857;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
h1, h2, h3, .proof div b { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; }
h3 { letter-spacing: -.015em; font-weight: 700; }
.wrap { max-width: 1200px; }
code, pre, .code, kbd { font-family: var(--mono); }
.theme-toggle { display: none !important; }

/* ---- buttons ---- */
.btn { border-radius: 10px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn-accent, .btn-violet, .btn-green { background: #2563EB; color: #fff; box-shadow: 0 8px 22px rgba(37,99,235,.28); }
.btn-accent:hover, .btn-violet:hover, .btn-green:hover { background: #1D4ED8; }
.btn-violet { box-shadow: none; }
.btn-line, .btn-ghost { background: #fff; color: #0B1220; border: 1px solid #E2E8F0; }
.btn-line:hover, .btn-ghost:hover { border-color: #0B1220; background: #fff; }
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

/* ---- header / mega menu ---- */
.x-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.x-head nav { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; }
.x-logo { display: flex; align-items: center; gap: 10px; color: #0B1220; flex-shrink: 0; }
.x-logo svg { width: 34px; height: 34px; }
.x-logo span { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.035em; white-space: nowrap; }
.x-menu { flex: 1; display: flex; justify-content: center; gap: 2px; }
.x-top { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #334155; font: 500 15px "Inter", sans-serif; cursor: pointer; white-space: nowrap; }
.x-top:hover, .x-top.on, .x-top[aria-expanded="true"] { color: #1D4ED8; }
.x-top[aria-expanded="true"] { background: #EFF4FF; }
.x-top svg { width: 14px; height: 14px; transition: transform .2s ease; }
.x-top[aria-expanded="true"] svg { transform: rotate(180deg); }
.x-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.x-login { color: #0B1220; font-weight: 600; font-size: 15px; padding: 0 12px; line-height: 44px; }
.x-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 10px; background: #2563EB; color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .2s ease, background-color .2s ease; }
.x-cta:hover { background: #1D4ED8; transform: translateY(-2px); }
.x-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #E2E8F0; background: #fff; align-items: center; justify-content: center; cursor: pointer; color: #0B1220; }
.x-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); box-shadow: 0 28px 56px rgba(11,18,32,.12); }
.x-panel-in { max-width: 1200px; margin: 0 auto; padding: 28px 24px 32px; display: flex; gap: 28px; }
.x-groups { flex: 1; min-width: 0; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 8px 28px; }
.x-gt { margin: 0 0 8px 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #526072; }
.x-mi { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 12px; color: #0B1220; transition: background-color .15s ease; }
.x-mi:hover { background: #F5F7FB; }
.x-mi .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: #EFF4FF; display: flex; align-items: center; justify-content: center; }
.x-mi .ic svg { width: 20px; height: 20px; }
.x-mi b { display: block; font-weight: 600; font-size: 15px; }
.x-mi small { display: block; font-size: 13px; line-height: 1.45; color: #526072; }
.x-compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
.x-compact a { padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; color: #0B1220; }
.x-compact a:hover { background: #F5F7FB; color: #1D4ED8; }
.x-feature { width: 300px; flex-shrink: 0; border-radius: 16px; background: #0B1220; color: #fff; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.x-feature .eb { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8EB4FF; }
.x-feature b { font-family: var(--display); font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.x-feature p { margin: 0; font-size: 14px; color: #B4BFD0; line-height: 1.5; }
.x-feature a { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: #8EB4FF; }
.x-mobile { border-top: 1px solid var(--line-2); background: #fff; max-height: calc(100vh - 70px); overflow-y: auto; padding: 8px 24px 24px; }
.x-mobile details { border-bottom: 1px solid var(--line-2); }
.x-mobile summary, .x-mobile > a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 600; font-size: 16px; color: #0B1220; cursor: pointer; list-style: none; }
.x-mobile summary::-webkit-details-marker { display: none; }
.x-mobile details[open] summary svg { transform: rotate(180deg); }
.x-mobile details a { display: block; padding: 9px 0 9px 12px; color: #334155; font-size: 15px; }
.x-mobile .x-mbtns { display: grid; gap: 10px; margin-top: 18px; }
.x-mobile .x-mbtns a { justify-content: center; }
@media (max-width: 1060px) { .x-menu { display: none; } .x-burger { display: flex; } }
@media (min-width: 1061px) { .x-mobile { display: none !important; } }
@media (max-width: 520px) { .x-login { display: none; } .x-cta { padding: 0 14px; font-size: 14px; } .x-logo span { font-size: 19px; } }

/* ---- generic page hero (content pages) in the light style ---- */
.page-hero { background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FB 100%); color: #0B1220; padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line-2); }
.page-hero h1 { color: #0B1220; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.045em; }
.page-hero .sub { color: #475569; font-size: 18px; }
.page-hero .updated { color: #526072; }
.crumbs { color: #526072; } .crumbs a:hover { color: #1D4ED8; }
.hero { background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FB 100%); color: #0B1220; padding-top: 72px; }
.hero h1 { color: #0B1220; } .hero p.sub { color: #475569; } .hero .small { color: #526072; }
.kicker { color: #2563EB; letter-spacing: .1em; }
.section-head h2 { letter-spacing: -.04em; }
.band { background: #F5F7FB; }
.link-arrow, .prose a { color: #1D4ED8; }
.wrap.prose { max-width: 820px; }
.tldr { background: #EFF4FF; border-color: #D6E3FF; }
.sticky-cta .btn { box-shadow: 0 12px 30px rgba(37,99,235,.35); }

/* ---- footer ---- */
footer { background: #0B1220; color: #B4BFD0; }
footer h5 { color: #fff; letter-spacing: .08em; }
footer a:hover { color: #fff; }
footer .x-logo { color: #fff; }

/* ======================= redesigned page components (.x-) ======================= */
.x-sec { padding: clamp(64px, 9vw, 112px) 0; background: #fff; }
.x-sec.alt { background: #F5F7FB; }
.x-sec.night { background: #0B1220; color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.x-sec.tight { padding: clamp(40px, 6vw, 72px) 0; }
.x-eb { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2563EB; }
.x-h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; color: #0B1220; }
.x-h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.04em; color: inherit; }
.x-h1 em, .x-h2 em { font-style: normal; color: #2563EB; background-image: linear-gradient(#D6E3FF, #D6E3FF); background-repeat: no-repeat; background-position: 0 86%; background-size: 100% .3em; }
.night .x-h2 em, .x-dark .x-h2 em { color: #8EB4FF; background-image: linear-gradient(rgba(79,140,255,.32), rgba(79,140,255,.32)); }
.x-lead { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: #475569; max-width: 640px; }
.x-head-c { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); }
.x-head-c .x-lead { margin-left: auto; margin-right: auto; }
.x-head-l { max-width: 760px; margin: 0 0 clamp(36px, 4vw, 48px); }
.x-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.x-btns.c { justify-content: center; }
.x-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 10px; font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.x-btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.x-btn:hover { transform: translateY(-2px); } .x-btn:hover svg { transform: translateX(3px); }
.x-btn.p { background: #2563EB; color: #fff; box-shadow: 0 10px 24px rgba(37,99,235,.28); }
.x-btn.p:hover { background: #1D4ED8; }
.x-btn.s { background: #fff; color: #0B1220; border: 1px solid #E2E8F0; }
.x-btn.s:hover { border-color: #0B1220; }
.x-btn.d { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.22); }
.x-btn.d:hover { border-color: #fff; }
.x-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #1D4ED8; }
.x-link svg { width: 14px; height: 14px; transition: transform .2s ease; } .x-link:hover svg { transform: translateX(3px); }
.x-small { margin: 14px 0 0; font-size: 14px; color: #526072; }
.x-checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.x-checks.col { flex-direction: column; gap: 10px; }
.x-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 500; color: #334155; }
.x-checks li::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%232563EB' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.x-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #EFF4FF; color: #1D4ED8; font-size: 13px; font-weight: 600; margin: 0 0 22px; }
.x-pill.plain { padding: 6px 12px; }
.x-pill i { width: 18px; height: 18px; border-radius: 50%; background: #2563EB; display: grid; place-items: center; }
.x-pill i::after { content: ""; width: 10px; height: 10px; background: no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.x-crumbs { font-size: 13px; color: #526072; margin: 0 0 16px; }
.x-crumbs a:hover { color: #1D4ED8; } .x-crumbs span { margin: 0 6px; opacity: .6; } .x-crumbs b { color: #0B1220; font-weight: 500; }

/* hero */
.x-hero { background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FB 100%); padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.x-hero-g { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.x-hero .x-lead { font-size: 18.5px; max-width: 540px; }
.x-hero.c { text-align: center; } .x-hero.c .x-lead { margin-left: auto; margin-right: auto; } .x-hero.c .x-btns { justify-content: center; }

/* app-style card (hero visuals) */
.x-card { background: #fff; border: 1px solid #E6EAF0; border-radius: 18px; box-shadow: 0 30px 70px rgba(11,18,32,.12), 0 2px 6px rgba(11,18,32,.04); overflow: hidden; }
.x-card-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 16px; border-bottom: 1px solid #EEF1F6; }
.x-card-h b { display: block; font-size: 15.5px; font-weight: 700; }
.x-card-h small { font-size: 13px; color: #526072; }
.x-card-h .ic { width: 38px; height: 38px; border-radius: 10px; background: #EFF4FF; display: grid; place-items: center; flex-shrink: 0; }
.x-card-h .ic svg { width: 20px; height: 20px; }
.x-done { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #ECFDF5; color: #047857; font-size: 12px; font-weight: 700; white-space: nowrap; }
.x-done::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10B981; }
.x-card-b { padding: 18px 22px; }
.x-card-f { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; border-top: 1px solid #EEF1F6; font-size: 13px; color: #526072; }
.x-card-f b { color: #0B1220; }
.x-card-f .k { padding: 9px 14px; border-radius: 8px; background: #0B1220; color: #fff; font-size: 13px; font-weight: 600; }
.x-cap { text-align: center; font-size: 12px; color: #526072; margin: 12px 0 0; }
.x-donut { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; }
.x-donut .ring { position: relative; width: 120px; height: 120px; }
.x-donut .ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.x-donut .ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.x-donut .ring b { font-family: var(--display); font-size: 26px; letter-spacing: -.03em; line-height: 1; }
.x-donut .ring small { font-size: 11px; color: #526072; }
.x-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; }
.x-legend li { display: flex; align-items: center; gap: 10px; color: #334155; }
.x-legend li i { width: 10px; height: 10px; border-radius: 3px; }
.x-legend li b { margin-left: auto; color: #0B1220; font-variant-numeric: tabular-nums; }
.x-rows { display: grid; gap: 8px; margin-top: 18px; }
.x-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #F8FAFC; font-family: var(--mono); font-size: 12.5px; color: #334155; min-width: 0; }
.x-row > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-row small { display: block; font-family: "Inter", sans-serif; font-size: 12px; color: #526072; }
.x-tag { flex-shrink: 0; padding: 3px 8px; border-radius: 6px; font-family: "Inter", sans-serif; font-size: 11.5px; font-weight: 700; background: #EFF4FF; color: #1D4ED8; white-space: nowrap; }
.x-tag.risky { background: #FEF3C7; color: #92400E; } .x-tag.bad { background: #FEE2E2; color: #B91C1C; } .x-tag.unk { background: #F1F5F9; color: #475569; }
.x-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* logo strip */
.x-logos { padding: 28px 0; border-top: 1px solid #EEF1F6; border-bottom: 1px solid #EEF1F6; background: #fff; }
.x-logos .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 36px; }
.x-logos p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #526072; }
.x-wm { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: #475569; }
.x-logos img { height: 26px; width: auto; opacity: .6; filter: grayscale(1); }

/* grids and cards */
.x-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.x-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.x-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.x-box { position: relative; background: #fff; border: 1px solid #E6EAF0; border-radius: 16px; padding: 28px; transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease; min-width: 0; }
a.x-box { display: block; color: inherit; }
a.x-box:hover, .x-box.hov:hover { translate: 0 -4px; box-shadow: 0 18px 40px rgba(11,18,32,.09); }
.alt .x-box { background: #fff; }
.x-box.soft { background: #F5F7FB; border-color: transparent; }
.x-box.dark { background: #0B1220; border-color: #0B1220; color: #fff; }
.x-box.dark p, .x-box.dark li { color: #B4BFD0; }
.x-box h3 { margin: 14px 0 8px; font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.x-box h3.lg { font-size: 23px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.x-box p { margin: 0; font-size: 15px; line-height: 1.6; color: #475569; }
.x-box .n { font-family: var(--mono); font-size: 12.5px; color: #526072; }
.x-box.dark .n { color: #93A1B8; }
.x-box .ic { width: 40px; height: 40px; border-radius: 11px; background: #EFF4FF; display: grid; place-items: center; }
.x-box .ic svg { width: 20px; height: 20px; }
.x-box .top { display: flex; justify-content: space-between; align-items: center; }
.x-box .eb2 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2563EB; margin: 0; }
.x-box.dark .eb2 { color: #8EB4FF; }
.x-box .x-link { margin-top: 20px; }
.x-box.dark .x-link { color: #8EB4FF; }
.x-box .x-checks { margin-top: 18px; }
.x-box.flex { display: flex; flex-direction: column; } .x-box.flex .push { margin-top: auto; padding-top: 20px; }
.x-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.x-chips a, .x-chips span { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid #E2E8F0; font-size: 13px; font-weight: 600; color: #0B1220; transition: border-color .2s ease, color .2s ease; }
.x-chips a:hover { border-color: #2563EB; color: #1D4ED8; }
.x-code { margin: 18px 0 0; padding: 16px 18px; border-radius: 12px; background: #0F172A; border: 1px solid #1E293B; color: #E2E8F0; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.x-code .c { color: #64748B; } .x-code .s { color: #8EB4FF; } .x-code .k { color: #6EE7B7; }
.x-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; margin-top: 28px; }
.x-bar + small { display: block; margin-top: 8px; font-size: 12.5px; color: #526072; }
.x-incl { margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; border: 1px solid #E6EAF0; border-radius: 16px; padding: 22px 28px; }
.x-incl b { font-family: var(--display); font-size: 17px; letter-spacing: -.02em; }
.x-incl .x-checks { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* tables */
.x-table { max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid #E6EAF0; border-radius: 16px; overflow: hidden; }
.x-table .scroll { overflow-x: auto; }
.x-table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.x-table th { text-align: left; font-size: 13px; font-weight: 600; color: #334155; padding: 16px 18px; border-bottom: 1px solid #EEF1F6; }
.x-table td { padding: 16px 18px; border-bottom: 1px solid #EEF1F6; color: #475569; }
.x-table tr:last-child td { border-bottom: 0; }
.x-table td:first-child { color: #0B1220; font-weight: 500; }
.x-table .us { background: #EFF4FF; color: #1D4ED8; font-weight: 700; }
.x-table th.us { background: #2563EB; color: #fff; }
.x-table .yes { color: #047857; font-weight: 600; } .x-table .no { color: #B91C1C; font-weight: 600; }
.x-table .src { padding: 12px 18px; border-top: 1px solid #EEF1F6; font-size: 12.5px; color: #526072; }
.x-table .src a { color: #1D4ED8; }

/* stats band */
.x-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.x-stats div { border-left: 2px solid #2563EB; padding: 4px 0 4px 20px; }
.x-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; }
.x-stats b.blue { color: #4F8CFF; }
.x-stats span { font-size: 14.5px; color: #B4BFD0; }

/* faq */
.x-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.x-faq details { border-top: 1px solid #E6EAF0; }
.x-faq details:last-child { border-bottom: 1px solid #E6EAF0; }
.x-faq summary { cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 16.5px; color: #0B1220; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: #2563EB; font-weight: 500; transition: transform .2s ease; }
.x-faq details[open] summary::after { transform: rotate(45deg); }
.x-faq details p { margin: -6px 0 22px; color: #475569; font-size: 15.5px; line-height: 1.65; max-width: 640px; }
.x-faq .side p { color: #475569; font-size: 15px; margin: 18px 0 0; }
.x-faq .side a:not(.x-link) { color: #1D4ED8; text-decoration: underline; }

/* steps */
.x-steps { list-style: none; margin: 0; padding: 0; }
.x-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid #E6EAF0; }
.x-steps li:last-child { border-bottom: 1px solid #E6EAF0; }
.x-steps li > i { width: 32px; height: 32px; border-radius: 50%; background: #0B1220; color: #fff; font-style: normal; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.x-steps li.hi > i { background: #2563EB; }
.x-steps b { display: block; font-size: 17px; font-weight: 700; margin: 3px 0 4px; }
.x-steps p { margin: 0; color: #475569; font-size: 15px; }
.x-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }

/* dark CTA blocks */
.x-dark { background: #0B1220; color: #fff; border-radius: 24px; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); position: relative; overflow: hidden; }
.x-dark .x-lead { color: #B4BFD0; }
.x-dark .x-small { color: #93A1B8; }
.x-dark .x-eb { color: #8EB4FF; }
.x-dark.c { text-align: center; } .x-dark.c .x-lead { margin-left: auto; margin-right: auto; } .x-dark.c .x-btns { justify-content: center; }
.x-dark .mark { width: 64px; height: 64px; margin: 0 auto 26px; }
.x-dark-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px; align-items: center; }
.x-dark-row .x-btns { margin-top: 0; }
.x-disclose { max-width: 620px; margin: 22px auto 0; font-size: 13px; line-height: 1.55; color: #526072; text-align: center; }

/* hub lists (guides etc.) */
.x-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.x-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid #E2E8F0; background: #fff; font-size: 14px; font-weight: 600; color: #334155; }
.x-tabs a:hover, .x-tabs a.on { border-color: #2563EB; color: #1D4ED8; background: #EFF4FF; }
.x-post .tag { display: inline-block; padding: 3px 9px; border-radius: 6px; background: #EFF4FF; color: #1D4ED8; font-size: 12px; font-weight: 700; }
.x-post h3 { font-size: 18px; line-height: 1.3; }
.x-post .meta { margin-top: 16px; font-size: 13px; color: #526072; }

/* pricing */
.x-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: #EEF1F6; gap: 4px; }
.x-toggle button { border: 0; background: transparent; padding: 9px 16px; border-radius: 9px; font: 600 14px "Inter", sans-serif; color: #334155; cursor: pointer; }
.x-toggle button.on { background: #fff; color: #0B1220; box-shadow: 0 1px 3px rgba(11,18,32,.12); }
.x-toggle em { font-style: normal; color: #047857; font-size: 12px; margin-left: 4px; }
.x-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; }
.x-packs button { border: 1px solid #E2E8F0; background: #fff; border-radius: 10px; padding: 12px 0; font: 600 14px "Inter", sans-serif; color: #0B1220; cursor: pointer; }
.x-packs button.on { border-color: #2563EB; background: #EFF4FF; color: #1D4ED8; box-shadow: 0 0 0 1px #2563EB inset; }
.x-price { font-family: var(--display); font-weight: 800; font-size: 56px; letter-spacing: -.045em; line-height: 1; margin: 26px 0 6px; }
.x-price small { font-size: 16px; font-weight: 600; color: #526072; letter-spacing: 0; font-family: "Inter", sans-serif; }

[x-cloak] { display: none !important; }

@media (max-width: 1000px) {
  .x-hero-g, .x-split, .x-faq, .x-dark-row { grid-template-columns: 1fr; }
  .x-g3, .x-g4, .x-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-incl { grid-template-columns: 1fr; } .x-incl .x-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-packs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .x-g2, .x-g3, .x-g4 { grid-template-columns: 1fr; }
  .x-stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .x-incl .x-checks { grid-template-columns: 1fr; }
  .x-donut { grid-template-columns: 96px 1fr; gap: 16px; } .x-donut .ring, .x-donut .ring svg { width: 96px; height: 96px; }
  .x-card-f { flex-direction: column; align-items: flex-start; }
  .x-btn { height: 50px; padding: 0 20px; }
  .x-btns .x-btn { flex: 1 1 auto; justify-content: center; }
  .x-row { flex-wrap: wrap; } .x-tags { justify-content: flex-start; }
  .x-box { padding: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes xUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .x-hero .x-h1, .x-hero .x-lead, .x-hero .x-btns, .x-hero .x-card { animation: xUp .7s cubic-bezier(.2,.7,.2,1) both; }
  .x-hero .x-lead { animation-delay: .08s; } .x-hero .x-btns { animation-delay: .16s; } .x-hero .x-card { animation-delay: .24s; }
}
@media (max-width: 440px) {
  .x-head nav { gap: 10px; padding: 10px 16px; }
  .x-logo { gap: 8px; } .x-logo svg { width: 28px; height: 28px; } .x-logo span { font-size: 17px; }
  .x-right { gap: 6px; } .x-cta { height: 40px; padding: 0 12px; font-size: 14px; } .x-burger { width: 40px; height: 40px; }
}
.prose :not(pre) > code { overflow-wrap: anywhere; } .prose pre, pre.code { max-width: 100%; overflow-x: auto; }

/* ---- articles: wider column + sticky "On this page" menu (App\Pages\ArticleLayout) ---- */
.wrap.prose.x-wide { max-width: 900px; }
.x-art { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; max-width: 1200px; }
.x-art .x-body { max-width: 860px; margin: 0; }
.x-toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
.x-toc summary { list-style: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #526072; margin: 0 0 10px; cursor: default; }
.x-toc summary::-webkit-details-marker { display: none; }
.x-toc nav { display: flex; flex-direction: column; border-left: 2px solid #E6EAF0; }
.x-toc nav a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: #475569; transition: color .15s, border-color .15s; }
.x-toc nav a:hover { color: #0B1220; }
.x-toc nav a.on { color: #1D4ED8; border-left-color: #2563EB; font-weight: 600; }
.x-body h2[id] { scroll-margin-top: 90px; }
@media (max-width: 999px) {
  .x-art { grid-template-columns: 1fr; gap: 20px; }
  .x-toc { position: static; max-height: none; border: 1px solid #E6EAF0; border-radius: 12px; padding: 12px 16px; background: #F8FAFC; }
  .x-toc summary { margin: 0; cursor: pointer; display: flex; justify-content: space-between; }
  .x-toc summary::after { content: "+"; font-size: 18px; line-height: 1; color: #2563EB; }
  .x-toc details[open] summary { margin-bottom: 10px; } .x-toc details[open] summary::after { content: "\2212"; }
}
.x-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 6px; }
.x-tools a { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: #0B1220; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-tools a:hover { background: #F5F7FB; color: #1D4ED8; }
.x-tools img { width: 22px; height: 22px; border-radius: 5px; object-fit: contain; flex-shrink: 0; }
.x-tools-all { display: inline-block; margin: 10px 0 0 10px; font-size: 14px; font-weight: 600; color: #1D4ED8; }
.x-tl { width: 22px; height: 22px; border-radius: 5px; background: #EFF4FF; color: #1D4ED8; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.x-tm { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid #E6EAF0; font-size: 13px; line-height: 1.6; color: #526072; }
.x-brandpill { gap: 8px; } .x-brandpill img { width: 20px; height: 20px; }
.x-brandic { background: #FFFFFF !important; border: 1px solid #E6EAF0; } .x-brandic img { width: 24px; height: 24px; object-fit: contain; }
.x-mi .x-brandic img { width: 22px; height: 22px; }
.x-bigbrand { display: flex; justify-content: center; margin-bottom: 18px; } .x-bigbrand img { width: 64px; height: 64px; object-fit: contain; }
.x-brandpill { font-size: 14px; padding: 7px 14px 7px 10px; } .x-brandpill img { width: 26px; height: 26px; }
.x-card-h .x-brandic { width: 46px; height: 46px; } .x-card-h .x-brandic img { width: 30px; height: 30px; }

/* ---- article images: hero (meta "image") and in-body figures (.x-fig) ---- */
.x-ph-g { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.x-ph-img { margin: 0; }
.x-ph-img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; border: 1px solid #E6EAF0; box-shadow: 0 24px 60px rgba(11,18,32,.12); background: #F5F7FB; }
@media (max-width: 900px) { .x-ph-g { grid-template-columns: 1fr; } }
.x-fig { margin: 36px 0; }
.x-fig .art { border: 1px solid #E6EAF0; border-radius: 16px; background: #F8FAFC; padding: clamp(16px, 3vw, 28px); overflow-x: auto; }
.x-fig svg { display: block; width: 100%; height: auto; min-width: 520px; font-family: Inter, system-ui, sans-serif; }
.x-fig figcaption { margin-top: 10px; font-size: 13.5px; color: #526072; line-height: 1.5; }
@media (max-width: 640px) { .x-fig svg { min-width: 0; } }
