@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-v22-latin-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-v22-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f3ee;
  --paper-raised: #fffefa;
  --ink: #111719;
  --ink-soft: #344046;
  --muted: #677177;
  --line: rgba(17, 23, 25, 0.16);
  --line-strong: rgba(17, 23, 25, 0.28);
  --cobalt: #225cff;
  --cobalt-dark: #1746cc;
  --pool: #79c8ff;
  --pool-soft: #cbeaff;
  --amber: #ffb344;
  --amber-soft: #ffe2a8;
  --mint: #79ddbd;
  --coral: #ff795e;
  --night: #111719;
  --night-raised: #192124;
  --night-copy: #e8ecea;
  --night-muted: #a9b3b3;
  --content: min(1220px, calc(100vw - 48px));
  --content-wide: min(1380px, calc(100vw - 48px));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 28px 80px rgba(18, 27, 32, 0.13), 0 8px 28px rgba(18, 27, 32, 0.08);
  --shadow-float: 0 32px 70px rgba(18, 27, 32, 0.2), 0 10px 24px rgba(18, 27, 32, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection,
body *::selection {
  background: var(--amber);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--paper);
  border-radius: 999px;
  background: var(--ink-soft);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 0.96;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2.55rem, 5.6vw, 5.4rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

p {
  max-width: 70ch;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 100;
  display: flex;
  width: var(--content-wide);
  min-height: 94px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid rgba(17, 23, 25, 0.08);
  background: rgba(244, 243, 238, 0.92);
  backdrop-filter: blur(16px);
}

.site-header--dark {
  background: var(--night);
  color: var(--paper);
}

.site-header--dark.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(17, 23, 25, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
}

.brand__name {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand--inverse {
  color: var(--paper);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
}

.site-nav > a:not(.button) {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 220ms var(--ease-out);
}

.site-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav--inverse > a:not(.button) {
  color: var(--night-muted);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 220ms var(--ease-out);
}

.nav-toggle--inverse span {
  background: var(--paper);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 220ms var(--ease-spring), box-shadow 220ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.button--small {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 12px;
  font-size: 0.82rem;
}

.button--ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 9px 24px rgba(17, 23, 25, 0.14);
}

.button--ink:hover:not(:disabled) {
  box-shadow: 0 14px 34px rgba(17, 23, 25, 0.2);
}

.button--cobalt {
  background: var(--cobalt);
  color: #fff;
  box-shadow: 0 12px 30px rgba(34, 92, 255, 0.25);
}

.button--cobalt:hover:not(:disabled) {
  background: var(--cobalt-dark);
  box-shadow: 0 18px 40px rgba(34, 92, 255, 0.32);
}

.button--amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(255, 179, 68, 0.2);
}

.button--paper {
  background: var(--paper);
  color: var(--ink);
}

.button--quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(17, 23, 25, 0.35);
  transition: gap 220ms var(--ease-out), text-decoration-color 180ms ease;
}

.text-link:hover {
  gap: 14px;
  text-decoration-color: currentColor;
}

.text-link--paper {
  color: var(--paper);
  text-decoration-color: rgba(244, 243, 238, 0.38);
}

.hero {
  position: relative;
  width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(38px, 4.6vw, 64px) 0 100px;
}

.hero__copy {
  display: grid;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 28px;
}

.split-word {
  display: inline-block;
}

.split-ready .split-word {
  animation: word-arrive 800ms var(--ease-out) both;
  animation-delay: calc(var(--word-index, 0) * 75ms);
}

@keyframes word-arrive {
  from {
    transform: translateY(0.72em) rotate(1.5deg);
    filter: blur(9px);
    opacity: 0.08;
  }
  to {
    transform: translateY(0) rotate(0);
    filter: blur(0);
    opacity: 1;
  }
}

.hero__lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.48;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero__artifact {
  margin-top: clamp(38px, 4vw, 52px);
  scroll-margin-top: 88px;
}

.artifact-caption {
  display: flex;
  width: min(1120px, 100%);
  margin: 0 auto 14px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact-caption__state {
  color: var(--cobalt-dark);
}

.context-stage {
  position: relative;
  width: min(1120px, 100%);
  height: 710px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(17, 23, 25, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(231, 239, 255, 0.54)),
    var(--paper-raised);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.context-stage::before,
.context-stage::after {
  position: absolute;
  z-index: -2;
  content: "";
  border-radius: 50%;
}

.context-stage::before {
  top: -220px;
  left: -120px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(34, 92, 255, 0.18);
  box-shadow: 0 0 0 80px rgba(34, 92, 255, 0.025), 0 0 0 160px rgba(34, 92, 255, 0.018);
}

.context-stage::after {
  right: -160px;
  bottom: -250px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 179, 68, 0.18);
  box-shadow: 0 0 0 90px rgba(255, 179, 68, 0.035);
}

.context-stage__halo,
.context-stage__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.context-stage__halo {
  z-index: -1;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(121, 200, 255, 0.35) 0, rgba(121, 200, 255, 0.08) 46%, transparent 72%);
  filter: blur(8px);
  transition: transform 1.1s var(--ease-out), opacity 1s ease;
}

.context-stage__orbit {
  border: 1px solid rgba(34, 92, 255, 0.15);
  transform: translate(-50%, -50%);
}

.context-stage__orbit::before,
.context-stage__orbit::after {
  position: absolute;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 5px rgba(34, 92, 255, 0.09);
}

.context-stage__orbit--outer {
  width: 590px;
  height: 590px;
  animation: orbit-turn 38s linear infinite;
}

.context-stage__orbit--outer::before {
  top: 72px;
  right: 72px;
}

.context-stage__orbit--outer::after {
  bottom: 32px;
  left: 160px;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(255, 179, 68, 0.12);
}

.context-stage__orbit--inner {
  width: 380px;
  height: 380px;
  border-style: dashed;
  animation: orbit-turn 24s linear infinite reverse;
}

.context-stage__orbit--inner::before {
  top: -5px;
  left: 50%;
}

.context-stage__orbit--inner::after {
  display: none;
}

@keyframes orbit-turn {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.facet {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 168px;
  padding: 13px 16px 13px 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 254, 250, 0.9);
  box-shadow: 0 14px 32px rgba(24, 35, 41, 0.09);
  cursor: pointer;
  text-align: left;
  transition: transform 440ms var(--ease-spring), opacity 340ms ease, border-color 220ms ease, box-shadow 220ms ease, filter 340ms ease;
}

.facet:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(24, 35, 41, 0.14);
}

.facet[aria-pressed="true"] {
  border-color: rgba(34, 92, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(34, 92, 255, 0.08), 0 18px 38px rgba(24, 35, 41, 0.13);
}

.facet__dot {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(17, 23, 25, 0.24);
  border-radius: 50%;
  background: transparent;
}

.facet[aria-pressed="true"] .facet__dot {
  border-color: var(--cobalt);
  background: var(--cobalt);
  box-shadow: inset 0 0 0 3px #fff;
}

.facet > span:not(.facet__dot) {
  font-size: 0.83rem;
  font-weight: 700;
}

.facet small {
  color: var(--muted);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.facet--work { top: 68px; left: 88px; }
.facet--calendar { top: 76px; right: 96px; }
.facet--preference { right: 38px; bottom: 145px; }
.facet--health { bottom: 62px; left: 124px; }
.facet--finance { top: 256px; left: 28px; }
.facet--relationships { top: 267px; right: 26px; }

.request-card,
.context-pack {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: min(390px, calc(100% - 48px));
  min-height: 420px;
  padding: 30px;
  border-radius: 16px;
  background: var(--paper-raised);
  box-shadow: var(--shadow-float);
}

.request-card {
  transform: translate(-50%, -50%);
  transition: transform 780ms var(--ease-out), opacity 360ms ease, filter 500ms ease;
}

.request-card__agent {
  display: flex;
  margin-bottom: 32px;
  align-items: center;
  gap: 12px;
}

.request-card__agent > div {
  display: grid;
}

.request-card__agent strong {
  font-size: 0.88rem;
}

.request-card__agent small {
  color: var(--muted);
  font-size: 0.72rem;
}

.agent-glyph {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
}

.agent-glyph i {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 9px;
  background: var(--pool);
}

.agent-glyph i:nth-child(1) { top: 12px; transform: rotate(-14deg); }
.agent-glyph i:nth-child(2) { top: 20px; width: 15px; transform: translateX(3px); }
.agent-glyph i:nth-child(3) { top: 28px; transform: rotate(14deg); }

.agent-glyph--light {
  background: var(--paper);
}

.request-card h2,
.context-pack h2 {
  margin-bottom: 24px;
  font-size: 2.2rem;
}

.request-meta {
  display: grid;
  margin: 0 0 24px;
  gap: 1px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--line);
}

.request-meta div {
  display: grid;
  padding: 11px 13px;
  grid-template-columns: 80px 1fr;
  background: var(--paper);
  font-size: 0.76rem;
}

.request-meta dt {
  color: var(--muted);
}

.request-meta dd {
  margin: 0;
  font-weight: 700;
}

.request-card__hint {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.74rem;
}

.request-card__controls {
  display: flex;
  gap: 10px;
}

.request-card__controls .button {
  min-height: 46px;
  padding-inline: 16px;
  border-radius: 12px;
  font-size: 0.76rem;
}

.context-pack {
  transform: translate(-50%, -44%) scale(0.88) rotate(2deg);
  opacity: 0;
  pointer-events: none;
  background: var(--night);
  color: var(--night-copy);
  transition: transform 880ms var(--ease-spring), opacity 420ms ease;
}

.context-pack__topline {
  display: flex;
  margin-bottom: 38px;
  justify-content: space-between;
  color: var(--pool);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.context-pack ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  list-style: none;
}

.context-pack li {
  display: flex;
  padding: 12px 14px;
  align-items: center;
  gap: 10px;
  background: var(--night-raised);
  font-size: 0.78rem;
}

.context-pack li::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--mint);
}

.receipt-line {
  display: flex;
  margin-top: 24px;
  padding-top: 18px;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
}

.receipt-line__seal {
  width: 36px;
  height: 36px;
  border: 1px solid var(--amber);
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber) 0 25%, transparent 27% 100%);
}

.receipt-line p {
  display: grid;
  margin: 0;
}

.receipt-line strong { font-size: 0.76rem; }
.receipt-line small { color: var(--night-muted); font-size: 0.66rem; }

.context-pack__reset {
  min-height: 34px;
  margin-left: auto;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: transparent;
  color: var(--night-copy);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 220ms var(--ease-spring);
}

.context-pack__reset:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.context-stage.is-granted .request-card {
  transform: translate(-50%, -64%) scale(0.82);
  filter: blur(10px);
  opacity: 0;
  pointer-events: none;
}

.context-stage.is-granted .context-pack {
  transform: translate(-50%, -50%) scale(1) rotate(0);
  opacity: 1;
  pointer-events: auto;
}

.context-stage.is-granted .context-stage__halo {
  transform: translate(-50%, -50%) scale(0.78);
  opacity: 0.45;
}

.context-stage.is-granted .facet {
  filter: grayscale(0.7);
  opacity: 0.18;
}

.context-stage.is-granted .facet[aria-pressed="true"] {
  transform: translate(var(--pack-x, 0), var(--pack-y, 0)) scale(0.6);
  filter: none;
  opacity: 0;
}

.facet--work { --pack-x: 280px; --pack-y: 220px; }
.facet--calendar { --pack-x: -260px; --pack-y: 218px; }
.facet--preference { --pack-x: -250px; --pack-y: -135px; }
.facet--health { --pack-x: 248px; --pack-y: -170px; }
.facet--finance { --pack-x: 335px; --pack-y: 35px; }
.facet--relationships { --pack-x: -340px; --pack-y: 20px; }

.artifact-note {
  width: min(1120px, 100%);
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

/* — macOS Context Passport hero — */
.hero__artifact {
  min-width: 0;
}

.context-stage {
  width: min(1120px, 100%);
  height: 650px;
  border-color: rgba(17, 23, 25, 0.14);
  border-radius: 18px;
  background: #dfe5e9;
  box-shadow: 0 38px 90px rgba(17, 23, 25, 0.16), 0 10px 30px rgba(17, 23, 25, 0.08);
}

.context-stage::before,
.context-stage::after {
  content: none;
}

.mac-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: var(--paper-raised);
  isolation: isolate;
}

.mac-window__bar {
  position: relative;
  z-index: 2;
  display: grid;
  height: 48px;
  padding: 0 17px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(17, 23, 25, 0.1);
  background: rgba(250, 250, 247, 0.94);
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: inset 0 0 0 0.5px rgba(17, 23, 25, 0.16);
}

.window-controls i:nth-child(2) { background: var(--amber); }
.window-controls i:nth-child(3) { background: var(--mint); }

.mac-window__title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
}

.mac-window__title img {
  width: 18px;
  height: 18px;
}

.mac-window__local {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.mac-window__local i,
.guard-status i,
.mac-sidebar__status > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3eaa7e;
  box-shadow: 0 0 0 4px rgba(121, 221, 189, 0.18);
}

.mac-window__body {
  display: grid;
  height: calc(100% - 48px);
  grid-template-columns: 170px minmax(300px, 1fr) minmax(205px, 0.62fr);
}

.mac-sidebar {
  display: flex;
  padding: 25px 17px 18px;
  flex-direction: column;
  border-right: 1px solid rgba(17, 23, 25, 0.1);
  background: #eceeea;
}

.mac-sidebar__owner,
.mac-sidebar__status,
.request-ledger__top,
.agent-pane__head {
  display: flex;
  align-items: center;
}

.mac-sidebar__owner {
  gap: 10px;
}

.mac-sidebar__owner > div,
.mac-sidebar__status span,
.request-ledger__top > div {
  display: grid;
}

.mac-sidebar__owner strong,
.request-ledger__top strong,
.agent-pane__head strong {
  font-size: 0.72rem;
}

.mac-sidebar__owner small,
.mac-sidebar__status small,
.request-ledger__top small {
  color: var(--muted);
  font-size: 0.57rem;
}

.owner-core {
  width: 31px;
  height: 31px;
  border: 7px solid var(--ink);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 0 0 3px var(--paper-raised);
}

.mac-nav {
  display: grid;
  margin-top: 29px;
  gap: 4px;
}

.mac-nav span {
  display: flex;
  min-height: 35px;
  padding: 0 9px;
  align-items: center;
  gap: 9px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
}

.mac-nav span.is-active {
  background: rgba(255, 254, 250, 0.9);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(17, 23, 25, 0.06);
}

.mac-nav span i {
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 4px;
  opacity: 0.5;
}

.mac-nav span b {
  display: grid;
  width: 18px;
  height: 18px;
  margin-left: auto;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  font-size: 0.55rem;
}

.mac-sidebar__status {
  margin-top: auto;
  gap: 10px;
}

.mac-main {
  padding: 30px 26px;
  background:
    linear-gradient(rgba(255, 254, 250, 0.88), rgba(255, 254, 250, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(17, 23, 25, 0.045) 29px 30px);
}

.mac-main__header {
  display: flex;
  margin-bottom: 28px;
  justify-content: space-between;
  align-items: end;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mac-main__header h2 {
  margin: 4px 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.guard-status {
  display: inline-flex;
  padding-bottom: 4px;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
}

.request-ledger {
  padding: 18px;
  border: 1px solid rgba(34, 92, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(17, 23, 25, 0.07);
  transition: border-color 300ms ease, background-color 300ms ease, transform 420ms var(--ease-spring);
}

.request-ledger__top {
  gap: 10px;
}

.request-ledger__state {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 179, 68, 0.2);
  color: #78500f;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.request-ledger > p {
  margin: 18px 0 14px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.request-ledger__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.request-ledger__scope span {
  padding: 5px 7px;
  border: 1px solid rgba(17, 23, 25, 0.1);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 700;
}

.activity-timeline {
  display: grid;
  margin-top: 28px;
}

.activity-timeline > div {
  position: relative;
  display: grid;
  min-height: 65px;
  padding-left: 25px;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.activity-timeline > div::before {
  position: absolute;
  top: 15px;
  bottom: -2px;
  left: 5px;
  width: 1px;
  content: "";
  background: rgba(17, 23, 25, 0.13);
}

.activity-timeline > div:last-child::before { content: none; }

.activity-timeline > div > i {
  position: absolute;
  top: 5px;
  left: 1px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(17, 23, 25, 0.24);
  border-radius: 50%;
  background: var(--paper-raised);
}

.activity-timeline > div > i.is-current {
  border-color: var(--cobalt);
  background: var(--cobalt);
  box-shadow: 0 0 0 4px rgba(34, 92, 255, 0.1);
}

.activity-timeline span {
  display: grid;
}

.activity-timeline strong { font-size: 0.64rem; }
.activity-timeline small,
.activity-timeline time { color: var(--muted); font-size: 0.54rem; }

.agent-pane {
  display: flex;
  padding: 24px 16px 18px;
  flex-direction: column;
  border-left: 1px solid rgba(17, 23, 25, 0.1);
  background: #f2f2ee;
}

.agent-pane__head {
  gap: 8px;
}

.agent-message {
  margin-top: 25px;
  padding: 12px;
  border: 1px solid rgba(17, 23, 25, 0.1);
  border-radius: 12px 12px 4px 12px;
  background: var(--paper-raised);
  color: var(--ink-soft);
  font-size: 0.62rem;
  line-height: 1.45;
}

.agent-action {
  display: flex;
  margin-top: 20px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.56rem;
}

.agent-action i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 179, 68, 0.15);
}

.agent-compose {
  display: flex;
  min-height: 38px;
  margin-top: auto;
  padding: 0 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(17, 23, 25, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: 0.54rem;
}

.agent-compose span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
}

.agent-orb {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--ink);
}

.agent-orb i {
  position: absolute;
  left: 9px;
  width: 16px;
  height: 1.5px;
  border-radius: 5px;
  background: var(--pool);
}

.agent-orb i:nth-child(1) { top: 10px; transform: rotate(-14deg); }
.agent-orb i:nth-child(2) { top: 16px; width: 12px; transform: translateX(2px); }
.agent-orb i:nth-child(3) { top: 23px; transform: rotate(14deg); }
.agent-orb--small { width: 27px; height: 27px; border-radius: 9px; }
.agent-orb--small i { left: 7px; width: 13px; }
.agent-orb--small i:nth-child(1) { top: 8px; }
.agent-orb--small i:nth-child(2) { top: 13px; width: 9px; }
.agent-orb--small i:nth-child(3) { top: 18px; }


.demo-cursor {
  position: absolute;
  z-index: 115;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}

.demo-cursor__arrow {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1.851852cqw;
  height: 2.645503cqw;
  max-width: none;
  transform: translate(-0.330688cqw, -0.330688cqw);
  user-select: none;
}

.demo-cursor i {
  position: absolute;
  top: -1.240079cqw;
  left: -1.240079cqw;
  width: 2.480159cqw;
  height: 2.480159cqw;
  transform: scale(0);
  border: 0.066138cqw solid rgba(34, 92, 255, 0.72);
  border-radius: 50%;
}

.demo-cursor.is-clicking i {
  animation: cursor-click 440ms var(--ease-out);
}

@keyframes cursor-click {
  from { transform: scale(0.2); opacity: 1; }
  to { transform: scale(1); opacity: 0; }
}

.thesis {
  position: relative;
  height: 190vh;
  background: var(--night);
  color: var(--paper);
}

.thesis__pin {
  position: sticky;
  top: 0;
  display: grid;
  width: var(--content);
  min-height: 100vh;
  margin: 0 auto;
  padding-block: 110px;
  align-content: center;
}

.thesis__line {
  max-width: 15ch;
  margin-bottom: 74px;
  font-size: clamp(3.2rem, 7.8vw, 6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.thesis__line span {
  color: var(--paper);
  transition: color 360ms ease, text-shadow 360ms ease;
}

.thesis__line span:nth-child(5) {
  color: var(--pool);
  text-shadow: 0 10px 48px rgba(121, 200, 255, 0.2);
}

.thesis.is-animated .thesis__line span {
  color: rgba(244, 243, 238, 0.2);
  text-shadow: none;
}

.thesis.is-animated .thesis__line span.is-lit {
  color: var(--paper);
}

.thesis.is-animated .thesis__line span:nth-child(5).is-lit {
  color: var(--pool);
  text-shadow: 0 10px 48px rgba(121, 200, 255, 0.2);
}

.thesis__rail {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.thesis__rail i {
  position: absolute;
  inset: 0;
  display: block;
  transform: scaleX(1);
  transform-origin: left;
  background: var(--amber);
}

.thesis.is-animated .thesis__rail i {
  transform: scaleX(var(--thesis-progress, 0));
}

.no-js .thesis {
  height: auto;
}

.no-js .thesis__pin {
  position: relative;
  min-height: auto;
}

.mechanism,
.memory-section,
.agent-slices,
.status-section,
.faq,
.dual-loop,
.quickstart,
.dev-use-cases {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(110px, 13vw, 190px) 0;
}

.section-heading {
  display: grid;
  margin-bottom: 82px;
  gap: 28px;
}

.section-heading--wide {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  align-items: end;
}

.section-heading h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.section-heading p {
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.mechanism-flow {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.mechanism-flow li {
  position: relative;
  min-height: 430px;
  padding: 28px 28px 30px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line);
}

.mechanism-flow li:last-child {
  border-right: 0;
}

.mechanism-flow__index {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 74px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 700;
}

.mechanism-flow h3 {
  margin-bottom: 14px;
}

.mechanism-flow p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.flow-signal,
.field-stack,
.pack-mini,
.receipt-mini {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  height: 90px;
}

.flow-signal i {
  position: absolute;
  top: 45px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cobalt);
  animation: signal-travel 2.4s var(--ease-out) infinite;
}

.flow-signal i:nth-child(2) { animation-delay: 0.45s; opacity: 0.55; }
.flow-signal i:nth-child(3) { animation-delay: 0.9s; opacity: 0.25; }

.flow-signal::after {
  position: absolute;
  top: 52px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

@keyframes signal-travel {
  from { transform: translateX(0) scale(0.7); }
  to { transform: translateX(190px) scale(1); }
}

.field-stack i {
  position: absolute;
  left: 50%;
  width: 140px;
  height: 24px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper-raised);
  box-shadow: 0 8px 20px rgba(17, 23, 25, 0.07);
}

.field-stack i:nth-child(1) { top: 0; transform: translateX(-50%) rotate(-5deg); }
.field-stack i:nth-child(2) { top: 18px; transform: translateX(-50%) rotate(4deg); }
.field-stack i:nth-child(3) { top: 37px; transform: translateX(-50%) rotate(-2deg); border-color: var(--cobalt); }
.field-stack i:nth-child(4) { top: 57px; transform: translateX(-50%) rotate(2deg); opacity: 0.35; }

.pack-mini {
  display: grid;
  padding: 18px;
  gap: 8px;
  border-radius: 14px;
  background: var(--night);
}

.pack-mini span {
  display: block;
  height: 10px;
  border-radius: 3px;
  background: rgba(121, 200, 255, 0.72);
}

.pack-mini span:nth-child(2) { width: 76%; background: rgba(255, 255, 255, 0.55); }
.pack-mini span:nth-child(3) { width: 54%; background: var(--amber); }

.receipt-mini {
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  background: var(--paper-raised);
}

.receipt-mini i {
  display: block;
  width: 100%;
  height: 1px;
  margin: 9px 0;
  background: var(--line);
}

.receipt-mini i:last-child { width: 42%; background: var(--cobalt); }

.memory-section {
  display: grid;
  gap: 90px;
}

.memory-section__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 70px;
}

.memory-section__intro h2 {
  max-width: 11ch;
  margin-bottom: 0;
}

.memory-section__intro p {
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.provenance-stage {
  display: grid;
  min-height: 570px;
  overflow: hidden;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-raised);
  box-shadow: 0 20px 70px rgba(17, 23, 25, 0.08);
}

.evidence-stream,
.memory-ledger {
  position: relative;
  padding: 32px;
}

.evidence-stream {
  border-right: 1px solid var(--line);
  background: #eceef2;
}

.stream-label {
  display: flex;
  margin-bottom: 58px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.evidence-entry {
  position: relative;
  z-index: 2;
  width: min(320px, 80%);
  margin-bottom: 46px;
  padding: 20px;
  border-radius: 14px;
  background: var(--paper-raised);
  box-shadow: 0 12px 30px rgba(17, 23, 25, 0.09);
}

.evidence-entry.is-latest {
  margin-left: auto;
  border: 1px solid rgba(34, 92, 255, 0.36);
}

.evidence-entry time,
.memory-record time {
  color: var(--muted);
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
}

.evidence-entry p {
  margin: 13px 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.evidence-entry small,
.memory-record small {
  color: var(--muted);
  font-size: 0.68rem;
}

.evidence-threads {
  position: absolute;
  z-index: 1;
  top: 122px;
  right: -50px;
  width: 320px;
  height: 310px;
  overflow: visible;
}

.evidence-threads path {
  stroke: rgba(34, 92, 255, 0.45);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
}

.memory-ledger {
  padding-left: 62px;
}

.memory-record {
  margin-bottom: 20px;
  padding: 22px;
  border-radius: 14px;
  background: var(--paper);
}

.memory-record > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.memory-record p {
  margin: 18px 0 5px;
  font-size: 1.55rem;
  font-weight: 700;
}

.memory-record--historical {
  opacity: 0.58;
}

.memory-record--historical p {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.memory-record--current {
  border: 1px solid rgba(34, 92, 255, 0.45);
  box-shadow: 0 14px 30px rgba(34, 92, 255, 0.09);
}

.memory-record--current > div > span {
  color: var(--cobalt-dark);
}

.trace-button {
  display: flex;
  width: 100%;
  padding: 15px 2px;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.trace-button span:last-child {
  font-size: 1.2rem;
  transition: transform 260ms var(--ease-out);
}

.trace-button[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.trace-detail {
  padding: 17px 2px 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.trace-detail p { margin: 0; }

.layers {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 14vw, 210px) max(24px, calc((100vw - 1220px) / 2));
  background: var(--cobalt);
  color: #fff;
}

.layers::before {
  position: absolute;
  top: -340px;
  right: -260px;
  width: 780px;
  height: 780px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(255, 255, 255, 0.035), 0 0 0 200px rgba(255, 255, 255, 0.025);
}

.section-heading--inverse {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
}

.section-heading--inverse p {
  color: rgba(255, 255, 255, 0.74);
}

.layer-stack {
  position: relative;
  z-index: 2;
  width: min(940px, 100%);
  height: 640px;
  margin: 90px auto 0;
  perspective: 1200px;
}

.layer {
  position: absolute;
  right: 8%;
  left: 8%;
  display: flex;
  height: 150px;
  padding: 28px 30px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  transform: rotateX(58deg) rotateZ(-4deg);
  transform-origin: center;
  color: var(--ink);
  box-shadow: 0 38px 50px rgba(7, 32, 93, 0.18);
  transition: transform 680ms var(--ease-spring);
}

.layer:hover {
  transform: rotateX(45deg) rotateZ(-2deg) translateY(-14px);
}

.layer > div {
  display: grid;
}

.layer span { font-size: 1.15rem; font-weight: 700; }
.layer small { font-size: 0.7rem; }
.layer p { margin: 0; font-size: 0.75rem; }

.layer--evidence { top: 340px; background: #fff3cf; }
.layer--atoms { top: 245px; background: #cbeaff; }
.layer--model { top: 150px; background: #a4e5d0; }
.layer--working { top: 55px; background: #fffefa; }

.layer-aperture {
  position: absolute;
  z-index: 4;
  top: 195px;
  left: 50%;
  display: grid;
  width: 185px;
  height: 185px;
  transform: translateX(-50%);
  place-items: center;
  border: 18px solid var(--night);
  border-radius: 50%;
  background: var(--cobalt-dark);
  box-shadow: 0 20px 45px rgba(17, 23, 25, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.layer-aperture::before,
.layer-aperture::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.layer-aperture::before { inset: -42px; }
.layer-aperture::after { inset: -68px; border-style: dashed; }
.layer-aperture span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }

.agent-slices {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 90px;
}

.agent-slices__copy h2 {
  max-width: 11ch;
  margin-bottom: 28px;
}

.agent-slices__copy p {
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.slice-switcher {
  min-width: 0;
}

.slice-switcher__tabs {
  display: flex;
  margin-bottom: 14px;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.slice-switcher__tabs::-webkit-scrollbar { display: none; }

.slice-switcher__tabs button {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  white-space: nowrap;
}

.slice-switcher__tabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.slice-switcher__stage {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  place-items: center;
  border-radius: 16px;
  background: #dfe8ff;
}

.slice-switcher__stage::before,
.slice-switcher__stage::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(34, 92, 255, 0.24);
  border-radius: 50%;
}

.slice-switcher__stage::before { width: 520px; height: 520px; }
.slice-switcher__stage::after { width: 350px; height: 350px; }

.slice-person {
  position: absolute;
  z-index: 2;
  top: 48px;
  left: 50%;
  display: grid;
  transform: translateX(-50%);
  justify-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
}

.slice-person img {
  width: 58px;
  height: 58px;
}

.slice-pack {
  position: relative;
  z-index: 3;
  width: min(390px, calc(100% - 48px));
  margin-top: 80px;
  padding: 28px;
  border-radius: 16px;
  background: var(--night);
  color: var(--night-copy);
  box-shadow: var(--shadow-float);
  transition: transform 480ms var(--ease-spring), opacity 220ms ease;
}

.slice-pack.is-switching {
  transform: translateY(18px) scale(0.97);
  opacity: 0.2;
}

.slice-pack__top {
  display: flex;
  margin-bottom: 28px;
  justify-content: space-between;
  align-items: baseline;
}

.slice-pack__top span { color: var(--pool); font-size: 0.72rem; font-weight: 700; }
.slice-pack__top small { color: var(--night-muted); font-size: 0.64rem; }

.slice-pack ul {
  display: grid;
  margin: 0 0 25px;
  padding: 0;
  gap: 1px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  list-style: none;
}

.slice-pack li {
  padding: 13px;
  background: var(--night-raised);
  font-size: 0.8rem;
}

.slice-pack > p {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 8px;
  color: var(--night-muted);
  font-size: 0.66rem;
}

.slice-pack > p span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.developer-bridge {
  display: grid;
  min-height: 720px;
  padding: clamp(110px, 13vw, 190px) max(24px, calc((100vw - 1220px) / 2));
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.9fr);
  align-items: center;
  gap: 90px;
  background: var(--night);
  color: var(--night-copy);
}

.developer-bridge__copy h2 {
  max-width: 11ch;
  margin-bottom: 30px;
}

.developer-bridge__copy > p {
  max-width: 620px;
  margin-bottom: 38px;
  color: var(--night-muted);
  font-size: 1.03rem;
}

.developer-bridge__actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: #0c1012;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
  color: #dce3e1;
}

.code-window__bar {
  display: flex;
  min-height: 46px;
  padding: 0 15px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: #151c1f;
}

.code-window__bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #485357;
}

.code-window__bar > span:nth-child(1) { background: var(--coral); }
.code-window__bar > span:nth-child(2) { background: var(--amber); }
.code-window__bar > span:nth-child(3) { background: var(--mint); }

.code-window__bar small {
  margin-left: 8px;
  color: #859094;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.code-window__bar button {
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: transparent;
  color: #cbd4d2;
  cursor: pointer;
  font-size: 0.65rem;
}

.code-window__bar button.copied {
  border-color: var(--mint);
  color: var(--mint);
}

.code-window pre {
  margin: 0;
  padding: 34px;
  overflow: auto;
  color: #dce3e1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.79rem;
  line-height: 1.75;
  tab-size: 2;
}

.code-muted { color: #768286; }
.code-key { color: var(--amber); }
.code-string { color: #91d7ff; }

.status-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr);
  gap: 90px;
}

.status-section__heading h2 {
  max-width: 12ch;
  margin-bottom: 26px;
}

.status-section__heading p {
  color: var(--ink-soft);
}

.status-ledger {
  border-top: 1px solid var(--line-strong);
}

.status-row {
  display: grid;
  padding: 27px 0;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.status-row > span {
  position: relative;
  padding-left: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-row > span::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
}

.status-row--live > span::before { background: var(--mint); }
.status-row--preview > span::before { background: var(--amber); }
.status-row--next > span::before { background: var(--muted); }

.status-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.faq {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
  gap: 100px;
  border-top: 1px solid var(--line);
}

.faq__heading h2 {
  max-width: 10ch;
  position: sticky;
  top: 120px;
}

.faq__list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

.faq-item h3 button {
  display: flex;
  width: 100%;
  padding: 27px 0;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.faq-item h3 button span {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.faq-item h3 button span::before,
.faq-item h3 button span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  content: "";
  transform: translate(-50%, -50%);
  background: var(--ink);
  transition: transform 240ms var(--ease-out);
}

.faq-item h3 button span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item h3 button[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(0); }

.faq-answer {
  padding: 0 52px 27px 0;
  color: var(--ink-soft);
}

.faq-answer p { margin: 0; }

.closing {
  position: relative;
  display: grid;
  min-height: 780px;
  overflow: hidden;
  padding: 120px 24px;
  place-items: center;
  align-content: center;
  background: #dce7ff;
  text-align: center;
}

.closing > *:not(.closing__rings) {
  position: relative;
  z-index: 2;
}

.closing > img {
  margin-bottom: 34px;
}

.closing h2 {
  max-width: 10ch;
  margin-bottom: 28px;
}

.closing > p {
  max-width: 540px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.closing__rings i {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(34, 92, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.closing__rings i:nth-child(1) { width: 420px; height: 420px; }
.closing__rings i:nth-child(2) { width: 660px; height: 660px; }
.closing__rings i:nth-child(3) { width: 900px; height: 900px; border-style: dashed; animation: orbit-turn 70s linear infinite; }

.site-footer {
  display: grid;
  min-height: 300px;
  padding: 70px max(24px, calc((100vw - 1220px) / 2));
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.brand--footer { align-self: start; }

.site-footer > p {
  justify-self: end;
  margin: 0;
  color: var(--ink-soft);
}

.site-footer nav {
  display: flex;
  gap: 24px;
  font-size: 0.76rem;
}

.site-footer small {
  justify-self: end;
  color: var(--muted);
  font-size: 0.68rem;
}

.site-footer--dark {
  border-top-color: rgba(255, 255, 255, 0.11);
  background: var(--night);
  color: var(--paper);
}

.site-footer--dark > p,
.site-footer--dark small {
  color: var(--night-muted);
}

/* Developer page */

.developer-page {
  background: var(--night);
}

.developer-page main {
  background: var(--paper);
}

.dev-hero {
  display: grid;
  min-height: calc(100vh - 94px);
  padding: clamp(80px, 9vw, 140px) max(24px, calc((100vw - 1220px) / 2));
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  align-items: center;
  gap: 80px;
  overflow: hidden;
  background: var(--night);
  color: var(--night-copy);
}

.dev-hero__copy h1 {
  max-width: 11ch;
  margin-bottom: 28px;
}

.dev-hero__copy > p {
  max-width: 590px;
  margin-bottom: 35px;
  color: var(--night-muted);
  font-size: 1.1rem;
}

.dev-hero__flow {
  position: relative;
  display: grid;
  min-height: 640px;
  padding: 48px;
  align-content: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 35%, rgba(34, 92, 255, 0.22), transparent 43%),
    var(--night-raised);
}

.dev-hero__flow::before {
  position: absolute;
  inset: 42px;
  content: "";
  border: 1px solid rgba(121, 200, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.flow-node,
.flow-context-pack {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(320px, 100%);
  padding: 15px 17px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(17, 23, 25, 0.9);
}

.flow-node > div,
.flow-context-pack {
  display: grid;
}

.flow-node small,
.flow-context-pack small,
.flow-context-pack span {
  color: var(--night-muted);
  font-size: 0.68rem;
}

.flow-node--owner {
  justify-self: end;
}

.flow-node--owner img {
  width: 42px;
  height: 42px;
}

.flow-path {
  position: relative;
  z-index: 1;
  display: flex;
  height: 42px;
  align-items: center;
  gap: 12px;
  color: var(--night-muted);
  font-size: 0.65rem;
}

.flow-path i {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.flow-path i::after {
  position: absolute;
  top: -1px;
  left: -25%;
  width: 25%;
  height: 3px;
  content: "";
  background: var(--pool);
  animation: request-scan 2.4s var(--ease-out) infinite;
}

.flow-path--grant i::after {
  background: var(--amber);
  animation-delay: 0.8s;
}

@keyframes request-scan {
  to { left: 110%; }
}

.grant-choice {
  position: relative;
  z-index: 2;
  display: grid;
  padding: 13px;
  gap: 1px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.grant-choice span {
  display: flex;
  padding: 11px 13px;
  justify-content: space-between;
  background: #131a1d;
  color: #d7dddc;
  font-size: 0.72rem;
}

.grant-choice b {
  font-size: 0.63rem;
  font-weight: 400;
}

.grant-choice .is-granted b { color: var(--mint); }
.grant-choice .is-denied { color: #768184; }
.grant-choice .is-denied b { color: #9ba4a6; }

.flow-context-pack {
  justify-self: end;
  border-color: rgba(255, 179, 68, 0.42);
}

.flow-context-pack small { color: var(--amber); }

.dev-principle {
  padding: 130px max(24px, calc((100vw - 1220px) / 2));
  background: var(--cobalt);
  color: #fff;
}

.dev-principle p {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.dual-loop {
  display: grid;
  gap: 40px;
}

.loop-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-raised);
}

.loop-panel > header {
  display: grid;
  padding: 34px;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}

.loop-panel > header > div {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.loop-panel h3 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
}

.loop-panel header > p {
  margin: 0;
  color: var(--ink-soft);
}

.status-chip {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-chip--live { background: rgba(121, 221, 189, 0.25); color: #1b6952; }
.status-chip--preview { background: rgba(255, 179, 68, 0.25); color: #815000; }

.runtime-flow {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
}

.runtime-flow li {
  min-height: 220px;
  padding: 27px 20px;
  border-right: 1px solid var(--line);
}

.runtime-flow li:last-child { border-right: 0; }

.runtime-flow span {
  display: inline-flex;
  margin-bottom: 56px;
  color: var(--cobalt-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.runtime-flow p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.77rem;
}

.runtime-flow--preview {
  grid-template-columns: repeat(5, 1fr);
}

.runtime-flow--preview span { color: #8d5900; }

.architecture {
  display: grid;
  padding: clamp(110px, 13vw, 190px) max(24px, calc((100vw - 1220px) / 2));
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 100px;
  background: #e2ebff;
}

.architecture__copy h2 {
  max-width: 11ch;
  margin-bottom: 28px;
}

.architecture__copy > p {
  color: var(--ink-soft);
}

.architecture__copy ul {
  margin: 35px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.architecture__copy li {
  display: flex;
  padding: 13px 0;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.architecture__copy li span {
  color: var(--ink);
  font-weight: 700;
}

.architecture__diagram {
  display: grid;
  min-height: 590px;
  padding: 52px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(34, 92, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.arch-source,
.arch-policy,
.arch-pack {
  display: grid;
  width: min(330px, 100%);
  padding: 18px 20px;
  justify-items: center;
  border-radius: 14px;
  background: var(--paper-raised);
  box-shadow: 0 12px 30px rgba(17, 23, 25, 0.08);
}

.arch-source small,
.arch-policy small,
.arch-pack small {
  color: var(--muted);
  font-size: 0.67rem;
}

.arch-arrow {
  width: 1px;
  height: 48px;
  background: rgba(34, 92, 255, 0.35);
}

.arch-memory {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.arch-memory span {
  padding: 17px 12px;
  border-radius: 12px;
  background: var(--pool-soft);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

.arch-policy {
  margin-top: 34px;
  border: 1px solid rgba(255, 179, 68, 0.62);
  background: var(--amber-soft);
}

.arch-pack {
  margin-top: 16px;
  background: var(--night);
  color: var(--night-copy);
}

.quickstart {
  display: grid;
  gap: 65px;
}

.quickstart__intro {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 60px;
}

.quickstart__intro h2 { margin: 0; }
.quickstart__intro p { margin: 0; color: var(--ink-soft); }

.quickstart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.code-window--large pre {
  min-height: 360px;
  font-size: 0.72rem;
}

.api-contract {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.api-contract > div {
  display: grid;
  padding: 17px 0;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.api-contract code {
  color: var(--cobalt-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.api-contract span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.dev-use-cases {
  display: grid;
  gap: 18px;
}

.use-case {
  display: grid;
  min-height: 350px;
  padding: 42px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-raised);
}

.use-case h3 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.use-case p { margin: 0; color: var(--ink-soft); }

.use-case__visual {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.handoff-agent,
.handoff-pack,
.correction-visual span {
  flex: 1;
  padding: 17px 13px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.handoff-pack {
  background: var(--night);
  color: var(--pool);
}

.use-case__visual i {
  flex: 0 0 28px;
  height: 1px;
  background: var(--cobalt);
}

.correction-visual__new {
  border: 1px solid rgba(255, 179, 68, 0.6);
  background: var(--amber-soft) !important;
}

.status-section--developer {
  width: auto;
  padding-right: max(24px, calc((100vw - 1220px) / 2));
  padding-left: max(24px, calc((100vw - 1220px) / 2));
  background: #e9e8e3;
}

.closing--developer {
  background: var(--night);
  color: var(--night-copy);
}

.closing--developer > p { color: var(--night-muted); }
.closing--developer .closing__rings i { border-color: rgba(121, 200, 255, 0.16); }

.closing__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

[data-reveal-group].is-visible > * {
  animation: section-arrive 760ms var(--ease-out) both;
  animation-delay: calc(var(--reveal-index, 0) * 100ms);
}

@keyframes section-arrive {
  from { transform: translateY(34px); opacity: 0.15; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1050px) {
  :root {
    --content: min(100% - 40px, 920px);
    --content-wide: min(100% - 40px, 980px);
  }

  .mechanism-flow { grid-template-columns: 1fr 1fr; }
  .mechanism-flow li:nth-child(2) { border-right: 0; }
  .mechanism-flow li:nth-child(n+3) { border-top-color: var(--line); }

  .agent-slices,
  .developer-bridge,
  .dev-hero,
  .architecture {
    grid-template-columns: 1fr;
  }

  .agent-slices { gap: 55px; }
  .developer-bridge { grid-template-columns: 1fr; }
  .developer-bridge .code-window { width: min(720px, 100%); }

  .status-section,
  .faq { gap: 55px; }

  .dev-hero__copy { max-width: 800px; }
  .dev-hero__flow { width: min(680px, 100%); }

  .runtime-flow { grid-template-columns: repeat(3, 1fr); }
  .runtime-flow li:nth-child(3n) { border-right: 0; }
  .runtime-flow li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .runtime-flow--preview { grid-template-columns: repeat(3, 1fr); }
  .runtime-flow--preview li:nth-child(3) { border-right: 0; }
  .runtime-flow--preview li:nth-child(4) { border-top: 1px solid var(--line); }
  .runtime-flow--preview li:nth-child(5) { border-top: 1px solid var(--line); }

  .architecture { gap: 70px; }
  .architecture__copy { max-width: 740px; }

  .quickstart-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root {
    --content: calc(100% - 32px);
    --content-wide: calc(100% - 32px);
  }

  .site-header {
    min-height: 76px;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    padding: 24px;
    transform: translateY(-14px) scale(0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper-raised);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms var(--ease-out), opacity 180ms ease;
  }

  .site-nav--inverse {
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--night-raised);
  }

  .site-header.nav-open .site-nav {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle { display: block; }

  .no-js .site-header {
    min-height: auto;
    padding-block: 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .no-js .site-nav {
    position: static;
    width: 100%;
    padding: 16px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .no-js .nav-toggle {
    display: none;
  }

  .hero {
    padding-top: 62px;
  }

  .hero__lede {
    font-size: 1rem;
  }

  .hero__actions,
  .developer-bridge__actions,
  .closing__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .text-link,
  .developer-bridge__actions .text-link,
  .closing__actions .text-link {
    justify-content: center;
  }

  .context-stage {
    height: 850px;
    overflow: hidden;
  }

  .context-stage__orbit--outer { width: 520px; height: 520px; }
  .context-stage__orbit--inner { width: 330px; height: 330px; }

  .request-card,
  .context-pack {
    top: 45%;
    width: calc(100% - 32px);
    min-height: 390px;
    padding: 24px;
  }

  .facet {
    min-width: 0;
    width: calc(50% - 20px);
    padding: 11px 10px 11px 33px;
  }

  .facet__dot { left: 12px; top: 16px; }
  .facet--work { top: 18px; left: 12px; }
  .facet--calendar { top: 18px; right: 12px; }
  .facet--finance { top: auto; bottom: 88px; left: 12px; }
  .facet--relationships { top: auto; right: 12px; bottom: 88px; }
  .facet--preference { right: 12px; bottom: 16px; }
  .facet--health { bottom: 16px; left: 12px; }

  .request-card__agent { margin-bottom: 24px; }
  .request-card h2,
  .context-pack h2 { font-size: 1.85rem; }

  .context-stage.is-granted .facet[aria-pressed="true"] {
    transform: scale(0.72);
  }

  .artifact-note { text-align: left; }

  .thesis { height: 160vh; }
  .thesis__line { font-size: clamp(3rem, 14vw, 4.5rem); }

  .section-heading--wide,
  .section-heading--inverse,
  .memory-section__intro,
  .quickstart__intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mechanism-flow { grid-template-columns: 1fr; }
  .mechanism-flow li { border-right: 0; }

  .provenance-stage { grid-template-columns: 1fr; }
  .evidence-stream { border-right: 0; border-bottom: 1px solid var(--line); }
  .memory-ledger { padding-left: 32px; }
  .evidence-threads { display: none; }

  .layers {
    padding-right: 16px;
    padding-left: 16px;
  }

  .layer-stack { height: 540px; }
  .layer { right: 0; left: 0; padding: 20px; }
  .layer--evidence { top: 300px; }
  .layer--atoms { top: 215px; }
  .layer--model { top: 130px; }
  .layer--working { top: 45px; }
  .layer-aperture { top: 170px; width: 145px; height: 145px; border-width: 14px; }

  .slice-switcher__stage { min-height: 480px; }

  .developer-bridge {
    padding-right: 16px;
    padding-left: 16px;
  }

  .code-window pre { padding: 24px; font-size: 0.68rem; }

  .status-section,
  .faq {
    grid-template-columns: 1fr;
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq__heading h2 { position: static; }

  .site-footer {
    min-height: 360px;
    grid-template-columns: 1fr;
  }

  .site-footer > p,
  .site-footer small { justify-self: start; }

  .dev-hero {
    min-height: auto;
    padding-right: 16px;
    padding-left: 16px;
  }

  .dev-hero__copy { padding-inline: 0; }
  .dev-hero__flow { min-height: 590px; padding: 24px; }

  .flow-node,
  .flow-context-pack { width: min(290px, 90%); }

  .dev-principle { padding-inline: 16px; }

  .loop-panel > header {
    padding: 25px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .runtime-flow,
  .runtime-flow--preview { grid-template-columns: 1fr; }
  .runtime-flow li,
  .runtime-flow--preview li {
    min-height: auto;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .runtime-flow li:first-child { border-top: 0; }
  .runtime-flow span { margin-bottom: 20px; }

  .architecture {
    padding-right: 16px;
    padding-left: 16px;
  }

  .architecture__diagram { padding: 24px 16px; }
  .arch-memory { grid-template-columns: 1fr; }

  .api-contract > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .use-case {
    padding: 26px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .use-case__visual {
    flex-wrap: wrap;
  }

  .handoff-agent,
  .handoff-pack,
  .correction-visual span { flex: 1 1 100%; }

  .use-case__visual i { flex-basis: 100%; width: 1px; height: 22px; margin: 0 auto; }
}

@media (max-width: 1050px) {
  .context-stage {
    height: 650px;
  }

  .mac-window__body {
    grid-template-columns: 155px minmax(285px, 1fr) minmax(190px, 0.56fr);
  }
}

@media (max-width: 760px) {
  .context-stage {
    height: 720px;
  }

  .mac-window__bar {
    grid-template-columns: 1fr auto 1fr;
  }

  .mac-window__local {
    font-size: 0;
  }

  .mac-window__body {
    grid-template-columns: 1fr;
  }

  .mac-sidebar,
  .agent-pane {
    display: none;
  }

  .mac-main {
    padding: 28px 18px;
  }

  .mac-main__header {
    margin-top: 4px;
  }

  .context-island,
  .context-stage[data-phase="request"] .context-island,
  .context-stage[data-phase="granted"] .context-island,
  .context-stage[data-phase="denied"] .context-island,
  .context-stage[data-phase="revoked"] .context-island {
    width: calc(100% - 20px);
  }

  .island-request,
  .island-outcome {
    padding-right: 14px;
    padding-left: 14px;
  }

  .island-proof {
    align-items: start;
    flex-direction: column;
  }

  .demo-cursor {
    display: none;
  }
}

@media (max-width: 430px) {
  .context-stage {
    height: 745px;
  }

  .mac-main__header h2 {
    font-size: 1.55rem;
  }

  .guard-status {
    display: none;
  }

  .request-ledger {
    padding: 14px;
  }

  .request-ledger__state {
    position: absolute;
    top: 14px;
    right: 14px;
  }

  .request-ledger {
    position: relative;
  }

  .island-peek__copy small {
    display: none;
  }

  .island-fields button {
    min-height: 49px;
  }

  .island-fields button > b {
    display: none;
  }

  .withheld-line {
    display: grid;
    gap: 2px;
  }

  .duration-control {
    grid-template-columns: 1fr repeat(3, auto);
  }

  .duration-control button {
    padding: 0 6px;
  }

  .island-outcome h2 {
    font-size: 1.35rem;
  }
}

/* — macOS desktop hero v2: fixed desktop, native app, top-center context island — */
.hero__artifact {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.context-stage {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1512 / 982;
  overflow: hidden;
  border: 1px solid rgba(28, 35, 39, 0.22);
  border-radius: 20px;
  background: #cad6dc;
  box-shadow: 0 42px 100px rgba(28, 35, 39, 0.2), 0 12px 34px rgba(28, 35, 39, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(10px, 0.82vw, 13px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-font-smoothing: auto;
  font-optical-sizing: auto;
  isolation: isolate;
}

.context-stage::before,
.context-stage::after {
  content: none;
}

.context-stage button,
.context-stage input,
.context-stage select {
  font: inherit;
  letter-spacing: 0;
}

.context-stage button:focus-visible,
.context-stage [role="button"]:focus-visible {
  outline: 2px solid rgba(34, 92, 255, 0.62);
  outline-offset: 1px;
}

.mac-desktop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #cbd8df;
  /* Generated specifically for PersonOS; prompt provenance: personos-desktop-wallpaper-v2.prompt.md. */
  background-image: url("../img/personos-desktop-wallpaper-v2.webp");
  background-position: center;
  background-size: cover;
}

.mac-desktop::after {
  position: absolute;
  z-index: 120;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.mac-menubar {
  position: absolute;
  z-index: 70;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 27px;
  min-height: 27px;
  padding: 0 14px;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 247, 248, 0.56);
  color: rgba(15, 18, 21, 0.9);
  box-shadow: inset 0 -0.5px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(26px) saturate(165%);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
  font-size: 11px;
  font-weight: 510;
  white-space: nowrap;
}

.mac-menubar__left,
.mac-menubar__right {
  display: flex;
  align-items: center;
}

.mac-menubar__left { gap: 14px; }
.mac-menubar__right { gap: 9px; }
.mac-menubar strong { font-weight: 640; }

.menubar-mark {
  display: grid;
  width: 13px;
  height: 13px;
  margin-right: -4px;
  place-items: center;
}

.menubar-mark img { width: 13px; height: 13px; object-fit: contain; }

.menu-symbol {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.9;
}

.menu-symbol--battery { width: 19px; height: 13px; }
.menu-symbol--control { width: 14px; height: 14px; }

.mac-menubar svg {
  width: 15px;
  height: 15px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.mac-menubar .battery-fill {
  fill: currentColor;
  stroke: none;
}

.mac-menubar time {
  min-width: 124px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.native-window {
  position: absolute;
  z-index: 10;
  top: 48px;
  right: 50px;
  bottom: 78px;
  left: 50px;
  overflow: hidden;
  border: 1px solid rgba(23, 28, 31, 0.28);
  border-radius: 18px;
  background: rgba(249, 249, 249, 0.97);
  background-clip: padding-box;
  box-shadow: 0 36px 90px rgba(14, 22, 27, 0.26), 0 8px 24px rgba(14, 22, 27, 0.18), 0 1px 3px rgba(14, 22, 27, 0.2), inset 0 1px rgba(255, 255, 255, 0.82);
  isolation: isolate;
}

.native-window::after {
  position: absolute;
  z-index: 20;
  inset: 0;
  border: 0.5px solid rgba(255, 255, 255, 0.52);
  border-radius: inherit;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08);
  content: "";
  pointer-events: none;
}

.native-toolbar {
  position: relative;
  z-index: 5;
  display: grid;
  height: 46px;
  padding: 0 13px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.17);
  border-radius: 17px 17px 0 0;
  background: rgba(238, 239, 240, 0.92);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-controls i {
  width: 12px;
  height: 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0.5px rgba(255, 255, 255, 0.45);
}

.window-controls i:nth-child(1) { background: #ff5f57; }
.window-controls i:nth-child(2) { background: #febc2e; }
.window-controls i:nth-child(3) { background: #28c840; }

.native-toolbar button,
.native-page-header button,
.native-inspector button {
  display: inline-grid;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  color: #34383d;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), inset 0 0.5px rgba(255, 255, 255, 0.88);
  cursor: pointer;
  place-items: center;
}

.native-toolbar__actions button {
  width: 27px;
  height: 27px;
  padding: 0;
  border-radius: 6px;
}

.native-toolbar button:disabled { cursor: default; opacity: 0.35; }

.native-toolbar svg,
.native-page-header svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.native-toolbar__title {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 7px;
  color: #22272a;
  font-size: 1em;
}

.native-toolbar__title img { width: 17px; height: 17px; }
.native-toolbar__title strong { font-weight: 630; }
.native-toolbar__title span { color: #777d82; font-size: 0.86em; }

.native-toolbar__actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 7px;
}

.native-toolbar__actions button:hover { background: rgba(255, 255, 255, 0.82); }
.native-toolbar__actions button:active { transform: scale(0.96); }
.native-toolbar__actions button img { width: 14px; height: 14px; object-fit: contain; opacity: 0.78; }

.native-toolbar__status {
  overflow: hidden;
  max-width: 158px;
  color: #6c7378;
  font-size: 0.82em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-window__body {
  display: grid;
  height: calc(100% - 46px);
  overflow: hidden;
  border-radius: 0 0 17px 17px;
  grid-template-columns: 20% 80%;
}

.native-sidebar {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 18px 11px 14px;
  flex-direction: column;
  border-right: 0.5px solid rgba(0, 0, 0, 0.16);
  background: rgba(232, 234, 234, 0.82);
  color: #353a3e;
  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
}

.native-sidebar__identity {
  display: flex;
  min-height: 42px;
  padding: 0 7px 12px;
  align-items: center;
  gap: 9px;
}

.native-sidebar__identity img { width: 27px; height: 27px; }
.native-sidebar__identity span { display: grid; min-width: 0; }
.native-sidebar__identity strong { color: #23282b; font-size: 1.02em; font-weight: 630; }
.native-sidebar__identity small { color: #747b80; font-size: 0.82em; }

.native-nav {
  display: grid;
  gap: 3px;
}

.native-nav button {
  display: grid;
  width: 100%;
  height: 34px;
  padding: 0 8px;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #484e52;
  cursor: pointer;
  text-align: left;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.native-nav button:hover { background: rgba(255, 255, 255, 0.42); color: #1e2326; }

.native-nav button.is-active {
  background: rgba(255, 255, 255, 0.72);
  color: #1e2326;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}

.native-nav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.native-nav span { overflow: hidden; font-weight: 510; text-overflow: ellipsis; white-space: nowrap; }
.native-nav b { display: grid; width: 19px; height: 19px; border-radius: 50%; background: #225cff; color: #fff; font-size: 0.78em; font-weight: 650; place-items: center; }

.native-sidebar__label {
  margin: 21px 8px 8px;
  color: #7c8286;
  font-size: 0.78em;
  font-weight: 560;
  text-transform: none;
}

.native-agent-list {
  display: grid;
  gap: 1px;
}

.native-agent-list > span {
  display: grid;
  min-height: 31px;
  padding: 0 8px;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border-radius: 6px;
  color: #444a4e;
  font-size: 0.89em;
}

.native-agent-list em { color: #858b8f; font-size: 0.82em; font-style: normal; }

.agent-dot {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #1d2225;
}

.agent-dot::after { position: absolute; inset: 3px; border: 1px solid rgba(255,255,255,.82); border-width: 0 0 1px 1px; content: ""; transform: rotate(-35deg); }
.agent-dot--claude { background: #d97757; }
.agent-dot--code { background: #20282b; }

.native-sidebar__footer {
  display: flex;
  margin-top: auto;
  padding: 11px 8px 2px;
  align-items: center;
  gap: 8px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.11);
}

.native-sidebar__footer > i,
.native-local i,
.native-inspector__status i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #36b783;
  box-shadow: 0 0 0 3px rgba(54, 183, 131, 0.12);
}

.native-sidebar__footer span { display: grid; }
.native-sidebar__footer strong { color: #33383c; font-size: 0.86em; font-weight: 570; }
.native-sidebar__footer small { color: #7b8286; font-size: 0.74em; }

.native-workspace {
  min-width: 0;
  background: rgba(252, 252, 252, 0.97);
  color: #1f2427;
}

.native-page-header {
  display: flex;
  height: 76px;
  padding: 14px 18px 12px 21px;
  align-items: end;
  justify-content: space-between;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

.native-page-header small { display: block; margin-bottom: 1px; color: #858b90; font-size: 0.78em; }
.native-page-header h2 { margin: 0; color: #191d20; font-size: clamp(20px, 2vw, 28px); font-weight: 690; line-height: 1.05; letter-spacing: -0.024em; }

.native-page-header__tools {
  display: flex;
  align-items: center;
  gap: 7px;
}

.native-filter { position: relative; }

.native-page-header__tools button {
  display: inline-flex;
  min-height: 28px;
  padding: 0 9px;
  align-items: center;
  gap: 6px;
  border-radius: 7px;
  color: #4f5559;
  font-size: 0.83em;
}

.native-page-header__tools button:hover { background: rgba(255, 255, 255, 0.86); }
.native-page-header__tools img { width: 10px; height: 10px; object-fit: contain; opacity: 0.6; }

.native-filter__menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 5px);
  right: 0;
  width: 112px;
  padding: 4px;
  border: 0.5px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  background: rgba(249, 249, 249, 0.94);
  box-shadow: 0 10px 24px rgba(16, 22, 26, 0.16), 0 2px 5px rgba(16, 22, 26, 0.1);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.native-filter__menu[hidden] { display: none; }
.native-filter__menu button { display: flex; width: 100%; min-height: 25px; padding: 0 8px; justify-content: flex-start; border: 0; border-radius: 5px; background: transparent; box-shadow: none; font-size: 0.79em; }
.native-filter__menu button:hover { background: rgba(34, 92, 255, 0.1); }
.native-filter__menu button[aria-pressed="true"] { color: #174fca; font-weight: 620; }
.native-page-header__tools .native-local {
  display: inline-flex;
  min-height: 28px;
  padding: 0 3px;
  align-items: center;
  gap: 7px;
  color: #666d72;
  font-size: 0.83em;
}

.native-content-grid {
  display: grid;
  height: calc(100% - 76px);
  grid-template-columns: minmax(0, 1fr) 31%;
}

.native-activity {
  min-width: 0;
  padding: 18px 20px;
}

.native-section-title {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  justify-content: space-between;
  color: #3c4246;
}

.native-section-title strong { font-size: 0.94em; font-weight: 620; }
.native-section-title span { color: #8a9094; font-size: 0.78em; }
.native-section-title--recent { margin-top: 21px; }

.native-section-title button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #3569c8;
  font-size: 0.8em;
}

.native-request {
  display: grid;
  min-height: 107px;
  padding: 14px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 3px 11px;
  border: 0.5px solid rgba(34, 92, 255, 0.34);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(23, 35, 43, 0.07), inset 0 1px rgba(255, 255, 255, 0.8);
  transition: border-color 220ms ease, background-color 220ms ease;
}

.native-request[role="button"] { cursor: pointer; transition: transform 180ms var(--ease-out), border-color 180ms ease, box-shadow 180ms ease; }
.native-request[role="button"]:hover { transform: translateY(-1px); border-color: rgba(34, 92, 255, 0.5); box-shadow: 0 7px 20px rgba(23, 35, 43, 0.1), inset 0 1px rgba(255, 255, 255, 0.8); }
.native-request[role="button"]:focus-visible { outline: 2px solid rgba(34, 92, 255, 0.55); outline-offset: 2px; }

.native-grant-card {
  display: none;
  min-height: 82px;
  padding: 13px;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  border: 0.5px solid rgba(54, 183, 131, 0.3);
  border-radius: 10px;
  background: #fbfffd;
  box-shadow: 0 3px 12px rgba(23, 35, 43, 0.06);
}

.native-grant-card > span { display: grid; min-width: 0; }
.native-grant-card__icon { width: 32px; height: 32px; border-radius: 9px; background: rgba(54, 183, 131, 0.12); place-items: center; }
.native-grant-card__icon img { width: 17px; height: 17px; opacity: 0.65; }
.native-grant-card strong { font-size: 0.92em; font-weight: 620; }
.native-grant-card small { color: #7b8286; font-size: 0.74em; }
.native-grant-card b { color: #247355; font-size: 0.78em; font-weight: 600; text-align: right; }
.native-grant-card button { min-height: 28px; padding: 0 9px; border-radius: 7px; font-size: 0.76em; }
.native-grant-card button:disabled { cursor: default; opacity: 0.52; }

.context-stage[data-native-view="receipts"] .native-request,
.context-stage[data-native-view="grants"] .native-request { display: none; }
.context-stage[data-native-view="receipts"] .native-section-title--recent { display: none; }
.context-stage[data-native-view="grants"] .native-section-title--recent,
.context-stage[data-native-view="grants"] .native-table { display: none; }
.context-stage[data-native-view="grants"] .native-grant-card { display: grid; }
.context-stage[data-native-view="grants"] [data-activity-filter] { visibility: hidden; }
.context-stage[data-activity-filter-value="requests"] [data-activity-kind="read"],
.context-stage[data-activity-filter-value="reads"] [data-activity-kind="request"] { display: none; }

.native-request__icon {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  grid-row: 1 / span 2;
  overflow: hidden;
  border-radius: 9px;
  background: #192124;
  place-items: center;
}

.native-request__icon i {
  position: absolute;
  left: 10px;
  width: 17px;
  height: 1.5px;
  border-radius: 1px;
  background: #79c8ff;
}

.native-request__icon i:nth-child(1) { top: 11px; transform: rotate(-12deg); }
.native-request__icon i:nth-child(2) { top: 17px; width: 13px; }
.native-request__icon i:nth-child(3) { top: 23px; transform: rotate(12deg); }

.native-request__icon--small { width: 30px; height: 30px; border-radius: 8px; }
.native-request__icon--small i { left: 8px; width: 15px; }
.native-request__icon--small i:nth-child(1) { top: 9px; }
.native-request__icon--small i:nth-child(2) { top: 14px; width: 11px; }
.native-request__icon--small i:nth-child(3) { top: 20px; }

.native-request__copy { display: grid; min-width: 0; align-content: start; }
.native-request__copy strong { font-size: 1em; font-weight: 630; }
.native-request__copy span { overflow: hidden; margin-top: 2px; color: #33383c; font-size: 0.92em; text-overflow: ellipsis; white-space: nowrap; }
.native-request__copy small { margin-top: 2px; color: #858b8f; font-size: 0.78em; }

.native-request__meta { display: grid; justify-items: end; align-content: start; gap: 4px; }
.native-request__meta span { padding: 3px 7px; border-radius: 6px; background: rgba(255, 179, 68, 0.16); color: #8a5a10; font-size: 0.74em; font-weight: 610; }
.native-request__meta time { color: #979ca0; font-size: 0.72em; }

.native-request__scope {
  display: flex;
  margin-top: 9px;
  padding-top: 9px;
  grid-column: 2 / 4;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid rgba(0, 0, 0, 0.09);
  color: #7a8084;
  font-size: 0.77em;
}

.native-request__scope b { color: #3569c8; font-weight: 560; }

.native-table {
  overflow: hidden;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.78);
}

.native-table > div {
  display: grid;
  min-height: 49px;
  padding: 0 11px;
  grid-template-columns: 9px minmax(0, 1fr) auto 49px;
  align-items: center;
  gap: 9px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.09);
}

.native-table > div:last-child { border-bottom: 0; }
.native-table span:nth-child(2) { display: grid; min-width: 0; }
.native-table strong { overflow: hidden; font-size: 0.88em; font-weight: 570; text-overflow: ellipsis; white-space: nowrap; }
.native-table small { overflow: hidden; color: #858b8f; font-size: 0.74em; text-overflow: ellipsis; white-space: nowrap; }
.native-table b { color: #767c80; font-size: 0.75em; font-weight: 500; }
.native-table time { color: #989da1; font-size: 0.72em; text-align: right; }

.receipt-state { width: 7px; height: 7px; border-radius: 50%; background: #a8aeb2; }
.receipt-state--expired { background: #a8aeb2; }
.receipt-state--signed { background: #36b783; }

.native-inspector {
  position: relative;
  min-width: 0;
  padding: 18px 15px 14px;
  border-left: 0.5px solid rgba(0, 0, 0, 0.13);
  background: #f4f4f4;
}

.native-inspector__head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.native-inspector__head > span:nth-child(2) { display: grid; min-width: 0; }
.native-inspector__head strong { font-size: 0.92em; font-weight: 620; }
.native-inspector__head small { color: #858b8f; font-size: 0.76em; }
.native-inspector__head button { width: 26px; height: 24px; border: 0; background: transparent; box-shadow: none; color: #777d81; letter-spacing: 1px; }

.native-inspector__message {
  margin-top: 16px;
  padding: 11px 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px 12px 4px 12px;
  background: #fff;
  color: #3a4044;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 0.88em;
  line-height: 1.42;
}

.native-inspector__status {
  display: flex;
  margin: 15px 2px;
  align-items: center;
  gap: 8px;
  color: #797f83;
  font-size: 0.78em;
}

.native-inspector dl {
  margin: 0;
  padding: 3px 0;
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

.native-inspector dl div { display: flex; min-height: 29px; align-items: center; justify-content: space-between; }
.native-inspector dt { color: #858b8f; font-size: 0.75em; }
.native-inspector dd { margin: 0; color: #4b5155; font-size: 0.75em; font-weight: 530; }

.native-inspector__compose {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  height: 38px;
  padding: 0 11px;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  border: 0.5px solid rgba(0, 0, 0, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
  color: #909599;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.85);
  font-size: 0.78em;
}

.native-inspector__compose img { width: 14px; height: 14px; object-fit: contain; opacity: 0.38; }


.mac-dock {
  position: absolute;
  z-index: 40;
  bottom: 8px;
  left: 50%;
  display: flex;
  height: 58px;
  padding: 7px 8px;
  align-items: center;
  gap: 7px;
  transform: translateX(-50%);
  border: 0.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(234, 239, 241, 0.52);
  box-shadow: 0 13px 30px rgba(19, 31, 38, 0.24), inset 0 1px rgba(255,255,255,.72);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  pointer-events: none;
}

.dock-icon {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  overflow: hidden;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(13, 24, 30, 0.16), inset 0 1px rgba(255,255,255,.6);
  place-items: center;
  transition: transform 180ms var(--ease-out);
}

.dock-icon:hover { transform: none; }
.dock-divider { width: 0.5px; height: 36px; margin: 0 1px; background: rgba(0,0,0,.2); }
.dock-icon--personos { background: rgba(255,254,250,.94); }
.dock-icon--personos img { width: 29px; height: 29px; }
.dock-icon--finder { background: linear-gradient(90deg, #77c8f2 0 50%, #eaf7ff 50%); }
.dock-icon--finder::before { position: absolute; top: 8px; bottom: 7px; left: 50%; width: 0.5px; background: rgba(12,79,117,.55); content: ""; }
.dock-icon--finder::after { width: 22px; height: 15px; border: 1.5px solid #174e70; border-top: 0; border-radius: 0 0 50% 50%; content: ""; }
.dock-icon--mail { background: linear-gradient(#3c9cff, #176de0); }
.dock-icon--mail::before { width: 27px; height: 19px; border-radius: 4px; background: #fff; content: ""; }
.dock-icon--mail::after { position: absolute; top: 12px; width: 18px; height: 18px; border: solid #2e83eb; border-width: 0 1.5px 1.5px 0; content: ""; transform: rotate(45deg); }
.dock-icon--calendar { grid-template-rows: 12px 1fr; background: #fff; color: #202326; }
.dock-icon--calendar::before { align-self: stretch; width: 100%; background: #f24f45; content: ""; }
.dock-icon--calendar b { margin-top: -3px; font-size: 18px; font-weight: 500; }
.dock-icon--notes { background: repeating-linear-gradient(to bottom, #fff9be 0 8px, #dccf77 8.5px 9px); }
.dock-icon--notes::before { position: absolute; top: 0; width: 100%; height: 8px; background: #f2d44d; content: ""; }
.dock-icon--agent { background: #1c2326; }
.dock-icon--agent i { position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: #79c8ff; }
.dock-icon--agent i:nth-child(1) { top: 12px; transform: rotate(-10deg); }
.dock-icon--agent i:nth-child(2) { top: 20px; width: 16px; }
.dock-icon--agent i:nth-child(3) { top: 28px; transform: rotate(10deg); }
.dock-icon--trash { border-color: rgba(255,255,255,.5); background: rgba(241,246,247,.64); backdrop-filter: blur(8px); }
.dock-icon--trash::before { width: 22px; height: 27px; border: 1px solid rgba(67,78,83,.55); border-radius: 3px 3px 6px 6px; background: repeating-linear-gradient(90deg, transparent 0 5px, rgba(67,78,83,.14) 5px 6px); content: ""; }
.dock-icon--trash::after { position: absolute; top: 6px; width: 25px; height: 2px; border-radius: 2px; background: #758086; content: ""; }

.artifact-note {
  max-width: none;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

@media (max-width: 1050px) {
  .native-toolbar { grid-template-columns: 140px 1fr 220px; }
  .native-toolbar__status { max-width: 110px; }
  .native-content-grid { grid-template-columns: minmax(0, 1fr) 32%; }
  .native-activity { padding: 16px; }
  .native-page-header { padding-left: 17px; }
  .native-request__scope b { display: none; }
}

@media (max-width: 760px) {
  .context-stage { height: 600px; aspect-ratio: auto; }
  .mac-desktop { right: auto; left: 50%; width: 920px; transform: translateX(-50%); }
  .mac-menubar { font-size: 11px; }
  .native-window { top: 52px; right: 34px; bottom: 78px; left: 34px; }
  .native-page-header h2 { font-size: 25px; }
  .context-stage[data-phase="request"] .context-island { width: min(392px, calc(100vw - 34px)); }
  .context-stage[data-phase="granted"] .context-island { width: min(310px, calc(100vw - 34px)); }
  .context-stage[data-phase="denied"] .context-island,
  .context-stage[data-phase="revoked"] .context-island { width: min(300px, calc(100vw - 34px)); }
  .demo-cursor { display: none; }
}

@media (max-width: 430px) {
  .context-stage { height: 570px; }
  .mac-desktop { width: 860px; }
  .context-stage[data-phase="request"] .context-island { max-height: 342px; }
  .island-request { padding-right: 12px; padding-left: 12px; }
  .island-request__footer { grid-template-columns: 1fr 1.18fr; gap: 7px; }
  .duration-control { height: 29px; }
  .island-actions { height: 31px; }
  .withheld-line { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .mac-menubar,
  .native-toolbar,
  .native-sidebar,
  .mac-dock { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mac-menubar { background: rgba(244,247,248,.94); }
  .native-toolbar { background: rgba(238,239,240,.98); }
  .native-sidebar { background: rgba(232,234,234,.98); }
  .mac-dock { background: rgba(234,239,241,.94); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .context-stage__orbit,
  .closing__rings i:nth-child(3) {
    animation: none !important;
  }

  .thesis {
    height: auto;
  }

  .thesis__pin {
    position: relative;
    min-height: auto;
  }
}

@media print {
  .site-header,
  .hero__artifact,
  .thesis,
  .closing,
  .site-footer,
  .nav-toggle,
  .button,
  .text-link {
    display: none !important;
  }

  body,
  .developer-page,
  .developer-page main {
    background: #fff !important;
    color: #000 !important;
  }

  section {
    break-inside: avoid;
  }
}

/* Native desktop + consent-only island fidelity pass.
   The scene is a 1512 × 982 pt Mac canvas; descendants use cqw so one
   virtual macOS point stays proportional at every desktop preview size. */
.mac-desktop {
  container-type: inline-size;
  /* 1512pt reference canvas. Glyph size and status-item allocation are
     separate AppKit concepts: keep exported glyphs native-sized, then give
     every menu extra the breathing room measured from the live Mac. */
  --mac-menubar-height: 2.1164cqw; /* 32pt top safe-area band */
  --mac-notch-width: 12.2354cqw; /* 185pt from NSScreen auxiliary top areas */
  --mac-menubar-font-size: 0.8598cqw; /* NSFont.menuBarFont default: 13pt */
  --mac-menu-extra-personos: 2.1164cqw; /* 32pt allocation, 18pt glyph */
  --mac-menu-extra-wifi: 2.1825cqw; /* 33pt allocation, 17 × 13pt glyph */
  --mac-menu-extra-battery: 2.5132cqw; /* 38pt allocation, 22 × 14pt glyph */
  --mac-menu-extra-control: 2.1164cqw; /* 32pt allocation, 16 × 14pt glyph */
  --mac-menu-time-allocation: 11.3095cqw; /* 171pt, balanced side air */
}

.mac-menubar {
  height: var(--mac-menubar-height);
  min-height: var(--mac-menubar-height);
  padding: 0 0 0 1.3889cqw;
  background: rgba(246, 247, 250, 0.72);
  font-size: var(--mac-menubar-font-size);
  font-weight: 500;
  text-rendering: auto;
  -webkit-font-smoothing: auto;
}

.mac-menubar__left { gap: 1.455cqw; }
.mac-menubar__right { height: 100%; gap: 0; }
.mac-menubar strong { font-weight: 650; }
.menubar-mark { width: 0.7937cqw; height: 0.9921cqw; margin-right: 0; }
.menubar-mark img { width: 0.7937cqw; height: 0.9921cqw; }

.menu-symbol {
  height: 2.1164cqw;
  box-sizing: border-box;
  opacity: 0.92;
}

.menu-symbol--personos {
  width: var(--mac-menu-extra-personos);
  height: var(--mac-menubar-height);
  padding: 0.463cqw;
  object-fit: contain;
}

.menu-symbol--wifi {
  width: var(--mac-menu-extra-wifi);
  height: var(--mac-menubar-height);
  padding: 0.6283cqw 0.5291cqw;
}

.menu-symbol--battery {
  width: var(--mac-menu-extra-battery);
  height: var(--mac-menubar-height);
  padding: 0.5952cqw 0.5291cqw;
}

.menu-symbol--control {
  width: var(--mac-menu-extra-control);
  height: var(--mac-menubar-height);
  padding: 0.5952cqw 0.5291cqw;
}

.mac-menubar time {
  display: flex;
  width: var(--mac-menu-time-allocation);
  min-width: var(--mac-menu-time-allocation);
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5291cqw;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.mac-notch {
  position: absolute;
  z-index: 78;
  top: 0;
  left: 50%;
  width: var(--mac-notch-width);
  height: var(--mac-menubar-height);
  transform: translateX(-50%);
  border-radius: 0 0 0.9259cqw 0.9259cqw;
  background: #000;
  pointer-events: none;
}

.native-window {
  top: 5.5556cqw;
  right: 6.2169cqw;
  bottom: 6.4815cqw;
  left: 15.0132cqw;
  display: grid;
  overflow: hidden;
  border: 0.0661cqw solid rgba(18, 20, 23, 0.28);
  border-radius: 0.9259cqw;
  grid-template-rows: 3.0423cqw minmax(0, 1fr);
  background: #fff;
  box-shadow: 0 2.5132cqw 5.9524cqw rgba(14, 18, 23, 0.20), 0 0.5291cqw 1.7196cqw rgba(14, 18, 23, 0.14), 0 1px 2px rgba(14, 18, 23, 0.18);
}

.native-window::after {
  border: 0.5px solid rgba(255, 255, 255, 0.58);
  border-radius: inherit;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}

.native-toolbar {
  height: 3.0423cqw;
  padding: 0;
  grid-row: 1;
  grid-template-columns: 18.3201cqw minmax(0, 1fr) auto;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.14);
  border-radius: 0.9259cqw 0.9259cqw 0 0;
  background: rgba(250, 250, 251, 0.94);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
}

.native-toolbar::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18.3201cqw;
  width: 0.5px;
  background: rgba(0, 0, 0, 0.14);
  content: "";
  pointer-events: none;
}

.window-controls {
  padding-left: 1.1574cqw;
  gap: 0.5952cqw;
}

.window-controls i {
  width: 0.9259cqw;
  height: 0.9259cqw;
  border: 0.5px solid rgba(0, 0, 0, 0.11);
  box-shadow: inset 0 0.5px rgba(255, 255, 255, 0.36);
}

.window-controls i:nth-child(1) { background: #ec6765; }
.window-controls i:nth-child(2) { background: #f2ca44; }
.window-controls i:nth-child(3) { background: #65c466; }

.native-toolbar__title {
  grid-column: 2;
  justify-self: center;
  gap: 0.463cqw;
  font-size: 0.8598cqw;
}

.native-toolbar__title img { width: 1.1243cqw; height: 1.1243cqw; }
.native-toolbar__actions { grid-column: 3; padding-right: 0.8598cqw; gap: 0.463cqw; }
.native-toolbar__actions button { width: 1.7857cqw; height: 1.7857cqw; border-radius: 0.3968cqw; }
.native-toolbar__actions button img { width: 0.9259cqw; height: 0.9259cqw; }
.native-toolbar__status { max-width: 10.4497cqw; font-size: 0.7275cqw; }

.native-window__body {
  height: auto;
  min-height: 0;
  grid-row: 2;
  grid-template-columns: 18.3201cqw minmax(0, 1fr);
  border-radius: 0 0 0.9259cqw 0.9259cqw;
}

.native-sidebar {
  padding: 1.1905cqw 0.7275cqw 0.9259cqw;
  border-right: 0.5px solid rgba(0, 0, 0, 0.14);
  background: rgba(250, 250, 251, 0.94);
}

.native-workspace { background: #fff; }
.native-content-grid { min-height: 0; }

/* The foreground window is a familiar macOS work surface, not a fictional
   PersonOS dashboard. PersonOS itself stays where the real app lives: the
   menu bar and the screen-attached consent island. */
.notes-toolbar {
  grid-template-columns: 15.0132cqw minmax(0, 1fr) auto;
}

.notes-toolbar::after { left: 15.0132cqw; }

.notes-toolbar__title {
  display: flex;
  min-width: 0;
  grid-column: 2;
  justify-self: center;
  align-items: baseline;
  gap: 0.463cqw;
  color: #242526;
  font-size: 0.8598cqw;
}

.notes-toolbar__title strong { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.notes-toolbar__title span { color: #858587; font-size: 0.7275cqw; }

.notes-toolbar__tools {
  display: flex;
  padding-right: 0.8598cqw;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 0.3307cqw;
}

.notes-toolbar__tools img {
  width: 1.7857cqw;
  height: 1.7857cqw;
  padding: 0.3968cqw;
  border: 0.5px solid rgba(0, 0, 0, 0.11);
  border-radius: 0.3968cqw;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 0.5px rgba(255, 255, 255, 0.9);
  object-fit: contain;
  opacity: 0.78;
}

.native-window__body.notes-app {
  grid-template-columns: 15.0132cqw 17.1958cqw minmax(0, 1fr);
  background: #fff;
}

.notes-folders,
.notes-list,
.notes-editor {
  min-width: 0;
  min-height: 0;
}

.notes-folders {
  position: relative;
  display: flex;
  padding: 1.3889cqw 0.7275cqw 0.9921cqw;
  flex-direction: column;
  border-right: 0.5px solid rgba(0, 0, 0, 0.16);
  background: rgba(242, 242, 244, 0.94);
  color: #393a3c;
}

.notes-folders__account {
  display: flex;
  padding: 0 0.5952cqw 0.463cqw;
  align-items: baseline;
  justify-content: space-between;
}

.notes-folders__account strong { font-size: 0.7937cqw; font-weight: 650; }
.notes-folders__account span { color: #8a8b8e; font-size: 0.6283cqw; }
.notes-folders__account--local { margin-top: 1.0582cqw; }

.notes-folders nav { display: grid; gap: 0.1323cqw; }
.notes-folders nav > span {
  display: grid;
  min-height: 2.1164cqw;
  padding: 0 0.5952cqw;
  grid-template-columns: 0.7937cqw minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.463cqw;
  border-radius: 0.463cqw;
  font-size: 0.8598cqw;
}

.notes-folders nav > span.is-selected { background: rgba(0, 0, 0, 0.075); font-weight: 560; }
.notes-folders nav i { width: 0.5952cqw; height: 0.5952cqw; border-radius: 0.1323cqw; background: #e0ad00; color: transparent; }
.notes-folders nav b { color: #8b8c8e; font-size: 0.6614cqw; font-weight: 500; }
.notes-folders__footer { margin-top: auto; padding: 0.6614cqw 0.5952cqw 0; color: #8a8b8d; font-size: 0.6944cqw; }

.notes-list {
  display: flex;
  flex-direction: column;
  border-right: 0.5px solid rgba(0, 0, 0, 0.16);
  background: rgba(250, 250, 250, 0.98);
}

.notes-list > header {
  display: flex;
  padding: 1.3228cqw 1.0582cqw 0.7275cqw;
  align-items: baseline;
  justify-content: space-between;
}

.notes-list > header strong { color: #2b2c2e; font-size: 1.0582cqw; font-weight: 660; }
.notes-list > header span { color: #909195; font-size: 0.6283cqw; }

.notes-search {
  height: 1.7857cqw;
  margin: 0 0.7937cqw 0.7275cqw;
  padding: 0 0.6614cqw;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5291cqw;
  background: rgba(235, 235, 237, 0.92);
  color: #8f9093;
  font-size: 0.6944cqw;
  line-height: 1.7857cqw;
}

.notes-list__items { display: grid; padding: 0 0.5291cqw; gap: 0.1323cqw; }
.notes-list__items article {
  position: relative;
  display: grid;
  min-height: 4.3651cqw;
  padding: 0.7275cqw 0.7937cqw;
  border-radius: 0.5952cqw;
  align-content: center;
}

.notes-list__items article.is-selected { background: #f6d65f; }
.notes-list__items strong { color: #2f3032; font-size: 0.7937cqw; font-weight: 620; }
.notes-list__items p { overflow: hidden; margin: 0.1984cqw 0 0; color: #6e7074; font-size: 0.6614cqw; text-overflow: ellipsis; white-space: nowrap; }
.notes-list__items time { position: absolute; top: 0.7937cqw; right: 0.7937cqw; color: #8a8b8e; font-size: 0.5952cqw; }
.notes-list__items article.is-selected time { color: rgba(42, 42, 43, 0.58); }

.notes-editor { overflow: auto; background: #fff; color: #262729; }
.notes-editor > header {
  display: flex;
  padding: 1.0582cqw 1.7857cqw 0;
  align-items: center;
  justify-content: center;
  gap: 0.463cqw;
  color: #a0a1a4;
  font-size: 0.5952cqw;
}

.notes-editor__page { width: min(35.0529cqw, calc(100% - 3.5714cqw)); margin: 2.1164cqw auto 0; }
.notes-editor__page h2 { margin: 0 0 0.6614cqw; font-size: 1.6534cqw; font-weight: 700; letter-spacing: -0.025em; }
.notes-editor__page > p { max-width: 33.0688cqw; margin: 0 0 1.5212cqw; color: #56585c; font-size: 0.8598cqw; line-height: 1.5; }
.notes-editor__page > label { display: flex; min-height: 2.0503cqw; align-items: center; gap: 0.6614cqw; font-size: 0.8267cqw; }
.notes-editor__page input { width: 1.0582cqw; height: 1.0582cqw; accent-color: #d9a900; }
.notes-editor__rule { height: 0.5px; margin: 1.7196cqw 0 1.1905cqw; background: rgba(0, 0, 0, 0.11); }
.notes-editor__page h3 { margin: 0 0 0.463cqw; font-size: 0.9259cqw; font-weight: 650; }
.notes-editor__page .notes-editor__placeholder { color: #9a9b9e; font-size: 0.7937cqw; }

.mac-dock {
  bottom: 0.3307cqw;
  height: 4.6296cqw;
}

/* The hardware notch is permanent. Paint the matching foreground plate too so
   the compact state never depends on transparency/compositing to stay visible. */
.context-island {
  /* SwiftUI .spring(response:.42,damping:.8) and
     .spring(response:.45,damping:1) sampled through full visual settle. */
  --island-open-spring: linear(0, .1297 5.556%, .3742 11.111%, .608 16.667%, .7855 22.222%, .9016 27.778%, .9682 33.333%, 1.0009 38.889%, 1.0132 44.444%, 1.015 50%, 1.0105 58.333%, 1.0052 66.667%, 1.0012 77.778%, .9999 88.889%, 1);
  --island-close-spring: linear(0, .1084 5.556%, .3072 11.111%, .4991 16.667%, .6536 22.222%, .7676 27.778%, .8475 33.333%, .9016 38.889%, .9373 44.444%, .9605 50%, .9805 58.333%, .9905 66.667%, .9965 77.778%, .9987 88.889%, 1);
  --island-open-settle: 720ms;
  --island-close-settle: 720ms;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 50%;
  width: var(--mac-notch-width);
  height: var(--mac-menubar-height);
  min-height: 0;
  overflow: hidden;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  scale: 1;
  border: 0;
  border-radius: 0 0 0.9259cqw 0.9259cqw;
  background: #000;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: none;
  isolation: isolate;
  transition: width var(--island-close-settle) var(--island-close-spring), height var(--island-close-settle) var(--island-close-spring), border-radius 300ms ease-out, background-color 90ms linear 620ms, scale 180ms ease-out;
}

.context-stage[data-island-hover="prehover"] .context-island { scale: 1.004; }

.context-stage[data-phase="event"] .context-island {
  width: 14.6164cqw;
  height: 8.7302cqw;
  border-radius: 0 0 1.5873cqw 1.5873cqw;
  background: #000;
  transition-duration: var(--island-open-settle), var(--island-open-settle), 300ms, 90ms, 180ms;
  transition-timing-function: var(--island-open-spring), var(--island-open-spring), ease-out, linear, ease-out;
  transition-delay: 0s, 0s, 0s, 0s, 0s;
}

.context-stage[data-phase="expanded"] .context-island {
  width: 31.0847cqw;
  height: 31.6138cqw;
  border-radius: 0 0 1.5873cqw 1.5873cqw;
  background: #000;
  transition-duration: var(--island-open-settle), var(--island-open-settle), 300ms, 90ms, 180ms;
  transition-timing-function: var(--island-open-spring), var(--island-open-spring), ease-out, linear, ease-out;
  transition-delay: 0s, 0s, 0s, 0s, 0s;
}

.context-stage[data-phase="decision"] .context-island {
  width: 14.6164cqw;
  height: 8.7302cqw;
  border-radius: 0 0 1.5873cqw 1.5873cqw;
  background: #000;
  transition-duration: var(--island-close-settle), var(--island-close-settle), 300ms, 90ms, 180ms;
  transition-timing-function: var(--island-close-spring), var(--island-close-spring), ease-out, linear, ease-out;
  transition-delay: 0s, 0s, 0s, 0s, 0s;
}

.context-island::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: transparent;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.context-stage[data-phase="decision"][data-decision="allowed"] .context-island::after {
  background: #5cd685;
  animation: island-wash-allow 620ms ease-out 280ms both;
}

.context-stage[data-phase="decision"][data-decision="denied"] .context-island::after {
  background: #e03d4d;
  animation: island-wash-deny 540ms ease-out 280ms both;
}

.island-peek {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 2.1164cqw;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.island-peek:disabled { cursor: default; }

.context-stage[data-phase="event"] .island-peek { height: 8.7302cqw; }
.context-stage[data-phase="decision"] .island-peek { height: 2.1164cqw; pointer-events: none; }

.island-peek__notice {
  position: absolute;
  top: 2.1164cqw;
  right: 0;
  left: 0;
  display: flex;
  height: 5.291cqw;
  align-items: center;
  justify-content: center;
  gap: 0.3307cqw;
  color: #b8d1f0;
  font-size: 0.9259cqw;
  font-weight: 600;
  opacity: 0;
  transform: scale(0.8);
  transform-origin: 50% 0;
  transition: opacity var(--island-close-settle) var(--island-close-spring), transform var(--island-close-settle) var(--island-close-spring);
}

.context-stage[data-phase="event"] .island-peek__notice {
  opacity: 1;
  transform: scale(1);
  transition: opacity var(--island-open-settle) var(--island-open-spring), transform var(--island-open-settle) var(--island-open-spring);
}

.island-symbol-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.island-agent-symbol {
  display: block;
  width: 1.1243cqw;
  height: 1.1243cqw;
  flex: 0 0 auto;
  overflow: visible;
  fill: url(#island-agent-gradient);
}

.island-peek__notice .island-agent-symbol { width: 0.7937cqw; height: 0.7937cqw; }

/* Match the native island: keep consent copy hidden until the event copy has
   cleared, then reveal it with the same top-anchored spring as the chrome. */
.island-request {
  position: absolute;
  z-index: 3;
  top: 2.1164cqw;
  right: 0;
  left: 0;
  display: block;
  padding: 0 1.1905cqw 1.3228cqw;
  border: 0;
  opacity: 0;
  transform: scale(0.8);
  transform-origin: 50% 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--island-close-settle) var(--island-close-spring), transform var(--island-close-settle) var(--island-close-spring), visibility 0s linear var(--island-close-settle);
}

.context-stage[data-phase="expanded"] .island-request {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--island-open-settle) var(--island-open-spring), transform var(--island-open-settle) var(--island-open-spring), visibility 0s linear 0s;
}

/* On hover, the hardware grows immediately while the event copy clears first.
   This preserves the native content handoff without collapsing the island. */
.context-stage[data-island-revealing="true"] .island-peek__notice {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 90ms ease-out, transform 120ms ease-out;
}

.context-stage[data-phase="expanded"][data-island-revealing="true"] .island-request {
  opacity: 0;
  transform: scale(0.8);
  visibility: visible;
  pointer-events: none;
  transition: none;
}

.context-stage[data-phase="decision"] .island-request {
  transform: scale(1);
  transition: opacity 150ms ease-out, visibility 0s linear 150ms;
}

.island-content-rule {
  width: 100%;
  height: 1px;
  margin: 0 0 0.7937cqw;
  background: rgba(255, 255, 255, 0.10);
}

.island-consent-card {
  padding: 0.7937cqw 0.9921cqw;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.island-requester {
  display: flex;
  padding-bottom: 1.1905cqw;
  flex-direction: column;
  align-items: center;
  gap: 0.2646cqw;
  text-align: center;
}

.island-requester .island-agent-symbol { margin-bottom: 0.0661cqw; }
.island-requester strong {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9259cqw;
  font-weight: 600;
  line-height: 1.23;
}
.island-requester small {
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.7606cqw;
  line-height: 1.25;
}

.consent-zone {
  --tier: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
}
.consent-zone--open { --tier: #5cd685; }
.consent-zone--approval { --tier: #ffcc4d; }
.consent-zone--sealed { --tier: #ff6b6b; }

.consent-zone__heading {
  display: flex;
  padding-top: 0.5952cqw;
  padding-bottom: 0.2646cqw;
  align-items: center;
  justify-content: space-between;
}

.consent-zone__heading > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3968cqw;
}

.consent-zone__heading i {
  width: 0.3307cqw;
  height: 0.3307cqw;
  border-radius: 50%;
  background: var(--tier);
}

.consent-zone__heading strong {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.6944cqw;
  font-weight: 500;
  line-height: 1.2;
}

.consent-row {
  display: grid;
  width: 100%;
  min-height: 2.1164cqw;
  padding: 0.3307cqw;
  grid-template-columns: 0.1984cqw 1.1243cqw minmax(0, 1fr) 0.9921cqw;
  align-items: center;
  gap: 0.6614cqw;
  border: 0;
  border-radius: 0.3307cqw;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  box-shadow: none;
  cursor: default;
  font-size: 0.8267cqw;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}

button.consent-row {
  cursor: pointer;
  font-size: 0.8267cqw;
  font-weight: 400;
  line-height: 1.2;
}
.consent-row:hover { background: transparent; }
.consent-row.is-selected { background: color-mix(in srgb, var(--tier) 7%, transparent); color: rgba(255, 255, 255, 0.95); }
.consent-row:active { transform: none; }

.consent-rail {
  display: block;
  width: 0.1984cqw;
  height: 1.455cqw;
  border-radius: 0.0992cqw;
  background: color-mix(in srgb, var(--tier) 28%, transparent);
}

.consent-row.is-selected .consent-rail { background: color-mix(in srgb, var(--tier) 95%, transparent); }
.consent-row.is-locked .consent-rail {
  display: flex;
  height: 1.455cqw;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}
.consent-row.is-locked .consent-rail i {
  width: 0.1984cqw;
  height: 0.1984cqw;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tier) 65%, transparent);
}

.consent-row__icon {
  width: 1.1243cqw;
  height: 1.1243cqw;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.55;
}
.consent-row.is-selected .consent-row__icon { opacity: 0.75; }

.consent-row__state {
  width: 0.8598cqw;
  height: 0.8598cqw;
  justify-self: end;
  object-fit: contain;
  opacity: 0.9;
}
.consent-zone--open .consent-row__state { filter: invert(78%) sepia(44%) saturate(654%) hue-rotate(84deg) brightness(97%); }
.consent-zone--approval .consent-row__state { filter: invert(87%) sepia(81%) saturate(919%) hue-rotate(326deg) brightness(104%); }
.consent-zone--sealed .consent-row__state { width: 0.9921cqw; height: 0.9921cqw; filter: invert(55%) sepia(78%) saturate(1209%) hue-rotate(319deg) brightness(105%); }
.consent-row:not(.is-selected):not(.is-locked) .consent-row__state { filter: invert(1); opacity: 0.3; }
.consent-row.is-authenticating { opacity: 0.42; }
button.consent-row.is-locked { cursor: pointer; }
button.consent-row.is-locked:hover { background: rgba(255, 107, 107, 0.07); }
button.consent-row.is-authenticated { cursor: pointer; }
button.consent-row.is-authenticated:hover { background: color-mix(in srgb, var(--tier) 9%, transparent); }

.duration-control {
  display: grid;
  width: 100%;
  height: auto;
  padding: 0.1323cqw 0 0.6614cqw;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.duration-control button {
  min-width: 0;
  min-height: 1.2566cqw;
  padding: 0 0 0.2646cqw;
  border: 0;
  border-bottom: 1.5px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  cursor: pointer;
  font-size: 0.7275cqw;
  font-weight: 400;
}
.duration-control button[aria-pressed="true"] {
  border-bottom-color: rgba(255, 255, 255, 0.9);
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: none;
  font-weight: 600;
}
.duration-control button:disabled { color: rgba(255, 255, 255, 0.28); cursor: default; }

.island-actions {
  display: grid;
  margin-top: 0;
  padding-top: 0.7275cqw;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5291cqw;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
}

.context-island button.island-button {
  min-height: 1.9841cqw;
  padding: 0.463cqw;
  border: 0;
  border-radius: 0.5952cqw;
  box-shadow: none;
  cursor: pointer;
  font-size: 0.7937cqw;
  line-height: normal;
}
.context-island button.island-button--quiet { background: rgba(255, 255, 255, 0.10); color: rgba(255, 255, 255, 0.88); font-weight: 500; }
.context-island button.island-button--grant { background: #fff; color: rgba(0, 0, 0, 0.90); font-weight: 600; }
.island-button--quiet:hover { background: rgba(255, 255, 255, 0.14); }
.island-button--grant:hover { background: rgba(255, 255, 255, 0.9); }
.island-button:active { transform: scale(0.985); }
.island-button:disabled { cursor: not-allowed; opacity: 0.35; }

.context-island button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.62);
  outline-offset: -1px;
}

.island-decision {
  position: absolute;
  z-index: 3;
  top: 2.1164cqw;
  right: 0;
  left: 0;
  display: grid;
  height: 6.6138cqw;
  padding-bottom: 1.3228cqw;
  opacity: 0;
  transform: scale(0.92);
  transform-origin: 50% 0;
  visibility: hidden;
  pointer-events: none;
  place-items: center;
  transition: opacity 150ms ease-in, transform 350ms cubic-bezier(.4, 0, .6, 1), visibility 0s linear 350ms;
}
.context-stage[data-phase="decision"] .island-decision {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition: opacity 160ms ease-out, transform 350ms cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;
}
.island-decision .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.decision-stamp {
  width: 4.6296cqw;
  height: 4.6296cqw;
  overflow: visible;
  color: #5cd685;
  opacity: 0;
  transform: scale(0.88);
  animation: none;
}
.context-stage[data-decision="denied"] .decision-stamp { color: #ff6b6b; }
.decision-stamp circle,
.decision-stamp path { vector-effect: non-scaling-stroke; }
.decision-stamp__glow { fill: currentColor; opacity: 0; }
.decision-stamp__ripple { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: 0; transform-origin: 35px 35px; }
.decision-stamp__ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-dasharray: 163.363;
  stroke-dashoffset: 130.69;
  transform-origin: 35px 35px;
  transform: rotate(-90deg);
}
.decision-stamp__check,
.decision-stamp__cross {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform-origin: 35px 35px;
}
.decision-stamp__check { stroke-width: 3.2; stroke-dasharray: 31.8; stroke-dashoffset: 31.8; }
.decision-stamp__cross { stroke-width: 3.4; stroke-dasharray: 28.284; stroke-dashoffset: 28.284; }

.context-stage[data-decision="allowed"] .decision-stamp { animation: island-stamp-appear 160ms ease-out forwards, island-stamp-hide 240ms ease-out 1080ms forwards; }
.context-stage[data-decision="denied"] .decision-stamp { animation: island-stamp-appear 140ms ease-out forwards, island-stamp-hide 240ms ease-out 840ms forwards; }
.context-stage[data-decision="allowed"] .decision-stamp__ring { animation: island-ring-allow-draw 400ms ease-out both, island-ring-allow-spin 400ms linear both; }
.context-stage[data-decision="denied"] .decision-stamp__ring { animation: island-ring-deny-draw 280ms ease-out both; }
.context-stage[data-decision="allowed"] .decision-stamp__check { animation: island-check-draw 260ms ease-out 280ms both, island-check-land 320ms cubic-bezier(.2,.85,.35,1.28) 280ms both; }
.context-stage[data-decision="allowed"] .decision-stamp__glow { animation: island-glow 520ms ease-out 280ms both; }
.context-stage[data-decision="allowed"] .decision-stamp__ripple { animation: island-ripple 460ms ease-out 280ms both; }
.context-stage[data-decision="allowed"] .decision-stamp__cross { display: none; }

.context-stage[data-decision="denied"] .decision-stamp__cross--first { animation: island-cross-draw 180ms ease-out 280ms both; }
.context-stage[data-decision="denied"] .decision-stamp__cross--second { animation: island-cross-draw 160ms ease-out 380ms both; }
.context-stage[data-decision="denied"] .decision-stamp__check,
.context-stage[data-decision="denied"] .decision-stamp__glow,
.context-stage[data-decision="denied"] .decision-stamp__ripple { display: none; }

@keyframes island-stamp-appear {
  to { opacity: 1; transform: scale(1); }
}
@keyframes island-stamp-hide { from { opacity: 1; } to { opacity: 0; } }
@keyframes island-ring-allow-draw { to { stroke-dashoffset: 0; } }
@keyframes island-ring-allow-spin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
@keyframes island-ring-deny-draw { to { stroke-dashoffset: 0; } }
@keyframes island-check-draw {
  from { opacity: 1; stroke-dashoffset: 31.8; }
  to { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes island-cross-draw {
  from { opacity: 1; stroke-dashoffset: 28.284; }
  to { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes island-check-land {
  0% { transform: scale(0.72) rotate(-16deg); }
  72% { transform: scale(1.07) rotate(1deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes island-glow {
  0% { opacity: 0; }
  32% { opacity: 0.2; }
  100% { opacity: 0.08; }
}
@keyframes island-ripple {
  from { opacity: 0.42; transform: scale(0.72); }
  to { opacity: 0; transform: scale(1.42); }
}
@keyframes island-wash-allow {
  0% { opacity: 0; }
  16% { opacity: 0.12; }
  100% { opacity: 0; }
}
@keyframes island-wash-deny {
  0% { opacity: 0; }
  30% { opacity: 0.09; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .context-stage[data-phase="decision"] .decision-stamp,
  .context-stage[data-phase="decision"] .decision-stamp__ring,
  .context-stage[data-phase="decision"] .decision-stamp__check,
  .context-stage[data-phase="decision"] .decision-stamp__cross,
  .context-stage[data-phase="decision"] .decision-stamp__glow,
  .context-stage[data-phase="decision"] .decision-stamp__ripple,
  .context-stage[data-phase="decision"] .context-island::after {
    animation: none !important;
  }
  .context-stage[data-phase="decision"] .decision-stamp { opacity: 1; transform: none; }
  .context-stage[data-phase="decision"] .decision-stamp__check,
  .context-stage[data-phase="decision"] .decision-stamp__cross { opacity: 1; }
  .context-stage[data-decision="allowed"] .decision-stamp__glow { opacity: 0.2; }
}

@media (min-width: 761px) {
  .hero { padding-top: 28px; }
  .hero h1 { margin-bottom: 24px; }
  .hero__lede { margin-bottom: 24px; }
  .hero__artifact { margin-top: 30px; }
}

@media (min-width: 761px) and (max-height: 950px) {
  .hero { padding-top: 16px; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(3.9rem, 6.7vw, 5.5rem); }
  .hero__lede { max-width: 760px; margin-bottom: 16px; font-size: 1.08rem; line-height: 1.44; }
  .hero__artifact { margin-top: 20px; }
}

/* PersonOS menu-bar console prototype. The consent island remains the native
   product truth; this window makes the three planned product tabs explorable. */
.personos-toolbar {
  grid-template-columns: 15.0132cqw minmax(0, 1fr) auto;
}

.personos-toolbar::after { left: 15.0132cqw; }

.personos-toolbar__identity {
  display: flex;
  min-width: 0;
  grid-column: 2;
  justify-self: center;
  align-items: center;
  gap: 0.5291cqw;
  color: #252629;
}

.personos-toolbar__identity > img { width: 1.455cqw; height: 1.455cqw; }
.personos-toolbar__identity > span { display: grid; line-height: 1.05; }
.personos-toolbar__identity strong { font-size: 0.8267cqw; font-weight: 650; }
.personos-toolbar__identity small { color: #8b8d91; font-size: 0.5291cqw; font-weight: 450; }

.personos-toolbar__actions {
  display: flex;
  padding-right: 0.8598cqw;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 0.6614cqw;
}

.prototype-connection {
  display: inline-flex;
  align-items: center;
  gap: 0.3307cqw;
  color: #777a7e;
  font-size: 0.5952cqw;
  white-space: nowrap;
}

.prototype-connection i { width: 0.3968cqw; height: 0.3968cqw; border-radius: 50%; background: #3cba82; box-shadow: 0 0 0 0.1984cqw rgba(60, 186, 130, 0.12); }

.personos-toolbar__actions button,
.prototype-secondary {
  display: inline-flex;
  min-height: 1.8519cqw;
  padding: 0 0.7275cqw;
  align-items: center;
  justify-content: center;
  gap: 0.3307cqw;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.5291cqw;
  background: rgba(255, 255, 255, 0.78);
  color: #35373a;
  box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.06), inset 0 0.5px rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: 550 0.6614cqw/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.personos-toolbar__actions button:hover,
.prototype-secondary:hover { background: #fff; }
.personos-toolbar__actions button:active,
.prototype-secondary:active { transform: scale(0.98); }
.personos-toolbar__actions button img { width: 0.7937cqw; height: 0.7937cqw; opacity: 0.75; }

.native-window__body.personos-app {
  grid-template-columns: 15.0132cqw minmax(0, 1fr);
  background: #fbfbfc;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.personos-sidebar {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 1.3228cqw 0.7275cqw 0.9259cqw;
  flex-direction: column;
  border-right: 0.5px solid rgba(0, 0, 0, 0.14);
  background: rgba(241, 241, 243, 0.96);
  color: #34363a;
}

.personos-sidebar__owner {
  display: flex;
  padding: 0 0.5952cqw 1.0582cqw;
  align-items: center;
  gap: 0.5952cqw;
}

.owner-avatar {
  display: grid;
  width: 2.0503cqw;
  height: 2.0503cqw;
  flex: 0 0 auto;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: #fff;
  color: #225cff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-size: 0.7937cqw;
  font-weight: 650;
  place-items: center;
}
.owner-avatar img { width: 1.1243cqw; height: 1.1243cqw; object-fit: contain; }

.personos-sidebar__owner > span:last-child { display: grid; min-width: 0; }
.personos-sidebar__owner strong { font-size: 0.7937cqw; font-weight: 630; }
.personos-sidebar__owner small { margin-top: 0.1323cqw; color: #8a8d92; font-size: 0.5622cqw; }

.personos-tabs { display: grid; gap: 0.1984cqw; }
.personos-tabs button {
  display: grid;
  width: 100%;
  min-height: 2.5132cqw;
  padding: 0 0.6614cqw;
  grid-template-columns: 1.1905cqw minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5952cqw;
  border: 0;
  border-radius: 0.5291cqw;
  background: transparent;
  color: #55585d;
  cursor: pointer;
  font: 520 0.7937cqw/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  text-align: left;
}

.personos-tabs button:hover { background: rgba(255, 255, 255, 0.55); }
.personos-tabs button[aria-selected="true"] { background: rgba(0, 0, 0, 0.075); color: #202226; font-weight: 610; }
.personos-tabs button:focus-visible { outline: 1.5px solid rgba(34, 92, 255, 0.78); outline-offset: -1px; }
.personos-tabs b { min-width: 1.1905cqw; padding: 0.1323cqw 0.2646cqw; border-radius: 999px; background: rgba(0, 0, 0, 0.08); color: #73767a; font-size: 0.5622cqw; font-weight: 580; text-align: center; }

.tab-symbol { position: relative; display: block; width: 1.1243cqw; height: 1.1243cqw; color: #6e7277; }
.tab-symbol::before,
.tab-symbol::after { position: absolute; box-sizing: border-box; content: ""; }
.tab-symbol--access::before { inset: 0.1323cqw; border: 0.0992cqw solid currentColor; border-radius: 50%; }
.tab-symbol--access::after { top: 0.463cqw; left: 0.463cqw; width: 0.1984cqw; height: 0.1984cqw; border-radius: 50%; background: currentColor; box-shadow: 0 0.3307cqw currentColor; }
.tab-symbol--ledger::before { inset: 0.0992cqw 0.1984cqw; border: 0.0992cqw solid currentColor; border-radius: 0.1984cqw; }
.tab-symbol--ledger::after { top: 0.3638cqw; left: 0.3638cqw; width: 0.3968cqw; height: 0.0992cqw; background: currentColor; box-shadow: 0 0.2646cqw currentColor, 0 0.5291cqw currentColor; }
.tab-symbol--context::before { inset: 0.1323cqw; border: 0.0992cqw solid currentColor; border-radius: 0.1984cqw; }
.tab-symbol--context::after { top: 0.3307cqw; left: 0.3307cqw; width: 0.463cqw; height: 0.463cqw; border: 0.0992cqw solid currentColor; border-radius: 50%; }

.personos-workspace { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #fbfbfc; }
.prototype-panel { height: 100%; box-sizing: border-box; padding: 1.6534cqw 1.7857cqw 1.3228cqw; overflow: auto; color: #24262a; }
.prototype-panel[hidden] { display: none; }
.prototype-page-header { display: flex; min-height: 3.5053cqw; align-items: flex-start; justify-content: space-between; gap: 1.3228cqw; }
.prototype-page-header > span { display: grid; }
.prototype-page-header h2 { margin: 0; font-size: 1.3228cqw; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.prototype-page-header p { margin: 0.3307cqw 0 0; color: #777b80; font-size: 0.6944cqw; line-height: 1.35; }
.access-overview {
  display: grid;
  min-height: 3.9683cqw;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.7937cqw;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.035);
}

.access-overview > span { display: grid; padding: 0.7275cqw 1.0582cqw; align-content: center; border-right: 0.5px solid rgba(0, 0, 0, 0.09); }
.access-overview > span:last-child { border-right: 0; }
.access-overview strong { font-size: 1.1243cqw; font-weight: 670; line-height: 1; }
.access-overview small { margin-top: 0.3307cqw; color: #7f8388; font-size: 0.5952cqw; }
.prototype-section-heading { display: flex; padding: 1.2566cqw 0 0.5291cqw; align-items: baseline; justify-content: space-between; }
.prototype-section-heading strong { font-size: 0.7275cqw; font-weight: 650; }
.prototype-section-heading span { color: #8a8e93; font-size: 0.5622cqw; }

.grant-list { display: grid; gap: 0.5291cqw; }
.grant-group { overflow: hidden; border: 0.5px solid rgba(0, 0, 0, 0.12); border-radius: 0.7275cqw; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.035); }
.grant-group.is-revoked { background: rgba(247, 247, 248, 0.78); opacity: 0.72; }
.grant-row { display: grid; width: 100%; min-height: 4.1667cqw; padding: 0.6614cqw 0.7937cqw; grid-template-columns: 2.1164cqw minmax(8.2672cqw, 1fr) minmax(12.5661cqw, 1.5fr) 7.6058cqw 0.6614cqw; align-items: center; gap: 0.6614cqw; border: 0; background: transparent; color: #2d2f33; cursor: pointer; font-family: inherit; text-align: left; }
.grant-row:hover { background: rgba(0, 0, 0, 0.025); }
.caller-icon { display: grid; width: 1.8519cqw; height: 1.8519cqw; flex: 0 0 auto; border-radius: 0.463cqw; color: #fff; font-size: 0.7275cqw; font-weight: 700; place-items: center; }
.caller-icon--codex { background: #22282b; }
.caller-icon--claude { background: #d9784b; }
.caller-icon--planner { background: #5b67cb; }
.grant-row__caller,
.grant-row__scope,
.grant-row__use { display: grid; min-width: 0; gap: 0.1984cqw; }
.grant-row strong { overflow: hidden; font-size: 0.6944cqw; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.grant-row small { overflow: hidden; color: #85898f; font-size: 0.5622cqw; text-overflow: ellipsis; white-space: nowrap; }
.grant-row__use { text-align: right; }
.grant-row__use--unused small { color: #b06f18; }
.disclosure { width: 0.3968cqw; height: 0.3968cqw; border-right: 0.0992cqw solid #8c9095; border-bottom: 0.0992cqw solid #8c9095; transform: rotate(45deg) translateY(-0.1323cqw); transition: transform 180ms ease-out; }
.grant-row[aria-expanded="true"] .disclosure { transform: rotate(225deg) translate(-0.0661cqw, -0.0661cqw); }
.grant-details { padding: 0.7937cqw 0.9259cqw 0.9259cqw 3.5714cqw; border-top: 0.5px solid rgba(0, 0, 0, 0.08); background: #fbfbfc; }
.grant-details[hidden] { display: none; }
.grant-scope { display: flex; flex-wrap: wrap; gap: 0.3307cqw; }
.grant-scope span { padding: 0.3307cqw 0.5291cqw; border: 0.5px solid rgba(0, 0, 0, 0.1); border-radius: 999px; background: #fff; color: #55595e; font-size: 0.5622cqw; }
.grant-details > p { margin: 0.6614cqw 0; color: #7b7f84; font-size: 0.5291cqw; line-height: 1.35; }
.grant-controls { display: flex; align-items: center; gap: 0.463cqw; }
.grant-controls > span { margin-right: 0.1323cqw; color: #777b80; font-size: 0.5622cqw; }
.grant-controls > div { display: flex; overflow: hidden; border: 0.5px solid rgba(0, 0, 0, 0.12); border-radius: 0.3968cqw; }
.grant-controls button { min-height: 1.5212cqw; padding: 0 0.5291cqw; border: 0; border-right: 0.5px solid rgba(0, 0, 0, 0.1); background: #fff; color: #5f6368; cursor: pointer; font: 540 0.5291cqw/1 -apple-system, BlinkMacSystemFont, sans-serif; }
.grant-controls button:last-child { border-right: 0; }
.grant-controls button.is-selected { background: #e9eaec; color: #202226; font-weight: 620; }
.grant-controls > button:nth-last-child(2) { margin-left: auto; border: 0.5px solid rgba(0, 0, 0, 0.12); border-radius: 0.3968cqw; }
.grant-controls .prototype-danger { border: 0.5px solid rgba(184, 45, 48, 0.22); border-radius: 0.3968cqw; color: #b83235; }

.ledger-filters,
.context-domain-filters { display: flex; margin-bottom: 0.7937cqw; gap: 0.3307cqw; }
.ledger-filters button,
.context-domain-filters button { min-height: 1.7196cqw; padding: 0 0.6614cqw; border: 0.5px solid rgba(0, 0, 0, 0.1); border-radius: 999px; background: #fff; color: #74787d; cursor: pointer; font: 540 0.6614cqw/1 -apple-system, BlinkMacSystemFont, sans-serif; }
.ledger-filters button.is-selected,
.context-domain-filters button.is-selected { border-color: #292c2f; background: #292c2f; color: #fff; }
.ledger-layout { display: grid; height: calc(100% - 5.6217cqw); min-height: 0; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr); overflow: hidden; border: 0.5px solid rgba(0, 0, 0, 0.12); border-radius: 0.7937cqw; background: #fff; }
.ledger-list { min-width: 0; overflow: auto; border-right: 0.5px solid rgba(0, 0, 0, 0.11); background: #fafafb; }
.ledger-item { display: grid; width: 100%; min-height: 4.2328cqw; padding: 0.6614cqw 0.7275cqw; grid-template-columns: 3.0423cqw 1.8519cqw minmax(0, 1fr) auto; align-items: center; gap: 0.5952cqw; border: 0; border-bottom: 0.5px solid rgba(0, 0, 0, 0.08); background: transparent; color: #33363a; cursor: pointer; font-family: inherit; text-align: left; }
.ledger-item:hover { background: rgba(0, 0, 0, 0.025); }
.ledger-item.is-selected { background: #e8e8ea; }
.ledger-item time { color: #60676c; font-size: 0.5952cqw; font-variant-numeric: tabular-nums; }
.ledger-item > span:nth-child(3) { display: grid; min-width: 0; gap: 0.1984cqw; }
.ledger-item strong { overflow: hidden; font-size: 0.7937cqw; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.ledger-item small { overflow: hidden; color: #60676c; font-size: 0.6283cqw; text-overflow: ellipsis; white-space: nowrap; }
.ledger-item b { color: #60676c; font-size: 0.5952cqw; font-weight: 560; white-space: nowrap; }
.ledger-item b.is-denied { color: #b5474b; }
.ledger-empty,
.claim-empty { margin: 1.3228cqw; color: #8a8e93; font-size: 0.6614cqw; text-align: center; }
.ledger-detail { min-width: 0; overflow: auto; padding: 1.1905cqw; }
.ledger-receipt[hidden] { display: none; }
.ledger-receipt > header { display: flex; align-items: center; justify-content: space-between; gap: 0.6614cqw; }
.ledger-receipt > header > span { display: grid; }
.ledger-receipt > header strong { font-size: 0.8598cqw; font-weight: 650; }
.ledger-receipt > header small { margin-top: 0.1984cqw; color: #60676c; font-size: 0.6283cqw; }
.ledger-receipt > header button,
.evidence-chain > header button,
.claim-row > button { min-height: 1.5212cqw; padding: 0 0.5291cqw; border: 0.5px solid rgba(0, 0, 0, 0.12); border-radius: 0.3968cqw; background: #fff; color: #55595e; cursor: pointer; font: 540 0.5952cqw/1 -apple-system, BlinkMacSystemFont, sans-serif; }
.ledger-receipt pre { margin: 1.0582cqw 0; padding: 0.9259cqw; overflow: auto; border-radius: 0.5952cqw; background: #171c1e; color: #dfe6e4; font: 0.6614cqw/1.5 "SFMono-Regular", ui-monospace, monospace; white-space: pre-wrap; }
.ledger-receipt dl { margin: 0; border-top: 0.5px solid rgba(0, 0, 0, 0.1); }
.ledger-receipt dl div { display: flex; min-height: 2.2487cqw; align-items: center; justify-content: space-between; border-bottom: 0.5px solid rgba(0, 0, 0, 0.08); }
.ledger-receipt dt { color: #60676c; font-size: 0.6283cqw; }
.ledger-receipt dd { margin: 0; color: #474b50; font-size: 0.6283cqw; font-weight: 540; }

.context-browser { display: grid; height: calc(100% - 5.6217cqw); min-height: 0; grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr); overflow: hidden; border: 0.5px solid rgba(0, 0, 0, 0.12); border-radius: 0.7937cqw; background: #fff; }
.claim-list { min-width: 0; overflow: auto; border-right: 0.5px solid rgba(0, 0, 0, 0.11); background: #fafafb; }
.claim-row { display: grid; min-height: 4.6296cqw; padding: 0.7275cqw; grid-template-columns: 4.2328cqw minmax(0, 1fr) auto; align-items: center; gap: 0.6614cqw; border-bottom: 0.5px solid rgba(0, 0, 0, 0.08); color: #33363a; cursor: pointer; outline: none; }
.claim-row:hover { background: rgba(0, 0, 0, 0.025); }
.claim-row.is-selected { background: #e8e8ea; }
.claim-row:focus-visible { box-shadow: inset 0 0 0 1.5px rgba(34, 92, 255, 0.72); }
.claim-row > span:nth-child(2) { display: grid; min-width: 0; gap: 0.2646cqw; }
.claim-row strong { font-size: 0.6283cqw; font-weight: 610; line-height: 1.28; }
.claim-row small { color: #85898e; font-size: 0.496cqw; }
.claim-state { justify-self: start; padding: 0.1984cqw 0.3968cqw; border-radius: 999px; background: #eceeef; color: #666a70; font-size: 0.463cqw; font-weight: 620; }
.claim-state--active { background: #dff3e9; color: #277a58; }
.claim-state--proposed { background: #fff0d8; color: #9a641c; }
.claim-state--verified { background: #e1ebff; color: #2d5aa9; }
.claim-state--superseded { background: #ececef; color: #777a80; }
.evidence-inspector { min-width: 0; overflow: auto; padding: 1.1905cqw; }
.evidence-chain[hidden] { display: none; }
.evidence-chain > header { display: flex; padding-bottom: 0.7937cqw; align-items: center; justify-content: space-between; gap: 0.6614cqw; border-bottom: 0.5px solid rgba(0, 0, 0, 0.1); }
.evidence-chain > header > span { display: grid; }
.evidence-chain > header strong { font-size: 0.7937cqw; font-weight: 650; }
.evidence-chain > header small { margin-top: 0.1984cqw; color: #888c91; font-size: 0.5291cqw; }
.timeline-entry { position: relative; display: grid; min-height: 4.2328cqw; padding: 0.9259cqw 0 0.5291cqw; grid-template-columns: 0.9259cqw minmax(0, 1fr); gap: 0.6614cqw; }
.timeline-entry::before { position: absolute; top: 0; bottom: 0; left: 0.4299cqw; width: 0.5px; background: rgba(0, 0, 0, 0.13); content: ""; }
.timeline-entry:first-of-type::before { top: 1.1243cqw; }
.timeline-entry:last-child::before { bottom: calc(100% - 1.1243cqw); }
.timeline-entry > i { z-index: 1; width: 0.5952cqw; height: 0.5952cqw; margin: 0.1984cqw auto 0; border: 0.1323cqw solid #fff; border-radius: 50%; background: #9aa0a5; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18); }
.timeline-entry--claim > i { background: #225cff; }
.timeline-entry > span { display: grid; align-content: start; }
.timeline-entry strong,
.timeline-entry time { color: #55595e; font-size: 0.5291cqw; font-weight: 610; }
.timeline-entry p { margin: 0.2646cqw 0; color: #303338; font-size: 0.6283cqw; line-height: 1.35; }
.timeline-entry small { color: #898d92; font-size: 0.496cqw; }

.prototype-toast { position: absolute; z-index: 10; right: 1.0582cqw; bottom: 1.0582cqw; display: flex; min-height: 2.2487cqw; padding: 0 0.7937cqw; align-items: center; gap: 0.7937cqw; border-radius: 0.5952cqw; background: rgba(31, 35, 38, 0.94); color: #fff; box-shadow: 0 0.6614cqw 1.5873cqw rgba(0, 0, 0, 0.18); font-size: 0.5952cqw; }
.prototype-toast[hidden] { display: none; }
.prototype-toast button { padding: 0; border: 0; background: transparent; color: #9fc2ff; cursor: pointer; font: 650 0.5952cqw/1 -apple-system, BlinkMacSystemFont, sans-serif; }

.touch-id-overlay {
  position: absolute;
  z-index: 140;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 7, 9, 0.18);
  backdrop-filter: blur(0.1323cqw);
  -webkit-backdrop-filter: blur(0.1323cqw);
}
.touch-id-overlay[hidden] { display: none !important; }
.touch-id-dialog {
  display: grid;
  width: 23.8095cqw;
  padding: 1.455cqw 1.3228cqw 1.1905cqw;
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 1.3228cqw;
  background: rgba(203, 202, 198, 0.98);
  color: #202124;
  box-shadow: 0 1.8519cqw 4.2328cqw rgba(0, 0, 0, 0.30), inset 0 0.5px rgba(255, 255, 255, 0.58);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  transform-origin: 50% 54%;
  animation: touch-id-dialog-in 260ms cubic-bezier(.16, 1, .3, 1) both;
}
.touch-id-dialog__icon {
  position: relative;
  width: 3.5053cqw;
  height: 3.5053cqw;
  margin-bottom: 0.7937cqw;
  border-radius: 0.8598cqw;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 235, 232, 0.96));
  box-shadow: 0 0.2646cqw 0.6614cqw rgba(0, 0, 0, 0.16), inset 0 0.5px rgba(255, 255, 255, 0.92);
}
.touch-id-dialog__icon > i {
  position: absolute;
  inset: 0.5952cqw;
  background: #ee2b82;
  content: "";
  -webkit-mask: url("../img/macos-native/menu/touch-id.png") center / contain no-repeat;
  mask: url("../img/macos-native/menu/touch-id.png") center / contain no-repeat;
}
.touch-id-dialog__icon > img {
  position: absolute;
  right: -0.1984cqw;
  bottom: -0.1984cqw;
  width: 1.455cqw;
  height: 1.455cqw;
  padding: 0.1984cqw;
  border: 0.1323cqw solid rgba(203, 202, 198, 0.98);
  border-radius: 0.3968cqw;
  background: #252729;
  object-fit: contain;
}
.touch-id-dialog > strong { margin-bottom: 0.7275cqw; font-size: 1.1905cqw; font-weight: 650; letter-spacing: -0.015em; }
.touch-id-dialog > p { margin: 0 0 0.6614cqw; color: #353638; font-size: 0.9259cqw; line-height: 1.38; }
.touch-id-dialog > p b { font-weight: 650; }
.touch-id-dialog > small { min-height: 1.3228cqw; margin-top: 0.1323cqw; color: #646568; font-size: 0.7606cqw; line-height: 1.35; }
.touch-id-dialog__actions { display: grid; margin-top: 0.7937cqw; grid-template-columns: 1fr 1.14fr; gap: 0.5291cqw; }
.touch-id-dialog__actions button {
  min-height: 2.2487cqw;
  padding: 0 0.7275cqw;
  border: 0;
  border-radius: 999px;
  background: rgba(181, 180, 177, 0.92);
  color: #252628;
  cursor: pointer;
  font: 600 0.8598cqw/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  box-shadow: inset 0 0.5px rgba(255, 255, 255, 0.35);
}
.touch-id-dialog__actions button:last-child { background: #087cff; color: #fff; }
.touch-id-dialog__actions button:focus-visible { outline: 0.1323cqw solid rgba(255, 255, 255, 0.95); outline-offset: 0.1323cqw; box-shadow: 0 0 0 0.2646cqw rgba(0, 122, 255, 0.55); }
.touch-id-dialog__actions button:disabled { cursor: default; opacity: 0.58; }
.touch-id-dialog.is-authenticating .touch-id-dialog__icon > i { animation: touch-id-reading 760ms ease-in-out infinite alternate; }
.touch-id-dialog.is-authenticated .touch-id-dialog__icon > i { background: #2aa65a; }

@keyframes touch-id-dialog-in { from { opacity: 0; transform: scale(0.94) translateY(0.3968cqw); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes touch-id-reading { from { opacity: 0.42; transform: scale(0.94); } to { opacity: 1; transform: scale(1.03); } }

/* A — muted ceramic tiles built from a shared rectilinear module grammar. */
.mac-dock.mac-dock--modules {
  bottom: 0.3968cqw;
  height: 3.1746cqw;
  padding: 0.3968cqw;
  gap: 0.3307cqw;
  border: 0.5px solid rgba(255, 255, 255, 0.76);
  border-radius: 0.9259cqw;
  background: rgba(237, 240, 239, 0.61);
  box-shadow: 0 0.6614cqw 1.8519cqw rgba(17, 24, 26, 0.17), inset 0 0.5px rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(1.1905cqw) saturate(112%);
  -webkit-backdrop-filter: blur(1.1905cqw) saturate(112%);
}
.mac-dock--modules .dock-icon {
  width: 2.381cqw;
  height: 2.381cqw;
  border: 0;
  border-radius: 0.6448cqw;
  background: var(--tile);
  box-shadow: inset 0 0.5px rgba(255, 255, 255, 0.52), 0 0.0661cqw 0.1984cqw rgba(15, 20, 22, 0.08);
  color: var(--ink);
}
.mac-dock--modules .dock-divider { width: 0.5px; height: 1.5873cqw; margin: 0 0.0661cqw; background: rgba(35, 40, 45, 0.10); }
.dock-module i { position: absolute; display: block; box-sizing: border-box; border-radius: 0.124cqw; background: currentColor; content: ""; }
.dock-module--1 { --tile: #d9e4e2; --ink: #667b78; }
.dock-module--2 { --tile: #dee5d8; --ink: #708069; }
.dock-module--3 { --tile: #e9e1d4; --ink: #887b67; }
.dock-module--4 { --tile: #e4dde8; --ink: #817586; }
.dock-module--5 { --tile: #6e8582; --ink: #f5f2e9; }
.dock-module--6 { --tile: #d9e3ea; --ink: #6b7d89; }
.dock-module--7 { --tile: #e7dcd8; --ink: #8e746c; }
.mac-dock--modules .dock-module--5.is-active { transform: translateY(-0.0661cqw); box-shadow: inset 0 0.5px rgba(255, 255, 255, 0.17), 0 0.2646cqw 0.5952cqw rgba(21, 32, 34, 0.18); }
.dock-module--1 i:nth-child(1) { top: 27.083%; left: 25%; width: 50%; height: 10.417%; }
.dock-module--1 i:nth-child(2) { top: 45.833%; left: 25%; width: 14.583%; height: 27.083%; }
.dock-module--1 i:nth-child(3) { top: 45.833%; right: 25%; width: 27.083%; height: 10.417%; }
.dock-module--2 i:nth-child(1) { top: 25%; left: 25%; width: 12.5%; height: 50%; }
.dock-module--2 i:nth-child(2) { top: 25%; left: 45.833%; width: 29.167%; height: 12.5%; }
.dock-module--2 i:nth-child(3) { bottom: 25%; left: 45.833%; width: 20.833%; height: 12.5%; }
.dock-module--3 i:nth-child(1) { top: 25%; left: 25%; width: 14.583%; height: 50%; }
.dock-module--3 i:nth-child(2) { top: 25%; right: 25%; width: 14.583%; height: 31.25%; }
.dock-module--3 i:nth-child(3) { bottom: 25%; left: 47.917%; width: 27.083%; height: 12.5%; }
.dock-module--4 i:nth-child(1) { top: 25%; left: 25%; width: 50%; height: 10.417%; }
.dock-module--4 i:nth-child(2) { top: 43.75%; left: 35.417%; width: 39.583%; height: 10.417%; }
.dock-module--4 i:nth-child(3) { top: 62.5%; left: 25%; width: 31.25%; height: 10.417%; }
.dock-module--5 i:nth-child(1) { top: 22.917%; left: 22.917%; width: 18.75%; height: 54.167%; }
.dock-module--5 i:nth-child(2) { top: 22.917%; left: 50%; width: 27.083%; height: 14.583%; }
.dock-module--5 i:nth-child(3) { bottom: 22.917%; left: 50%; width: 27.083%; height: 27.083%; }
.dock-module--6 i:nth-child(1) { top: 25%; left: 25%; width: 12.5%; height: 50%; }
.dock-module--6 i:nth-child(2) { bottom: 25%; left: 25%; width: 50%; height: 12.5%; }
.dock-module--6 i:nth-child(3) { top: 25%; right: 25%; width: 20.833%; height: 20.833%; }
.dock-module--7 i:nth-child(1) { top: 25%; left: 25%; width: 20.833%; height: 20.833%; }
.dock-module--7 i:nth-child(2) { top: 25%; right: 25%; width: 20.833%; height: 50%; }
.dock-module--7 i:nth-child(3) { bottom: 25%; left: 25%; width: 20.833%; height: 20.833%; }

/* Interactive prototype elements set their own layout display; keep native hidden semantics authoritative. */
.personos-app [hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .disclosure,
  .prototype-secondary,
  .personos-toolbar__actions button { transition: none !important; }
  .touch-id-dialog,
  .touch-id-dialog.is-authenticating .touch-id-dialog__icon > i { animation: none !important; }
}

/* — Claude Code → owner grant → ContextPack → signed receipt demo — */
.claude-terminal-window {
  --terminal-title-size: 1.0582cqw;
  --terminal-body-size: 0.9921cqw;
  --terminal-meta-size: 0.7937cqw;
  --terminal-startup-meta-size: 0.9921cqw;
  --terminal-line-tight: 1.3;
  --terminal-line-body: 1.5;
  position: absolute;
  z-index: 30;
  top: 5.1587cqw;
  right: 5.291cqw;
  bottom: 5.8201cqw;
  left: 5.291cqw;
  display: grid;
  overflow: hidden;
  border: 0.0661cqw solid rgba(0, 0, 0, 0.68);
  border-radius: 0.9259cqw;
  grid-template-rows: 3.0423cqw minmax(0, 1fr) 4.2989cqw;
  background: #181817;
  color: #eceae4;
  box-shadow: 0 2.5132cqw 5.9524cqw rgba(8, 12, 13, 0.38), 0 0.5291cqw 1.7196cqw rgba(8, 12, 13, 0.24), inset 0 1px rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  transform-origin: 50% 50%;
  transition: transform 480ms cubic-bezier(.16, 1, .3, 1), opacity 300ms ease-out, box-shadow 480ms ease-out;
  isolation: isolate;
}

.claude-terminal-window::after {
  position: absolute;
  z-index: 20;
  inset: 0;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.claude-terminal-toolbar {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  padding: 0 0.8598cqw;
  grid-template-columns: 10.582cqw minmax(0, 1fr) 10.582cqw;
  align-items: center;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.5);
  background: #3b3b38;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: var(--terminal-meta-size);
  line-height: var(--terminal-line-tight);
}

.claude-terminal-toolbar .window-controls { padding: 0; gap: 0.5952cqw; }
.claude-terminal-toolbar .window-controls i { width: 0.7937cqw; height: 0.7937cqw; }

.claude-terminal-title {
  display: flex;
  min-width: 0;
  grid-column: 2;
  justify-self: center;
  align-items: center;
  line-height: var(--terminal-line-tight);
}

.claude-terminal-title img { width: 1.1905cqw; height: 1.1905cqw; }
.claude-terminal-title strong { color: #e7e6e1; font-size: inherit; font-weight: 600; }
.claude-terminal-title small { color: #818987; font-size: inherit; white-space: nowrap; }

.claude-terminal-state {
  justify-self: end;
  color: #a6a6a1;
  font-size: inherit;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.claude-terminal-state::before {
  display: inline-block;
  width: 0.3307cqw;
  height: 0.3307cqw;
  margin-right: 0.3968cqw;
  border-radius: 50%;
  background: #79ddbd;
  box-shadow: 0 0 0 0.1984cqw rgba(121, 221, 189, 0.10);
  content: "";
  vertical-align: 0.0331cqw;
}

.claude-terminal-body {
  min-height: 0;
  padding: 1.5212cqw 2.1164cqw 1.3228cqw;
  overflow: auto;
  background: #181817;
  color: #d8d6d0;
  font-size: var(--terminal-body-size);
  line-height: var(--terminal-line-body);
  scrollbar-color: #444440 #181817;
  scrollbar-width: thin;
  transition: opacity 110ms linear;
}

.claude-terminal-body.is-clearing { opacity: 0; }

.claude-terminal-body::-webkit-scrollbar { width: 0.5291cqw; }
.claude-terminal-body::-webkit-scrollbar-track { background: #181817; }
.claude-terminal-body::-webkit-scrollbar-thumb { border: 0.1323cqw solid #181817; border-radius: 999px; background: #444440; }
.claude-terminal-body ::selection { background: #575752; color: #fff; }

.terminal-startup {
  display: flex;
  min-height: 4.7619cqw;
  margin-bottom: 1.5212cqw;
  padding-bottom: 1.2566cqw;
  align-items: center;
  gap: 1.3228cqw;
  border-bottom: 0.0661cqw solid #454541;
}

.terminal-pixel-mark {
  display: block;
  width: 3.7037cqw;
  height: 2.0503cqw;
  flex: 0 0 auto;
  overflow: visible;
  color: #d77757;
}

.terminal-pixel-mark__body { fill: currentColor; }
.terminal-pixel-mark__eyes { fill: #181817; }

.terminal-startup__copy { display: grid; min-width: 0; line-height: var(--terminal-line-tight); }
.terminal-startup__copy strong { color: #d77757; font-size: var(--terminal-title-size); font-weight: 600; }
.terminal-startup__copy strong b { margin-left: 0.3307cqw; color: #8f8f89; font-weight: 400; }
.terminal-startup__copy small { color: #898983; font-size: var(--terminal-startup-meta-size); line-height: 1.25; }

.terminal-session-line {
  display: flex;
  margin-bottom: 1.2566cqw;
  align-items: center;
  gap: 0.5952cqw;
  color: #7f8986;
  font-size: 0.6614cqw;
}

.terminal-session-line span { color: #79c8ff; }
.terminal-session-line b { color: #dce3e1; font-weight: 540; }
.terminal-session-line i { color: #79ddbd; font-style: normal; }

.terminal-welcome {
  display: flex;
  margin-bottom: 1.3228cqw;
  align-items: center;
  gap: 0.6614cqw;
}

.terminal-welcome img { width: 1.5873cqw; height: 1.5873cqw; }
.terminal-welcome > span { display: grid; }
.terminal-welcome strong { color: #ef8666; font-size: 0.8598cqw; font-weight: 650; }
.terminal-welcome small { color: #7f8986; font-size: 0.5622cqw; }

.terminal-block {
  display: none;
  margin: 1.0582cqw 0 0;
  grid-template-columns: 1.1243cqw minmax(0, 1fr);
  gap: 0.5952cqw;
}

.terminal-block--prompt {
  display: grid;
  margin-top: 0;
}

.terminal-block--prompt p,
.terminal-block--request p,
.terminal-block--result p,
.terminal-block--answer p { max-width: none; margin: 0; }

.terminal-glyph { color: #9b9b95; font-weight: 600; }
.terminal-block--prompt p { width: 100%; min-height: 1.8519cqw; box-sizing: border-box; padding: 0.1984cqw 0.3968cqw; background: #393937; color: #efede7; font-weight: 500; line-height: 1.5; }
.terminal-input-caret { display: none; width: 0.0992cqw; height: 1.05em; margin-left: 0.1323cqw; background: #f5f3ed; box-shadow: 0 0 0.2646cqw rgba(245, 243, 237, 0.2); opacity: 0.96; vertical-align: -0.1653cqw; will-change: opacity; }
.context-stage[data-demo-step="prompt"] .terminal-input-caret { display: inline-block; animation: terminal-caret-idle 1.08s steps(1, end) infinite; }
.terminal-prompt-line.is-typing .terminal-input-caret { display: inline-block; animation: terminal-caret-typing 620ms steps(1, end) infinite; box-shadow: 0 0 0.3307cqw rgba(245, 243, 237, 0.28); }

.terminal-tool-dot,
.terminal-answer-mark {
  width: auto;
  height: auto;
  margin: 0;
  color: #f0eee8;
  background: none;
  font-size: var(--terminal-body-size);
  line-height: var(--terminal-line-body);
}

.terminal-block--request > div,
.terminal-block--result > div,
.terminal-block--answer > div { min-width: 0; }
.terminal-block--request strong { color: #efede7; font-weight: 600; }
.terminal-block--request strong em { margin-left: 0.3968cqw; color: #7f8986; font-size: var(--terminal-meta-size); font-style: normal; font-weight: 400; }

.terminal-thought { margin-bottom: 0.5952cqw !important; color: #999992; }
.terminal-thought span { color: #989892; }
.terminal-reasoning { color: #aaa9a3; }
.terminal-reasoning strong { display: block; color: #e9e7e1; }
.terminal-reasoning p { padding-left: 1.0582cqw; color: #92928c; }

.terminal-tool-call {
  position: relative;
  display: flex;
  margin-top: 0.8598cqw;
  padding-left: 1.3228cqw;
  align-items: baseline;
  gap: 0.5291cqw;
}
.terminal-tool-call::before { position: absolute; top: 0.2976cqw; left: 0; color: #27cc78; content: "●"; font-size: var(--terminal-body-size); }
.terminal-tool-call strong { color: #dcdad4; }
.terminal-tool-call small { color: #989892; font-size: var(--terminal-meta-size); }
.terminal-tool-output { padding-left: 1.3228cqw; color: #8d8d87; }
.terminal-tool-output small { color: #989892; }

.terminal-wait {
  display: flex;
  margin-top: 0.7275cqw !important;
  align-items: center;
  gap: 0.5291cqw;
  color: #e87956;
}

.terminal-wait i {
  display: inline-block;
  width: 0.7275cqw;
  height: auto;
  color: #e87956;
  font-style: normal;
  line-height: 1;
  transform-origin: center;
  animation: terminal-wait-spin 900ms steps(8) infinite;
}
.terminal-wait small { color: #989892; font-size: var(--terminal-meta-size); }
.terminal-wait span,
.terminal-wait small { white-space: nowrap; }

.terminal-result-mark {
  width: auto;
  height: auto;
  margin: 0;
  color: #27cc78;
  font-size: var(--terminal-body-size);
  line-height: var(--terminal-line-body);
}

.terminal-block--result strong { color: #dcdad4; font-weight: 600; }
.terminal-block--result strong span { color: #989892; font-weight: 400; }
.terminal-block--result p { display: grid; grid-template-columns: 6.2831cqw minmax(0, 1fr); }
.terminal-block--result p b { color: #989892; font-weight: 400; }
.terminal-block--result p span { overflow-wrap: anywhere; color: #a8a7a1; }
.terminal-block--result .terminal-result-summary { display: block; padding-left: 1.0582cqw; color: #92928c; }

.terminal-answer-mark { color: #f0eee8; }
.terminal-block--answer strong { color: #efede7; font-weight: 600; }
.terminal-block--answer p { width: 100%; margin-top: 0.463cqw; color: #eef1ef; line-height: var(--terminal-line-body); }
.terminal-answer-chunk { display: block; }
.terminal-answer-chunk + .terminal-answer-chunk { margin-top: 0.5952cqw; }
.terminal-block--answer small { display: block; width: 100%; margin-top: 0.6614cqw; color: #8f9a97; font-size: var(--terminal-meta-size); line-height: var(--terminal-line-body); }

.js [data-terminal-beat][hidden] { display: none !important; }
[data-terminal-beat].is-streamed { animation: terminal-beat-in 150ms cubic-bezier(.16, 1, .3, 1) both; }

.context-stage:is([data-demo-step="request"], [data-demo-step="consent"], [data-demo-step="result"], [data-demo-step="answer"], [data-demo-step="clear-command"], [data-demo-step="audit"], [data-demo-step="denied"]) .terminal-block--request,
.context-stage:is([data-demo-step="result"], [data-demo-step="answer"], [data-demo-step="clear-command"], [data-demo-step="audit"]) .terminal-block--result,
.context-stage:is([data-demo-step="answer"], [data-demo-step="clear-command"], [data-demo-step="audit"]) .terminal-block--answer {
  display: grid;
}

.context-stage[data-demo-step="result"] .terminal-wait,
.context-stage[data-demo-step="answer"] .terminal-wait,
.context-stage[data-demo-step="clear-command"] .terminal-wait,
.context-stage[data-demo-step="audit"] .terminal-wait { display: none; }
.context-stage[data-demo-step="result"] .terminal-wait i,
.context-stage[data-demo-step="answer"] .terminal-wait i,
.context-stage[data-demo-step="clear-command"] .terminal-wait i,
.context-stage[data-demo-step="audit"] .terminal-wait i { color: #6b6b66; animation: none; }
.context-stage[data-demo-step="denied"] .terminal-wait { color: #ff6b7b; }
.context-stage[data-demo-step="denied"] .terminal-wait i { animation: none; }

.claude-terminal-footer {
  display: grid;
  padding: 0 0.9921cqw;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  background: #181d1c;
  color: #6f7976;
  font-size: 0.496cqw;
}

.claude-terminal-footer strong { display: inline-flex; align-items: center; gap: 0.3307cqw; color: #9aa5a1; font-weight: 520; }
.claude-terminal-footer strong i { width: 0.3307cqw; height: 0.3307cqw; border-radius: 50%; background: #79ddbd; }
.claude-terminal-footer > span:last-child { justify-self: end; }

.claude-terminal-composer {
  display: grid;
  min-height: 0;
  padding: 0 0.9921cqw;
  grid-template-rows: 2.4471cqw 1.8519cqw;
  background: #181817;
  color: #777772;
  font-size: var(--terminal-meta-size);
  line-height: var(--terminal-line-tight);
}
.claude-terminal-composer > div { display: flex; align-items: center; gap: 0.6614cqw; border-top: 0.0661cqw solid #64645f; border-bottom: 0.0661cqw solid #4b4b47; color: #969690; font-size: var(--terminal-body-size); }
.terminal-composer-entry { display: inline-flex; min-width: 0; align-items: center; gap: 0.1323cqw; color: #eceae4; }
.terminal-composer-entry > span { white-space: pre; }
[data-terminal-clear-caret] { width: 0.6614cqw; height: 1.1905cqw; flex: 0 0 auto; background: #b9bbb6; box-shadow: 0 0 0.2646cqw rgba(185, 187, 182, 0.16); animation: terminal-caret-idle 1.08s steps(1, end) infinite; will-change: opacity; }
[data-terminal-clear-line].is-typing [data-terminal-clear-caret] { animation: terminal-caret-typing 620ms steps(1, end) infinite; }
[data-terminal-clear-line].is-submitting [data-terminal-clear-caret] { opacity: 0; animation: none; }
.claude-terminal-composer p { display: flex; margin: 0; align-items: center; gap: 0.5291cqw; }
.claude-terminal-composer p span { color: #8b8b85; }
.claude-terminal-composer p b { color: #d15c66; font-weight: 500; }
.claude-terminal-composer p small { margin-left: auto; color: #6f6f6a; font-size: inherit; }

@keyframes terminal-wait-spin { to { transform: rotate(360deg); } }
@keyframes terminal-block-in { from { opacity: 0; transform: translateY(0.5291cqw); } to { opacity: 1; transform: translateY(0); } }
@keyframes terminal-beat-in { from { opacity: 0; transform: translateY(0.1323cqw); } to { opacity: 1; transform: translateY(0); } }
@keyframes terminal-caret-idle { 0%, 44% { opacity: 0.96; } 45%, 91% { opacity: 0; } 92%, 100% { opacity: 0.96; } }
@keyframes terminal-caret-typing { 0%, 68% { opacity: 1; } 69%, 86% { opacity: 0; } 87%, 100% { opacity: 1; } }

.context-stage[data-last-decision="denied"] .terminal-result-mark { color: #e56b73; }

.context-stage[data-phase="expanded"] .context-island { height: 31.6138cqw; }
.context-stage[data-phase="expanded"] .terminal-tool-output { overflow-wrap: anywhere; }
.demo-flow {
  display: grid;
  margin-top: 20px;
  padding: 18px 0 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.demo-flow ol {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.demo-flow li {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 0 22px 0 18px;
  align-content: start;
  gap: 2px;
  color: var(--muted);
  transition: color 180ms ease-out;
}

.demo-flow li::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transition: border-color 180ms ease-out, background-color 180ms ease-out, transform 180ms ease-out;
}
.demo-flow li::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 1px;
  background: var(--line);
  content: "";
}
.demo-flow li:last-child::after { display: none; }
.demo-flow li strong { color: inherit; font-size: 0.78rem; font-weight: 700; }
.demo-flow li span { overflow: hidden; font-size: 0.72rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.demo-flow li.is-current { color: var(--ink); }
.demo-flow li.is-current::before { border-color: var(--cobalt); background: var(--cobalt); transform: scale(1.18); }
.demo-flow li.is-complete::before { border-color: #48a985; background: var(--mint); }

.demo-flow__actions { display: flex; align-items: center; gap: 8px; }
.demo-flow__actions button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition: border-color 160ms ease-out, background-color 160ms ease-out, color 160ms ease-out, transform 120ms ease-out;
}
.demo-flow__actions button:hover { border-color: var(--line-strong); background: var(--paper-raised); color: var(--ink); }
.demo-flow__actions button:active { transform: scale(0.98); }
.demo-flow__actions button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.js .hero__artifact .native-window { visibility: hidden; }

.audit-showcase {
  width: min(1240px, calc(100% - 48px));
  margin: clamp(110px, 13vw, 190px) auto 0;
  scroll-margin-top: 96px;
}

.audit-showcase .section-heading { margin-bottom: 40px; }
.audit-heading-copy { display: grid; gap: 14px; }
.audit-heading-copy h2 { max-width: 16ch; }
.section-kicker { margin: 0 0 14px !important; color: var(--cobalt) !important; font-size: 0.72rem !important; font-weight: 700; letter-spacing: 0.14em; }

.audit-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1512 / 982;
  border: 1px solid rgba(17, 23, 25, 0.22);
  border-radius: 24px;
  container-type: inline-size;
  background-color: #cbd8df;
  background-image: url("../img/personos-desktop-wallpaper-v2.webp");
  background-position: center;
  background-size: cover;
  box-shadow: 0 38px 90px rgba(28, 37, 43, 0.17), 0 8px 24px rgba(28, 37, 43, 0.10);
}

.audit-screen::after { position: absolute; z-index: 50; inset: 0; border: 1px solid rgba(255, 255, 255, 0.58); border-radius: inherit; content: ""; pointer-events: none; }

.audit-screen__menubar {
  position: absolute;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 2.1164cqw;
  padding: 0 1.3889cqw;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 247, 250, 0.74);
  color: #191d20;
  box-shadow: inset 0 -0.5px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(26px) saturate(165%);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
  font-size: 0.8598cqw;
}
.audit-screen__menubar span { display: flex; height: 100%; align-items: center; gap: 1.3228cqw; }
.audit-screen__menubar img { width: 0.9259cqw; height: 0.9259cqw; object-fit: contain; }
.audit-screen__menubar span:last-child { gap: 0.7937cqw; }
.audit-screen__menubar span:last-child img:nth-child(2) { width: 1.1243cqw; }
.audit-screen__menubar span:last-child img:nth-child(3) { width: 1.455cqw; }
.audit-screen__menubar b { font-weight: 500; }
.audit-screen__menubar strong { font-weight: 680; }
.audit-screen__menubar time { margin-left: 0.3968cqw; font-variant-numeric: tabular-nums; }

.audit-screen__stage { position: absolute; inset: 0; container-type: inline-size; }
.audit-screen .audit-window {
  position: absolute;
  z-index: 10;
  top: 4.828cqw;
  right: 4.7619cqw;
  bottom: 4.4312cqw;
  left: 4.7619cqw;
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.audit-screen button { font-family: inherit; letter-spacing: 0; }

.audit-showcase__facts {
  display: grid;
  margin-top: 24px;
  padding: 22px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.audit-showcase__facts span { display: grid; padding: 0 24px; gap: 4px; border-right: 1px solid var(--line); }
.audit-showcase__facts span:first-child { padding-left: 0; }
.audit-showcase__facts span:last-child { border-right: 0; }
.audit-showcase__facts strong { color: var(--ink); font-size: 0.86rem; }
.audit-showcase__facts small { color: var(--muted); font-size: 0.74rem; line-height: 1.45; }

@media (max-width: 760px) {
  .context-stage { height: 660px; aspect-ratio: auto; border-radius: 16px; scroll-margin-top: 82px; }
  .mac-desktop { right: 0; left: 0; width: 100%; transform: none; }
  .mac-menubar { height: 28px; min-height: 28px; padding: 0 10px; font-size: 9px; }
  .mac-menubar__left { gap: 8px; }
  .mac-menubar__left span:nth-last-child(-n + 3) { display: none; }
  .mac-menubar__right .menu-symbol--personos,
  .mac-menubar__right .menu-symbol--control { display: none; }
  .mac-menubar time { width: auto; min-width: 0; margin-left: 6px; font-size: 8px; }
  .mac-menubar time span:first-child { display: none; }
  .mac-notch { width: 82px; height: 28px; border-radius: 0 0 12px 12px; }

  .claude-terminal-window,
  .native-window {
    top: 42px;
    right: 12px;
    bottom: 52px;
    left: 12px;
    border-radius: 13px;
    transform: none;
  }

  .claude-terminal-window { grid-template-rows: 42px minmax(0, 1fr) 30px; }
  .claude-terminal-toolbar { padding: 0 12px; grid-template-columns: 72px minmax(0, 1fr) 72px; }
  .claude-terminal-toolbar .window-controls { gap: 6px; }
  .claude-terminal-toolbar .window-controls i { width: 10px; height: 10px; }
  .claude-terminal-title { gap: 7px; }
  .claude-terminal-title img { width: 18px; height: 18px; }
  .claude-terminal-title strong { font-size: 10px; }
  .claude-terminal-title small { font-size: 7px; }
  .claude-terminal-state { font-size: 7px; }
  .claude-terminal-state::before { width: 5px; height: 5px; margin-right: 5px; }
  .claude-terminal-body { padding: 18px 16px 16px; font-size: 11px; line-height: 1.55; }
  .terminal-session-line { margin-bottom: 14px; gap: 7px; font-size: 9px; }
  .terminal-welcome { margin-bottom: 15px; gap: 8px; }
  .terminal-welcome img { width: 22px; height: 22px; }
  .terminal-welcome strong { font-size: 11px; }
  .terminal-welcome small { font-size: 8px; }
  .terminal-block { grid-template-columns: 14px minmax(0, 1fr); gap: 7px; }
  .terminal-tool-dot,
  .terminal-answer-mark { width: 7px; height: 7px; margin-top: 5px; }
  .terminal-block--request strong em { margin-left: 5px; font-size: 8px; }
  .terminal-block--request dl { width: 100%; margin-top: 7px; }
  .terminal-block--request dl div,
  .terminal-block--result p { grid-template-columns: 74px minmax(0, 1fr); }
  .terminal-wait { margin-top: 8px !important; gap: 6px; }
  .terminal-wait i { width: 7px; height: 7px; border-width: 1px; }
  .terminal-result-mark { width: 10px; height: 10px; margin-top: 3px; border-width: 1px; }
  .terminal-result-mark::after { top: 1px; left: 3px; width: 2px; height: 4px; border-width: 0 1px 1px 0; }
  .terminal-block--answer p { margin-top: 6px; }
  .terminal-block--answer small { margin-top: 8px; font-size: 9px; }
  .context-stage:is([data-demo-step="request"], [data-demo-step="consent"], [data-demo-step="result"], [data-demo-step="answer"], [data-demo-step="audit"], [data-demo-step="denied"]) .terminal-block--request,
  .context-stage:is([data-demo-step="result"], [data-demo-step="answer"], [data-demo-step="audit"]) .terminal-block--result,
  .context-stage:is([data-demo-step="answer"], [data-demo-step="audit"]) .terminal-block--answer { margin-top: 13px; }
  .claude-terminal-footer { padding: 0 10px; font-size: 7px; }

  .native-window { grid-template-rows: 42px minmax(0, 1fr); }
  .personos-toolbar { height: 42px; padding: 0 12px; grid-template-columns: 78px minmax(0, 1fr) 78px; border-radius: 12px 12px 0 0; }
  .personos-toolbar::after { display: none; }
  .personos-toolbar .window-controls { padding: 0; gap: 6px; }
  .personos-toolbar .window-controls i { width: 10px; height: 10px; }
  .personos-toolbar__identity { grid-column: 2; gap: 6px; }
  .personos-toolbar__identity > img { width: 20px; height: 20px; }
  .personos-toolbar__identity strong { font-size: 10px; }
  .personos-toolbar__identity small { font-size: 7px; }
  .personos-toolbar__actions { display: none; }
  .native-window__body.personos-app { grid-template-columns: minmax(0, 1fr); }
  .personos-sidebar { display: none; }
  .personos-workspace { min-width: 0; }
  .prototype-panel { padding: 18px 14px 14px; }
  .prototype-page-header { min-height: 48px; }
  .prototype-page-header h2 { font-size: 21px; }
  .prototype-page-header p { margin-top: 5px; font-size: 10px; }
  .prototype-secondary { min-height: 30px; padding: 0 10px; border-radius: 7px; font-size: 9px; }
  .ledger-filters { display: none; }
  .ledger-layout { height: calc(100% - 54px); grid-template-columns: minmax(0, 1fr); border-radius: 10px; }
  .ledger-list { display: none; }
  .ledger-detail { padding: 14px; }
  .ledger-receipt > header strong { font-size: 12px; }
  .ledger-receipt > header small { margin-top: 3px; font-size: 8px; }
  .ledger-receipt > header button { min-height: 28px; padding: 0 9px; border-radius: 6px; font-size: 8px; }
  .ledger-receipt pre,
  .ledger-receipt pre[data-demo-receipt] { margin: 14px 0; padding: 12px; border-radius: 8px; font-size: 9px; line-height: 1.48; }
  .ledger-receipt dl div { min-height: 38px; }
  .ledger-receipt dt,
  .ledger-receipt dd { font-size: 9px; }

  .context-island { width: 82px; height: 28px; border-radius: 0 0 12px 12px; }
  .context-stage[data-phase="event"] .context-island { width: 154px; height: 94px; border-radius: 0 0 15px 15px; }
  .context-stage[data-phase="expanded"] .context-island { width: calc(100% - 24px); height: 428px; border-radius: 0 0 18px 18px; }
  .context-stage[data-phase="decision"] .context-island { width: 154px; height: 94px; border-radius: 0 0 15px 15px; }
  .island-peek { height: 28px; }
  .context-stage[data-phase="event"] .island-peek { height: 94px; }
  .context-stage[data-phase="decision"] .island-peek { height: 28px; }
  .island-peek__notice { top: 28px; height: 66px; gap: 5px; font-size: 11px; }
  .island-peek__notice .island-agent-symbol { width: 11px; height: 11px; }
  .island-request { top: 28px; padding: 0 12px 16px; }
  .island-content-rule { margin-bottom: 8px; }
  .island-consent-card { padding: 8px 10px; }
  .island-requester { padding-bottom: 10px; gap: 4px; }
  .island-requester .island-agent-symbol { width: 17px; height: 17px; }
  .island-requester strong { font-size: 12px; line-height: 1.25; }
  .island-requester small { font-size: 10px; }
  .consent-zone__heading { padding-top: 8px; padding-bottom: 4px; }
  .consent-zone__heading > span { gap: 6px; }
  .consent-zone__heading i { width: 5px; height: 5px; }
  .consent-zone__heading strong { font-size: 10px; }
  .consent-row { min-height: 44px; padding: 6px 5px; grid-template-columns: 3px 22px minmax(0, 1fr) 20px; gap: 8px; border-radius: 6px; font-size: 12px; }
  .consent-rail { width: 3px; height: 28px; }
  .consent-row__icon { width: 20px; height: 20px; }
  .consent-row__state { width: 16px; height: 16px; }
  .duration-control { padding: 3px 0 9px; }
  .duration-control button { min-height: 37px; padding: 0 0 4px; font-size: 10px; }
  .island-actions { padding-top: 10px; gap: 8px; }
  .island-button { min-height: 42px; padding: 9px; border-radius: 8px; font-size: 11px; }
  .island-decision { top: 28px; height: 66px; padding-bottom: 14px; }
  .decision-stamp { width: 48px; height: 48px; }

  .mac-dock { display: none; }
  .demo-cursor { display: none; }
  .demo-flow { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .demo-flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .demo-flow li { padding-right: 10px; }
  .demo-flow li:nth-child(2)::after,
  .demo-flow li:last-child::after { display: none; }
  .demo-flow li span { white-space: normal; }
  .demo-flow__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .demo-flow__actions button { min-height: 44px; }
}

@media (max-width: 430px) {
  .context-stage { height: 640px; }
  .claude-terminal-body { padding-right: 13px; padding-left: 13px; font-size: 10px; }
  .terminal-block--request dl div,
  .terminal-block--result p { grid-template-columns: 64px minmax(0, 1fr); }
  .context-stage:is([data-demo-step="request"], [data-demo-step="consent"], [data-demo-step="result"], [data-demo-step="answer"], [data-demo-step="audit"], [data-demo-step="denied"]) .terminal-block--request,
  .context-stage:is([data-demo-step="result"], [data-demo-step="answer"], [data-demo-step="audit"]) .terminal-block--result,
  .context-stage:is([data-demo-step="answer"], [data-demo-step="audit"]) .terminal-block--answer { margin-top: 11px; }
  .context-stage[data-phase="expanded"] .context-island { height: 418px; }
}

@media (prefers-reduced-motion: reduce) {
  .terminal-wait i { animation: none !important; }
  .terminal-input-caret { animation: none !important; }
  .claude-terminal-body { transition: none !important; }
  [data-terminal-clear-caret] { animation: none !important; }
  .claude-terminal-window { transition: opacity 120ms linear !important; }
  .terminal-block { animation: none !important; }
  [data-terminal-beat] { animation: none !important; }
  .demo-flow li::before { transition: none !important; }
}
