/* Pinterest-style page heroes: a full-width espresso band and short copy. */
.hero-band { position: relative; isolation: isolate; overflow: hidden; background: var(--espresso-surface) !important; color: var(--on-espresso) !important; border-bottom: 0 !important; }
/* pages.css draws an orbit ::after on every first section; the band replaces it with grain. */
main > section.hero-band::after { display: none !important; }
.hero-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.06; mix-blend-mode: overlay; pointer-events: none; }
.hero-band .radial-glow, .hero-band .bg-grid-faint { display: none; }
.hero-band h1, .hero-band h2 { color: var(--on-espresso) !important; max-width: 640px; }
.hero-band p, .hero-band .text-fg-muted { color: var(--on-espresso-muted) !important; max-width: 520px; }
.hero-band .text-accent, .hero-band .page-eyebrow { color: var(--copper-300) !important; }
.hero-band .container { position: relative; z-index: 1; }

/* The luminous object */
/* Light tiles: short labels instead of paragraphs */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; gap: 10px; min-height: 168px; padding: 22px; border: 1px solid var(--card-line, #e2e0d6); border-radius: 14px; background: var(--card, #fdfdf9); box-shadow: var(--card-shadow); color: var(--ink); transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s; }
a.tile:hover { transform: translateY(-3px); border-color: rgba(167, 109, 59, 0.45); }
.tile-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(160deg, #2a2118, #15100c); color: var(--copper-300, #e2a86e); box-shadow: 0 8px 18px -10px rgba(17, 13, 9, 0.6); }
.tile strong { margin-top: 6px; font: 400 20px/1.2 TitleSerif, Georgia, serif; }
.tile span:not(.tile-icon):not(.tile-stage) { font-size: 14px; line-height: 1.5; color: var(--muted); }
.tile-stage { margin-top: auto; font: 500 11px var(--font-geist-mono), monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper-text, #94602f); }

@media (max-width: 1000px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .tile-grid { grid-template-columns: 1fr; }
}

/* Solutions: band, tiles, then research-grade tasks. */
.products-page:has(> .hero-band)::before { display: none; }
.products-page .hero-band + .products-content { padding-top: 72px; }
.band-heading { margin: 0 0 28px; font: 400 clamp(30px, 3.6vw, 44px)/1.1 TitleSerif, Georgia, serif; letter-spacing: -0.015em; color: var(--ink); }

/* Help: the hero breaks out of the 1040px column into a full-width band; topics become icon cards. */
.help-page > .help-hero.hero-band { max-width: none; margin: -76px calc(50% - 50vw) 64px; padding: 96px calc(50vw - 50%) 88px; }
.hero-band .help-eyebrow { color: var(--copper-300) !important; }
.hero-band h1 { margin-bottom: 14px; }
.hero-band .help-search { max-width: 640px; border: 1px solid var(--espresso-line, rgba(243, 234, 219, 0.18)) !important; border-radius: 12px; background: rgba(243, 234, 219, 0.06) !important; }
.hero-band .help-search svg { color: var(--copper-300); }
.hero-band .help-search input { color: var(--on-espresso) !important; background: transparent !important; box-shadow: none !important; }
.hero-band .help-search input::placeholder { color: var(--on-espresso-muted); }
.help-topics { gap: 14px; border: 0 !important; }
.help-topic { display: flex; flex-direction: column; border: 1px solid var(--card-line) !important; border-radius: 14px; background: var(--card); box-shadow: var(--card-shadow); }
.help-topic:hover { background: var(--card); border-color: rgba(167, 109, 59, 0.45) !important; }
.help-topic h3 { margin: 18px 0 8px; }
@media (max-width: 700px) {
  .help-page > .help-hero.hero-band { margin-top: -44px; padding-top: 64px; padding-bottom: 56px; }
}

/* Careers: open roles as link cards, each leading to its own role page. */
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.role-card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px; border: 1px solid var(--card-line); border-radius: 16px; background: var(--card); box-shadow: var(--card-shadow); color: var(--ink); text-decoration: none; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s; }
.role-card:hover { transform: translateY(-3px); border-color: rgba(167, 109, 59, 0.45); }
.role-card:focus-visible { outline: 2px solid var(--copper-500); outline-offset: 3px; }
.role-tag, .role-foot { font: 500 11px/1.4 var(--font-geist-mono), monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper-text); }
.role-card strong { font: 400 clamp(26px, 2.6vw, 32px)/1.15 TitleSerif, Georgia, serif; }
.role-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.6; color: var(--muted); }
.role-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--card-line); color: var(--muted); }
.role-cta { color: var(--ink); transition: color 0.25s; }
.role-card:hover .role-cta { color: var(--copper-text); }

/* Role page: one compact card; Start application moves it left and opens the form on the right. */
.role-page { padding: 40px 0 96px; }
.role-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; width: min(calc(100% - 32px), 760px); margin: 0 auto; scroll-margin-top: 80px; }
.role-layout.is-applying { width: min(calc(100% - 32px), 1180px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.role-form { display: none; }
.role-layout.is-applying .role-form { display: block; animation: role-form-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.role-layout.is-applying .role-bar { display: none; }
@keyframes role-form-in { from { opacity: 0; transform: translateX(32px); } }
.role-sheet { align-self: start; padding: 26px 32px 0; border: 1px solid var(--card-line); border-radius: 16px; background: var(--card); box-shadow: var(--card-shadow); }
.role-back { display: inline-flex; gap: 6px; font-size: 13px; color: var(--muted); text-decoration: none; }
.role-back:hover { color: var(--copper-text); }
main.role-page .role-sheet h1 { margin: 0; font: 400 30px/1.2 TitleSerif, Georgia, serif !important; letter-spacing: -0.01em !important; color: var(--ink); }
.role-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.role-tags li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--card-line); border-radius: 6px; background: var(--page); font-size: 12.5px; line-height: 1.2; color: var(--ink); }
.role-tags li:first-child { border-color: rgba(167, 109, 59, 0.35); background: rgba(167, 109, 59, 0.08); color: var(--copper-text); }
.role-tags svg { color: var(--copper-text); }
/* Card top: the espresso band with a domain tile, icon tags and the first call to action. */
.role-top { position: relative; isolation: isolate; overflow: hidden; margin: -26px -32px 0; padding: 22px 32px 26px; border-radius: 16px 16px 0 0; background: var(--espresso-surface); color: var(--on-espresso); }
.role-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.07; mix-blend-mode: overlay; }
.role-top::after { content: ""; position: absolute; right: -80px; top: -120px; z-index: -1; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 168, 110, 0.28), transparent 65%); }
.role-top .role-back { color: var(--on-espresso-muted); }
.role-top .role-back:hover { color: var(--copper-300); }
.role-title { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.role-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border: 1px solid rgba(226, 168, 110, 0.45); border-radius: 14px; background: linear-gradient(160deg, #3a2a1d, #1a130e); color: var(--copper-300); box-shadow: 0 0 24px -6px rgba(226, 168, 110, 0.55), inset 0 1px 0 rgba(255, 236, 210, 0.12); }
.role-sheet .role-top .role-kicker { margin: 0 0 2px; font: 500 11px/1.3 var(--font-geist-mono), monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-300); }
main.role-page .role-top h1 { margin: 0; color: var(--on-espresso) !important; }
.role-top .role-tags { margin-top: 18px; }
.role-top .role-tags li { border-color: rgba(243, 234, 219, 0.14); background: rgba(243, 234, 219, 0.06); color: var(--on-espresso); }
.role-top .role-tags svg { color: var(--copper-300); }
.role-cta-row { display: flex; align-items: center; gap: 14px; margin-top: 20px; font-size: 13px; color: var(--on-espresso-muted); }
.role-cta-row .role-start-top { width: auto; min-height: 42px; padding: 0 18px; background: var(--copper-300); color: var(--espresso-950); box-shadow: 0 10px 24px -12px rgba(226, 168, 110, 0.8); }
.role-cta-row .role-start-top:hover { background: #ecbd8c; }
.role-layout.is-applying .role-cta-row { display: none; }
main.role-page .role-sheet h2 { display: flex; align-items: center; gap: 8px; }
.role-h-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(167, 109, 59, 0.12); color: var(--copper-text); }
.role-sheet section { margin-top: 24px; }
main.role-page .role-sheet h2 { margin: 0 0 8px; font-family: inherit !important; font-size: 16px !important; font-weight: 600; line-height: 1.35 !important; letter-spacing: 0 !important; color: var(--ink); }
.role-sheet p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.role-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.role-list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.role-list li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--copper-400); }
.role-steps { counter-reset: step; }
.role-steps li { counter-increment: step; padding-left: 26px; }
.role-steps li::before { content: counter(step); top: 0.15em; width: 18px; height: 18px; border-radius: 5px; background: rgba(167, 109, 59, 0.12); font: 600 11px/18px var(--font-geist-mono), monospace; text-align: center; color: var(--copper-text); }
.role-bar { position: sticky; bottom: 0; margin: 26px -32px 0; padding: 14px 32px 18px; border-top: 1px solid var(--card-line); border-radius: 0 0 16px 16px; background: var(--card); }
/* The pinned bar appears only once the header button has scrolled away (site.js). */
.role-bar { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
.role-bar.is-shown { opacity: 1; visibility: visible; transform: none; }
.role-start { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; border: 0; border-radius: 10px; background: var(--espresso-900); color: var(--on-espresso); font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1; cursor: pointer; transition: background 0.25s; }
.role-start:hover { background: var(--copper-500); }
html[data-theme="dark"] .role-start { background: var(--copper-300); color: var(--espresso-950); }
.role-form { scroll-margin-top: 84px; position: sticky; top: 92px; align-self: start; padding: 26px; border: 1px solid var(--card-line); border-radius: 18px; background: var(--card); box-shadow: 0 30px 60px -36px rgba(17, 13, 9, 0.45); }
.role-form-eyebrow { margin: 0; font: 500 11px var(--font-geist-mono), monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-text); }
main.role-page .role-form h2 { margin: 4px 0 18px; font: 400 24px/1.2 TitleSerif, Georgia, serif !important; color: var(--ink); }
.role-form .apply-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.role-form .apply-section, .role-form .apply-wide, .role-form .form-actions, .role-form .form-status { grid-column: 1 / -1; }
.role-form .apply-field { display: grid; gap: 6px; }
.role-form .apply-field label { font: 500 11px var(--font-geist-mono), monospace; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.role-form .apply-field:has(select[name="heardFrom"]) { grid-column: 1 / -1; }
.role-form select { min-height: 44px; padding: 0 12px; border: 1px solid var(--c-field-line); border-radius: 8px; background: var(--c-field); color: var(--ink); font: inherit; font-size: 15px; }
.role-form select:focus { outline: none; border-color: var(--c-copper); box-shadow: 0 0 0 3px var(--c-ring); }
.role-form textarea { min-height: 110px; }
.role-form .form-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--rule); }
@media (max-width: 1000px) {
  .role-grid { grid-template-columns: 1fr; }
  .role-layout.is-applying { grid-template-columns: minmax(0, 1fr); }
  .role-form { position: static; }
}
@media (max-width: 560px) {
  .role-form { padding: 20px; }
  .role-sheet { padding: 22px 20px 0; }
  .role-top { margin: -22px -20px 0; padding: 20px 20px 22px; }
  .role-title { gap: 12px; }
  .role-icon { width: 44px; height: 44px; }
  .role-bar { margin: 22px -20px 0; padding: 12px 20px 16px; }
  .role-form .apply-form { grid-template-columns: 1fr; }
  .role-form .form-actions { flex-wrap: wrap; }
  .role-form .apply-privacy { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .role-layout.is-applying .role-form { animation: none; }
  .role-card, .role-start { transition: none; }
}

/* Solutions: how a research task is built, then the domains it spans. */
.research { margin-top: 96px; }
.task-anatomy { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 8px 0 0; padding: 40px 34px; list-style: none; border-radius: 18px; background: var(--espresso-surface); color: var(--on-espresso); box-shadow: 0 34px 70px -38px rgba(17, 13, 9, 0.75); counter-reset: none; }
.task-anatomy::before { content: ""; position: absolute; left: 60px; right: calc((100% - 68px) / 4 + 13px); top: 61px; height: 1px; background: linear-gradient(90deg, var(--copper-300), rgba(226, 168, 110, 0.25)); }
.task-anatomy li { position: relative; display: grid; gap: 8px; padding-right: 22px; }
.ta-num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border: 1px solid var(--copper-300); border-radius: 12px; background: #1b140f; font: 500 13px var(--font-geist-mono), monospace; color: var(--copper-300); box-shadow: 0 0 22px -6px rgba(226, 168, 110, 0.6); }
.task-anatomy strong { font: 400 22px/1.2 TitleSerif, Georgia, serif; color: var(--on-espresso); }
.task-anatomy li > span:last-child { font-size: 14px; line-height: 1.55; color: var(--on-espresso-muted); }
.research-note { margin: 22px 0 0; font: 400 20px/1.4 TitleSerif, Georgia, serif; color: var(--ink); }
.domain-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.domain-grid li { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--card-line); border-radius: 12px; background: var(--card); font-size: 15px; color: var(--ink); }
.domain-grid .tile-icon { width: 36px; height: 36px; border-radius: 9px; }
.domain-grid .tile-icon svg { width: 18px; height: 18px; }
@media (max-width: 1000px) {
  .task-anatomy { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
  .task-anatomy::before { left: 44px; right: auto; top: 50px; bottom: 50px; width: 1px; height: auto; background: linear-gradient(180deg, var(--copper-300), rgba(226, 168, 110, 0.25)); }
  .task-anatomy li { grid-template-columns: 42px 1fr; column-gap: 16px; row-gap: 4px; padding: 0; }
  .ta-num { grid-row: span 2; margin: 0; }
  .domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Footer: an espresso close with a short call to action, the links, and a pixel courier delivering good data. */
.site-footer { position: relative; overflow: hidden; background: var(--espresso-surface) !important; color: var(--on-espresso); border-top: 1px solid var(--espresso-line, rgba(243, 234, 219, 0.12)) !important; }
.footer-cta { display: flex; align-items: end; justify-content: space-between; gap: 32px; max-width: 1136px; margin: 0 auto; padding: 80px 32px 56px; border-bottom: 1px solid rgba(243, 234, 219, 0.12); }
.footer-eyebrow { margin: 0 0 12px; font: 500 11px var(--font-geist-mono), monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-300); }
.footer-cta h2 { margin: 0; font: 400 clamp(30px, 3.6vw, 46px)/1.1 TitleSerif, Georgia, serif; color: var(--on-espresso); }
.footer-cta h2 + p { margin: 12px 0 0; font-size: 16px; color: var(--on-espresso-muted); }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.footer-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--copper-300); border-radius: 10px; background: var(--copper-300); color: var(--espresso-950) !important; font-size: 15px; font-weight: 500; text-decoration: none; transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.footer-btn:hover { background: #ecbd8c; transform: translateY(-1px); }
.footer-btn-ghost { background: transparent; border-color: rgba(243, 234, 219, 0.25); color: var(--on-espresso) !important; }
.footer-btn-ghost:hover { background: rgba(243, 234, 219, 0.06); border-color: var(--copper-300); }
.site-footer .footer-btn.li-link .li-icon { color: var(--copper-300); }
.site-footer .footer-btn.li-link:hover span { color: var(--on-espresso); }
.site-footer .footer-btn.li-link::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 226, 190, 0.35) 50%, transparent 70%); }
.site-footer .brand-wordmark { color: var(--on-espresso) !important; }
.site-footer .footer-links h2 { color: var(--on-espresso) !important; }
.site-footer .footer-links a, .site-footer .footer-links > p { color: var(--on-espresso-muted) !important; }
.site-footer .footer-links a:hover { color: var(--copper-300) !important; }
/* The list link keeps a little room so the rounded shine clip never cuts the icon. */
.site-footer .footer-links .li-link { padding: 2px 4px 2px 2px; margin: -2px -4px -2px -2px; }
.site-footer .footer-links .li-icon { color: var(--copper-300); }
.site-footer .footer-inner { padding-bottom: 28px; }
.home-v2 + .site-footer .footer-cta { display: none; }
@media (max-width: 760px) {
  .footer-cta { flex-direction: column; align-items: start; padding: 56px 16px 40px; }
  .footer-actions { width: 100%; }
  .footer-btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .footer-btn { transition: none; }
}

/* Footer scene (data-run.js): a courier collects good data blocks and hands them to a teammate. */
.data-run { position: relative; height: 270px; margin-top: 8px; overflow: hidden; transition: opacity 0.45s; }
.data-run.is-fading { opacity: 0; }
.dr-world { position: absolute; left: 0; bottom: 0; height: 270px; transform-origin: 0 100%; }
.dr-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; border-top: 2px solid rgba(226, 168, 110, 0.75); background: linear-gradient(180deg, rgba(226, 168, 110, 0.16), transparent 10px), repeating-linear-gradient(90deg, rgba(243, 234, 219, 0.06) 0 1px, transparent 1px 48px), linear-gradient(180deg, #241a12, #160f0b); box-shadow: 0 -10px 30px -12px rgba(226, 168, 110, 0.45); }
.dr-actor { position: absolute; left: 0; bottom: 19px; width: 94px; height: 129px; will-change: transform; }
.dr-svg { display: block; width: 94px; height: 129px; overflow: visible; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35)); }
.dr-mate .dr-svg { transform: scaleX(-1); }
.dr-shadow { position: absolute; left: 0; bottom: 24px; width: 56px; height: 11px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); will-change: transform; }
.dr-block { position: absolute; display: block; }
.dr-block svg { display: block; width: 100%; height: 100%; }
.dr-block.is-good { bottom: 182px; width: 46px; height: 46px; filter: drop-shadow(0 0 14px rgba(226, 168, 110, 0.55)); }
.dr-block .dr-used, .dr-block.is-hit .dr-fresh { display: none; }
.dr-block.is-hit .dr-used { display: block; }
.dr-block.is-good.is-hit { filter: none; }
.dr-block.is-bad { bottom: 30px; width: 38px; height: 34px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.4)); }
.dr-gem { position: absolute; bottom: 228px; width: 16px; height: 16px; border-radius: 3px; background: linear-gradient(135deg, #fff1d6, #e2a86e 55%, #a76d3b); box-shadow: 0 0 14px 3px rgba(226, 168, 110, 0.75); }
.dr-crate { position: absolute; display: grid; place-items: center; width: 32px; height: 27px; border-radius: 5px; background: linear-gradient(180deg, #f5c993, #c4854a); box-shadow: inset 0 0 0 2px #7d4c24, inset 0 7px 0 -5px rgba(255, 255, 255, 0.45), 0 0 16px rgba(226, 168, 110, 0.6); transition: opacity 0.2s; }
.dr-crate b { font: 700 12px/1 var(--font-geist-mono), monospace; color: #2a1b10; }
.dr-pack { left: -8px; bottom: 58px; opacity: 0; }
.dr-fly { left: 0; bottom: 30px; opacity: 0; will-change: transform; }
.dr-toast { position: absolute; bottom: 168px; padding: 5px 9px; border: 1px solid rgba(226, 168, 110, 0.6); border-radius: 6px; background: rgba(24, 18, 13, 0.85); font: 600 12px/1 var(--font-geist-mono), monospace; letter-spacing: 0.04em; color: var(--copper-300); white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.dr-toast.is-on { opacity: 1; transform: none; }

/* Phones and small tablets: fixes from a page-by-page audit at 360 to 768px. */
@media (max-width: 820px) {
  /* The pinned visual covered the step text on narrow screens; show the steps as a plain list. */
  .v2-sticky-visual { display: none !important; }
  .v2-sticky-steps li { min-height: 0 !important; padding: 18px 0 18px 20px; }
  .js-sticky .v2-sticky-steps li { opacity: 1; }
}
@media (max-width: 700px) {
  .back-to-top { display: none !important; }
  .home-v2 .v2-closing h2 { font-size: clamp(28px, 8.4vw, 36px) !important; overflow-wrap: break-word; }
  main:not(.home-v2):not(.legal) > section:not(.hero-band):not(.products-content) { padding-top: 56px !important; padding-bottom: 56px !important; }
  .flex:has(> .form-note) { flex-direction: column; align-items: stretch !important; gap: 12px !important; }
  .flex:has(> .form-note) > button[type="submit"] { justify-content: center; width: 100%; }
  .site-footer .footer-links nav { gap: 2px; }
  .site-footer .footer-links a { padding: 7px 0; }
  .text-\[10px\] { font-size: 11px !important; }
  .role-back { padding: 8px 0; }
}

/* Applying moved to the expert dashboard: Start application is a link, and applied roles say so. */
a.role-start { text-decoration: none; }
a.role-start.is-applied { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--card-line); }
.role-cta-row a.role-start.is-applied { background: rgba(243, 234, 219, 0.1); color: var(--on-espresso); box-shadow: inset 0 0 0 1px rgba(243, 234, 219, 0.25); }
.role-applied { margin-left: 10px; padding: 2px 7px; border-radius: 6px; background: #e5eee1; color: #2f5a2a; font-size: 11px; letter-spacing: 0.06em; }
html[data-theme="dark"] .role-applied { background: rgba(140, 190, 130, 0.15); color: #a9d39d; }
.role-cta-row [data-apply-note] { color: var(--on-espresso-muted); font-size: 13px; }
/* Track-your-application popup, shown after a role-page application is sent. */
.track-dialog { width: min(calc(100% - 32px), 440px); padding: 28px; border: 1px solid var(--card-line); border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(17, 13, 9, 0.6); }
.track-dialog::backdrop { background: rgba(24, 18, 13, 0.55); backdrop-filter: blur(3px); }
.track-dialog[open] { animation: track-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes track-in { from { opacity: 0; transform: translateY(10px); } }
.track-eyebrow { margin: 0; font: 500 11px var(--font-geist-mono), monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-text); }
main.role-page .track-dialog h2 { margin: 6px 0 10px; font: 400 26px/1.15 TitleSerif, Georgia, serif !important; color: var(--ink); }
.track-dialog p#track-text { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.track-dialog p#track-text strong { color: var(--ink); font-weight: 500; }
.track-options { display: grid; gap: 10px; }
.track-options:not(:empty) { margin-bottom: 10px; }
.track-option { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1px solid var(--card-line); border-radius: 8px; background: var(--card); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.track-option:hover { border-color: var(--copper-text); }
.track-option svg { width: 18px; height: 18px; flex: none; }
.track-email { border-color: transparent; background: var(--espresso-900); color: var(--on-espresso); }
.track-email:hover { background: var(--copper-500); border-color: transparent; }
html[data-theme="dark"] .track-email { background: var(--copper-300); color: var(--espresso-950); }
.track-later { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.track-later:hover { color: var(--ink); }
.track-note { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .track-dialog[open] { animation: none; } }
