/* Shared chrome for the inner pages: the homepage's ground, header and footer, without its
   scroll choreography. The homepage keeps its own inline copy; this file follows it. */
:root{
  --ink:#07051A; --fg:#FFFFFF; --fg2:rgba(255,255,255,.78); --fg3:rgba(255,255,255,.55);
  --line:rgba(255,255,255,.14); --glass:rgba(255,255,255,.06); --glass2:rgba(255,255,255,.10);
  --accent:#C9B6FF; --accent-solid:#7C5CFF; --accent-fg:#fff;
  --shell:1240px; --gutter:clamp(16px,4vw,56px); --radius:20px;
  --font:Outfit,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}
/* The assistant world: wine, ember and black instead of the business blues. */
html[data-world="assist"]{ --accent:#FDA4AF; --accent-solid:#E11D48; --accent-fg:#ffffff; --ink:#120408; }
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:clip}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} *{animation:none!important;transition:none!important} }
body{margin:0;font-family:var(--font);background:var(--ink);color:var(--fg);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit}
h1,h2,h3{margin:0;line-height:1.08;letter-spacing:-.03em;font-weight:600;text-wrap:balance}
p{margin:0}
.shell{max-width:var(--shell);margin:0 auto;padding:0 var(--gutter)}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--accent)}
.lede{color:var(--fg2);font-size:18px;margin-top:16px;max-width:56ch}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:15px 28px;font-size:16px;font-weight:600;text-decoration:none;cursor:pointer;border:0;font-family:inherit;min-height:48px;white-space:nowrap;transition:transform .18s,box-shadow .18s,background .3s,color .3s}
.btn:hover{transform:translateY(-1px)}
.btn--ghost{border:1.5px solid rgba(255,255,255,.35);color:#fff;background:transparent}
.btn--glass{position:relative;overflow:hidden;color:#fff;background:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);border:1px solid rgba(255,255,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 12px 34px rgba(0,0,0,.28)}
.btn--glass::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.38) 50%,transparent 65%);transform:translateX(-130%);transition:transform .7s ease}
.btn--glass:hover::after{transform:translateX(130%)}
.btn--glass:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 18px 44px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.18)}
.btn--glass:active{transform:scale(.97)}
.btn--start{padding:11px 20px;min-height:40px;font-size:15px;background:rgba(255,255,255,.16)}
.btn--start:hover{background:rgba(255,255,255,.26)}
.btn--start.btn--big{padding:16px 32px;min-height:52px;font-size:17px}
.btn:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* ---------- ground ---------- */
#bg{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;filter:blur(48px) saturate(1.15);transform:scale(1.18);will-change:transform}
.grain{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.035;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
.vignette{position:fixed;inset:0;z-index:1;pointer-events:none;background:radial-gradient(120% 95% at 50% 38%,transparent 42%,rgba(7,5,26,.62) 100%)}
main,header,footer,.pagehead{position:relative;z-index:2}

/* ---------- header ---------- */
.hdr{position:sticky;top:0;z-index:20;transition:background .3s,backdrop-filter .3s}
.hdr.is-stuck{background:rgba(7,5,26,.32);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.hdr__in{position:relative;display:flex;align-items:center;gap:22px;padding:18px var(--gutter)}
/* On an inner page the name is already in its berth. Same face, weight and spacing as the homepage's docked mark. */
.wordmark{display:inline-block;line-height:0;text-decoration:none}
.wordmark img{display:block;height:27px;width:auto}
.nav{display:flex;gap:26px;margin-left:auto;font-size:15px;color:var(--fg2)}
.nav a{text-decoration:none}
.nav a:hover,.nav a[aria-current="page"]{color:#fff}
.hdr__in .btn--start{margin-left:auto}
.nav + .btn--start{margin-left:0}
.burger{display:none;width:40px;height:44px;border:0;background:transparent;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;padding:0;margin-left:auto}
.burger i{display:block;width:22px;height:1.5px;background:rgba(255,255,255,.62);border-radius:2px;transition:transform .25s,opacity .25s}
.burger[aria-expanded="true"] i:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.burger[aria-expanded="true"] i:nth-child(2){opacity:0}
.burger[aria-expanded="true"] i:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
.mbar{display:none}
@media (max-width:760px){
  .burger{display:flex}
  .hdr__in{gap:10px}
  .hdr__in .btn--start{display:none}
  .wordmark img{height:clamp(16px,5.2vw,24px)}
  .nav{display:none;position:absolute;top:calc(100% + 6px);right:var(--gutter);left:var(--gutter);flex-direction:column;gap:0;padding:8px;border-radius:16px;background:rgba(12,9,34,.97);border:1px solid rgba(255,255,255,.22);box-shadow:0 30px 70px rgba(0,0,0,.45)}
  html[data-world="assist"] .nav{background:rgba(24,6,12,.97)}
  .nav.is-open{display:flex}
  .nav a{padding:13px 14px;border-radius:10px;font-size:16px}
  .nav a:hover{background:rgba(255,255,255,.08)}
  .mbar{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:30;padding:10px max(16px,env(safe-area-inset-left,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-right,0px));background:linear-gradient(180deg,transparent,rgba(7,5,26,.55));transform:translateY(130%);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
  .mbar.is-on{transform:none}
  .mbar .btn{min-height:50px;font-size:15.5px;padding:12px 16px}
  body{padding-bottom:84px}
}

/* ---------- page head (inner pages) ---------- */
.pagehead{padding:clamp(40px,7vh,88px) 0 clamp(28px,4vh,48px);text-align:center}
.pagehead h1{font-size:clamp(34px,5.2vw,64px);margin-top:14px}
.pagehead .lede{margin-left:auto;margin-right:auto;text-align:center}

/* ---------- footer ---------- */
.footer{position:relative;overflow:visible;border-top:1px solid var(--line);padding:56px 0 40px;font-size:14px;color:var(--fg2);margin-top:calc(9.4vw + 40px)}
.footer__word{position:absolute;left:0;top:0;transform:translateY(-69.3%);display:block;width:100%;height:auto;opacity:.07;pointer-events:none;user-select:none}
.footer .shell{position:relative;z-index:1}
.footer__grid{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:32px}
@media (max-width:760px){.footer__grid{grid-template-columns:1fr}}
.footer h3{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#fff;margin-bottom:12px;font-weight:600}
.footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.footer a{text-decoration:none}
.footer a:hover{color:#fff}
.footer__contact{display:inline-block;margin-top:12px;color:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 16px}
.footer__legal{margin-top:40px;padding-top:22px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.footer__fine{margin-left:auto;font-size:12.5px;color:var(--fg3);white-space:nowrap}
@media (max-width:560px){.footer__fine{margin-left:0;flex-basis:100%}}

/* ---------- prose pages (privacy, terms, imprint, contact) ----------
   The body of these pages is placed at runtime by the Multisite Agent script: its routes config
   names `section.prose-page` as the target, so this section IS the mount and must stay empty in
   the source. Nothing may be nested inside it - the configured mode is "replace", which moves any
   existing children out before appending, so a card wrapper in here would be lifted straight back
   out and lose its styling. The card is therefore the section itself.
   The script's own stylesheet sets `color:inherit`, so its text follows this dark ground on its
   own; only the few colours it hardcodes for white paper need answering below. */
/* No <main> on these pages (see the page comment), so the ground's z-index rule misses them. */
.prose-wrap{position:relative;z-index:2;padding:clamp(16px,3vh,32px) 0 clamp(40px,8vh,96px)}
.prose-page{display:block;max-width:820px;margin:0 auto;padding:clamp(24px,4vw,52px);border:1px solid var(--line);border-radius:var(--radius);background:var(--glass);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);color:var(--fg2)}
.prose-page .msa-page{max-width:none;padding:0}
.prose-page h1{font-size:clamp(28px,4vw,42px);color:#fff}
.prose-page h2,.prose-page h3,.prose-page h4{color:#fff;letter-spacing:-.02em}
/* The script ships a violet tuned for white paper; on this ground it reads as a bruise. */
.prose-page a{color:var(--accent);text-decoration-color:rgba(201,182,255,.5)}
.prose-page a:hover{text-decoration-color:currentColor}
.prose-page blockquote{border-left-color:var(--accent-solid)}
.prose-page th{background:rgba(255,255,255,.06);color:#fff}
.prose-page th,.prose-page td{border-color:var(--line)}
.prose-page hr{border-top-color:var(--line)}
/* Only while the script is still fetching. It is deliberately not the word "loading": if the
   request never lands, a spinner that never resolves tells the visitor less than a way to ask. */
.prose-page:empty::after{content:"This text is served from our content service. If it does not appear, please use the contact form.";display:block;color:var(--fg3);font-size:15px;max-width:46ch}
/* The contact form arrives through the same channel; give its controls the glass treatment. */
.prose-page input,.prose-page textarea,.prose-page select{width:100%;font:inherit;color:#fff;background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-top:6px}
.prose-page input:focus,.prose-page textarea:focus{outline:2px solid var(--accent);outline-offset:2px}
.prose-page label{display:block;margin-top:16px;color:#fff;font-weight:600;font-size:14px}
.prose-page button[type=submit]{margin-top:20px;border-radius:999px;padding:13px 26px;font:inherit;font-weight:600;color:#fff;cursor:pointer;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28)}
.prose-page button[type=submit]:hover{background:rgba(255,255,255,.26)}
/* The form's own stylesheet states these for white paper - #15803d and #b91c1c - and both go
   nearly black against this card. Outranked here by specificity, not by order, since that
   stylesheet is injected at runtime and lands after this file.
   The card sits on a gradient that runs from near-navy to a light blue, so no single tint can be
   trusted across it: the mint below measures 7.1 against the dark end and 2.1 against the light
   one. The message therefore carries its own dark surface, which fixes what it is read against:
   at .72 the worst case anywhere on that gradient measures 7.3 for the mint and 5.9 for the rose,
   both clear of 4.5. The border repeats the state, so the two outcomes are not told apart by
   colour alone. */
.prose-page .msa-status{font-size:15px}
.prose-page .msa-status:not(:empty){display:inline-block;margin-top:4px;padding:10px 14px;border-radius:12px;background:rgba(7,5,26,.72);border:1px solid var(--line);border-left-width:3px}
.prose-page [data-msa-state=sent] .msa-status{color:#6EE7B7;border-left-color:#6EE7B7}
.prose-page [data-msa-state=error] .msa-status{color:#FCA5A5;border-left-color:#FCA5A5}
