:root {
  --shell: #000;
  --inset: rgba(255, 255, 255, 0.035);
  --inset-muted: rgba(255, 255, 255, 0.02);
  --border: rgba(255, 255, 255, 0.08);
  --border-muted: rgba(255, 255, 255, 0.05);
  --text: #f1e3d8;
  --muted: #a8968a;
  --dim: rgba(241, 227, 216, 0.46);
  --accent: #d28c3b;
  --accent-light: #e1a65b;
  --accent-text: #140c02;
  --success: #75f09e;
  --warning: #ffd666;
  --info: #8ea7d8;
  --error: #ff7561;
  --desktop-bg-image: url("assets/mac_bg.png");
  --desktop-bg-image-mobile: url("assets/mac_bg.png");
  --rounded: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--shell);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -8rem, rgba(210, 140, 59, 0.1), transparent 31rem),
    linear-gradient(180deg, #050505 0%, #000 40%, #000 100%);
  font-family: var(--rounded);
  letter-spacing: -0.025em;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

a {
  color: inherit;
}

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

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

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.site-header,
.page,
.footer {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 16px;
}

.brand,
.nav,
.links,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark,
.anchor-mascot {
  image-rendering: pixelated;
}

.brand-mark {
  width: 46px;
  height: 32px;
  object-fit: contain;
}

.nav {
  gap: 10px;
}

.nav a,
.button,
.links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 19px;
  border: 1px solid var(--border-muted);
  border-radius: 999px;
  background: var(--inset-muted);
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.nav a:hover,
.button:hover,
.links a:hover,
.footer a:hover {
  color: var(--text);
  border-color: rgba(210, 140, 59, 0.32);
}

a[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
}

.page {
  min-height: 0;
  padding: 0 0 20px;
}

.oxotl-home {
  display: grid;
  align-items: start;
  justify-items: center;
}

.desktop-frame {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #070707;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.64);
}

.desktop-screen {
  position: relative;
  aspect-ratio: 1585 / 992;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.1)),
    var(--desktop-bg-image) center / cover no-repeat,
    #050505;
}

.desktop-screen::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 34px;
  pointer-events: none;
  background: #000;
}

.desktop-screen::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.025), transparent 24rem),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.06));
}

.island-demo {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100% - clamp(24px, 8vw, 120px)));
  min-height: 0;
  margin: 0;
  display: grid;
  grid-template-rows: 34px minmax(0, auto);
  justify-items: center;
  align-content: start;
}

.anchor-bar {
  appearance: none;
  width: 100%;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--shell);
  color: var(--text);
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) clamp(8px, 5vw, 64px) minmax(0, auto);
  align-items: stretch;
  overflow: hidden;
}

.island-demo.is-expanded .anchor-bar {
  border-bottom: 0;
}

.desktop-frame:not(.is-hover-suppressed):hover .anchor-bar,
.desktop-frame:not(.is-hover-suppressed):focus-within .anchor-bar,
.island-demo:hover .anchor-bar,
.island-demo:focus-within .anchor-bar {
  border-bottom: 0;
}

.anchor-wing {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.8vw, 8px);
  padding: 0 clamp(6px, 1vw, 10px);
}

.anchor-leading {
  justify-content: flex-start;
}

.anchor-trailing {
  justify-content: flex-end;
}

.anchor-gap {
  height: 100%;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}

.anchor-status {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--success);
  color: rgba(0, 0, 0, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0.65rem;
  font-weight: 950;
  line-height: 1;
}

.anchor-status.is-warning {
  background: var(--warning);
}

.anchor-status.is-info {
  background: var(--info);
}

.anchor-status.is-idle {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.anchor-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.82rem;
  font-weight: 690;
  white-space: nowrap;
}

.anchor-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.anchor-mascot {
  width: 44px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}

.anchor-thumbnails {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 0 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-thumbnails::-webkit-scrollbar {
  display: none;
}

.thumbnail-button {
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  overflow: visible;
}

.thumbnail-button.is-active {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.thumbnail-button.status-thinking {
  color: var(--info);
}

.thumbnail-button.status-finished,
.thumbnail-button.status-working {
  color: var(--success);
}

.thumbnail-button.status-waiting {
  color: var(--warning);
}

.thumbnail-button.status-idle {
  color: rgba(255, 255, 255, 0.72);
}

.thumbnail-button.status-error {
  color: var(--error);
}

.thumbnail-button.has-dirty::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  top: 3px;
  left: 3px;
  border-radius: 999px;
  background: var(--warning);
}

.island-panel {
  width: 100%;
  min-height: 0;
  max-height: 0;
  border: 0 solid transparent;
  border-radius: 0 0 12px 12px;
  background: var(--shell);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scaleY(0.96);
  transform-origin: top center;
  transition: max-height 180ms ease, opacity 150ms ease, transform 180ms ease, border-color 180ms ease;
}

.island-demo.is-expanded .island-panel {
  max-height: 560px;
  border-width: 0 1px 1px;
  border-color: var(--border);
  overflow: hidden;
  opacity: 1;
  transform: translateY(0) scaleY(1);
}

.desktop-frame:not(.is-hover-suppressed):hover .island-panel,
.desktop-frame:not(.is-hover-suppressed):focus-within .island-panel,
.island-demo:hover .island-panel,
.island-demo:focus-within .island-panel {
  max-height: 560px;
  border-width: 0 1px 1px;
  border-color: var(--border);
  overflow: hidden;
  opacity: 1;
  transform: translateY(0) scaleY(1);
}

html:not(.js) .island-demo.is-expanded .island-panel {
  animation: island-reveal 720ms 900ms both;
}

@keyframes island-reveal {
  from {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px) scaleY(0.96);
  }

  to {
    max-height: 560px;
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.js) .island-demo.is-expanded .island-panel {
    animation: none;
  }
}

.panel-inner {
  padding: 10px 11px 8px;
  display: grid;
  gap: 10px;
}

.session-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.session-strip::-webkit-scrollbar {
  display: none;
}

.session-chip {
  appearance: none;
  height: 24px;
  max-width: 164px;
  padding: 0 6px;
  border: 1px solid var(--border-muted);
  border-radius: 999px;
  background: var(--inset-muted);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.session-chip:hover,
.session-chip.is-active {
  color: var(--text);
}

.session-chip.is-active {
  border-color: rgba(210, 140, 59, 0.32);
  background: var(--inset);
}

html:not(.js) .island-panel:has(#session-return:target) .session-chip.is-active,
html:not(.js) .island-panel:has(#session-organize:target) .session-chip.is-active,
html:not(.js) .island-panel:has(#session-merge:target) .session-chip.is-active,
html:not(.js) .island-panel:has(#session-license:target) .session-chip.is-active {
  border-color: var(--border-muted);
  background: var(--inset-muted);
}

html:not(.js) .island-panel:has(#session-visible:target) .session-chip[href="#session-visible"],
html:not(.js) .island-panel:has(#session-return:target) .session-chip[href="#session-return"],
html:not(.js) .island-panel:has(#session-organize:target) .session-chip[href="#session-organize"],
html:not(.js) .island-panel:has(#session-merge:target) .session-chip[href="#session-merge"],
html:not(.js) .island-panel:has(#session-license:target) .session-chip[href="#session-license"] {
  border-color: rgba(210, 140, 59, 0.32);
  background: var(--inset);
  color: var(--text);
}

html:not(.js) .island-demo:has(#session-return:target) .thumbnail-button.is-active,
html:not(.js) .island-demo:has(#session-organize:target) .thumbnail-button.is-active,
html:not(.js) .island-demo:has(#session-merge:target) .thumbnail-button.is-active,
html:not(.js) .island-demo:has(#session-license:target) .thumbnail-button.is-active {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
}

html:not(.js) .island-demo:has(#session-visible:target) .thumbnail-button[href="#session-visible"],
html:not(.js) .island-demo:has(#session-return:target) .thumbnail-button[href="#session-return"],
html:not(.js) .island-demo:has(#session-organize:target) .thumbnail-button[href="#session-organize"],
html:not(.js) .island-demo:has(#session-merge:target) .thumbnail-button[href="#session-merge"],
html:not(.js) .island-demo:has(#session-license:target) .thumbnail-button[href="#session-license"] {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.chip-status {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  flex: 0 0 auto;
  transform: translateY(0.5px);
}

.chip-status.status-thinking {
  background: var(--info);
}

.chip-status.status-waiting {
  background: var(--warning);
}

.chip-status.status-idle {
  background: rgba(255, 255, 255, 0.72);
}

.chip-status.status-error {
  background: var(--error);
}

.chip-name {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip-time {
  color: var(--dim);
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 760;
  line-height: 1.06;
  font-variant-numeric: tabular-nums;
  transform: translateY(0.5px);
  white-space: nowrap;
}

.chip-dirty {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--warning);
}

.chip-add {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
}

.activity-card {
  min-height: 132px;
  padding: 8px 12px 12px;
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  background: var(--inset);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  overflow: hidden;
}

.session-detail {
  display: none;
}

.session-detail.is-active,
html:not(.js) .session-detail:target {
  display: grid;
}

html:not(.js) #session-return:target ~ #session-visible,
html:not(.js) #session-organize:target ~ #session-visible,
html:not(.js) #session-merge:target ~ #session-visible,
html:not(.js) #session-license:target ~ #session-visible {
  display: none;
}

.activity-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.activity-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: rgba(241, 227, 216, 0.82);
  font-size: 0.78rem;
  font-weight: 660;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  flex: 0 0 auto;
  min-width: 0;
}

.session-action {
  appearance: none;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--border-muted);
  border-radius: 999px;
  background: var(--inset-muted);
  color: rgba(255, 255, 255, 0.86);
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.session-action svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

button.session-action {
  cursor: pointer;
}

.session-action:hover,
.session-action[aria-expanded="true"] {
  border-color: rgba(210, 140, 59, 0.32);
  background: rgba(210, 140, 59, 0.16);
  color: var(--accent-light);
}

.session-action.is-warning-action {
  color: var(--warning);
}

.model-pill,
.token-pill,
.tool-dot {
  height: 22px;
  border: 1px solid var(--border-muted);
  border-radius: 999px;
  background: var(--inset-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 760;
  white-space: nowrap;
}

.model-pill,
.token-pill {
  padding: 0 9px;
}

.token-pill {
  font-family: var(--mono);
}

.tool-dot {
  width: 22px;
  color: var(--text);
}

.activity-body {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  scrollbar-width: none;
}

.activity-body::-webkit-scrollbar {
  display: none;
}

.activity-line {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 540;
  line-height: 1.45;
}

.fake-diff[hidden] {
  display: none;
}

.fake-diff {
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.38);
}

.fake-diff-title {
  padding: 6px 9px 4px;
  color: rgba(241, 227, 216, 0.72);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fake-diff pre {
  margin: 0;
  padding: 0 0 5px;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  line-height: 1.45;
}

.diff-line {
  display: block;
  padding: 1px 9px;
}

.diff-meta {
  color: rgba(142, 167, 216, 0.9);
}

.diff-add {
  color: rgba(117, 240, 158, 0.9);
  background: rgba(117, 240, 158, 0.08);
}

.diff-remove {
  color: rgba(255, 117, 97, 0.86);
  background: rgba(255, 117, 97, 0.08);
}

.composer-card {
  min-height: 34px;
  padding: 4px 7px;
  border: 1px solid var(--border-muted);
  border-radius: 10px;
  background: var(--inset);
  display: flex;
  align-items: center;
  gap: 7px;
}

.composer-input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 650;
}

.composer-input::placeholder {
  color: var(--dim);
  opacity: 1;
}

.composer-submit,
.composer-buy {
  appearance: none;
  height: 22px;
  padding: 0;
  border: 1px solid var(--border-muted);
  border-radius: 999px;
  background: var(--inset-muted);
  color: rgba(241, 227, 216, 0.8);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.composer-submit {
  width: 22px;
}

.composer-buy {
  display: none;
  min-width: 48px;
  padding: 0 12px;
  border-color: rgba(210, 140, 59, 0.32);
  background: rgba(210, 140, 59, 0.16);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 850;
}

.composer-submit:hover,
.composer-buy:hover {
  border-color: rgba(210, 140, 59, 0.32);
  background: rgba(210, 140, 59, 0.16);
  color: var(--accent-light);
}

.island-demo.is-buy-session .composer-submit,
.island-demo:has(#session-license:target) .composer-submit {
  display: none;
}

.island-demo.is-buy-session .composer-buy,
.island-demo:has(#session-license:target) .composer-buy {
  display: inline-flex;
}

.session-empty {
  padding: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  flex-wrap: wrap;
  gap: 14px;
  padding: 8px 0 18px;
  color: var(--dim);
  font-size: 0.84rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.legal-wrap,
.download-wrap {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}

.legal-wrap {
  padding: 4px 0 48px;
}

.download-wrap {
  width: min(100% - 32px, 560px);
  padding: 64px 0 80px;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
}

.legal-card,
.download-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
}

.legal-card {
  padding: 22px 24px;
}

.download-card {
  padding: 28px;
}

.download-card {
  width: 100%;
  text-align: center;
}

.download-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 14px;
  object-fit: contain;
  image-rendering: pixelated;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-light);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.legal-card h1 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.download-card h1 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 5vw, 2.9rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.legal-card h2 {
  margin: 20px 0 6px;
  font-size: 1rem;
}

.legal-card p,
.legal-card li,
.download-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.42;
}

.legal-card p + p,
.download-card p + p {
  margin-top: 10px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
}

.button.primary {
  border-color: rgba(210, 140, 59, 0.38);
  background: rgba(210, 140, 59, 0.14);
  color: var(--accent-light);
}

.download-card .button {
  margin: 0;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 14px;
}

.download-target {
  display: block;
  margin: 0 0 18px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--border-muted);
  border-radius: 14px;
  color: var(--dim);
  background: var(--inset-muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.45;
}

.download-target:empty {
  display: none;
}

@media (max-width: 820px) {
  .site-header,
  .page,
  .footer {
    width: min(100% - 28px, 1280px);
  }

  .page {
    padding: 0;
  }

  .oxotl-home {
    min-height: 100%;
    width: 100%;
    display: grid;
    grid-template-rows: 8fr auto 17fr;
    align-items: start;
  }

  .desktop-frame {
    width: 100%;
    grid-row: 2;
  }

  .desktop-screen {
    aspect-ratio: auto;
    min-height: min(52svh, 500px);
    background:
      linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.1)),
      var(--desktop-bg-image-mobile) center top / cover no-repeat,
      #050505;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    padding-top: 20px;
  }

  .nav {
    width: auto;
    margin-left: auto;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 0 12px;
  }

  .island-demo {
    width: calc(100% - 18px);
  }

  .anchor-bar {
    grid-template-columns: minmax(0, 1fr) 8px auto;
  }

  .anchor-wing {
    gap: 4px;
    padding: 0 6px;
  }

  .anchor-copy {
    font-size: 0.72rem;
    font-weight: 720;
  }

  .anchor-status {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    font-size: 0.58rem;
  }

  .anchor-mascot {
    width: 34px;
    height: 22px;
  }

  .anchor-thumbnails {
    gap: 3px;
    flex: 0 0 auto;
    overflow: visible;
  }

  .thumbnail-button {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    font-size: 0.65rem;
  }

  .thumbnail-button.is-active {
    width: 19px;
    height: 19px;
    border-radius: 7px;
  }

  .panel-inner {
    padding: 8px 9px 6px;
    gap: 8px;
  }

  .session-strip {
    gap: 5px;
  }

  .session-chip {
    height: 22px;
    max-width: 118px;
    padding: 0 7px;
    gap: 5px;
  }

  .chip-name {
    font-size: 0.68rem;
  }

  .chip-time {
    font-size: 0.56rem;
  }

  .activity-card {
    min-height: 118px;
    padding: 7px 9px 10px;
    border-radius: 12px;
    gap: 8px;
  }

  .activity-title,
  .activity-line {
    font-size: 0.7rem;
  }

  .activity-tools {
    gap: 4px;
  }

  .model-pill,
  .token-pill,
  .tool-dot,
  .session-action {
    height: 20px;
  }

  .model-pill,
  .token-pill {
    padding: 0 7px;
    font-size: 0.64rem;
  }

  .tool-dot,
  .session-action {
    width: 20px;
  }

  .session-action svg {
    width: 10px;
    height: 10px;
  }

  .composer-card {
    min-height: 36px;
    padding: 5px 7px;
  }

  .composer-input {
    font-size: 0.72rem;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 38px;
  }

  .site-header,
  .page,
  .footer {
    width: min(100% - 18px, 1280px);
  }

  .site-header {
    gap: 10px;
  }

  .page {
    padding: 0;
  }

  .brand {
    gap: 10px;
    font-size: 0.96rem;
  }

  .nav {
    gap: 8px;
  }

  .nav a {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.82rem;
  }

  .island-demo {
    width: calc(100% - 10px);
    grid-template-rows: 32px minmax(0, auto);
  }

  .desktop-screen {
    min-height: min(54svh, 520px);
  }

  .anchor-bar {
    height: 32px;
  }

  .anchor-copy {
    font-size: 0.62rem;
  }

  .anchor-mascot {
    display: none;
  }

  .anchor-thumbnails {
    gap: 2px;
  }

  .thumbnail-button,
  .thumbnail-button.is-active {
    width: 16px;
    height: 16px;
    border-radius: 6px;
    font-size: 0.58rem;
  }

  .session-chip {
    max-width: 104px;
  }

  .activity-title,
  .activity-line {
    font-size: 0.66rem;
  }

  .chip-time {
    font-size: 0.54rem;
  }
}

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