/* Hara — Tron-noir design system
   Detail-driven UI: hairlines, corner ticks, bracketed labels, numbered
   indices, neon glow on near-black. Dark-only. */

/* The --hara-* tokens, the detail primitives (.hara-kicker, .hara-index,
   .hara-frame, .hara-strip, .hara-tty-*) and the .hara-studio-* block live in
   rust/web/studio/studio.css (deployed at /rust/studio/studio.css), shared
   with the hara-chrome panel — edit them there, not here. The relative
   @import resolves against this file's URL in the deployed site; a local
   `mkdocs serve` without the rust artifacts 404s it (studio page unstyled
   locally, build unaffected). */
@import url("../rust/studio/studio.css");

/* mkdocs-material slate scheme -> noir */
[data-md-color-scheme="slate"] {
  --md-default-bg-color: var(--hara-bg);
  --md-default-fg-color: var(--hara-panel);
  --md-default-fg-color--light: var(--hara-raised);
  --md-default-fg-color--lightest: var(--hara-overlay);
  --md-primary-fg-color: var(--hara-abyss);
  --md-primary-fg-color--light: var(--hara-panel);
  --md-accent-fg-color: var(--hara-cyan);
  --md-typeset-color: var(--hara-text);
  --md-typeset-a-color: var(--hara-cyan);
  --md-code-bg-color: var(--hara-abyss);
  --md-code-fg-color: var(--hara-text);
  --md-footer-bg-color: var(--hara-abyss);
  --md-footer-fg-color: var(--hara-muted);
  --md-footer-fg-color--light: var(--hara-faint);
  --md-footer-fg-color--lighter: var(--hara-faint);
  --md-shadow-z1: 0 0 .2rem rgba(0, 0, 0, .6), 0 0 .05rem rgba(65, 245, 228, .15);
  --md-shadow-z2: 0 .2rem .5rem rgba(0, 0, 0, .5), 0 0 .05rem rgba(65, 245, 228, .12);
  --hsl-cyan: 174 90% 61%;
  --md-accent-fg-color--transparent: hsla(174, 90%, 61%, .12);
}

body {
  background: var(--hara-bg);
}

::selection {
  background: rgba(65, 245, 228, .28);
  color: #eafcff;
}

/* ------------------------------------------------------- chrome surfaces */

.md-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
  color: var(--hara-text);
}

.md-header[data-md-state="shadow"] {
  background: transparent;
  box-shadow: none;
}

.md-header__title,
.md-header__option,
.md-header .md-icon {
  color: var(--hara-text);
}

.md-tabs {
  background: transparent;
  border-bottom: 1px solid var(--hara-line);
  color: var(--hara-muted);
}

.md-tabs__link--active,
.md-tabs__link:hover {
  color: var(--hara-cyan);
  text-shadow: 0 0 10px rgba(65, 245, 228, .45);
}

.md-tabs__item {
  height: auto;
}

/* fixed grid background sits below the veil; the veil is a fixed ::before
   layer so stacking order is: scene (-2) -> veil (-1) -> content */
.md-main {
  position: relative;
  z-index: 1;
}

.md-main::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(rgba(5, 7, 13, .88), rgba(5, 7, 13, .94));
}

.md-main:has(.hara-home)::before {
  background: radial-gradient(
    ellipse 95% 75% at 50% 42%,
    rgba(5, 7, 13, .55) 0%,
    rgba(5, 7, 13, .82) 100%);
}

/* fixed site-wide backdrop for the light-cycle game (overrides/main.html);
   no static grid — only the trails */
.hara-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: linear-gradient(#020408, #04060c 55%, #071019);
}

.hara-game {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.md-main__inner {
  margin-top: 1.6rem;
}

.md-main__inner:has(.hara-home) {
  margin-top: 0;
}

.md-content__inner {
  max-width: 980px;
}

/* sidebar + toc: hairline structure, cyan active state */
.md-sidebar {
  background: transparent;
}

.md-sidebar__scrollwrap {
  border-right: 1px solid var(--hara-line);
}

.md-nav__link {
  color: var(--hara-muted);
  border-left: 1px solid transparent;
  transition: color .15s, border-color .15s, text-shadow .15s;
}

.md-nav__link:hover {
  color: var(--hara-text);
}

.md-nav__link--active,
.md-nav__link[aria-current="page"] {
  color: var(--hara-cyan);
  border-left-color: var(--hara-cyan);
  text-shadow: 0 0 10px rgba(65, 245, 228, .35);
}

.md-nav__title {
  color: var(--hara-faint);
  font-family: var(--hara-mono);
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.md-nav--secondary .md-nav__link {
  font-size: .68rem;
}

/* footer */
.md-footer {
  position: relative;
  z-index: 1;
  background: var(--hara-abyss);
  border-top: 1px solid var(--hara-line);
}

.md-footer-meta {
  background: transparent;
  border-top: 1px solid rgba(65, 245, 228, .07);
}

/* ------------------------------------------------------------ typography */

.md-typeset {
  color: var(--hara-text);
  font-size: .82rem;
  line-height: 1.75;
}

.md-typeset h1,
.md-typeset h2 {
  letter-spacing: -.045em;
  color: var(--hara-cyan);
  text-shadow: 0 0 24px rgba(65, 245, 228, .18);
}

.md-typeset h1 {
  font-weight: 700;
}

.md-typeset h2 {
  margin-top: 2.4em;
  padding-top: .8em;
  border-top: 1px solid var(--hara-line);
  font-weight: 600;
}

.md-typeset h3,
.md-typeset h4 {
  color: var(--hara-text);
  letter-spacing: -.02em;
}

.md-typeset a {
  color: var(--hara-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(65, 245, 228, .25);
  transition: color .15s, border-color .15s, text-shadow .15s;
}

.md-typeset a:hover {
  color: var(--hara-magenta);
  border-bottom-color: var(--hara-magenta);
  text-shadow: 0 0 10px rgba(255, 46, 136, .4);
}

.md-typeset hr {
  border: 0;
  height: 1px;
  background: var(--hara-line);
  position: relative;
  margin: 3em 0;
}

.md-typeset hr::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -2.5px;
  width: 6px;
  height: 6px;
  background: var(--hara-cyan);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: var(--hara-glow-cyan);
}

.md-typeset strong {
  color: var(--hara-cyan-bright);
}

.md-typeset blockquote {
  border-left: 1px solid var(--hara-line-strong);
  color: var(--hara-muted);
  background: rgba(10, 15, 24, .5);
  padding: .8rem 1.2rem;
}

/* ---------------------------------------------------------- code, tables */

.md-typeset code {
  background: var(--hara-raised);
  border: 1px solid rgba(65, 245, 228, .12);
  border-radius: 14px;
  color: var(--hara-cyan-bright);
  font-family: var(--hara-mono);
  font-size: .78em;
}

.md-typeset pre {
  background: var(--hara-abyss);
  border: 1px solid var(--hara-line);
  border-radius: 2px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .4);
}

.md-typeset pre:hover {
  border-color: var(--hara-line-strong);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .5), var(--hara-glow-cyan);
}

.md-typeset pre > code {
  background: transparent;
  border: 0;
  color: var(--hara-text);
  font-size: .78rem;
  line-height: 1.7;
}

/* syntax accents inside highlighted blocks */
.md-typeset .highlight .c,
.md-typeset .highlight .c1,
.md-typeset .highlight .cm {
  color: var(--hara-faint);
  font-style: italic;
}

.md-typeset .highlight .k,
.md-typeset .highlight .kd,
.md-typeset .highlight .kn {
  color: var(--hara-magenta);
}

.md-typeset .highlight .s,
.md-typeset .highlight .s1,
.md-typeset .highlight .s2 {
  color: var(--hara-green);
}

.md-typeset .highlight .nf,
.md-typeset .highlight .nv {
  color: var(--hara-cyan);
}

.md-typeset .highlight .mi,
.md-typeset .highlight .mf,
.md-typeset .highlight .no {
  color: var(--hara-violet);
}

/* hara.js adds this on first click into a code block */
.hara-code-touched {
  box-shadow: inset 0 0 0 1px var(--hara-line-strong);
}

.md-typeset table:not([class]) {
  background: var(--hara-panel);
  border: 1px solid var(--hara-line);
  font-size: .74rem;
}

.md-typeset table:not([class]) th {
  font-family: var(--hara-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hara-cyan);
  background: var(--hara-abyss);
  border-bottom: 1px solid var(--hara-line-strong);
}

.md-typeset table:not([class]) td {
  border-top: 1px solid rgba(65, 245, 228, .08);
}

.md-typeset table:not([class]) tr:hover td {
  background: rgba(65, 245, 228, .04);
}

/* ----------------------------------------------------------- admonitions */

.md-typeset .admonition,
.md-typeset details {
  background: var(--hara-panel);
  border: 1px solid var(--hara-line);
  border-left: 2px solid var(--hara-cyan);
  border-radius: 0;
  box-shadow: none;
}

.md-typeset .admonition-title,
.md-typeset summary {
  background: var(--hara-abyss);
  border-bottom: 1px solid var(--hara-line);
  font-family: var(--hara-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hara-cyan);
}

.md-typeset .admonition-title::before,
.md-typeset summary::before {
  left: .8rem;
}

.md-typeset .warning.admonition,
.md-typeset details.warning {
  border-left-color: var(--hara-amber);
}

.md-typeset .warning .admonition-title,
.md-typeset details.warning > summary {
  color: var(--hara-amber);
}

.md-typeset .danger.admonition,
.md-typeset details.danger {
  border-left-color: var(--hara-magenta);
}

.md-typeset .danger .admonition-title,
.md-typeset details.danger > summary {
  color: var(--hara-magenta);
}

/* -------------------------------------------------------- detail widgets */

/* .hara-kicker, .hara-index, .hara-frame, .hara-strip and .hara-tty-* moved
   to rust/web/studio/studio.css (see the @import at the top of this file). */

/* -------------------------------------------------------------- buttons */

.md-button {
  font-family: var(--hara-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--hara-line-strong);
  border-radius: 0;
  color: var(--hara-cyan);
  transition: box-shadow .2s, border-color .2s, color .2s;
}

.md-button:hover {
  border-color: var(--hara-cyan);
  box-shadow: var(--hara-glow-cyan);
}

.md-button--primary {
  background: linear-gradient(160deg, #8ffff2 0%, #41f5e4 45%, #1fbfae 100%);
  color: #041011 !important;
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 18px rgba(65, 245, 228, .3);
}

.md-button--primary:hover {
  box-shadow: 0 0 22px rgba(65, 245, 228, .5);
}

/* --------------------------------------------------------- landing page */

.hara-home {
  padding: 0 3vw 5vh;
}

/* hero scene (parallax layers driven by hara.js via --hara-depth) */

.hara-scene-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* larger --hara-depth = farther away = moves less */
.hara-scene__layer {
  transform: translate3d(
    calc(var(--hara-mx, 0) * (10 - var(--hara-depth)) * -5px),
    calc(var(--hara-my, 0) * (10 - var(--hara-depth)) * -3.5px + var(--hara-scroll, 0) * (10 - var(--hara-depth)) * 12px),
    0);
  will-change: transform;
}

/* single flex item inside .md-main__inner (a flex row) so the intro and
   content stack vertically instead of side by side */

.hara-home-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

/* home system panel: fixed OS-like command surface + wasm evaluation log */

.hara-system-bar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto auto;
  align-items: stretch;
  box-sizing: border-box;
  color: #c6d4e3;
  background: rgba(3, 5, 10, .82);
  border-bottom: 1px solid var(--hara-line);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
}

.hara-system-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 1rem;
  color: var(--hara-text) !important;
  border-bottom: 0 !important;
  font-family: var(--hara-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.hara-system-brand img,
.hara-system-apple {
  width: 22px;
  height: 22px;
}

.hara-system-apple {
  fill: url(#appleGrad);
  filter: drop-shadow(0 0 5px rgba(65, 245, 228, .5));
  animation: hara-apple-glow 3s ease-in-out infinite;
}

@keyframes hara-apple-glow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(65, 245, 228, .5)); }
  50% { filter: drop-shadow(0 0 12px rgba(65, 245, 228, .85)); }
}

.hara-system-brand__os {
  color: var(--hara-cyan);
}

.hara-system-nav {
  display: flex;
  align-items: stretch;
}

.hara-system-nav a {
  display: flex;
  align-items: center;
  padding: 0 .85rem;
  color: #aabaca;
  font-family: var(--hara-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .15s, background .15s;
}

.hara-system-nav a:hover,
.hara-system-nav a:focus-visible {
  color: var(--hara-cyan-bright);
  background: rgba(65, 245, 228, .08);
  outline: none;
}

.hara-system-palette {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-self: center;
  min-width: 280px;
  max-width: 520px;
  width: 40vw;
  padding: 0 .75rem;
  margin: 6px 0;
  color: #8b9db0;
  background: rgba(2, 4, 8, .55);
  border: 1px solid var(--hara-line);
  border-radius: 6px;
  font-family: var(--hara-mono);
  font-size: .62rem;
  transition: border-color .15s, box-shadow .15s;
}

.hara-system-palette:focus-within {
  border-color: rgba(65, 245, 228, .45);
  box-shadow: 0 0 12px rgba(65, 245, 228, .12);
}

.hara-system-palette__prompt {
  color: var(--hara-cyan);
}

.hara-system-palette input {
  flex: 1;
  min-width: 0;
  color: #c6d4e3;
  background: transparent;
  border: 0;
  font: inherit;
  letter-spacing: .02em;
  outline: none;
}

.hara-system-palette input::placeholder {
  color: #5a6f82;
}

.hara-system-runtime {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 0 .9rem;
  font-family: var(--hara-mono);
  font-size: .55rem;
  letter-spacing: .12em;
  color: #8b9db0;
}

.hara-system-runtime span:last-child {
  color: #c6d4e3;
}

.hara-system-log-toggle,
.hara-system-console__head button,
.hara-system-panel-toggle {
  color: #aabaca;
  background: transparent;
  border: 0;
  font-family: var(--hara-mono);
  cursor: pointer;
}

.hara-system-panel-toggle:hover,
.hara-system-panel-toggle:focus-visible {
  color: var(--hara-cyan-bright);
  background: rgba(65, 245, 228, .08);
  outline: none;
}

.hara-system-led {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--hara-amber);
  box-shadow: 0 0 9px rgba(255, 189, 104, .7);
  animation: hara-system-boot 1s steps(2, end) infinite;
}

.hara-system-led.is-ready {
  background: var(--hara-green);
  box-shadow: 0 0 9px rgba(61, 255, 158, .75);
  animation: none;
}

.hara-system-led.is-error {
  background: var(--hara-magenta);
  box-shadow: 0 0 9px rgba(255, 46, 136, .75);
  animation: none;
}

@keyframes hara-system-boot {
  50% { opacity: .3; }
}

.hara-system-log-toggle {
  min-width: 92px;
  border-right: 0;
  padding: 0 1rem;
  font-size: .58rem;
  letter-spacing: .14em;
}

.hara-system-panel-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  margin-right: 8px;
  border: 0;
  border-left: 1px solid var(--hara-line);
  background: transparent;
  color: #aabaca;
  cursor: pointer;
}

.hara-system-panel-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hara-system-panel-toggle:hover,
.hara-system-panel-toggle:focus-visible,
body.is-panel-open .hara-system-panel-toggle {
  color: var(--hara-cyan);
  background: rgba(65, 245, 228, .08);
  outline: none;
}

.hara-system-search-toggle,
.hara-system-palette-toggle-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  color: #aabaca;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--hara-line);
  cursor: pointer;
}

.hara-system-search-toggle svg,
.hara-system-palette-toggle-mobile svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hara-system-search-toggle:hover,
.hara-system-search-toggle:focus-visible,
.hara-system-palette-toggle-mobile:hover,
.hara-system-palette-toggle-mobile:focus-visible {
  color: var(--hara-cyan);
  background: rgba(65, 245, 228, .08);
  outline: none;
}

.hara-system-palette-toggle-mobile {
  display: none;
}

.hara-system-panel {
  position: fixed;
  z-index: 19;
  top: 48px;
  right: 0;
  bottom: 0;
  width: min(360px, 85vw);
  display: flex;
  flex-direction: column;
  background: rgba(3, 5, 10, .96);
  border-left: 1px solid var(--hara-line-strong);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .45);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), visibility .35s;
  visibility: hidden;
}

body.is-panel-open .hara-system-panel {
  transform: translateX(0);
  visibility: visible;
}

.hara-system-palette-sheet {
  position: fixed;
  z-index: 18;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: rgba(3, 5, 10, .96);
  border-top: 1px solid var(--hara-line-strong);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .45);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), visibility .35s;
  visibility: hidden;
}

body.is-palette-open .hara-system-palette-sheet {
  transform: translateY(0);
  visibility: visible;
}

.hara-system-palette-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding-left: 1rem;
  color: var(--hara-faint);
  border-bottom: 1px solid var(--hara-line);
  font-family: var(--hara-mono);
  font-size: .58rem;
  letter-spacing: .16em;
}

.hara-system-palette-sheet__head button {
  align-self: stretch;
  width: 44px;
  color: var(--hara-muted);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--hara-line);
  font-size: 1rem;
  cursor: pointer;
}

.hara-system-palette-sheet__head button:hover,
.hara-system-palette-sheet__head button:focus-visible {
  color: var(--hara-cyan);
  background: rgba(65, 245, 228, .08);
  outline: none;
}

.hara-system-palette-sheet .hara-system-palette {
  margin: .75rem 1rem 1.25rem;
  width: auto;
  max-width: none;
  min-width: 0;
}

.hara-system-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding-left: 1.2rem;
  color: var(--hara-faint);
  border-bottom: 1px solid var(--hara-line);
  font-family: var(--hara-mono);
  font-size: .58rem;
  letter-spacing: .16em;
}

.hara-system-panel__head button {
  align-self: stretch;
  width: 48px;
  color: var(--hara-muted);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--hara-line);
  font-size: 1rem;
  cursor: pointer;
}

.hara-system-panel__head button:hover,
.hara-system-panel__head button:focus-visible {
  color: var(--hara-cyan);
  background: rgba(65, 245, 228, .08);
  outline: none;
}

.hara-system-panel__body {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
}

.hara-system-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  margin-bottom: .7rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  font-family: var(--hara-mono);
  font-size: .62rem;
  letter-spacing: .12em;
}

.hara-system-tile__label {
  color: var(--hara-muted);
  text-transform: uppercase;
}

.hara-system-tile__value {
  color: var(--hara-cyan);
}

.hara-system-tile--disabled {
  color: var(--hara-faint);
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .05);
  cursor: not-allowed;
}

.hara-system-panel__section {
  margin-top: 1.2rem;
}

.hara-system-panel__section-title {
  display: block;
  margin-bottom: .7rem;
  color: var(--hara-faint);
  font-family: var(--hara-mono);
  font-size: .55rem;
  letter-spacing: .14em;
}

.hara-system-notify {
  padding: .75rem 1rem;
  margin-bottom: .5rem;
  color: var(--hara-text);
  background: rgba(65, 245, 228, .06);
  border-left: 2px solid var(--hara-cyan);
  border-radius: 0 6px 6px 0;
  font-family: var(--hara-mono);
  font-size: .68rem;
}

.hara-system-log-toggle span {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  margin-left: .4rem;
  color: var(--hara-abyss);
  background: var(--hara-cyan);
  border-radius: 10px;
}

.hara-system-log-toggle:hover,
.hara-system-log-toggle:focus-visible,
.hara-system-bar.is-console-open .hara-system-log-toggle {
  color: var(--hara-cyan);
  background: rgba(65, 245, 228, .08);
  outline: none;
}

.hara-system-log-toggle.has-activity span {
  animation: hara-log-activity .65s ease-out;
}

@keyframes hara-log-activity {
  50% { box-shadow: 0 0 22px rgba(65, 245, 228, .9); transform: scale(1.15); }
}

.hara-system-console {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  width: min(560px, calc(100vw - 20px));
  max-height: min(520px, calc(100vh - 72px));
  display: flex;
  flex-direction: column;
  background: rgba(3, 5, 10, .96);
  border: 1px solid var(--hara-line-strong);
  border-top: 0;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), var(--hara-glow-cyan);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transform-origin: top right;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.hara-system-bar.is-console-open .hara-system-console {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hara-system-console__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding-left: 1rem;
  color: var(--hara-faint);
  border-bottom: 1px solid var(--hara-line);
  font-family: var(--hara-mono);
  font-size: .58rem;
  letter-spacing: .16em;
}

.hara-system-console__head button {
  align-self: stretch;
  width: 42px;
  color: var(--hara-muted);
  border-left: 1px solid var(--hara-line);
  font-size: 1rem;
}

.hara-system-console__head button:hover,
.hara-system-console__head button:focus-visible {
  color: var(--hara-cyan);
  background: rgba(65, 245, 228, .08);
  outline: none;
}

.hara-system-console .hara-console-log {
  min-height: 190px;
  flex: 1;
  padding: .8rem 0;
}

.hara-system-console .hara-strip {
  border-bottom: 0;
}

/* hero text: left-aligned glass panel in the first screen over the grid;
   TRY HARA sits at the side on wide screens, under the title on mobile */

.hara-home-intro {
  /* full-bleed glass: home.html overrides the container block, so this
     sits at main level and 50% resolves against the centered main inner */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5vw;
  padding: 8vh 6vw;
  text-align: left;
  background:
    linear-gradient(160deg, rgba(20, 30, 48, .14), rgba(6, 9, 16, .20) 60%, rgba(10, 16, 26, .12));
  -webkit-backdrop-filter: blur(5px) saturate(1.25);
  backdrop-filter: blur(5px) saturate(1.25);
  box-shadow:
    inset 0 1px 0 rgba(237, 246, 255, .07),
    inset 0 0 80px rgba(65, 245, 228, .04),
    0 30px 80px rgba(0, 0, 0, .45);
  transition: opacity .5s ease, transform .5s ease;
}

.hara-home-intro.is-faded {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}

.hara-home-title {
  flex: 0 1 auto;
  max-width: none;
}

.hara-home-kicker {
  font-family: var(--hara-mono);
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--hara-cyan);
}

.hara-home-title h1 {
  display: block;
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: .9;
  letter-spacing: .06em;
  margin: 28px 0 10px;
  background: linear-gradient(105deg,
    #f4fbff 0%, #b8f8ee 28%, #41f5e4 52%, #37b6ff 78%, #8a6bff 105%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 34px rgba(65, 245, 228, .3));
  animation: hara-wordmark-shimmer 18s ease-in-out infinite;
}

@keyframes hara-wordmark-shimmer {
  0%, 8% { background-position: 0% 50%; }
  50%, 58% { background-position: 100% 50%; }
  92%, 100% { background-position: 0% 50%; }
}

.hara-home-tagline {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.035em;
  background: linear-gradient(105deg, #2a8f8a 0%, #3a7a99 35%, #6a5aa8 72%, #2c1a4a 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(65, 245, 228, .1));
}

.hara-home-playground {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(560px, 86vw);
}

.hara-home-palette {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  padding: .9rem 1rem;
  background: rgba(2, 4, 8, .72);
  border: 1px solid var(--hara-line-strong);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--hara-mono);
  font-size: .95rem;
  color: #c6d4e3;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
}

.hara-home-palette__prompt {
  color: var(--hara-cyan);
  font-weight: 700;
}

.hara-home-palette input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  outline: none;
  caret-color: var(--hara-cyan);
}

.hara-home-palette input::placeholder {
  color: #5a6f82;
}

.hara-home-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

.hara-home-chips button {
  padding: .35rem .7rem;
  background: rgba(65, 245, 228, .08);
  border: 1px solid rgba(65, 245, 228, .25);
  border-radius: 999px;
  color: var(--hara-cyan-bright);
  font-family: var(--hara-mono);
  font-size: .65rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}

.hara-home-chips button:hover {
  background: rgba(65, 245, 228, .16);
  box-shadow: 0 0 12px rgba(65, 245, 228, .15);
}

.hara-home-hero-line {
  display: none;
}

.hara-home-tagline {
  display: block;
  vertical-align: baseline;
  padding-right: 0;
}

.hara-home-intro .hara-home-actions {
  justify-content: flex-start;
  margin: 28px 0 0;
}

.hara-home-intro .md-button--primary {
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-width: 190px;
  padding: 1rem 1.5rem;
  color: #eafcff !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(65, 245, 228, .12));
  border: 1px solid rgba(143, 255, 242, .52);
  -webkit-backdrop-filter: blur(12px) saturate(1.35);
  backdrop-filter: blur(12px) saturate(1.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 24px rgba(65, 245, 228, .16);
}

.hara-home-intro .md-button--primary::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 18px;
  height: 18px;
  top: 50%;
  right: -10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 8%, #a5fff5 25%, #41f5e4 52%, rgba(65, 245, 228, 0) 74%);
  transform: translateY(-50%) scale(1);
  box-shadow: 0 0 10px 3px rgba(65, 245, 228, .6), 0 0 28px 8px rgba(65, 245, 228, .22);
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), box-shadow .9s ease;
  animation: hara-cta-orb 4.5s ease-in-out infinite;
}

.hara-home-intro .md-button--primary:hover::before {
  transform: translateY(-50%) scale(2.45);
  box-shadow: 0 0 14px 5px rgba(65, 245, 228, .8), 0 0 42px 16px rgba(65, 245, 228, .38), 0 0 80px 22px rgba(156, 123, 255, .18);
  animation: none;
}

.hara-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(200px, 24vw, 300px);
  min-height: clamp(108px, 12vw, 140px);
  padding: clamp(1rem, 2.2vw, 1.6rem) clamp(1.6rem, 3.2vw, 2.6rem);
  color: #061316;
  font-family: var(--hara-mono);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: .22em;
  text-align: center;
  text-decoration: none !important;
  border: 0 !important;
  outline: none;
  border-radius: 26px;
  background: linear-gradient(105deg,
    #f4fbff 0%, #b8f8ee 28%, #41f5e4 52%, #37b6ff 78%, #8a6bff 105%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 0 18px rgba(65, 245, 228, .42), 0 0 42px rgba(156, 123, 255, .2);
  opacity: .82;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), letter-spacing .9s cubic-bezier(.16, 1, .3, 1), opacity .7s ease, filter .9s ease, box-shadow .9s ease;
  animation: hara-start-pulse 4.5s ease-in-out infinite,
    hara-wordmark-shimmer 18s ease-in-out infinite;
}

.hara-start:hover {
  color: #061316;
  letter-spacing: .08em;
  transform: scale(1.1) translateY(-3px);
  opacity: 1;
  filter: brightness(1.22) saturate(1.15);
  box-shadow: 0 0 26px rgba(65, 245, 228, .65), 0 0 68px rgba(156, 123, 255, .38);
}

.hara-intro-window {
  position: fixed;
  z-index: 25;
  top: 50%;
  left: 50%;
  width: min(520px, 90vw);
  padding: 0;
  margin: 0;
  color: var(--hara-text);
  background: rgba(3, 5, 10, .96);
  border: 1px solid var(--hara-line-strong);
  border-radius: 14px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6), var(--hara-glow-cyan);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  pointer-events: none;
  transition: opacity .35s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}

.hara-intro-window.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.hara-intro-window__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.1rem;
  color: var(--hara-faint);
  border-bottom: 1px solid var(--hara-line);
  font-family: var(--hara-mono);
  font-size: .58rem;
  letter-spacing: .16em;
}

.hara-intro-window__head button {
  width: 34px;
  height: 34px;
  color: var(--hara-muted);
  background: transparent;
  border: 1px solid var(--hara-line);
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
}

.hara-intro-window__head button:hover,
.hara-intro-window__head button:focus-visible {
  color: var(--hara-cyan);
  border-color: var(--hara-cyan);
  outline: none;
}

.hara-intro-window__body {
  padding: 1.4rem 1.6rem;
  font-size: .95rem;
  line-height: 1.6;
}

.hara-intro-window__body p {
  margin: 0 0 .8rem;
}

.hara-intro-window__body ul {
  margin: 0;
  padding-left: 1.2rem;
}

.hara-intro-window__body li {
  margin-bottom: .5rem;
}

.hara-intro-window__body b {
  color: var(--hara-cyan);
  font-weight: 600;
}

.hara-intro-window__foot {
  display: flex;
  justify-content: flex-end;
  padding: 0 1.6rem 1.4rem;
}

@keyframes hara-start-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes hara-cta-orb {
  0%, 100% { transform: translateY(-50%) scale(.92); opacity: .82; }
  50% { transform: translateY(-50%) scale(1.16); opacity: 1; }
}

.hara-home-intro .md-button--primary:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, .3), rgba(65, 245, 228, .2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 30px rgba(65, 245, 228, .32);
}

.hara-home-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 35px 0 70px;
}

.hara-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  .hara-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hara-home-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 25px;
  color: inherit !important;
  text-decoration: none !important;
  border: 1px solid var(--hara-line);
  background: linear-gradient(160deg, rgba(14, 21, 34, .85), rgba(5, 7, 13, .9));
  position: relative;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.hara-home-card:nth-child(even) {
  color: #0a141d !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(212, 232, 235, .52));
  border-color: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
}

.hara-home-card:nth-child(even) span:last-child { color: #425260; }

/* corner ticks on cards */
.hara-home-card::before,
.hara-home-card::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--hara-cyan);
  opacity: .55;
  transition: opacity .2s, box-shadow .2s;
}

.hara-home-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.hara-home-card::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.hara-home-card:hover {
  transform: translateY(-5px);
  border-color: var(--hara-line-strong);
  box-shadow: 0 0 30px rgba(65, 245, 228, .12);
}

.hara-home-card:hover::before,
.hara-home-card:hover::after {
  opacity: 1;
  box-shadow: var(--hara-glow-cyan);
}

.hara-card-index {
  font-family: var(--hara-mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--hara-cyan);
}

.hara-home-card strong {
  font-size: 1.5rem;
  line-height: 1;
}

.hara-home-card strong em {
  color: var(--hara-cyan);
  font-style: normal;
}

.hara-home-card span:last-child {
  color: var(--hara-muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* home sections below the card grid */

.hara-home-section {
  max-width: 1180px;
  margin: 90px auto 0;
}

/* Alternating glass surfaces keep the landing page legible over the moving
   Tron field while giving each section its own visual temperature. */
.hara-glass {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 24px 70px rgba(0, 0, 0, .28);
}

.hara-glass--dark {
  background: linear-gradient(145deg, rgba(3, 5, 10, .92), rgba(8, 12, 18, .85));
}

.hara-glass--dark-soft {
  background: linear-gradient(145deg, rgba(3, 5, 10, .88), rgba(8, 12, 18, .78));
}

/* ensure text stays legible on dark glass */
.hara-glass--dark,
.hara-glass--dark-soft {
  color: var(--hara-text);
}

.hara-glass--dark .hara-kicker,
.hara-glass--dark-soft .hara-kicker {
  color: var(--hara-cyan);
  text-shadow: 0 0 12px rgba(65, 245, 228, .35);
}

.hara-glass--dark .hara-console-head,
.hara-glass--dark-soft .hara-console-head,
.hara-glass--dark .hara-demo-note,
.hara-glass--dark-soft .hara-demo-note,
.hara-glass--dark .hara-strip > span,
.hara-glass--dark-soft .hara-strip > span,
.hara-glass--dark .hara-index,
.hara-glass--dark-soft .hara-index {
  color: #9aaaba;
}

.hara-glass--dark .hara-home-card span:last-child,
.hara-glass--dark-soft .hara-home-card span:last-child {
  color: var(--hara-muted);
}

.hara-glass--dark .hara-console-head,
.hara-glass--dark-soft .hara-console-head,
.hara-glass--dark .hara-console-entry,
.hara-glass--dark-soft .hara-console-entry,
.hara-glass--dark .hara-strip,
.hara-glass--dark-soft .hara-strip {
  border-color: rgba(255, 255, 255, .10);
}

/* frames inside a glass panel inherit the panel's surface */
.hara-glass .hara-frame {
  background: transparent;
  border-color: rgba(255, 255, 255, .12);
}

.hara-glass--light .hara-frame {
  border-color: rgba(8, 16, 25, .18);
}

.hara-glass .hara-frame::before,
.hara-glass .hara-frame::after {
  opacity: .35;
}

.hara-glass .hara-frame:hover::before,
.hara-glass .hara-frame:hover::after {
  opacity: 1;
}

.hara-glass--light .hara-home-card:nth-child(odd) {
  color: #0a141d !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .74), rgba(212, 232, 235, .46));
  border-color: rgba(255, 255, 255, .42);
}

.hara-glass--light .hara-home-card:nth-child(odd) span:last-child { color: #425260; }

.hara-glass--light {
  color: #081019;
  background: linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(210, 232, 235, .56));
  border-color: rgba(255, 255, 255, .48);
}

.hara-glass--light .hara-kicker,
.hara-glass--light .hara-console-head,
.hara-glass--light .hara-demo-note,
.hara-glass--light .hara-strip > span {
  color: #425260;
}

.hara-glass--light .hara-console-head,
.hara-glass--light .hara-console-entry,
.hara-glass--light .hara-strip {
  border-color: rgba(8, 16, 25, .18);
}

.hara-glass--light .hara-tty,
.hara-glass--light .hara-console-line {
  color: #172733;
}

.hara-glass--light .hara-tty-o { color: #61717c; }

.hara-glass--light .hara-console-input { color: #087f75; }

.hara-home-section > .hara-kicker {
  display: block;
  margin-bottom: 18px;
}

.hara-home > .hara-home-section:first-child {
  margin-top: 0;
}

/* mock REPL console */
.hara-console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--hara-line);
  font-family: var(--hara-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--hara-muted);
  background: rgba(3, 5, 10, .6);
}

.hara-console-head .hara-index {
  color: var(--hara-cyan);
}

.hara-tty {
  margin: 0;
  padding: 1.1rem 1.2rem;
  font-family: var(--hara-mono);
  font-size: .74rem;
  line-height: 1.8;
  color: var(--hara-text);
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow-x: auto;
  white-space: pre;
}

.hara-console .hara-strip {
  border-bottom: 0;
}

/* live console (home page, wasm runtime) */

.hara-console-log {
  max-height: 340px;
  overflow-y: auto;
}

.hara-console-line {
  padding: 0 1.2rem;
  font-family: var(--hara-mono);
  font-size: .74rem;
  line-height: 1.8;
  color: var(--hara-text);
  white-space: pre-wrap;
  word-break: break-word;
}

.hara-console-line--error,
.hara-console-err {
  color: #ff7b93;
}

.hara-console-entry {
  display: flex;
  align-items: baseline;
  gap: .6em;
  padding: .6rem 1.2rem;
  border-top: 1px solid var(--hara-line);
  background: rgba(3, 5, 10, .6);
  font-family: var(--hara-mono);
  font-size: .74rem;
}

.hara-console-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--hara-cyan-bright);
  font-family: var(--hara-mono);
  font-size: .74rem;
  caret-color: var(--hara-cyan);
}

.hara-console-input::placeholder {
  color: var(--hara-faint);
}

.hara-command-deck {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.2rem;
  border-top: 1px solid var(--hara-line);
  background: rgba(3, 5, 10, .34);
}

.hara-command-label,
.hara-command {
  font-family: var(--hara-mono);
  font-size: .58rem;
  letter-spacing: .14em;
}

.hara-command-label {
  margin-right: .35rem;
  color: var(--hara-faint);
}

.hara-command {
  padding: .5rem .7rem;
  color: var(--hara-cyan);
  background: rgba(65, 245, 228, .05);
  border: 1px solid var(--hara-line);
  cursor: pointer;
  transition: color .25s ease, background .4s ease, border-color .4s ease, box-shadow .5s ease, transform .5s cubic-bezier(.16, 1, .3, 1);
}

.hara-command:hover,
.hara-command:focus-visible {
  color: #061316;
  background: var(--hara-cyan);
  border-color: var(--hara-cyan);
  box-shadow: 0 0 18px rgba(65, 245, 228, .35);
  transform: translateY(-2px);
}

/* home demo panels (wasm sound demos) */

.hara-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 900px) {
  .hara-demo-grid {
    grid-template-columns: 1fr;
  }
}

.hara-demo-canvas {
  display: block;
  width: 100%;
  height: 220px;
  background: rgba(3, 5, 10, .6);
}

.hara-demo-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: .8rem 1rem;
}

.hara-demo-actions .md-button {
  cursor: pointer;
  font-family: inherit;
}

.hara-demo-note {
  font-family: var(--hara-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  color: var(--hara-faint);
}

.hara-demo .hara-strip {
  border-bottom: 0;
}

/* closing call to action */
.hara-cta {
  padding: 3rem;
  text-align: center;
}

.hara-cta p {
  color: var(--hara-muted);
  font-size: 1.05rem;
  margin: 1rem 0 0;
}

.hara-cta .hara-kicker {
  display: block;
  margin-bottom: 1.4rem;
}

.hara-cta .hara-home-actions {
  margin-bottom: 0;
}

/* ------------------------------------------------------ motion + mobile */

@media (prefers-reduced-motion: reduce) {
  .hara-scene__layer {
    transform: none;
  }

  .hara-home-title h1 {
    animation: none;
  }

  .hara-start {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hara-system-bar {
    grid-template-columns: auto auto auto auto auto auto;
  }

  .hara-system-palette,
  .hara-system-log-toggle,
  .hara-system-nav .hara-system-nav__link--hide-mobile {
    display: none;
  }

  .hara-system-palette-toggle-mobile {
    display: inline-flex;
  }

  .hara-system-brand {
    padding-inline: .75rem;
  }

  .hara-system-console {
    width: 100vw;
    max-height: calc(100vh - 52px);
    right: 0;
  }

  .hara-home-intro {
    flex-direction: column;
    justify-content: center;
    gap: 6vh;
    text-align: center;
    padding-inline: 5vw;
  }

  .hara-home-title {
    display: block;
    width: 100%;
    max-width: none;
  }

  .hara-home-title h1 {
    font-size: clamp(4.5rem, 14vw, 8rem);
  }

  .hara-home-tagline {
    font-size: 1rem;
  }

  .hara-home-hero-line {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hara-home-tagline {
    display: block;
    padding-right: 0;
  }

  .hara-start {
    display: inline-flex;
    width: auto;
  }

  .hara-home-intro .hara-home-actions {
    justify-content: center;
    flex-direction: row;
    align-items: center;
  }

  .hara-home-grid {
    grid-template-columns: 1fr;
  }

  .hara-home-actions {
    flex-direction: column;
    align-items: center;
  }

  .hara-home-actions .md-button {
    width: 220px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hara-system-brand {
    width: 49px;
    padding: 0 13px;
    overflow: hidden;
  }

  .hara-system-brand span {
    display: none;
  }

  .hara-system-log-toggle {
    min-width: 72px;
    padding-inline: .55rem;
  }
}

/* ------------------------------------------------------------------ studio
   The .hara-studio-* block moved to rust/web/studio/studio.css (shared with
   the hara-chrome panel) and is pulled in by the @import at the top of this
   file. */
