/* ion-site-layer.css (Nov 26 2026): our sitewide layer. (A) the one compact cookie card + Storage preferences (logic stays Codex's,
   ion-site-layer.js). (B) header + app bar: no Instagram / Book bar, no profile icon, hamburger far right. */
.ion-ck-under { display: none !important; }
.ion-ck-lock, .ion-ck-lock body { overflow: hidden !important; }
.ion-ck, .ion-ck *, .ion-ck-prefs-wrap, .ion-ck-prefs-wrap * { box-sizing: border-box; }
.ion-ck [hidden], .ion-ck-prefs-wrap [hidden] { display: none !important; }

/* card: light by default; .ion-ck-dark on dark pages; always light over the white sign-in page */
.ion-ck { position: fixed; z-index: 2147482500; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); margin: 0; padding: 12px 12px 10px 16px;
  border: 1px solid #d6dae3; border-radius: 20px; background: #fff; color: #0b0d14; box-shadow: 0 10px 34px rgba(11, 13, 20, .16);
  font: 400 13px/1.45 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left; letter-spacing: 0; }
.ion-ck .ion-ck-text { margin: 0 0 8px; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; text-align: inherit; max-width: none; }
.ion-ck-text strong { font-weight: 600; }
.ion-ck a { color: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ion-ck-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.ion-ck-manage, .ion-ck-ok { min-height: 40px; margin: 0; padding: 0 14px; border-radius: 999px; font: 600 14px/1.1 Inter, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.ion-ck-manage { border: 0; background: transparent; color: inherit; }
.ion-ck-manage:hover { background: rgba(11, 13, 20, .06); }
.ion-ck-ok { min-width: 92px; border: 1px solid #0b0d14; background: #0b0d14; color: #fff; }
.ion-ck-ok:hover { background: #272b37; }
.ion-ck a:focus-visible, .ion-ck button:focus-visible { outline: 3px solid #2f6bff; outline-offset: 2px; }
.ion-ck.ion-ck-dark { border-color: rgba(255, 255, 255, .16); background: #12141d; color: #eef0f6; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.ion-ck-dark .ion-ck-manage:hover { background: rgba(255, 255, 255, .08); }
.ion-ck-dark .ion-ck-ok { border-color: #fff; background: #fff; color: #0b0d14; }
.ion-ck-dark .ion-ck-ok:hover { background: #e4e7ee; }
.ion-ck-dark a:focus-visible, .ion-ck-dark button:focus-visible { outline-color: #7d8eff; }
html.ion-si-active .ion-ck.ion-ck-dark { border-color: #d6dae3; background: #fff; color: #0b0d14; box-shadow: 0 10px 34px rgba(11, 13, 20, .16); }
html.ion-si-active .ion-ck-dark .ion-ck-ok { border-color: #0b0d14; background: #0b0d14; color: #fff; }
html.ion-si-active .ion-ck-dark .ion-ck-manage:hover { background: rgba(11, 13, 20, .06); }
@media (min-width: 768px) {
  .ion-ck { left: 24px; right: auto; bottom: 24px; display: flex; align-items: center; gap: 16px; width: auto; max-width: min(860px, calc(100vw - 48px)); padding: 10px 10px 10px 20px; border-radius: 20px; }
  .ion-ck .ion-ck-text { flex: 1 1 auto; margin: 0; }
  .ion-ck-actions { flex: none; }
}

/* Storage preferences: white modal, ~560px on desktop */
.ion-ck-prefs-wrap { position: fixed; inset: 0; z-index: 2147482600; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ion-ck-scrim { position: absolute; inset: 0; background: rgba(11, 13, 20, .5); }
.ion-ck-prefs.ion-ck-prefs { position: relative; display: flex; flex-direction: column; width: min(560px, 100%); max-height: min(760px, calc(100vh - 32px)); max-height: min(760px, calc(100dvh - 32px));
  margin: 0; padding: 0; border: 0; overflow: hidden; border-radius: 28px; background: #fff; color: #0b0d14; box-shadow: 0 24px 70px rgba(11, 13, 20, .3);
  font: 400 15px/1.55 Inter, system-ui, sans-serif; text-align: left; color-scheme: light; }
.ion-ck-prefs h2 { margin: 0; padding: 26px 26px 14px; color: #0b0d14; font: 600 23px/1.2 "Inter Tight", Inter, sans-serif; letter-spacing: -.02em; outline: none; }
.ion-ck-prefs-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 26px 8px; }
.ion-ck-prefs .ion-ck-prefs-intro { margin: 0 0 6px; color: #565e6e; font: inherit; }
.ion-ck-prefs a { color: #0b0d14; text-decoration: underline; text-underline-offset: 3px; }
.ion-ck-cat { padding: 20px 0 14px; border-top: 1px solid #e9ecf1; }
.ion-ck-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ion-ck-cat h3 { margin: 0; color: #0b0d14; font: 600 17px/1.3 Inter, sans-serif; }
.ion-ck-prefs .ion-ck-cat p { margin: 6px 0 4px; color: #565e6e; font: inherit; }
.ion-ck-disc { min-height: 40px; padding: 0; border: 0; background: none; color: #0b0d14; font: 600 14px/1 Inter, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ion-ck-prefs .ion-ck-disc-list { margin: 2px 0 6px; padding: 12px 16px 12px 32px; border-radius: 14px; background: #f3f4f7; color: #3a4150; font-size: 14px; line-height: 1.55; }
.ion-ck-prefs .ion-ck-disc-list li + li { margin-top: 6px; }
.ion-ck-toggle { position: relative; display: inline-block; flex: none; width: 52px; height: 32px; }
.ion-ck-toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.ion-ck-toggle input[disabled] { cursor: not-allowed; }
.ion-ck-toggle span { position: absolute; inset: 0; border-radius: 999px; background: #7d8596; transition: background-color .15s ease; }
.ion-ck-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s ease; }
.ion-ck-toggle input:checked + span { background: #2f6bff; }
.ion-ck-toggle input:checked + span::after { transform: translateX(20px); }
.ion-ck-toggle input[disabled] + span { opacity: .55; }
.ion-ck-toggle input:focus-visible + span { outline: 3px solid #2f6bff; outline-offset: 3px; }
.ion-ck-prefs-foot { padding: 16px 26px 24px; border-top: 1px solid #e9ecf1; }
.ion-ck-save { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 0; border: 1px solid #0b0d14; border-radius: 999px; background: #0b0d14; color: #fff; font: 600 16px/1.2 Inter, sans-serif; cursor: pointer; }
.ion-ck-save:hover { background: #272b37; }
.ion-ck-prefs button:focus-visible, .ion-ck-prefs a:focus-visible, .ion-ck-prefs-body:focus-visible { outline: 3px solid #2f6bff; outline-offset: 3px; }
@media (max-width: 420px) { .ion-ck-prefs h2 { padding: 22px 20px 12px; } .ion-ck-prefs-body { padding: 0 20px 8px; } .ion-ck-prefs-foot { padding: 14px 20px 20px; } }
@media (prefers-reduced-motion: reduce) { .ion-ck-toggle span, .ion-ck-toggle span::after { transition: none; } }

/* (B) header + app bar. Codex's markup stays; we only hide and re-order. */
/* homepage phone app bar (Instagram + "Book a Free Consultation"): gone, and nothing that made room for it */
@media (max-width: 680px) {
  body[data-ion-section="main"] .appbar { display: none !important; }
  body[data-ion-section="main"] .foot-band { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
}
/* homepage only (html.ion-home-nochat, set by ion-site-layer.js on / with body[data-ion-section=main]): no AI chat agent */
html.ion-home-nochat .chat-fab, html.ion-home-nochat .chat-panel, html.ion-home-nochat #chatFab, html.ion-home-nochat #chatPanel { display: none !important; }
/* no profile icon anywhere; its job moves to a "Log in" / "My workspace" link */
body[data-ion-section] .ion-account-icon { display: none !important; }
body[data-ion-section] .ion-header-actions .ion-layer-login { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 2px; color: inherit;
  font: 500 13px/20px Inter, sans-serif; text-decoration: none; white-space: nowrap; opacity: .86; }
body[data-ion-section] .ion-header-actions .ion-layer-login:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
body[data-ion-section] .ion-header-actions .ion-layer-login:focus-visible { outline: 2px solid #2f6bff; outline-offset: 2px; border-radius: 4px; }
@media (min-width: 1101px) { .ion-layer-mlogin, .ion-layer-portal { display: none !important; } }
/* phone + tablet (Codex's header collapses at 1100px): logo left, blue button, hamburger in the far right corner */
@media (max-width: 1100px) {
  body[data-ion-section] .ion-header-actions .ion-layer-login { display: none; }
  body[data-ion-section="main"] .nav > div:last-child .nav-burger { order: 9; margin-left: 0; margin-right: -6px; }
  body[data-ion-section="vision"] header.nav .ion-header-actions { grid-column: 2; order: 2; }
  body[data-ion-section="vision"] header.nav .nav-burger { grid-column: 3; order: 3; margin-left: 0; margin-right: -6px; }
}

/* (C) phone menu (Christian, Nov 26, v17): full-screen off-white panel under the header, big dark rows, Build / Log in pills at the
   bottom, small client-portal link. Codex's menus stay theirs (#mmenu on the homepage, header.nav .nav-links on Vision pages); we only
   restyle and re-order (CSS order) and ion-site-layer.js sets html.ion-mm-open while one is open. Desktop is unchanged. */
@media (max-width: 1100px) {
  /* iOS-proof lock (ion-site-layer.js): body is pinned with position:fixed at -scrollY and restored on close; the page colour behind the
     panel and under Safari's toolbars is the panel colour, so no dark strip can show at the top or bottom. */
  html.ion-mm-open { overflow: hidden !important; background: #faf9f7 !important; }
  html.ion-mm-open body { background: #faf9f7 !important; }
  /* the header is always on screen while the menu is open, even when the page was scrolled (Codex's Vision header is sticky) */
  html.ion-mm-open body[data-ion-section="vision"] header.nav, html.ion-mm-open body[data-ion-section="main"] .nav, html.ion-mm-open.ion-ins header.nav {
    position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; transform: none !important; translate: none !important; opacity: 1 !important; visibility: visible !important;
    /* Codex's header transitions backdrop-filter (.35s); mid-transition it is still a containing block for our fixed panel, which then
       collapses to the header's height -- the iPhone "glitch". No transitions while open, and no filters at all. */
    transition: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; filter: none !important; will-change: auto !important; contain: none !important; }
  html.ion-mm-open .nav-progress { opacity: 0 !important; }
  @keyframes ion-mm-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  html.ion-mm-open .ion-ck { display: none !important; }
  /* header turns white: dark logo, dark X, no blue button (the pill below is the action) */
  html.ion-mm-open body[data-ion-section="main"] .nav,
  html.ion-mm-open body[data-ion-section="vision"] header.nav { background: #faf9f7 !important; color: #0b0d14 !important; border-bottom: 1px solid #e7e4df !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transform: none !important; filter: none !important; z-index: 2147482300 !important; }
  html.ion-mm-open #vision-save-bar { visibility: hidden !important; }
  html.ion-mm-open body[data-ion-section] .nav .brand, html.ion-mm-open body[data-ion-section] .nav .nav-logo,
  html.ion-mm-open body[data-ion-section] .nav .ion-header-name { color: #0b0d14 !important; }
  html.ion-mm-open body[data-ion-section] .nav .ion-build-cta { visibility: hidden; }
  html.ion-mm-open body[data-ion-section] .nav .nav-burger { color: #0b0d14 !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%230b0d14' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat !important; }
  html.ion-mm-open body[data-ion-section] .nav .nav-burger > span { visibility: hidden !important; }
  /* the panel */
  body[data-ion-section="main"] #mmenu.open,
  body[data-ion-section="vision"] header.nav .nav-links.open {
    position: fixed !important; top: var(--ion-mm-top, calc(45px + env(safe-area-inset-top, 0px))) !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    inset: var(--ion-mm-top, calc(45px + env(safe-area-inset-top, 0px))) 0 0 0 !important; width: auto !important; height: auto !important; max-height: none !important;
    display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; z-index: 2147482300 !important;
    margin: 0 !important; padding: 4px 20px calc(20px + env(safe-area-inset-bottom, 0px)) !important; overflow-y: auto !important; overscroll-behavior: contain;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: #faf9f7 !important; color: #0b0d14 !important;
    transition: none !important; animation: none !important; }
  /* the opaque panel is there from the first frame (no page showing through); only its contents fade + slide in */
  body[data-ion-section="main"] #mmenu.open > a, body[data-ion-section="vision"] header.nav .nav-links.open > a, html.ion-ins .ion-ins-menu.open > a { animation: ion-mm-in .2s cubic-bezier(.2,.7,.2,1) both; }
  body[data-ion-section="main"] #mmenu.open > a,
  body[data-ion-section="vision"] header.nav .nav-links.open > a {
    order: 1; display: flex !important; align-items: center !important; justify-content: flex-start !important; min-height: 66px !important; margin: 0 !important;
    padding: 0 !important; border: 0 !important; border-bottom: 1px solid #e7e4df !important; border-radius: 0 !important; background: transparent !important;
    color: #0b0d14 !important; font: 600 21px/1.2 "Inter Tight", Inter, system-ui, sans-serif !important; letter-spacing: -.01em !important; text-decoration: none !important;
    text-align: left !important; box-shadow: none !important; opacity: 1 !important; }
  /* removed: Book a Free Consultation and the duplicate My Vision (Log in / My workspace covers it) */
  body[data-ion-section="main"] #mmenu.open > a.cta-book,
  body[data-ion-section="main"] #mmenu.open > a[href="/vision/#/workspace"] { display: none !important; }
  /* bottom group */
  html body[data-ion-section] header.nav .nav-links.open > a.ion-mm-build, html body[data-ion-section] #mmenu.open > a.ion-mm-build,
  html body[data-ion-section] header.nav .nav-links.open > a.ion-mm-login, html body[data-ion-section] #mmenu.open > a.ion-mm-login {
    justify-content: center !important; min-height: 52px !important; border-radius: 999px !important; font: 600 16px/1.2 Inter, system-ui, sans-serif !important; letter-spacing: 0 !important; }
  html body[data-ion-section] header.nav .nav-links.open > a.ion-mm-build, html body[data-ion-section] #mmenu.open > a.ion-mm-build {
    order: 10 !important; margin-top: auto !important; padding-top: 0 !important; border: 1px solid #0b0d14 !important; background: #0b0d14 !important; color: #fff !important; }
  html body[data-ion-section] header.nav .nav-links.open > a.ion-mm-build { margin-top: auto !important; }
  html body[data-ion-section] header.nav .nav-links.open > a.ion-mm-login, html body[data-ion-section] #mmenu.open > a.ion-mm-login {
    order: 11 !important; margin-top: 10px !important; border: 1px solid #0b0d14 !important; background: transparent !important; color: #0b0d14 !important; }
  html body[data-ion-section] header.nav .nav-links.open > a.ion-mm-portal, html body[data-ion-section] #mmenu.open > a.ion-mm-portal {
    order: 12 !important; justify-content: center !important; min-height: 44px !important; margin-top: 6px !important; border: 0 !important; background: transparent !important;
    color: #5b6372 !important; font: 500 14px/1.3 Inter, system-ui, sans-serif !important; }
  html body[data-ion-section] header.nav .nav-links.open > a.ion-mm-build::before, html body[data-ion-section] #mmenu.open > a.ion-mm-build::before { content: none !important; }
  body[data-ion-section] #mmenu.open a:focus-visible, body[data-ion-section] .nav-links.open a:focus-visible { outline: 3px solid #2f6bff !important; outline-offset: -3px !important; }
}

/* (D) Insights pages (html.ion-ins, articles html.ion-ins-art; set by ion-site-layer.js on /insights/ only) */
html.ion-ins #stars, html.ion-ins canvas#stars { opacity: .35; }
html.ion-ins header.nav .nav-actions { display: flex; align-items: center; gap: 14px; }
html.ion-ins header.nav .brand { color: #fff; }
html.ion-ins header.nav .brand .ion-ins-mark { width: 28px; height: 28px; flex: none; }
html.ion-ins .ion-ins-login { color: #e5e7ed; font: 500 13px/20px Inter, sans-serif; text-decoration: none; white-space: nowrap; }
html.ion-ins .ion-ins-login:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
html.ion-ins .ion-ins-burger { display: none; }
html.ion-ins .ion-ins-menu { display: none; }
@media (max-width: 980px) {
  html.ion-ins .ion-ins-login { display: none; }
  /* same compact 45px bar as the homepage header: 32px blue button, 40px hamburger, everything centred */
  html.ion-ins header.nav .nav-in { align-items: center !important; }
  html.ion-ins header.nav .nav-actions { height: 45px; align-items: center; gap: 12px; }
  html.ion-ins header.nav .btn-primary { min-height: 32px !important; height: 32px !important; padding: 6px 12px !important; font: 500 13px/20px Inter, sans-serif !important; border-radius: 8px !important; }
  html.ion-ins header.nav .ion-ins-burger { min-height: 0 !important; max-height: 40px; }
  html.ion-ins .ion-ins-burger { display: inline-grid; place-content: center; gap: 4px; width: 40px; height: 40px; margin: 0 -8px 0 0; align-self: center; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
  html.ion-ins .ion-ins-burger span { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor; }
  html.ion-ins .ion-ins-burger:focus-visible { outline: 2px solid #7d8eff; outline-offset: 2px; }
  html.ion-ins .ion-ins-menu.open { position: fixed; inset: var(--ion-mm-top, 45px) 0 0 0; z-index: 2147482300; display: flex; flex-direction: column; margin: 0; padding: 4px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain; background: #faf9f7; color: #0b0d14; }
  html.ion-ins .ion-ins-menu > a { display: flex; align-items: center; min-height: 66px; border-bottom: 1px solid #e7e4df; color: #0b0d14; font: 600 21px/1.2 "Inter Tight", Inter, system-ui, sans-serif; letter-spacing: -.01em; text-decoration: none; }
  html.ion-ins .ion-ins-menu > a.ion-mm-build, html.ion-ins .ion-ins-menu > a.ion-mm-login { justify-content: center; min-height: 52px; border-radius: 999px; font: 600 16px/1.2 Inter, system-ui, sans-serif; letter-spacing: 0; }
  html.ion-ins .ion-ins-menu > a.ion-mm-build { margin-top: auto; border: 1px solid #0b0d14; background: #0b0d14; color: #fff; }
  html.ion-ins .ion-ins-menu > a.ion-mm-login { margin-top: 10px; border: 1px solid #0b0d14; background: transparent; }
  html.ion-ins .ion-ins-menu > a.ion-mm-portal { justify-content: center; min-height: 44px; margin-top: 6px; border: 0; color: #5b6372; font: 500 14px/1.3 Inter, system-ui, sans-serif; }
  html.ion-ins .ion-ins-menu a:focus-visible { outline: 3px solid #2f6bff; outline-offset: -3px; }
  html.ion-ins.ion-mm-open header.nav { background: #faf9f7 !important; border-bottom: 1px solid #e7e4df !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; z-index: 2147482400 !important; }
  html.ion-ins.ion-mm-open header.nav .brand, html.ion-ins.ion-mm-open header.nav .brand * { color: #0b0d14 !important; }
  html.ion-ins.ion-mm-open header.nav .btn-primary { visibility: hidden; }
  html.ion-ins.ion-mm-open .ion-ins-burger { color: #0b0d14;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%230b0d14' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat; }
  html.ion-ins.ion-mm-open .ion-ins-burger span { visibility: hidden; }
  html.ion-ins .hub-hero { min-height: auto !important; padding: 88px 0 40px !important; }
  html.ion-ins .eyebrow { letter-spacing: .08em !important; font-size: 10.5px !important; flex-wrap: wrap; row-gap: 4px; line-height: 1.5; }
}
/* article: readable type everywhere */
html.ion-ins-art .art-body p { color: #c9cedb !important; font-size: 18px !important; line-height: 1.7 !important; max-width: 68ch !important; }
html.ion-ins-art .art-body li { color: #c9cedb !important; font-size: 17px !important; line-height: 1.65 !important; }
html.ion-ins-art .art-hero .dek { color: #c9cedb !important; }
html.ion-ins-art .sbox ol a { color: #c9cedb; }
html.ion-ins-art .ion-ins-toc-btn { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: default; }
html.ion-ins-art .showcase, html.ion-ins-art .art-body img, html.ion-ins-art .art-body figure { max-width: 100%; }
/* desktop: article column ~700px + sticky ~300px sidebar */
@media (min-width: 901px) {
  html.ion-ins-art .art { display: grid !important; grid-template-columns: minmax(0, 700px) clamp(260px, 24vw, 300px) !important; justify-content: center !important; gap: clamp(36px, 5vw, 80px) !important; align-items: start !important; }
  html.ion-ins-art .art-body { max-width: 700px !important; min-width: 0; }
  html.ion-ins-art .side { position: static !important; }
  html.ion-ins-art .ion-ins-toc-btn { pointer-events: none; }
}
/* sticky sidebar only where all three boxes fit on screen; the page's body{overflow-x:hidden} would make sticky a no-op, clip does not */
@media (min-width: 901px) and (min-height: 860px) {
  html.ion-ins-art, html.ion-ins-art body { overflow-x: clip !important; }
  html.ion-ins-art .side { position: sticky !important; top: 70px !important; align-self: start; }
}
/* phones and small tablets: one column -- header, hero image, collapsible "In this article", body, then snapshot and CTA */
@media (max-width: 900px) {
  html.ion-ins-art .art { display: flex !important; flex-direction: column !important; gap: 22px !important; grid-template-columns: none !important; }
  html.ion-ins-art .side { display: contents !important; }
  html.ion-ins-art .art-body { order: 2; width: 100% !important; max-width: none !important; min-width: 0; }
  html.ion-ins-art .sbox.ion-ins-toc { order: 1; }
  html.ion-ins-art .sbox.ion-ins-snap { order: 3; }
  html.ion-ins-art .sbox.ion-ins-cta { order: 4; }
  html.ion-ins-art .sbox { width: 100%; }
  html.ion-ins-art .sbox.ion-ins-toc:not(.open) ol { display: none !important; }
  html.ion-ins-art .sbox.ion-ins-toc h4 { margin: 0 !important; }
  html.ion-ins-art .sbox.ion-ins-toc.open h4 { margin: 0 0 12px !important; }
  html.ion-ins-art .ion-ins-toc-btn { display: flex; align-items: center; justify-content: space-between; min-height: 32px; cursor: pointer; }
  html.ion-ins-art .ion-ins-toc-btn::after { content: "+"; font: 500 20px/1 Inter, sans-serif; letter-spacing: 0; color: #c9cedb; }
  html.ion-ins-art .sbox.ion-ins-toc.open .ion-ins-toc-btn::after { content: "\2212"; }
  html.ion-ins-art .art-body p { font-size: 17px !important; line-height: 1.68 !important; max-width: none !important; }
  html.ion-ins-art .art-body li { font-size: 16.5px !important; }
  html.ion-ins-art .art-body h2 { font-size: 26px !important; line-height: 1.2 !important; margin: 44px 0 14px !important; }
  html.ion-ins-art .art-body h3 { font-size: 19px !important; }
  html.ion-ins-art .art-hero { min-height: auto !important; padding: 76px 0 28px !important; }
  html.ion-ins-art .art-hero h1 { font-size: clamp(30px, 8.4vw, 40px) !important; max-width: none !important; line-height: 1.1 !important; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-ion-section="main"] #mmenu.open > a, body[data-ion-section="vision"] header.nav .nav-links.open > a, html.ion-ins .ion-ins-menu.open > a { animation: none !important; }
}
