/* Keep marketing controls light, including in browsers that auto-darken pages. */
:root[data-marketing] { color-scheme: only light; }

/* Axure Global: the one marketing header, mobile drawer and "See it live" modal, used on every public page.
   Markup comes from tools/site-header.js; behaviour from assets/js/site-header.js.
   Nothing here changes layout when the menu opens: the panel is absolutely positioned, weights and paddings never change,
   and scrollbar-gutter keeps the scrollbar's space reserved so locking scroll cannot move the page. */
:root {
  --sh-green: #047857; --sh-green-dark: #065f46; --sh-green-rgb: 4, 120, 87;
  --sh-ink: #1F2A24; --sh-muted: #6B7570; --sh-line: #EEF1EF; --sh-edge: #E8ECEA; --sh-soft: #ECF6F1; --sh-tint: #F5F8F6;
  --sh-h: 72px; --sh-z: 1000;
}
html { scrollbar-gutter: stable; scroll-padding-top: calc(var(--sh-h) + 16px); }
html.sh-locked { overflow: hidden; }
/* The page scrollbar looks the same (8px) on every page, including pages whose stylesheet does not style it, so the header
   sits at the same x everywhere. Matches the scrollbar in apple-design.css. */
html::-webkit-scrollbar { width: 8px; height: 8px; }
html::-webkit-scrollbar-track { background: #fafafa; }
html::-webkit-scrollbar-thumb { background: #e5e5e5; border-radius: 4px; }
html::-webkit-scrollbar-thumb:hover { background: #6b7280; }
@media (max-width: 959px) { :root { --sh-h: 64px; } }

.sh-head, .sh-head *, .sh-drawer, .sh-drawer *, .sh-dm, .sh-dm * { box-sizing: border-box; }
.sh-head, .sh-drawer { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; color: var(--sh-ink); -webkit-font-smoothing: antialiased; }
.sh-head *, .sh-drawer *, .dm-modal * { letter-spacing: normal; }   /* pages set their own tracking on body/spans; the header must look the same everywhere */
.sh-head ul, .sh-drawer ul { list-style: none; margin: 0; padding: 0; }
.sh-head p, .sh-drawer p { margin: 0; }
.sh-head a, .sh-drawer a { text-decoration: none; }
.sh-head button, .sh-drawer button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; }
.sh-head svg, .sh-drawer svg { display: block; flex: none; }

/* ── Header bar ─────────────────────────────────────────────────────────────── */
.sh-head { position: sticky; top: 0; z-index: var(--sh-z); width: 100%; height: var(--sh-h); background: #fff; border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.sh-head.is-scrolled { background: rgba(255, 255, 255, .92); border-bottom-color: var(--sh-line); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
.sh-wrap { position: relative; max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px; }
.sh-inner { display: flex; align-items: center; height: 100%; gap: 16px; }
.sh-logo { display: flex; align-items: center; gap: 10px; flex: none; min-width: 0; color: var(--sh-ink); font-weight: 700; font-size: 17px; white-space: nowrap; }
.sh-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--sh-green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; flex: none; }
.sh-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.sh-list { display: flex; align-items: center; gap: 2px; }
.sh-link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; font-size: 15px; line-height: 1; font-weight: 500; letter-spacing: 0; color: var(--sh-ink); white-space: nowrap; transition: color .15s; }
.sh-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--sh-green); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.sh-link:hover, .sh-link[aria-current="page"], .sh-trigger[aria-expanded="true"] { color: var(--sh-green); }
.sh-link:hover::after, .sh-link[aria-current="page"]::after, .sh-trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.sh-ic { width: 16px; height: 16px; }
.sh-chev { width: 16px; height: 16px; transition: transform .2s ease; }
.sh-trigger[aria-expanded="true"] .sh-chev, .sh-dr-acc[aria-expanded="true"] .sh-chev { transform: rotate(180deg); }
.sh-head a:focus-visible, .sh-head button:focus-visible, .sh-drawer a:focus-visible, .sh-drawer button:focus-visible { outline: 2px solid var(--sh-green); outline-offset: 2px; border-radius: 8px; }

.sh-right { display: flex; align-items: center; gap: 20px; flex: none; }
.sh-signin { font-size: 15px; font-weight: 500; color: var(--sh-green); height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.sh-signin:hover { color: var(--sh-green-dark); text-decoration: underline; text-underline-offset: 4px; }

.sh-apply { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 1.5px solid var(--sh-green); border-radius: 10px; background: var(--sh-green); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 8px rgba(var(--sh-green-rgb), .2); transition: background-color .15s, color .15s, box-shadow .15s, border-color .15s; }
.sh-apply:hover { background: var(--sh-green-dark); border-color: var(--sh-green-dark); color: #fff; }
.sh-apply .sh-arrow { width: 16px; height: 16px; transition: transform .15s ease; }
.sh-apply:hover .sh-arrow { transform: translateX(2px); }
.sh-head .sh-apply:focus-visible { outline: 2px solid var(--sh-green); outline-offset: 3px; border-radius: 10px; }
.sh-t-mid, .sh-t-short { display: none; }
/* /pilot: while the application form is on screen the header button goes quiet */
.sh-head.is-outline .sh-apply { background: transparent; color: var(--sh-green); box-shadow: none; }
.sh-head.is-outline .sh-apply:hover { background: rgba(var(--sh-green-rgb), .08); }

.sh-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; color: var(--sh-ink); }
.sh-burger:hover { background: rgba(var(--sh-green-rgb), .08); }

@media (min-width: 960px) and (max-width: 1099px) { .sh-link { padding: 0 9px; } .sh-link::after { left: 9px; right: 9px; } .sh-right { gap: 14px; } .sh-wrap { padding: 0 20px; } }

/* ── Product mega menu ──────────────────────────────────────────────────────── */
.sh-panel { position: absolute; top: 100%; left: 0; width: 640px; padding: 20px; margin-top: -2px; background: #fff; border: 1px solid var(--sh-edge); border-radius: 14px; box-shadow: 0 12px 32px rgba(16, 24, 20, .08);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s; }
.sh-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }   /* hover bridge between the item and the panel */
.sh-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.sh-cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.sh-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sh-muted); margin: 0 0 8px 8px !important; }
.sh-ml { display: grid; gap: 2px; }
.sh-mi { display: flex; align-items: flex-start; gap: 12px; padding: 8px; border-radius: 10px; color: var(--sh-ink); transition: background-color .15s; }
.sh-mi:hover { background: var(--sh-tint); }
.sh-mi-who { align-items: center; min-height: 48px; }
.sh-ico { width: 32px; height: 32px; border-radius: 8px; background: var(--sh-soft); color: var(--sh-green); display: grid; place-items: center; flex: none; }
.sh-ico svg { width: 18px; height: 18px; }
.sh-ico-sm { width: 28px; height: 28px; }
.sh-ico-sm svg { width: 16px; height: 16px; }
.sh-mi-text { display: block; min-width: 0; }
.sh-mi-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--sh-ink); }
.sh-mi-desc { display: block; font-size: 13px; line-height: 1.4; color: var(--sh-muted); margin-top: 1px; }
.sh-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: #FEF3C7; color: #92400E; font-size: 11px; font-weight: 600; letter-spacing: 0; vertical-align: 1px; }
.sh-all { display: inline-block; margin: 8px 0 0 8px; font-size: 14px; font-weight: 600; color: var(--sh-green); padding: 6px 0; }
.sh-all:hover, .sh-how:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh-foot { display: flex; align-items: center; justify-content: space-between; margin: 20px -20px -20px; padding: 12px 20px; background: var(--sh-tint); border-top: 1px solid var(--sh-line); border-radius: 0 0 14px 14px; }
.sh-live { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--sh-green); }
.sh-live:hover { background: rgba(var(--sh-green-rgb), .08); }
.sh-how { font-size: 14px; font-weight: 600; color: var(--sh-green); padding: 8px 0; }

/* ── Below 960px: Apply + hamburger, drawer from the right ───────────────────── */
@media (max-width: 959px) {
  .sh-wrap { padding: 0 16px; }
  .sh-nav, .sh-signin, .sh-panel { display: none; }
  .sh-right { margin-left: auto; gap: 8px; }
  .sh-burger { display: inline-flex; }
  .sh-t-long { display: none; } .sh-t-mid { display: inline; }
}
@media (max-width: 767px) {
  .sh-logo { font-size: 16px; }
  .sh-mark { width: 30px; height: 30px; }
  .sh-apply { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 999px; }
  .sh-apply .sh-arrow { display: none; }
  .sh-t-mid { display: none; } .sh-t-short { display: inline; }
  /* the pill is 44px tall to tap through its padding: keep the hit area without changing its look */
  .sh-apply { position: relative; } .sh-apply::before { content: ""; position: absolute; inset: -6px -4px; }
}
@media (max-width: 299px) { .sh-apply { display: none; } }   /* too narrow: the drawer carries the button */
@media (max-width: 360px) { .sh-logo-text { font-size: 15px; } .sh-logo { gap: 8px; } }

.sh-backdrop { position: fixed; inset: 0; z-index: calc(var(--sh-z) + 10); background: rgba(16, 24, 20, .42); opacity: 0; transition: opacity .25s ease; }
.sh-backdrop.is-open { opacity: 1; }
.sh-backdrop[hidden] { display: none; }
.sh-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: calc(var(--sh-z) + 20); width: min(88vw, 380px); height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: #fff; box-shadow: -12px 0 32px rgba(16, 24, 20, .12);
  transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.sh-drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.sh-dr-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--sh-line); flex: none; }
.sh-dr-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; }
.sh-dr-close:hover { background: rgba(var(--sh-green-rgb), .08); }
.sh-dr-body { flex: 1 1 auto; overflow-y: auto; padding: 8px 16px; overscroll-behavior: contain; }
.sh-dr-link { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 8px; border-radius: 10px; font-size: 16px; font-weight: 500; color: var(--sh-ink); }
.sh-dr-link span:first-of-type { flex: 1; }
.sh-dr-link:hover, .sh-dr-link[aria-current="page"] { color: var(--sh-green); background: rgba(var(--sh-green-rgb), .06); }
.sh-dr-sec { padding: 4px 0 8px 8px; }
.sh-dr-sec .sh-eyebrow { margin: 10px 0 4px 8px !important; }
.sh-dr-sub { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 8px; border-radius: 10px; font-size: 15px; color: var(--sh-ink); }
.sh-dr-sub:hover { background: var(--sh-tint); color: var(--sh-green); }
.sh-dr-all { color: var(--sh-green); font-weight: 600; }
.sh-dr-extra { margin-top: 8px !important; padding-top: 8px !important; border-top: 1px solid var(--sh-line); }
.sh-dr-foot { flex: none; padding: 16px; border-top: 1px solid var(--sh-line); background: #fff; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.sh-dr-signin { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--sh-green); }
.sh-dr-apply { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; margin-top: 4px; border-radius: 12px; background: var(--sh-green); color: #fff; font-size: 16px; font-weight: 600; box-shadow: 0 2px 8px rgba(var(--sh-green-rgb), .2); }
.sh-dr-apply:hover { background: var(--sh-green-dark); color: #fff; }
.sh-dr-help { margin-top: 10px !important; text-align: center; font-size: 12px; color: var(--sh-muted); }

@media (prefers-reduced-motion: reduce) {
  .sh-panel, .sh-panel.is-open { transform: none; transition: opacity .15s ease, visibility 0s linear .15s; }
  .sh-panel.is-open { transition-delay: 0s; }
  .sh-link::after { transform: scaleX(1); opacity: 0; transition: opacity .15s; }
  .sh-link:hover::after, .sh-link[aria-current="page"]::after, .sh-trigger[aria-expanded="true"]::after { opacity: 1; }
  .sh-chev, .sh-apply .sh-arrow { transition: none; }
  .sh-apply:hover .sh-arrow { transform: none; }
  .sh-drawer, .sh-drawer.is-open { transform: none; opacity: 0; transition: opacity .2s ease, visibility 0s linear .2s; }
  .sh-drawer.is-open { opacity: 1; transition-delay: 0s; }
}

/* ── "See it live" modal (works from every page) ────────────────────────────── */
.dm-modal { position: fixed; inset: 0; z-index: calc(var(--sh-z) + 40); display: none; align-items: flex-end; justify-content: center; padding: 12px; background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; color: var(--text-primary, #1d1d1d); line-height: 1.5; transition: opacity .2s ease; }
.dm-modal.active { display: flex; }
.dm-modal.closing { opacity: 0; }
@media (min-width: 641px) { .dm-modal { align-items: center; } }
.dm-modal *, .dm-modal *::before, .dm-modal *::after { box-sizing: border-box; }
.dm-box { width: 100%; max-width: 1040px; max-height: 90vh; overflow-y: auto; padding: 24px; border-radius: 20px 20px 0 0; background: var(--bg-primary, #fff); animation: dm-up .3s ease-out both; }
.dm-box:focus { outline: none; }
@media (min-width: 641px) { .dm-box { border-radius: 24px; padding: 32px; } }
.dm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.dm-head h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--text-primary, #1d1d1d); }
.dm-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: var(--text-tertiary, #6b7280); border-radius: 10px; }
.dm-close:hover { background: rgba(0, 0, 0, .05); }
.dm-label { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg-tertiary, #f5f5f5); border: 1px solid var(--border, #e5e5e5); font-size: 13px; color: var(--text-secondary, #666); line-height: 1.4; }
.dm-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--border, #e5e5e5); overflow-x: auto; }
.dm-tab { min-height: 44px; padding: 10px 12px; background: none; border: 0; border-bottom: 2px solid transparent; font: 500 15px/1.2 inherit; font-family: inherit; color: var(--text-tertiary, #6b7280); cursor: pointer; white-space: nowrap; transition: color .15s, border-color .15s; }
.dm-tab.active { color: var(--sh-green); border-bottom-color: var(--sh-green); }
.dm-panel { display: none; }
.dm-panel.active { display: block; }
.dm-item { margin-bottom: 16px; padding: 12px; background: var(--bg-secondary, #fafafa); border-radius: 12px; }
.dm-item h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--text-primary, #1d1d1d); }
.dm-item .ic { width: 18px; height: 18px; color: var(--sh-green); flex: none; }
.dm-item ul { list-style: none; margin: 0; padding: 0; }
.dm-item li { position: relative; padding: 4px 0 4px 20px; font-size: 14px; }
.dm-item li::before { content: "✓"; position: absolute; left: 0; color: var(--sh-green); font-weight: 600; }
.dm-soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: #fef3c7; color: #92400e; font-style: normal; font-size: 11px; font-weight: 600; vertical-align: 1px; }
.dm-modal a:focus-visible, .dm-modal button:focus-visible { outline: 2px solid var(--sh-green); outline-offset: 2px; }
@keyframes dm-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dm-box { animation: none; } .dm-modal { transition: none; } }
@media print { .sh-head, .sh-drawer, .sh-backdrop, .dm-modal { display: none; } }
