/* ==========================================================================
   peopleindicator.com — the public site

   The site speaks in the logo's colours: navy for what we say, blue for what
   you can do, slate for what can be skipped. Every page has a colour spine —
   a hero field in navy, deep blue, a pale blue wash or plain white — and the
   white masthead with the full-colour logo sits above all of them.

   The four PI energies (--e-*) are DATA, not decoration. They survive here
   only where the page draws the instrument itself: the wheel, the energy row,
   a stylised profile. They never colour chrome.

   This file NEVER overwrites a token value from tokens.css. It adds its own
   namespace (--e-*, --fs-*, --sp-*, --r-*), and everything it restyles that
   the apps also use is scoped to .site-page — a class /eksempler/* never
   gets. Those pages embed a product's own report markup verbatim and need the
   app vocabulary intact.

   Marketing pages load:  tokens.css + site.css
   Sample pages load:     indikator.css + site.css + the product's stylesheet

   GEOMETRY follows the letters: rounded cards, pill buttons, soft navy
   shadows. The signal arc over the i is the one decorative device.
   ========================================================================== */

/* The masthead and footer on /eksempler/* use the same namespace. Only --e-*,
   --fs-*, --sp-*, --r-* and the field colours — never a shared token. */
.site-page,
.site--sample .site-head,
.site--sample .site-foot {
  /* ---- The four energies -------------------------------------------------
     Authoritative values, equal to Pi\Instrument::energyMeta(). A stylesheet
     cannot call PHP, so tests/platform/brand_colours_test.php is what makes
     the duplication safe. There were three of these palettes until recently. */
  --e-drive:  #E30613;  --e-drive-deep:  #B8000F;  --e-drive-wash:  #FDE7E8;
  --e-spark:  #FFD100;  --e-spark-deep:  #C79E00;  --e-spark-wash:  #FFF6D1;
  --e-anchor: #009640;  --e-anchor-deep: #00702F;  --e-anchor-wash: #E0F2E7;
  --e-focus:  #0057B8;  --e-focus-deep:  #004A9E;  --e-focus-wash:  #E1ECF9;

  /* Text that travels WITH a field, so a component never has to guess.
     Two of the four energies cannot carry text, and the numbers are the
     reason rather than a matter of taste:

       #FFD100 spark   1.46:1 on white, 11.30:1 on ink, 1.26:1 on paper
                       → a field and a chip. NEVER text. NEVER a link.
       #009640 anchor  3.86:1 on white, 4.28:1 on ink — fails BOTH ways
                       → a wheel sector, a chip, a 4px rail (3:1 suffices).
                         A green field that carries text uses --e-anchor-deep
                         (6.25:1 on white).
       #E30613 drive   4.88:1 on white — passes AA with no headroom, so a
                       text-bearing red field uses --e-drive-deep (6.90:1).
       #0057B8 focus   6.87:1 on white. */
  --on-drive: #ffffff;
  --on-spark: #16211f;
  --on-anchor: #ffffff;
  --on-focus: #ffffff;

  --ink-deep: #0d1e3a;

  /* ---- Brand fields ------------------------------------------------------
     Bright blue (#1A7FE8) is 3.9:1 against white: fine for a 24px headline,
     not for a paragraph. A field that carries body text uses --blue-deep
     (5.6:1) or navy (14:1); bright blue is the button, the link, the arc. */
  --blue-deep: #0f63bd;
  --blue-wash: #eaf3fe;
  --grad-navy: linear-gradient(135deg, #13294b 0%, #0f3a73 60%, #0f63bd 100%);
  --grad-blue: linear-gradient(135deg, #0f63bd 0%, #1a7fe8 100%);
  --grad-wash: linear-gradient(180deg, #eaf3fe 0%, #f7f9fc 100%);
  --grad-paper: radial-gradient(1200px 500px at 85% -10%, #dcebfd 0%, rgba(220,235,253,0) 60%), #ffffff;

  /* ---- Scale -------------------------------------------------------------
     --t-base is 0.9375rem = 15px, which is right for a dense consultant screen
     and wrong for a page somebody reads once on a phone. Namespaced rather
     than overridden: setting --t-base on .site would re-type every embedded
     sample report, which is the single likeliest way to break /eksempler/*. */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md:   1.25rem;
  --fs-lg:   1.5rem;
  --fs-xl:   2rem;
  --fs-2xl:  2.75rem;
  --fs-hero: clamp(2.5rem, 6vw, 4.125rem);

  --lh-tight: 1.05;
  --lh-head:  1.12;
  --lh-body:  1.6;

  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2.5rem;  --sp-7: 4rem;    --sp-8: 6rem;
  --sp-9: 9rem;

  --shell-max: 1200px;
  --gutter: var(--sp-5);
  --measure-md: 34ch;
  --measure-lg: 62ch;

  /* Rounded, like the letters. */
  --r-field: 18px;
  --r-control: 10px;
  --r-chip: 999px;

  /* The current page's colour spine. SiteController sets the body class. */
  --field: var(--navy);
  --field-bg: var(--grad-navy);
  --on-field: #ffffff;
  --field-quiet: rgba(255, 255, 255, 0.74);
  --field-accent: var(--blue-soft);
}

/* Per-page spine. One class, set from the page id in layout.php. The class
   names are the old energy names, kept because Pages.php and the OG cards
   key on them; the values are all brand now. */
.site-page--focus  { --field: var(--blue-deep); --field-bg: var(--grad-blue); --on-field: #fff; --field-quiet: rgba(255,255,255,0.8); --field-accent: #cfe5fc; }
.site-page--spark,
.site-page--anchor { --field: var(--blue-wash); --field-bg: var(--grad-wash); --on-field: var(--navy); --field-quiet: var(--ink-muted); --field-accent: var(--blue); }
.site-page--drive,
.site-page--ink    { --field: var(--navy); --field-bg: var(--grad-navy); --on-field: #fff; --field-quiet: rgba(255,255,255,0.74); --field-accent: var(--blue-soft); }
.site-page--paper  { --field: #ffffff; --field-bg: var(--grad-paper); --on-field: var(--navy); --field-quiet: var(--ink-muted); --field-accent: var(--blue); }

/* --------------------------------------------------------------------------
   Reset and base

   Marketing pages no longer load indikator.css, so everything it used to
   provide has to be here — including the reduced-motion kill switch, which is
   easy to forget precisely because nothing looks wrong when it is missing.
   -------------------------------------------------------------------------- */

.site-page *, .site-page *::before, .site-page *::after { box-sizing: border-box; }

body.site-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.site-page h1, .site-page h2, .site-page h3, .site-page h4 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0;
  line-height: var(--lh-head);
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.site-page p, .site-page ul, .site-page ol { margin: 0; }
.site-page img, .site-page svg { max-width: 100%; }

.site-page a { color: var(--brand); text-decoration: none; }
.site-page a:hover { color: var(--brand-deep); text-decoration: underline; }
.site-page a:focus-visible,
.site-page button:focus-visible,
.site-page summary:focus-visible,
.site-page input:focus-visible,
.site-page select:focus-visible,
.site-page textarea:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 2px;
}

.site-page .eyebrow {
  font-family: var(--display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.site-page .muted { color: var(--ink-muted); }
.site-page .faint { color: var(--ink-faint); }
.site-page .small { font-size: var(--fs-sm); }
.site-page .subtitle { font-size: var(--fs-lg); }

.site-page .skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-deep);
  color: var(--paper);
  padding: var(--sp-3) var(--sp-4);
  z-index: 100;
}
.site-page .skip:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.site-shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* Narrows the CONTENT, not the shell. Narrowing the shell re-centres it
   inside the 1200px column, which indents every page-hero a few dozen pixels
   to the right of the masthead above it. */
.site-shell--narrow > * { max-width: 78ch; }

/* --------------------------------------------------------------------------
   A plate: a saturated colour field. Text colour arrives with it, never
   guessed.

   Called .plate and not .field because .field is already the app's form-group
   class in indikator.css, which sample pages load — a colour rule named .field
   would repaint every form group inside an embedded report.
   -------------------------------------------------------------------------- */

.plate {
  background: var(--field-bg, var(--field));
  color: var(--on-field);
}
.plate .eyebrow { color: var(--field-accent); }
.plate .muted,
.plate .faint { color: var(--field-quiet); }
.plate p a,
.plate li a { color: var(--on-field); text-decoration: underline; }
.plate p a:hover,
.plate li a:hover { color: var(--on-field); opacity: 0.75; }
/* Chrome — nav, brandmark, buttons, the switcher — is not prose: it takes the
   plate's own text colour and no underline. Written at .site-page .plate so it
   out-specifies `.site-page a`, which would otherwise paint a masthead link the
   Fokus blue meant for links in body copy. */
.site-page .plate .site-nav__link,
.site-page .plate .brandmark,
.site-page .plate .lang a,
.site-page .plate .sample-links a {
  color: var(--on-field);
  text-decoration: none;
}
.site-page .plate .site-nav__link:hover,
.site-page .plate .lang a:hover,
.site-page .plate .brandmark:hover { color: var(--on-field); text-decoration: none; }
.site-page .plate .btn { text-decoration: none; }

.plate--focus  { --field: var(--blue-deep); --field-bg: var(--grad-blue); --on-field: #fff; --field-quiet: rgba(255,255,255,0.8); --field-accent: #cfe5fc; }
.plate--spark,
.plate--anchor { --field: var(--blue-wash); --field-bg: var(--grad-wash); --on-field: var(--navy); --field-quiet: var(--ink-muted); --field-accent: var(--blue); }
.plate--drive,
.plate--ink    { --field: var(--navy); --field-bg: var(--grad-navy); --on-field: #fff; --field-quiet: rgba(255,255,255,0.74); --field-accent: var(--blue-soft); }

/* --------------------------------------------------------------------------
   The signal

   The arcs over the i in the logo, drawn large and faint in the corner of a
   hero. currentColor-free on purpose: it is a background image, so it takes
   --field-accent through a mask rather than a fill.
   -------------------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -6rem;
  top: -7rem;
  width: 34rem;
  height: 34rem;
  background: var(--field-accent);
  opacity: 0.1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M30 70 A0 0 0 0 1 30 70'/%3E%3Cpath d='M30 46 A24 24 0 0 1 54 70'/%3E%3Cpath d='M30 22 A48 48 0 0 1 78 70'/%3E%3C/g%3E%3Ccircle cx='30' cy='70' r='8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M30 70 A0 0 0 0 1 30 70'/%3E%3Cpath d='M30 46 A24 24 0 0 1 54 70'/%3E%3Cpath d='M30 22 A48 48 0 0 1 78 70'/%3E%3C/g%3E%3Ccircle cx='30' cy='70' r='8'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
          backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--mist);
  color: var(--navy);
}
.site-head__inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: var(--sp-4) var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.site-page .brandmark {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: inherit;
  text-decoration: none;
  flex: none;
}
.site-page .brandmark:hover { text-decoration: none; opacity: 0.85; }
.site-head .brandmark .logo { height: 30px; width: auto; display: block; }
.site-foot .brandmark .logo { height: 34px; }

.site-nav {
  display: flex;
  gap: var(--sp-1);
  margin-left: auto;
  flex-wrap: wrap;
}
.site-head .site-nav__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-chip);
}
.site-head .site-nav__link:hover { color: var(--navy); background: var(--paper-sunk); text-decoration: none; }
.site-head .site-nav__link--current { color: var(--brand-deep); background: var(--blue-wash); }

/* The language switcher. Plain links, per page, no JS, no cookie.
   Per PAGE and not to the front page: a switcher that always lands on / breaks
   the hreflang relationship the moment somebody follows it. */
.lang { display: flex; gap: var(--sp-3); font-size: var(--fs-sm); flex: none; }
.lang a { color: inherit; opacity: 0.62; text-decoration: none; }
.lang a:hover { opacity: 1; color: inherit; }
.lang a[aria-current] { opacity: 1; font-weight: 600; }

/* Mobile menu. <details>/<summary> is a real disclosure widget with native
   keyboard handling and correct aria-expanded, and it works with zero JS. The
   checkbox hack does not: it announces as a checkbox. */
.nav-toggle { display: none; margin-left: auto; position: relative; }
.nav-toggle__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--mist-strong);
  border-radius: var(--r-chip);
}
.nav-toggle__summary::-webkit-details-marker { display: none; }
.nav-toggle__panel {
  position: absolute;
  right: 0;
  top: calc(100% + var(--sp-2));
  min-width: 15rem;
  background: var(--paper-raised);
  color: var(--ink);
  border: 1px solid var(--mist);
  border-radius: var(--r-control);
  box-shadow: var(--shadow-md);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  z-index: 20;
}
.nav-toggle__panel a { color: var(--ink); opacity: 1; text-decoration: none; }
.nav-toggle__panel a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.site-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 var(--sp-6);
  border: 2px solid transparent;
  border-radius: var(--r-chip);
  background: var(--brand);
  color: #ffffff;
  font-family: var(--display);
  font-size: var(--fs-base);
  font-weight: 800;
  letter-spacing: 0.005em;
  box-shadow: 0 6px 16px rgba(26, 127, 232, 0.28);
  transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.site-page .btn:hover { background: var(--brand-deep); color: #ffffff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(26, 127, 232, 0.32); }
.site-page .btn--ghost {
  background: #ffffff;
  color: var(--navy);
  border-color: var(--mist-strong);
  box-shadow: none;
}
.site-page .btn--ghost:hover { background: #ffffff; color: var(--brand-deep); border-color: var(--brand); box-shadow: none; }
.site-page .btn--sm { min-height: 42px; padding: 0 var(--sp-5); font-size: var(--fs-sm); box-shadow: none; }
.site-page .btn--block { width: 100%; }

/* On a dark field the solid button turns white with navy text, so it never
   sits blue-on-blue. On the pale fields it stays the brand blue. */
.site-page--focus .plate .btn, .site-page--drive .plate .btn, .site-page--ink .plate .btn,
.plate--focus .btn, .plate--drive .btn, .plate--ink .btn {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.site-page--focus .plate .btn:hover, .site-page--drive .plate .btn:hover, .site-page--ink .plate .btn:hover,
.plate--focus .btn:hover, .plate--drive .btn:hover, .plate--ink .btn:hover { background: #ffffff; color: var(--brand-deep); }
.site-page .plate .btn--ghost {
  background: transparent;
  color: var(--on-field);
  border-color: var(--field-quiet);
  box-shadow: none;
}
.site-page .plate .btn--ghost:hover { background: transparent; color: var(--on-field); border-color: var(--on-field); }

.actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: center; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: var(--sp-8) 0; }
.hero--split .site-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34rem);
  gap: var(--sp-7);
  align-items: center;
}
/* A grid item defaults to min-width: auto, and a percentage width on a REPLACED
   element (the wheel) still contributes its intrinsic viewBox width to
   min-content. So the track was sized to the SVG's 560px, the shell grew past
   the viewport, and every line of the headline beside it was cut off on a
   phone. minmax(0, 1fr) fixes the track; this fixes the item inside it. */
.hero--split .site-shell > *,
.split-figure > *,
.demo__grid > * { min-width: 0; }
.site-page .hero__title { font-size: var(--fs-hero); max-width: 20ch; margin: var(--sp-4) 0 var(--sp-5); letter-spacing: -0.03em; }
.site-page .hero--page .hero__title { font-size: var(--fs-2xl); max-width: 20ch; }
.site-page .hero--split .hero__title { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
/* Only the long compounds Danish builds ("Personlighedsindikator") break. */
.hero__title { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 14 6 6; overflow-wrap: break-word; }
.hero__lede { font-size: var(--fs-md); line-height: 1.55; max-width: 52ch; }
.hero .actions { margin-top: var(--sp-6); }
.hero--page { padding: var(--sp-7) 0 var(--sp-8); }

/* --------------------------------------------------------------------------
   The front-page hero: navy, short, and the suite as a stack of reports

   The signal arcs stay on the page heroes; here the figure is the decoration,
   and a soft blue glow behind it does what the arcs did without sitting on top
   of a card. Offsets use the individual rotate/translate properties so the
   entrance animation (opacity, scale) cannot clobber them.
   -------------------------------------------------------------------------- */

.hero--split::after { display: none; }
.site-page .hero--split.plate--ink .hero__title { font-size: clamp(2.5rem, 5vw, 4rem); max-width: 13ch; }
.plate .hero__lede { color: var(--field-quiet); }

.hero-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-6); }
.site-page .hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-chip);
  color: #ffffff;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.site-page .hero-chip:hover { color: #ffffff; text-decoration: none; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }
.hero-chip i { width: 7px; height: 7px; border-radius: var(--r-chip); background: var(--blue-soft); }

.suite-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
  align-items: start;
  padding: var(--sp-4) 0;
}
.suite-stack::before {
  content: '';
  position: absolute;
  inset: -12% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(77, 163, 245, 0.45), rgba(77, 163, 245, 0));
  pointer-events: none;
}
.site-page .suite-card {
  --n: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: #ffffff;
  color: var(--navy);
  border-radius: var(--r-field);
  padding: var(--sp-4);
  box-shadow: 0 2px 6px rgba(5, 15, 35, 0.2), 0 24px 48px rgba(5, 15, 35, 0.3);
  text-decoration: none;
  transition: rotate 260ms var(--ease), translate 260ms var(--ease), scale 260ms var(--ease), box-shadow 260ms var(--ease);
}
.site-page .suite-card:hover { color: var(--navy); text-decoration: none; rotate: 0deg; scale: 1.03; z-index: 2; box-shadow: 0 4px 10px rgba(5, 15, 35, 0.22), 0 32px 64px rgba(5, 15, 35, 0.36); }
.suite-card--indikator     { --n: 0; rotate: -2deg;  translate: 0 14px; }
.suite-card--trivsel       { --n: 1; rotate: 1.5deg; translate: 0 -18px; }
.suite-card--atp           { --n: 2; rotate: 1.5deg; translate: 0 6px; }
.suite-card--lederprofilen { --n: 3; rotate: -1.5deg; translate: 0 -26px; }

.suite-card__name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.suite-card__name::after { content: '→'; font-family: var(--body); letter-spacing: 0; transition: translate 200ms var(--ease); }
.suite-card:hover .suite-card__name::after { translate: 3px 0; }
.suite-card .figure--card { background: none; border: 0; box-shadow: none; padding: 0; }
.suite-card .figure__cap { display: none; }
.suite-card__img { display: block; width: 100%; max-height: 13rem; object-fit: contain; }

@media (prefers-reduced-motion: no-preference) {
  .suite-card { animation: suite-in 620ms var(--ease) both; animation-delay: calc(120ms + var(--n) * 90ms); }
}
@keyframes suite-in { from { opacity: 0; scale: 0.94; } to { opacity: 1; scale: 1; } }

/* Product and pricing heroes: one featured card, tilted, with the numbers on
   a blue card lying across its corner. Same glow as the front-page stack. */
.site-page .hero .actions .btn { padding: 0 var(--sp-5); }
.account-card .suite-card__name::after { content: none; }
.site-page .account-card:hover { rotate: -1.5deg; scale: 1; }
.hero-chips__label { align-self: center; margin-right: var(--sp-1); font-size: var(--fs-xs); color: var(--field-quiet); }

.showcase { position: relative; padding: var(--sp-4) var(--sp-6) var(--sp-8) 0; }
.showcase::before {
  content: '';
  position: absolute;
  inset: -10% -12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(77, 163, 245, 0.45), rgba(77, 163, 245, 0));
  pointer-events: none;
}
.site-page .showcase__card { rotate: -1.5deg; padding: var(--sp-5); }
.showcase__card .suite-card__img { max-height: 22rem; }
.showcase--pricing { padding-bottom: var(--sp-4); }
.showcase--pricing .suite-card { rotate: -1.5deg; padding: var(--sp-5); }

.stat-card {
  position: absolute;
  right: 0;
  bottom: var(--sp-3);
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--r-field);
  rotate: 2deg;
  box-shadow: 0 2px 6px rgba(5, 15, 35, 0.2), 0 20px 40px rgba(5, 15, 35, 0.3);
}
.stat-card__item { display: flex; flex-direction: column; gap: 0.15rem; min-width: 4.5rem; }
.stat-card__item strong { font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stat-card__item span { font-size: var(--fs-xs); line-height: 1.3; color: rgba(255, 255, 255, 0.85); }

.account-card__rows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.account-card__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--mist);
}
.account-card__row:first-child { border-top: 0; }
.account-card__dot { width: 10px; height: 10px; border-radius: var(--r-chip); background: var(--brand); box-shadow: 0 0 0 4px var(--blue-wash); }
.account-card__row--off .account-card__dot { background: var(--mist-strong); box-shadow: none; }
.account-card__name { display: flex; flex-direction: column; }
.account-card__name strong { font-family: var(--display); font-size: var(--fs-md); font-weight: 800; color: var(--navy); }
.account-card__name small { font-size: var(--fs-xs); color: var(--ink-muted); }
.account-card__row--off .account-card__name strong { color: var(--ink-muted); }
.account-card__pill {
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-chip);
  background: var(--blue-wash);
  color: var(--brand-deep);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.site-page .account-card__add { font-size: var(--fs-xs); font-weight: 700; color: var(--brand); }
.account-card__note { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   Bands and section heads
   -------------------------------------------------------------------------- */

.band { padding: var(--sp-8) 0; }
.band--sunk { background: var(--paper-sunk); }
.band + .band:not(.band--sunk):not(.plate) { padding-top: 0; }
.band--tight { padding: var(--sp-7) 0; }
.band__head { max-width: var(--measure-lg); margin-bottom: var(--sp-6); }
.band__head h2 { font-size: var(--fs-xl); margin: var(--sp-4) 0 var(--sp-4); }
.band__head p { color: var(--ink-muted); font-size: var(--fs-md); }
.plate .band__head p { color: var(--field-quiet); }
.band__foot { margin-top: var(--sp-6); }

/* --------------------------------------------------------------------------
   Points grid — the six/four explainer blocks on every product page
   -------------------------------------------------------------------------- */

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--sp-6) var(--sp-5);
}
.points > div {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  background: var(--paper-raised);
  border: 1px solid var(--mist);
  border-radius: var(--r-field);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.plate .points > div { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.plate--anchor .points > div, .site-page--anchor .plate .points > div { background: #ffffff; border-color: var(--mist); }
.points h3 { font-size: var(--fs-lg); }
.points p:last-child { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.55; }
.plate .points p:last-child { color: var(--field-quiet); }

.energy-chip {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  border-radius: var(--r-chip);
  margin-right: var(--sp-2);
  vertical-align: baseline;
}

/* The 4-up energy row. The second of three places all four colours meet. */
.energies { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
.energy {
  border-radius: var(--r-field);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-height: 15rem;
}
.energy h3 { font-size: var(--fs-xl); }
.energy p { font-size: var(--fs-sm); line-height: 1.55; }
.energy .eyebrow { color: inherit; opacity: 0.72; }
.energy--drive  { background: var(--e-drive);       color: var(--on-drive); }
.energy--spark  { background: var(--e-spark);       color: var(--on-spark); }
.energy--anchor { background: var(--e-anchor-deep); color: var(--on-anchor); }
.energy--focus  { background: var(--e-focus);       color: var(--on-focus); }

/* --------------------------------------------------------------------------
   Product plates
   -------------------------------------------------------------------------- */

.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: var(--sp-5); }
.app-card {
  --cap: var(--brand);
  background: var(--paper-raised);
  border: 1px solid var(--mist);
  border-radius: var(--r-field);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.app-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.app-card__cap { height: 6px; background: linear-gradient(90deg, var(--navy), var(--brand) 70%, var(--blue-soft)); }
.app-card__body {
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  flex-grow: 1;
}
.app-card h3 { font-size: var(--fs-xl); }
.app-card__tagline { color: var(--ink-muted); font-size: var(--fs-sm); }
.app-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.app-card li { display: flex; gap: var(--sp-3); }
.app-card li::before {
  content: '';
  flex: none;
  width: 0.5em;
  height: 0.5em;
  margin-top: 0.5em;
  border-radius: var(--r-chip);
  background: var(--cap);
}
.app-card__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: auto; padding-top: var(--sp-2); }

.status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--e-anchor-deep);
}
.status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--r-chip);
  background: var(--e-anchor);
}

/* --------------------------------------------------------------------------
   Comparison table

   Kept as a real <table> with a visually-hidden <caption> and scope attributes.
   Each product column is capped in its own energy, so the eye can find the
   column it wants without reading the header.
   -------------------------------------------------------------------------- */

.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 62rem; }
.compare th, .compare td {
  text-align: left;
  vertical-align: top;
  padding: var(--sp-5) var(--sp-4);
  border-bottom: 1px solid var(--mist);
}
.compare thead th { border-bottom: none; padding-bottom: var(--sp-4); }
.compare thead th span { display: block; height: 4px; width: 2.5rem; border-radius: var(--r-chip); margin-bottom: var(--sp-4); background: var(--brand); }
.compare thead h3 { font-size: var(--fs-lg); }
.compare tbody th {
  width: 11rem;
  font-family: var(--body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.compare td { line-height: 1.5; }

.verdict {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-chip);
  margin-bottom: var(--sp-3);
}
.verdict--ja { background: var(--e-anchor-wash); color: var(--e-anchor-deep); }
.verdict--nej { background: var(--e-drive-wash); color: var(--e-drive-deep); }

/* --------------------------------------------------------------------------
   The honesty block

   It used to read as a warning banner. It is the most important block on the
   site and it should read as CONFIDENCE, not caution — so it is a full-bleed
   navy field at the same visual weight as a selling point, because it is one.
   -------------------------------------------------------------------------- */

.honesty { padding: var(--sp-8) 0; }
.honesty h2 { font-size: var(--fs-2xl); margin: var(--sp-4) 0 var(--sp-6); }
.honesty__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)); gap: var(--sp-6) var(--sp-7); }
.honesty__item { display: flex; flex-direction: column; gap: var(--sp-3); }
.honesty__item h3 { font-size: var(--fs-lg); }
.honesty__item p { font-size: var(--fs-sm); line-height: 1.62; color: var(--field-quiet); }
.honesty__tick { height: 4px; width: 3rem; border-radius: var(--r-chip); background: var(--field-accent); }
.honesty__prose { max-width: 78ch; display: flex; flex-direction: column; gap: var(--sp-4); }
.honesty__prose p { font-size: var(--fs-sm); line-height: 1.62; color: var(--field-quiet); }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps { list-style: none; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: var(--sp-5); }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: start;
  max-width: 82ch;
}
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  line-height: 1;
  color: #ffffff;
  background: var(--brand);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-chip);
  display: grid;
  place-items: center;
  font-size: var(--fs-md);
  font-weight: 800;
}
.steps p { font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-muted); }
.steps strong { color: var(--ink); font-weight: 600; }

.type-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.type-list li { display: flex; align-items: center; gap: var(--sp-4); border-bottom: 1px solid var(--mist); padding-bottom: var(--sp-3); }
.type-list strong { font-family: var(--display); font-size: var(--fs-lg); font-weight: 800; flex: none; min-width: 11rem; }
.type-list .faint { font-size: var(--fs-sm); }
.type-list .chips { display: flex; flex: none; }
.type-list .chips i { width: 15px; height: 15px; border-radius: var(--r-chip); display: block; }
.type-list .chips i + i { margin-left: -5px; }

.split-figure { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
.stack-lg { display: flex; flex-direction: column; gap: var(--sp-6); }
.stack-lg h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: var(--sp-5); }
.pricing-card {
  background: var(--paper-raised);
  border: 1px solid var(--mist);
  border-radius: var(--r-field);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.pricing-card h3 { font-size: var(--fs-lg); }
.pricing-card p { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.55; }
.pricing-card__tick { height: 4px; width: 2.75rem; border-radius: var(--r-chip); background: var(--brand); }
.pricing-card__chips { display: flex; }
.pricing-card__chips i { width: 16px; height: 16px; border-radius: var(--r-chip); display: block; }
.pricing-card__chips i + i { margin-left: -5px; }
.pricing-card__chips i { border: 2px solid #ffffff; }
.pricing-card__chips i:nth-child(1) { background: var(--navy); }
.pricing-card__chips i:nth-child(2) { background: var(--brand); }
.pricing-card__chips i:nth-child(3) { background: var(--blue-soft); }

/* --------------------------------------------------------------------------
   Demo form
   -------------------------------------------------------------------------- */

.demo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32rem); gap: var(--sp-7); align-items: start; }
.demo__form {
  background: var(--paper-raised);
  color: var(--ink);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  border-radius: var(--r-field);
  box-shadow: var(--shadow-md);
}
.demo__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }

.site-page .field-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.site-page .label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.site-page .input,
.site-page .select,
.site-page .textarea {
  min-height: 50px;
  width: 100%;
  border: 1px solid var(--mist-strong);
  border-radius: var(--r-control);
  padding: 0 var(--sp-4);
  font-family: var(--body);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--paper-raised);
}
.site-page .textarea { min-height: 7rem; padding: var(--sp-3); line-height: 1.5; resize: vertical; }
.site-page .input:focus, .site-page .select:focus, .site-page .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 127, 232, 0.15); outline: none; }

.site-page .flash {
  padding: var(--sp-4);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-control);
  background: var(--blue-wash);
  color: var(--ink);
  font-size: var(--fs-sm);
}
.site-page .flash--error { border-left-color: var(--alert); background: var(--alert-wash); }

.sample-links { display: flex; flex-direction: column; margin-top: var(--sp-6); }
.sample-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--field-quiet);
  color: var(--on-field);
  font-size: var(--fs-base);
  font-weight: 600;
  text-decoration: none;
}
.sample-links a:hover { text-decoration: none; opacity: 0.72; color: var(--on-field); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-foot { background: var(--ink-deep); color: #ffffff; }
.site-foot__inner { padding: var(--sp-7) 0 var(--sp-6); }
.site-foot__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--sp-6) var(--sp-5); }
.site-foot h4 {
  font-family: var(--display);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 var(--sp-4);
  color: var(--blue-soft);
}
.site-foot ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); font-size: var(--fs-sm); }
.site-page .site-foot a { color: #ffffff; text-decoration: none; opacity: 0.8; }
.site-page .site-foot a:hover { color: #ffffff; opacity: 1; text-decoration: underline; }
.site-foot__tagline { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.6); max-width: 30ch; margin-top: var(--sp-4); }
.site-foot .lang { margin-top: var(--sp-5); }
.site-foot .lang a { opacity: 0.62; }
.site-foot .lang a[aria-current] { opacity: 1; }

/* --------------------------------------------------------------------------
   The instrument figures

   Deliberately stylised and never a real result: a marketing page showing a
   genuine profile would be a page showing somebody's personality data.
   -------------------------------------------------------------------------- */

.figure { display: flex; flex-direction: column; gap: var(--sp-3); }
.figure__cap { display: flex; justify-content: space-between; gap: var(--sp-4); }
.figure__cap p { margin: 0; }
.figure svg { width: 100%; height: auto; display: block; }
.figure__note { font-size: var(--fs-xs); color: var(--field-quiet); }

.figure--inverse {
  background: var(--ink-deep);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  padding: var(--sp-6);
  border-radius: var(--r-field);
  /* The wheel reads --field for its hole and its sector separators, so setting
     it here is what makes the drawing sit on ink rather than punch a hole
     through to the yellow underneath. */
  --field: var(--ink-deep);
}
.figure--inverse .figure__note { color: rgba(255, 255, 255, 0.6); }

.figure--card {
  background: var(--paper-raised);
  border: 1px solid var(--mist);
  border-radius: var(--r-field);
  box-shadow: var(--shadow-md);
  padding: var(--sp-5);
}
.figure--card .figure__note { color: var(--ink-faint); }
/* A white card inside a coloured hero: it brings its own text colours rather
   than inheriting the plate's pale ones. */
.figure--card { color: var(--navy); }
.figure--card .eyebrow { color: var(--brand); }
.figure--card .muted { color: var(--ink-muted); }

.wheel { width: 100%; height: auto; display: block; max-width: 100%; }

.wheel__key { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); font-size: var(--fs-xs); }
.wheel__key li { display: flex; align-items: center; gap: var(--sp-2); }
.wheel__chip { width: 12px; height: 12px; border-radius: var(--r-chip); display: block; }

.mark { width: 2rem; height: 2rem; flex: none; display: block; }

/* --------------------------------------------------------------------------
   Sample report chrome

   NOT the marketing vocabulary. These pages embed a product's own report
   markup and its own stylesheet, and this container contract is load-bearing:
   do not change the max-width or the padding, and never set --t-base here.
   -------------------------------------------------------------------------- */

.sample-banner { border-bottom: 1px solid var(--mist); background: var(--paper-sunk); padding: var(--space-4) 0; }
.sample-banner__inner { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.sample-banner__text { font-size: var(--t-sm); color: var(--ink-muted); }
.sample-banner__actions { display: flex; gap: var(--space-3); margin-left: auto; flex-wrap: wrap; }

.site--sample .sample-report {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-5) var(--space-8);
}
.site--sample .sample-report .page-head { margin-top: 0; }

/* --------------------------------------------------------------------------
   Motion

   Opt-in rather than a kill switch: the first paint is the final frame, so a
   reader who prefers no motion never has an invisible element rescued by an
   !important override. The reduce block below is the belt to that braces —
   marketing pages no longer load indikator.css, which used to carry it.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .wheel--hero .wheel__sector {
    transform-box: view-box;
    transform-origin: 50% 50%;
    opacity: 0;
    transform: scale(0.86) rotate(-6deg);
    animation: wheel-in 700ms var(--ease) both;
    animation-delay: calc(var(--i, 0) * 70ms);
  }
  .wheel--hero .wheel__core { opacity: 0; animation: wheel-in 500ms var(--ease) 620ms both; }
  .wheel--hero .wheel__mark { opacity: 0; animation: wheel-in 400ms var(--ease) 820ms both; }
}

@keyframes wheel-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .site-page *, .site-page *::before, .site-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 62rem) {
  .site-page { --gutter: var(--sp-4); }
  .hero--split .site-shell,
  .demo__grid,
  .split-figure { grid-template-columns: minmax(0, 1fr); }
  .energies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav,
  .site-head .lang,
  .site-head__inner > .btn { display: none; }
  .suite-card { rotate: none !important; translate: none !important; }
  .showcase { padding: var(--sp-4) 0 0; }
  .stat-card { position: relative; right: auto; bottom: auto; rotate: none; margin: calc(-1 * var(--sp-5)) var(--sp-4) 0 auto; width: fit-content; }
  .nav-toggle { display: block; }
}

@media (max-width: 40rem) {
  .site-page { --fs-hero: clamp(2.125rem, 9vw, 2.75rem); }
  .hero { padding: var(--sp-7) 0; }
  .hero::after { width: 20rem; height: 20rem; right: -5rem; top: -5rem; }
  .site-page .brandmark .logo { height: 24px; }
  .band { padding: var(--sp-7) 0; }
  .energies { grid-template-columns: minmax(0, 1fr); }
  .demo__row { grid-template-columns: minmax(0, 1fr); }
  .site-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .type-list li { flex-wrap: wrap; }
  .type-list strong { min-width: 0; }
  .steps li { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .suite-stack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--sp-4) 0 var(--sp-5); }
  /* No entrance scale here: snap would align to the scaled-down box and leave
     the row scrolled a few pixels. */
  .site-page .suite-card { flex: 0 0 78%; scroll-snap-align: start; animation: none; }
  .site-page .showcase .suite-card { flex: none; }
  .stat-card { gap: var(--sp-4); padding: var(--sp-3) var(--sp-4); }
  .stat-card__item strong { font-size: 1.6rem; }
}
