/* S&R CoreSync - design tokens + jump strip
   Single source for spacing, colour and radius: new components read these
   instead of hard-coding hex values, so the palette cannot drift again. */
:root{
  --sr-space-1:.25rem; --sr-space-2:.5rem; --sr-space-3:.75rem; --sr-space-4:1rem;
  --sr-space-5:1.5rem; --sr-space-6:2rem; --sr-space-7:3rem;
  --sr-gold:#d4af37; --sr-gold-soft:#f0d79a; --sr-gold-text:#ecd9a0;
  /* channel triples, so any alpha can be composed without a new hex:
     --sr-gold-rgb is #d4af37, --sr-gold-line-rgb is #d8b25e */
  --sr-gold-rgb:212,175,55;      /* primary gold #d4af37 */
  --sr-gold-line-rgb:216,178,94; /* secondary gold #d8b25e */
  --sr-ink:#090b0e; --sr-paper:#f4f1e6; --sr-muted:rgba(233,226,207,.72);
  --sr-line:rgba(var(--sr-gold-line-rgb, 216, 178, 94),.28); --sr-line-strong:rgba(var(--sr-gold-line-rgb, 216, 178, 94),.6);
  --sr-radius-sm:10px; --sr-radius-md:18px; --sr-radius-pill:999px;
  --sr-blur:blur(10px);
}
/* Jump strip: one tap to any stage. In flow on purpose - the page already has
   five fixed overlays and a sixth would fight them on small screens. */
.sr-jump{
  display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center;
  max-width:min(100%, 720px); margin:var(--sr-space-5) auto var(--sr-space-6);
  padding:0 var(--sr-space-4);
}
.sr-jump a{
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.5rem .95rem; border-radius:var(--sr-radius-pill);
  border:1px solid var(--sr-line); background:rgba(9,11,14,.55);
  color:var(--sr-muted); font-size:.82rem; line-height:1.2; text-decoration:none;
  white-space:nowrap; transition:color .2s ease, border-color .2s ease, background .2s ease;
}
.sr-jump a svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;flex:0 0 auto}
.sr-jump a:hover,.sr-jump a:focus-visible{
  color:var(--sr-gold-text); border-color:var(--sr-line-strong);
  background:rgba(var(--sr-gold-rgb, 212, 175, 55),.1); outline:none;
}
@media (max-width:520px){
  .sr-jump{flex-wrap:nowrap; overflow-x:auto; justify-content:flex-start; scrollbar-width:none}
  .sr-jump::-webkit-scrollbar{display:none}
  .sr-jump a{font-size:.76rem; padding:.45rem .8rem}
}
@media (prefers-reduced-motion:reduce){ .sr-jump a{transition:none} }

/* ---------------------------------------------------------------------------
 * Print: procurement teams still print. On paper the page becomes the offer:
 * chrome removed, prices black on white, no page-break inside a plan card.
 * ------------------------------------------------------------------------- */
@media print{
  @page{margin:14mm}
  html,body{background:#fff !important;color:#111 !important}
  .sr-quick-dock-container,.apple-macos-dock-wrapper,.srlf-wrap,.floating-follow,
  .sr-jump,.sr-privacy-banner,.sr-logo-lightbox-overlay,body:not(.sr-printing-doc) .sr-exec-modal,
  .call-modal-overlay,.sr-portal-modal-overlay,.chat-widget,.ai-concierge,
  header.site-header,.tf-header,#navMoreDropdown,nav[data-sr-decision-bar]{display:none !important}
  a{color:#111 !important;text-decoration:none !important}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:.75em;color:#444}
  section{break-inside:avoid;page-break-inside:avoid;padding:10mm 0 !important}
  .wg-plan,.plan-card,.price-card{break-inside:avoid;border:1px solid #ccc !important;background:#fff !important}
  .plan-badge{border:1px solid #999 !important;color:#111 !important}
  #pricing .text-white-64,#pricing .desc,#pricing p{color:#333 !important}
  video,iframe,.hero-sectors-marquee{display:none !important}
  /* The legacy enterprise-suite sheets hide the whole document in print. They are
     now scoped to body.sr-printing-doc, so a plain Ctrl+P prints the page. Never
     target body here: the markup carries class="counter-scroll preloader-complete",
     so a bare [class*="preloader"] blanks the whole document. */
  .preloader,
  #preloader,
  [class*="preloader"]:not(body):not(html){display:none !important;visibility:hidden !important}
}

/* Command palette (Ctrl/Cmd+K). Same tokens as the rest of the chrome. */
.sr-cmd{position:fixed;inset:0;z-index:100090;display:flex;align-items:flex-start;justify-content:center;padding:12vh 1rem 1rem;background:rgba(4,6,8,.72);backdrop-filter:blur(3px)}
.sr-cmd[hidden]{display:none}
.sr-cmd__panel{width:min(620px,100%);background:#0b0f14;border:1px solid var(--sr-line, rgba(var(--sr-gold-line-rgb, 216, 178, 94),.28));border-radius:16px;overflow:hidden;box-shadow:0 30px 80px -30px #000}
.sr-cmd__input{width:100%;border:0;border-bottom:1px solid var(--sr-line, rgba(var(--sr-gold-line-rgb, 216, 178, 94),.22));background:transparent;color:#f4f1e6;font-size:1rem;padding:1rem 1.1rem;outline:none}
.sr-cmd__list{list-style:none;margin:0;padding:.4rem;max-height:52vh;overflow:auto}
.sr-cmd__list li a{display:block;padding:.6rem .8rem;border-radius:10px;color:rgba(233,226,207,.86);text-decoration:none;font-size:.92rem}
.sr-cmd__list li.is-active a,.sr-cmd__list li a:hover{background:rgba(var(--sr-gold-rgb, 212, 175, 55),.12);color:#f0d79a}
.sr-cmd__empty{padding:.9rem;color:rgba(233,226,207,.5);text-align:center}
.sr-cmd__foot{margin:0;padding:.5rem .9rem .7rem;font-size:.72rem;color:rgba(233,226,207,.45);border-top:1px solid rgba(var(--sr-gold-line-rgb, 216, 178, 94),.16)}
html.sr-cmd-open{overflow:hidden}
@media (prefers-reduced-motion:reduce){.sr-cmd{backdrop-filter:none}}



/* Promise line under the value cards, and the three intent chips under the AI bar.
   Chips are plain anchors: no JS, no extra request, keyboard reachable. */
.sr-promise{max-width:760px;margin:0 auto 1.6rem;text-align:center;font-size:.98rem;line-height:1.7;
  color:var(--sr-gold-text,#ecd9a0);letter-spacing:.01em}
.sr-intent{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin:.9rem 0 0}
.sr-intent a{display:inline-flex;align-items:center;gap:.4rem;padding:.42rem .85rem;border-radius:999px;
  border:1px solid rgba(var(--sr-gold-line-rgb, 216, 178, 94),.28);background:rgba(9,11,14,.45);color:rgba(233,226,207,.78);
  font-size:.8rem;line-height:1.2;text-decoration:none;white-space:nowrap;transition:border-color .2s,color .2s}
.sr-intent a:hover,.sr-intent a:focus-visible{border-color:rgba(var(--sr-gold-line-rgb, 216, 178, 94),.62);color:#f0d79a;outline:none}
@media (max-width:520px){.sr-promise{font-size:.9rem}.sr-intent a{font-size:.74rem;padding:.38rem .7rem}}
@media (prefers-reduced-motion:reduce){.sr-intent a{transition:none}}

/* Interface sound toggle: icon only, sits with the intent chips. */
.sr-sound-toggle{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;
  border-radius:999px;border:1px solid rgba(var(--sr-gold-line-rgb, 216, 178, 94),.28);background:rgba(9,11,14,.45);
  color:rgba(233,226,207,.62);cursor:pointer;padding:0;transition:color .2s,border-color .2s}
.sr-sound-toggle:hover,.sr-sound-toggle:focus-visible{color:#f0d79a;border-color:rgba(var(--sr-gold-line-rgb, 216, 178, 94),.62);outline:none}
.sr-sound-toggle.is-on{color:#f0d79a;border-color:rgba(var(--sr-gold-line-rgb, 216, 178, 94),.72);background:rgba(var(--sr-gold-rgb, 212, 175, 55),.12)}
@media (prefers-reduced-motion:reduce){.sr-sound-toggle{transition:none}}

/* Analytics consent banner: bottom-left card, never full width, above the dock. */
.sr-consent{position:fixed;inset-inline-start:16px;inset-block-end:16px;z-index:2147483000;
  max-width:min(360px,calc(100vw - 32px));padding:14px 16px;border-radius:14px;
  border:1px solid rgba(var(--sr-gold-line-rgb, 216, 178, 94),.34);background:rgba(9,11,14,.94);
  backdrop-filter:blur(10px);box-shadow:0 12px 40px rgba(0,0,0,.55);color:#e9e2cf}
.sr-consent__title{margin:0 0 4px;font-size:.9rem;font-weight:700;letter-spacing:.01em;color:#f0d79a}
.sr-consent__body{margin:0 0 12px;font-size:.8rem;line-height:1.55;color:rgba(233,226,207,.76)}
.sr-consent__row{display:flex;gap:8px;flex-wrap:wrap}
.sr-consent__btn{flex:1 1 auto;min-width:88px;padding:8px 14px;border-radius:9px;cursor:pointer;
  border:1px solid rgba(var(--sr-gold-line-rgb, 216, 178, 94),.30);background:transparent;color:rgba(233,226,207,.86);
  font-size:.82rem;font-weight:600;line-height:1.2;transition:background .18s,border-color .18s,color .18s}
.sr-consent__btn:hover,.sr-consent__btn:focus-visible{border-color:rgba(var(--sr-gold-line-rgb, 216, 178, 94),.66);color:#f0d79a;outline:none}
.sr-consent__btn--yes{background:rgba(var(--sr-gold-rgb, 212, 175, 55),.16);border-color:rgba(var(--sr-gold-line-rgb, 216, 178, 94),.55);color:#f4e3b0}
@media (max-width:520px){.sr-consent{inset-inline-start:10px;inset-block-end:10px;max-width:calc(100vw - 20px);padding:12px 13px}}
@media (prefers-reduced-motion:reduce){.sr-consent__btn{transition:none}}

/* Draft marker on the new terms sections, and the footer legal links. */
.sr-legal-draft{font-size:.82rem;color:#d4af37;border:1px dashed rgba(var(--sr-gold-rgb, 212, 175, 55),.5);
  border-radius:8px;padding:.6rem .8rem;margin:.4rem 0 1rem}
.sr-legal-links{display:flex;gap:.6rem;justify-content:center;align-items:center;
  padding:.7rem 0 .4rem;font-size:.82rem}
.sr-legal-links a{color:rgba(233,226,207,.72);text-decoration:none}
.sr-legal-links a:hover,.sr-legal-links a:focus-visible{color:#f0d79a;outline:none}
.sr-legal-links span{opacity:.4}

/* Cross-link from the value block to the full founder profile. */
.founders-link{margin:1.5rem 0 0;text-align:center}
.founders-link a{display:inline-flex;align-items:center;gap:.45rem;font-size:.87rem;
  color:var(--sr-gold-text,#ecd9a0);text-decoration:none;border-bottom:1px solid rgba(var(--sr-gold-line-rgb, 216, 178, 94),.35);
  padding-bottom:2px}
.founders-link a:hover,.founders-link a:focus-visible{color:#f6e6b6;border-bottom-color:rgba(var(--sr-gold-line-rgb, 216, 178, 94),.72);outline:none}

/* ── Language hint, inside the dock ────────────────────────────────────────
   The visitor's own language gets a gold ring for six seconds, on the flag
   that already exists. No second language control on screen. */
.apple-dock-item.sr-lang-hint-pulse{position:relative}
.apple-dock-item.sr-lang-hint-pulse::after{
  content:'';position:absolute;inset:-4px;border-radius:12px;pointer-events:none;
  border:2px solid rgba(var(--sr-gold-rgb,212,175,55),.9);
  box-shadow:0 0 0 4px rgba(var(--sr-gold-rgb,212,175,55),.14),0 0 14px rgba(var(--sr-gold-rgb,212,175,55),.35);
  animation:srLangPulse 1.5s ease-in-out infinite}
@keyframes srLangPulse{0%,100%{opacity:.45}50%{opacity:1}}
@media (prefers-reduced-motion: reduce){
  .apple-dock-item.sr-lang-hint-pulse::after{animation:none;opacity:.95}
}

/* ── Language hint, inside the dock ────────────────────────────────────────
   The visitor's own language gets a gold ring for six seconds, on the flag
   that already exists. No second language control on screen. */
.apple-dock-item.sr-lang-hint-pulse{position:relative}
.apple-dock-item.sr-lang-hint-pulse::after{
  content:'';position:absolute;inset:-4px;border-radius:12px;pointer-events:none;
  border:2px solid rgba(var(--sr-gold-rgb,212,175,55),.9);
  box-shadow:0 0 0 4px rgba(var(--sr-gold-rgb,212,175,55),.14),0 0 14px rgba(var(--sr-gold-rgb,212,175,55),.35);
  animation:srLangPulse 1.5s ease-in-out infinite}
@keyframes srLangPulse{0%,100%{opacity:.45}50%{opacity:1}}
@media (prefers-reduced-motion: reduce){
  .apple-dock-item.sr-lang-hint-pulse::after{animation:none;opacity:.95}
}
