/* Shared by the plain scrolling pages (privacy and the guides). index.html and the
   reactivation pages carry their own styles. Page-specific rules stay in each page. */
/* Arial widened to Unbounded's width, so headings keep their lines when the web font lands */
@font-face {
  font-family: "Unbounded Fallback"; font-weight: 500 700; size-adjust: 129%;
  src: local("Arial Bold"), local("Arial-BoldMT");
}
:root {
  color-scheme: dark;
  --ink: #fff;
  --paper: #000;
  --body: #b5b5b5;
  --mute: #8a8a8a;
  --line: #1f1f1f;
  --error: #ff8a8a;
  --glow: 0 12px 26px -12px rgba(91, 64, 255, .95);
  --glow-hi: 0 16px 34px -10px rgba(91, 64, 255, 1), 0 6px 14px -6px rgba(91, 64, 255, .8);
  --gutter: clamp(20px, 4.5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font: 400 1rem/1.65 "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: absolute; left: var(--gutter); top: 12px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; }

.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px var(--gutter);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.brand svg { width: 40px; height: 54px; fill: currentColor; }
@media (max-width: 860px) { .brand svg { width: 32px; height: 43px; } }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--ink); color: var(--ink);
  box-shadow: var(--glow); font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: box-shadow .3s, background .3s;
}
.btn:hover { box-shadow: var(--glow-hi); background: rgba(91, 64, 255, .1); }
p, ul { margin: 16px 0 0; }
ul { padding-left: 1.25rem; }
li + li { margin-top: 8px; }
strong { color: var(--ink); font-weight: 500; }
.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px var(--gutter) 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: .8125rem; color: var(--mute);
}
.site-foot a { color: inherit; }
.site-foot a:hover { color: var(--ink); }

/* Showcase pieces for the guide and case study pages: a glow behind the hero, an eyebrow,
   a rise-in on load and a closing panel. Pages that don't use the classes are unchanged. */
:root {
  --faint: #555;
  --surface: rgba(255, 255, 255, .03);
  --line-hi: rgba(255, 255, 255, .16);
  --accent-soft: rgba(91, 64, 255, .55);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
.glow-top { position: relative; isolation: isolate; overflow-x: clip; }
.glow-top::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -220px; width: min(1100px, 140vw); height: 640px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(91, 64, 255, .28), rgba(91, 64, 255, .08) 55%, transparent);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  padding: 7px 14px; border: 1px solid var(--line-hi); border-radius: 999px;
  color: var(--ink); font-size: .8125rem; letter-spacing: .02em; background: rgba(0, 0, 0, .5);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink);
  box-shadow: 0 0 0 3px rgba(91, 64, 255, .35), 0 0 12px 2px var(--accent-soft);
}
.rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.cta-panel {
  position: relative; overflow: hidden; margin: clamp(56px, 9vh, 96px) 0 0;
  padding: clamp(32px, 6vw, 64px); border: 1px solid var(--line-hi); border-radius: 28px;
  background: radial-gradient(120% 140% at 50% 120%, rgba(91, 64, 255, .3), transparent 60%), var(--surface);
  text-align: center;
}
.cta-panel h2 { margin: 0 auto; max-width: 22ch; }
.cta-panel p { margin: 14px auto 0; max-width: 46ch; }
.cta-panel .btn { margin-top: 28px; min-height: 52px; padding: 0 28px; }
.cta-panel .more { margin-top: 20px; font-size: .9375rem; color: var(--mute); }
@media (max-width: 600px) { .cta-panel .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Site header on the plain pages: the home page's nav, with native dropdowns and,
   at 860px and below, a menu sheet that works without script (assets/page.js only
   closes them on an outside click or Escape). Links into the home page use /#view. */
:root { --panel: #151515; --idle: #767676; --solid-hover: #e6e6e6; }
/* A page's closing call to action is solid white, like the home page's */
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--solid-hover); border-color: var(--solid-hover); }
.bar { position: relative; z-index: 30; }
.bar__end { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); }
.nav > a, .drop summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 1.125rem; color: var(--mute); text-decoration: none; list-style: none; cursor: pointer; transition: color .2s;
}
.nav > a:hover, .nav > a[aria-current="page"] { color: var(--ink); }
.drop { position: relative; }
.drop summary::-webkit-details-marker, .menu summary::-webkit-details-marker { display: none; }
.drop summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -4px;
  border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg);
}
.drop summary:hover, .drop[open] summary, .drop:has([aria-current="page"]) summary { color: var(--ink); }
.drop[open] summary::after { margin-top: 2px; transform: rotate(225deg); }
.drop ul {
  position: absolute; top: calc(100% + 8px); right: -16px; z-index: 20;
  min-width: 15rem; margin: 0; padding: 8px; list-style: none;
  background: var(--panel); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(91, 64, 255, .75);
}
.drop li + li { margin: 0; }
.drop a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--mute); text-decoration: none; white-space: nowrap; }
.drop a:hover, .drop a[aria-current="page"] { color: var(--ink); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
@media (min-width: 861px) and (max-width: 1100px) {
  .nav, .bar__end { gap: 18px; }
  .nav > a, .drop summary { font-size: 1rem; }
}

.menu { display: none; }
.burger { position: relative; z-index: 40; display: block; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; list-style: none; }
.burger span { position: absolute; right: 10px; height: 1.5px; background: var(--ink); transition: top .35s var(--ease), width .35s var(--ease), transform .35s var(--ease); }
.burger span:first-child { top: 17px; width: 22px; }
.burger span:last-child { top: 25px; width: 13px; }
.menu[open] .burger span { top: 21px; width: 22px; }
.menu[open] .burger span:first-child { transform: rotate(45deg); }
.menu[open] .burger span:last-child { transform: rotate(-45deg); }
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 35;
  display: flex; flex-direction: column; align-items: flex-start;
  width: min(84vw, 360px); padding: 96px var(--gutter) 28px; overflow-y: auto;
  background: var(--paper); border-left: 1px solid var(--line);
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .6);
  animation: sheet .5s var(--ease);
}
@keyframes sheet { from { transform: translateX(100%); } }
.sheet__group { display: grid; justify-items: start; margin-top: 16px; }
.sheet__group:first-child { margin-top: 0; }
.sheet__group p { margin: 0; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.sheet a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.0625rem; color: var(--body); text-decoration: none; }
.sheet > a:not(.btn) { margin-top: 8px; font-size: 1.25rem; font-weight: 500; letter-spacing: -.03em; color: var(--idle); }
.sheet a:not(.btn):hover, .sheet a[aria-current="page"] { color: var(--ink); }
.sheet .btn { align-self: stretch; justify-content: center; margin-top: 24px; min-height: 52px; }
.sheet__meta { margin: auto 0 0; padding-top: 24px; font-size: .8125rem; color: var(--mute); }
@media (max-width: 860px) {
  .nav, .bar__end > .btn { display: none; }
  .menu { display: block; }
}
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } .burger span { transition: none; } }
.sheet > a:first-child { margin-top: 0; }
