:root {
  color-scheme: light;
  --paper: #f2f0e9;
  --paper-raised: #faf9f5;
  --paper-deep: #e3e0d7;
  --ink: #151513;
  --ink-raised: #191a18;
  --island: #000000;
  --muted: #68675f;
  --muted-dark: #aaa89f;
  --focus: #8b571d;
  --hairline: color-mix(in srgb, var(--ink) 12%, transparent);
  --shadow-soft: 0 1.25rem 3.5rem rgb(21 21 19 / 9%);
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-4xl: 3rem;
  --text-5xl: clamp(3.5rem, 6.4vw, 5.9rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 5rem;
  --space-10: 6.5rem;
  --content: 74rem;
  --ease-out: cubic-bezier(0.16, 0.84, 0.24, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--text-base);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #c8b495;
  color: var(--ink);
}

img,
video {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.skip-link {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--paper-raised);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 160ms var(--ease-out);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--paper-raised);
  pointer-events: none;
}

.site-header::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4.25rem;
  background: var(--ink);
  content: "";
  transition: opacity 180ms ease;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgb(241 238 231 / 10%);
  content: "";
  transition: opacity 180ms ease;
}

.site-header[data-scrolled]::after {
  opacity: 0;
}

.site-header[data-scrolled]::before {
  opacity: 0;
}

.nav-shell {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 3rem), var(--content));
  min-height: 4.25rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  transition:
    width 320ms var(--ease-spring),
    min-height 320ms var(--ease-spring),
    margin-top 320ms var(--ease-spring),
    padding 320ms var(--ease-spring),
    border-color 220ms ease,
    border-radius 320ms var(--ease-spring),
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header[data-scrolled] .nav-shell {
  width: min(calc(100% - 2rem), 44rem);
  min-height: 3.4rem;
  margin-top: var(--space-3);
  padding-inline: var(--space-3);
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 0.85rem;
  background: rgb(14 14 13 / 90%);
  box-shadow: 0 0.65rem 2rem rgb(0 0 0 / 14%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: var(--space-3);
  color: var(--paper-raised);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 680;
  text-decoration: none;
}

.brand img {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.55rem;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 10%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  min-height: 2.75rem;
  align-content: center;
  color: var(--muted-dark);
  font-size: var(--text-sm);
  font-weight: 550;
  text-decoration: none;
  transition: color 180ms ease, font-weight 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--paper-raised);
}

.nav-links a[aria-current="location"] {
  color: var(--paper-raised);
  font-weight: 760;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(54rem, 100svh);
  padding: clamp(6.75rem, 9vh, 8rem) max(1.5rem, calc((100vw - var(--content)) / 2)) 2.75rem;
  overflow: clip;
  background: var(--paper);
  grid-template-columns: minmax(21rem, 0.82fr) minmax(34rem, 1.18fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(3rem, 5vw, 5rem);
  row-gap: var(--space-3);
  align-content: center;
  align-items: center;
}

.device-demo {
  display: grid;
  width: 100%;
  grid-column: 2;
  grid-row: 1 / 4;
  justify-items: center;
}

.macbook {
  display: block;
  width: min(100%, 47rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: initial;
}

.macbook:focus-visible {
  outline: 0;
}

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

.macbook-lid {
  padding: 0.42rem;
  border: 1px solid #34332f;
  border-radius: 0.85rem 0.85rem 0.4rem 0.4rem;
  background: #11110f;
  box-shadow: 0 1.75rem 4rem rgb(21 21 19 / 17%);
}

.macbook-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.48rem 0.48rem 0.18rem 0.18rem;
  background: var(--paper-deep);
  box-shadow: inset 0 0 0 1px rgb(241 238 231 / 8%);
}

.screen-notch {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 6;
  width: 7.75rem;
  height: 1.4rem;
  border-radius: 0 0 0.7rem 0.7rem;
  background: var(--island);
  transform: translateX(-50%);
}

.screen-notch span {
  position: absolute;
  top: 0.43rem;
  right: 0.6rem;
  width: 0.36rem;
  height: 0.36rem;
  border: 1px solid #262823;
  border-radius: 50%;
  background: #101511;
}

.screen-workspace {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #dad6cd;
  box-shadow: inset 0 1.75rem 0 #d0ccc3;
}

.screen-workspace::before {
  position: absolute;
  top: 1.75rem;
  bottom: 0;
  left: 0;
  width: 22%;
  border-right: 1px solid rgb(17 17 15 / 7%);
  background: #d3cfc6;
  content: "";
}

.screen-workspace::after {
  position: absolute;
  top: 5rem;
  left: 30%;
  width: 34%;
  height: 1px;
  background: rgb(17 17 15 / 8%);
  box-shadow:
    0 1.05rem 0 rgb(17 17 15 / 6%),
    2.5rem 2.1rem 0 rgb(17 17 15 / 7%),
    0 3.15rem 0 rgb(17 17 15 / 5%),
    4rem 4.2rem 0 rgb(17 17 15 / 6%),
    1.5rem 5.25rem 0 rgb(17 17 15 / 5%),
    0 7.35rem 0 rgb(17 17 15 / 6%),
    3rem 8.4rem 0 rgb(17 17 15 / 5%);
  content: "";
}

.macbook-launch-hint {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 5;
  min-height: 2rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgb(17 17 15 / 14%);
  border-radius: 999px;
  align-content: center;
  background: rgb(241 238 231 / 88%);
  box-shadow: 0 0.35rem 1rem rgb(17 17 15 / 7%);
  color: #3c3b37;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: transform 180ms var(--ease-out), background-color 180ms ease;
}

.macbook:hover .macbook-launch-hint,
.macbook:focus-visible .macbook-launch-hint {
  background: var(--paper-raised);
  transform: translateY(-0.125rem);
}

.island-stage {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  display: grid;
  width: min(28rem, calc(100% - 3rem));
  min-height: 9.5rem;
  padding: 2.25rem var(--space-5) var(--space-4);
  border-radius: 0 0 1.35rem 1.35rem;
  background: var(--island);
  box-shadow: 0 0.75rem 2.25rem rgb(17 17 15 / 16%);
  color: #f2f0ea;
  transform: translateX(-50%);
  transition:
    width 240ms var(--ease-out),
    min-height 240ms var(--ease-out),
    border-radius 240ms var(--ease-out);
  align-content: center;
  justify-items: center;
}

.island-stage[data-mode="working"],
.island-stage[data-mode="completed"] {
  width: min(19rem, calc(100% - 3rem));
  min-height: 6.5rem;
  border-radius: 0 0 1.05rem 1.05rem;
}

.mockup-state {
  display: none;
  width: 100%;
}

.island-stage[data-mode="working"] .mockup-state-working,
.island-stage[data-mode="approval"] .mockup-state-approval,
.island-stage[data-mode="completed"] .mockup-state-completed {
  display: flex;
}

.mockup-state-working,
.mockup-state-completed {
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.78rem;
}

.mockup-status-dot,
.mockup-complete-mark {
  display: grid;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  border-radius: 50%;
  place-items: center;
}

.mockup-status-dot {
  border: 0.2rem solid #2d4436;
  background: #72d48e;
  box-shadow: 0 0 0 0.2rem rgb(114 212 142 / 10%);
}

.mockup-complete-mark {
  background: #315b40;
  color: #a7e6ba;
  font-size: 0.68rem;
  font-weight: 800;
}

.mockup-project {
  color: #f2f0ea;
  font-weight: 720;
}

.mockup-status {
  color: #85827c;
  font-size: 0.68rem;
}

.mockup-state-approval {
  flex-direction: column;
  gap: 0.7rem;
}

.mockup-approval-heading {
  display: grid;
  width: 100%;
  align-items: start;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  text-align: left;
}

.mockup-approval-heading strong,
.mockup-approval-heading small {
  display: block;
}

.mockup-approval-heading strong {
  color: #f2f0ea;
  font-size: 0.76rem;
  line-height: 1.25;
}

.mockup-approval-heading small,
.mockup-tool {
  color: #8f8c85;
  font-size: 0.62rem;
}

.mockup-alert {
  color: #d9a54f;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
}

.mockup-state-approval p {
  width: 100%;
  margin: 0;
  color: #d3d0c9;
  font-size: 0.66rem;
  line-height: 1.35;
  text-align: left;
}

.mockup-state-approval code {
  width: 100%;
  overflow: hidden;
  color: #8f8c85;
  font-family: var(--mono);
  font-size: 0.61rem;
  line-height: 1.3;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-actions {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.45rem;
}

.mockup-actions span {
  padding: 0.45rem 0.65rem;
  border-radius: 0.42rem;
  background: #2b2b29;
  color: #e3e0d9;
  font-size: 0.61rem;
  font-weight: 650;
  white-space: nowrap;
}

.mockup-actions .mockup-copy {
  padding-inline: 0.55rem;
  color: #aaa7a0;
}

.mockup-actions .mockup-allow {
  margin-left: auto;
  background: #333330;
}

.island-caption {
  margin: var(--space-3) 0 0;
  color: #aaa7a0;
  font-size: var(--text-xs);
}

.state-switcher {
  display: flex;
  margin-top: var(--space-4);
  padding: var(--space-1);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 0.75rem;
  background: #080808;
  gap: var(--space-1);
}

.demo-provenance {
  margin: var(--space-4) 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.025em;
  text-align: center;
}

.macbook-base {
  position: relative;
  width: calc(100% + 2.5rem);
  height: 0.8rem;
  margin-left: -1.25rem;
  border: 1px solid #373631;
  border-radius: 0.15rem 0.15rem 0.7rem 0.7rem;
  background: #23221f;
  box-shadow: 0 0.7rem 1.5rem rgb(17 17 15 / 14%);
}

.macbook-base::before {
  position: absolute;
  top: 0.15rem;
  right: 9%;
  left: 9%;
  height: 1px;
  background: #54514a;
  content: "";
}

.macbook-base span {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 13%;
  height: 0.28rem;
  border-radius: 0 0 0.35rem 0.35rem;
  background: #11110f;
  transform: translateX(-50%);
}

.state-switcher button {
  min-width: 5.5rem;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-3);
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #777570;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}

.state-switcher button:hover {
  background: #121211;
  color: #cbc8c1;
}

.state-switcher button[aria-pressed="true"] {
  background: #1a1a18;
  color: #f2f0ea;
}

.state-switcher button:active {
  background: #242421;
}

/* The immersive demo uses the app's actual logical geometry: 212 pt hardware gap,
   two 42 pt wings, a 332 pt information drawer, and a 400 pt total height cap. */
.simulator-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #efede6;
  color: #171714;
}

.simulator-dialog::backdrop {
  background: rgb(17 17 15 / 78%);
}

.simulator-dialog[open] {
  animation: simulator-enter 320ms var(--ease-out) both;
}

.simulator-frame {
  display: grid;
  height: 100%;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--space-4);
}

.simulator-toolbar {
  display: flex;
  width: min(100%, 68rem);
  min-height: 3.25rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.simulator-toolbar h2,
.simulator-toolbar p {
  margin: 0;
}

.simulator-toolbar h2 {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: -0.025em;
}

.simulator-kicker {
  color: #747169;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.simulator-toolbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.simulator-toolbar-actions > p {
  color: #68665f;
  font-size: var(--text-xs);
}

.simulator-close {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgb(17 17 15 / 16%);
  border-radius: 50%;
  background: #f7f5ef;
  color: #2a2925;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  place-items: center;
  transition: background-color 180ms ease, transform 180ms var(--ease-out);
}

.simulator-close:hover {
  background: #f1eee7;
  transform: rotate(4deg);
}

.simulator-close:active {
  background: #c9c5bc;
  transform: scale(0.96);
}

.simulator-bezel {
  width: min(calc(100vw - 2rem), calc((100dvh - 7rem) * 1.6), 68rem);
  min-width: 0;
  margin: auto;
  padding: 0.34rem;
  border: 1px solid #30302d;
  border-radius: 0.72rem;
  background: #151513;
  box-shadow: 0 1.75rem 4.5rem rgb(17 17 15 / 22%);
}

.simulator-display {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.4rem;
  background: #c9c6be;
  box-shadow: inset 0 0 0 1px rgb(241 238 231 / 7%);
}

.simulator-menubar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  height: 1.75rem;
  padding-inline: 0.8rem;
  align-items: center;
  justify-content: space-between;
  background: rgb(226 223 216 / 92%);
  color: #2b2a27;
  font-size: 0.68rem;
  line-height: 1;
}

.simulator-menu-left,
.simulator-menu-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.simulator-menu-left {
  padding-right: 7rem;
}

.simulator-apple {
  color: #23221f;
  font-size: 0.56rem;
}

.simulator-wallpaper {
  position: absolute;
  inset: 1.75rem 0 0;
  overflow: hidden;
  background: #bbb8b0;
}

.simulator-wallpaper span {
  position: absolute;
  display: block;
  width: 58%;
  height: 72%;
  background: #cfccc4;
  transform: rotate(-14deg);
}

.simulator-wallpaper span:first-child {
  top: 2%;
  left: -12%;
}

.simulator-wallpaper span:nth-child(2) {
  right: -19%;
  bottom: -18%;
  background: #a5a29b;
  transform: rotate(23deg);
}

.simulator-wallpaper span:last-child {
  top: 20%;
  right: 17%;
  width: 26%;
  height: 48%;
  background: #c1beb6;
  transform: rotate(7deg);
}

.simulator-workspace {
  position: absolute;
  top: 26%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: min(54%, 34rem);
  height: 52%;
  overflow: hidden;
  border: 1px solid rgb(17 17 15 / 14%);
  border-radius: 0.75rem;
  background: rgb(235 232 225 / 78%);
  box-shadow: 0 1.25rem 3rem rgb(17 17 15 / 8%);
  opacity: 0.62;
  transform: translateX(-50%);
  transition: opacity 260ms ease, transform 320ms var(--ease-out);
  grid-template-columns: 28% 1fr;
}

.simulator-display:has(.sim-cowlick[data-expanded="true"]) .simulator-workspace {
  opacity: 0.34;
  transform: translateX(-50%) translateY(0.5rem) scale(0.985);
}

.simulator-sidebar {
  display: flex;
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid rgb(17 17 15 / 9%);
  flex-direction: column;
  background: rgb(205 202 194 / 78%);
  gap: 0.35rem;
  color: #65635d;
  font-size: 0.72rem;
}

.simulator-sidebar strong {
  margin-bottom: var(--space-3);
  color: #24231f;
  font-family: var(--display);
  font-size: 0.9rem;
}

.simulator-sidebar span {
  padding: 0.38rem 0.5rem;
  border-radius: 0.35rem;
}

.simulator-sidebar .is-selected {
  background: rgb(241 238 231 / 62%);
  color: #2d2c28;
  font-weight: 650;
}

.simulator-document {
  padding: clamp(1rem, 3vw, 2.5rem);
  color: #3b3935;
}

.simulator-document > strong,
.simulator-document > p {
  display: block;
  max-width: 27rem;
}

.simulator-document > strong {
  margin-top: 0.4rem;
  color: #201f1c;
  font-family: var(--display);
  font-size: clamp(0.9rem, 1.7vw, 1.35rem);
}

.simulator-document > p {
  margin: var(--space-2) 0 var(--space-5);
  color: #6b6861;
  font-size: clamp(0.62rem, 1vw, 0.8rem);
}

.simulator-eyebrow {
  color: #85827a;
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.simulator-document-lines {
  display: grid;
  gap: 0.65rem;
}

.simulator-document-lines span {
  height: 1px;
  background: rgb(17 17 15 / 10%);
}

.simulator-document-lines span:nth-child(2) {
  width: 82%;
}

.simulator-document-lines span:last-child {
  width: 66%;
}

.sim-cowlick {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 8;
  width: 332px;
  height: 38px;
  color: #f2f0ea;
  transform: translateX(-50%);
  transform-origin: top center;
  transition: height 320ms var(--ease-out);
}

.sim-cowlick[data-expanded="true"] {
  height: min(400px, calc(100% - 1rem));
}

.sim-notch-trigger {
  position: relative;
  z-index: 2;
  display: grid;
  width: 296px;
  height: 38px;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 0.7rem 0.7rem;
  background: #000;
  color: #f2f0ea;
  cursor: pointer;
  grid-template-columns: 42px 212px 42px;
  transition: background-color 160ms ease;
}

.sim-notch-trigger:hover,
.sim-notch-trigger:focus-visible {
  background: #060606;
}

.sim-notch-trigger:active {
  background: #0d0d0d;
}

.sim-notch-trigger:focus-visible {
  outline: 0;
}

.sim-notch-trigger:focus-visible .sim-wing {
  background: rgb(211 160 102 / 12%);
  box-shadow: inset 0 0 0 1px rgb(211 160 102 / 82%);
}

.sim-wing {
  display: grid;
  height: 38px;
  align-items: center;
  color: rgb(242 240 234 / 94%);
  font-family: var(--body);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  line-height: 1;
}

.sim-wing-left {
  justify-content: center;
}

.sim-wing-right {
  justify-content: center;
  color: #a8d3b3;
}

.sim-hardware-gap {
  position: relative;
  display: block;
  height: 38px;
  background: #000;
}

.sim-camera {
  position: absolute;
  top: 9px;
  right: 11px;
  width: 7px;
  height: 7px;
  border: 1px solid #212720;
  border-radius: 50%;
  background: #0c100d;
  box-shadow: inset 0 0 0 1px #060706;
}

.sim-notch-drawer {
  position: absolute;
  top: 34px;
  left: 0;
  width: 332px;
  max-height: 0;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background: #000;
  box-shadow: 0 1rem 2.6rem rgb(17 17 15 / 22%);
  opacity: 0;
  transform: scaleY(0.96);
  transform-origin: top;
  transition:
    max-height 320ms var(--ease-out),
    opacity 150ms ease,
    transform 320ms var(--ease-out);
}

.sim-cowlick[data-expanded="true"] .sim-notch-drawer {
  max-height: min(366px, calc(100dvh - 10rem));
  opacity: 1;
  transform: scaleY(1);
}

.sim-drawer-content {
  max-height: min(366px, calc(100dvh - 10rem));
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 6px;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.sim-drawer-content::-webkit-scrollbar,
.sim-session-viewport::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.sim-drawer-content:focus-visible,
.sim-session-viewport:focus-visible {
  outline: 2px solid #d3a066;
  outline-offset: -3px;
}

.sim-activity,
.sim-quota,
.sim-insight-grid,
.sim-end-actions {
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.sim-activity {
  padding-top: 0;
}

.sim-section-heading {
  display: flex;
  height: 44px;
  padding-inline: 16px;
  align-items: center;
  gap: 10px;
}

.sim-section-heading h3,
.sim-section-heading p,
.sim-section-title-row h3 {
  margin: 0;
}

.sim-section-heading h3 {
  color: rgb(255 255 255 / 94%);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.1;
}

.sim-section-heading p {
  margin-top: 3px;
  color: rgb(255 255 255 / 58%);
  font-size: 11px;
  line-height: 1.1;
}

.sim-working-mark {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 2px solid #8bc39c;
  border-top-color: transparent;
  border-radius: 50%;
  animation: sim-spin 1.1s linear infinite;
}

.sim-session-viewport {
  max-height: 72px;
  padding: 0 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.sim-session {
  display: grid;
  width: 100%;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  align-items: center;
  background: transparent;
  color: rgb(255 255 255 / 94%);
  grid-template-columns: 22px minmax(0, 1fr);
  text-align: left;
}

.sim-session.is-current {
  background: rgb(255 255 255 / 6%);
}

.sim-session > span:last-child,
.sim-session strong,
.sim-session small {
  display: block;
  min-width: 0;
}

.sim-session strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-session small {
  overflow: hidden;
  margin-top: 2px;
  color: rgb(255 255 255 / 56%);
  font-size: 10px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-session-status {
  width: 8px;
  height: 8px;
  margin-left: 5px;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  color: #e2b367;
  font-size: 10px;
  line-height: 8px;
  text-align: center;
}

.sim-session-status.is-working {
  border: 2px solid #8bc39c;
  border-top-color: transparent;
}

.sim-session-status.is-waiting {
  border: 0;
}

.sim-session-status.is-complete {
  border: 0;
  color: #8bc39c;
}

.sim-quota {
  padding: 10px 16px 12px;
}

.sim-section-title-row,
.sim-quota-window > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.sim-section-title-row {
  margin-bottom: 8px;
}

.sim-section-title-row h3,
.sim-quota-window span,
.sim-quota-window strong {
  color: rgb(255 255 255 / 92%);
  font-size: 11.5px;
}

.sim-section-title-row h3,
.sim-quota-window strong {
  font-weight: 650;
}

.sim-section-title-row > span,
.sim-section-title-row > time,
.sim-quota-window small {
  color: rgb(255 255 255 / 54%);
  font-size: 10px;
}

.sim-quota-primary {
  margin-bottom: 10px;
}

.sim-quota-track {
  --quota: 50%;
  --pace: 50%;
  position: relative;
  height: 5px;
  margin-block: 4px;
  overflow: visible;
  border-radius: 2px;
  background: rgb(255 255 255 / 13%);
}

.sim-quota-track > span {
  display: block;
  width: var(--quota);
  height: 100%;
  border-radius: inherit;
  background: #c9c7bf;
}

.sim-quota-track > i {
  position: absolute;
  top: -3px;
  left: var(--pace);
  width: 1px;
  height: 11px;
  background: rgb(255 255 255 / 56%);
}

.sim-quota-weekly {
  --quota: 78%;
  --pace: 67%;
}

.sim-quota-window .is-ahead {
  color: #8bc39c;
}

.sim-quota-summaries,
.sim-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sim-quota-summaries {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 8px;
}

.sim-quota-summaries > div {
  display: grid;
  min-width: 0;
  padding: 8px 10px;
  align-items: baseline;
  gap: 3px 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.sim-quota-summaries > div + div {
  border-left: 1px solid rgb(255 255 255 / 11%);
}

.sim-quota-summaries span,
.sim-quota-summaries strong,
.sim-quota-summaries small,
.sim-insight span,
.sim-insight strong,
.sim-insight small {
  display: block;
}

.sim-quota-summaries span,
.sim-insight span {
  color: rgb(255 255 255 / 58%);
  font-size: 10px;
}

.sim-quota-summaries strong {
  margin-top: 0;
  color: rgb(255 255 255 / 92%);
  font-size: 14px;
  font-weight: 650;
}

.sim-quota-summaries small {
  overflow: hidden;
  margin-top: 0;
  color: rgb(255 255 255 / 54%);
  font-size: 9.5px;
  grid-column: 1 / -1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-insight-grid {
  background: rgb(255 255 255 / 12%);
  gap: 1px;
}

.sim-insight {
  min-width: 0;
  min-height: 68px;
  padding: 9px 16px;
  background: #000;
}

.sim-insight strong {
  margin-top: 4px;
  color: rgb(255 255 255 / 94%);
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
}

.sim-insight small {
  overflow: hidden;
  margin-top: 6px;
  color: rgb(255 255 255 / 54%);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-end-actions {
  display: flex;
  min-height: 48px;
  margin-top: 8px;
  padding-inline: 12px;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.sim-end-actions button {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 6px;
  border: 0;
  border-radius: 4px;
  align-items: center;
  background: transparent;
  color: rgb(255 255 255 / 72%);
  cursor: pointer;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 150ms ease, color 150ms ease;
}

.sim-end-actions button:hover,
.sim-end-actions button:focus-visible {
  background: rgb(255 255 255 / 8%);
  color: rgb(255 255 255 / 92%);
}

.sim-end-actions button:active {
  background: rgb(255 255 255 / 13%);
}

.simulator-toast {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 10;
  max-width: 18rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgb(17 17 15 / 12%);
  border-radius: 0.45rem;
  background: rgb(241 238 231 / 92%);
  box-shadow: 0 0.75rem 2rem rgb(17 17 15 / 12%);
  color: #45433e;
  font-size: 0.68rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.4rem);
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}

.simulator-toast:not(:empty) {
  opacity: 1;
  transform: translateY(0);
}

html[data-simulator-open] {
  overflow: hidden;
}

@keyframes simulator-enter {
  from {
    opacity: 0;
    transform: scale(0.992);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sim-spin {
  to {
    transform: rotate(1turn);
  }
}

.hero-copy {
  display: grid;
  width: 100%;
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-self: end;
}

.hero h1 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--display);
  font-size: var(--text-5xl);
  font-weight: 720;
  letter-spacing: -0.052em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero-support {
  padding-bottom: 0;
}

.hero-support p {
  max-width: 30rem;
  margin: 0 0 var(--space-5);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
}

.primary-action,
.copy-command {
  display: inline-flex;
  min-height: 3rem;
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--ink);
  border-radius: 0.55rem;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper-raised);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.primary-action {
  gap: var(--space-3);
}

.primary-action span {
  display: inline-block;
  transition: transform 180ms var(--ease-out);
}

.primary-action:hover,
.copy-command:hover {
  background: #2a2a26;
}

.primary-action:hover span {
  transform: translateY(0.125rem);
}

.primary-action:active,
.copy-command:active {
  background: #3a3934;
}

.quiet-action,
.safety-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.quiet-action span,
.safety-link span,
.binary-status a span {
  display: inline-block;
  transition: transform 180ms var(--ease-out);
}

.quiet-action:hover span,
.safety-link:hover span,
.binary-status a:hover span {
  transform: translate(0.125rem, -0.125rem);
}

.release-truth {
  display: flex;
  margin: 2.25rem 0 0;
  grid-column: 1;
  grid-row: 2;
  align-items: baseline;
  gap: var(--space-3);
  color: var(--muted);
  font-size: 0.78rem;
}

.release-label {
  flex: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.support-line {
  display: flex;
  margin: var(--space-2) 0 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  color: var(--muted);
  font-size: var(--text-xs);
  list-style: none;
  grid-column: 1;
  grid-row: 3;
}

.support-line li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.support-line li + li::before {
  width: 1px;
  height: 0.75rem;
  background: var(--hairline);
  content: "";
}

.states-section,
.usage-section,
.privacy-section,
.install-section {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.states-section {
  padding: 5rem 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.62fr);
  gap: 4rem;
  align-items: end;
}

.section-intro h2,
.usage-copy h2,
.safety-copy h2,
.privacy-section h2,
.install-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.2vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -0.048em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-intro p,
.usage-copy > p,
.safety-copy p,
.privacy-lead,
.install-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.state-proof {
  display: grid;
  margin-top: 3.75rem;
  grid-template-columns: minmax(0, 1.18fr) minmax(19rem, 0.82fr);
  gap: var(--space-5);
  align-items: start;
}

.state-proof figure {
  margin: 0;
}

.capture-shell {
  position: relative;
  display: grid;
  min-height: 16.5rem;
  padding: 4rem var(--space-6) var(--space-6);
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
  align-content: start;
  justify-items: center;
}

.capture-shell::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2.25rem;
  border-bottom: 1px solid rgb(17 17 15 / 9%);
  background: rgb(241 238 231 / 58%);
  content: "";
}

.capture-shell::after {
  position: absolute;
  top: 0.875rem;
  left: 1rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgb(17 17 15 / 22%);
  box-shadow: 0.875rem 0 rgb(17 17 15 / 14%), 1.75rem 0 rgb(17 17 15 / 9%);
  content: "";
}

.capture-shell img {
  position: relative;
  z-index: 2;
  width: auto;
  border-radius: 0.9rem;
  background: var(--island);
  transition: transform 220ms var(--ease-out), filter 220ms ease;
}

.capture-shell-approval img {
  max-width: min(100%, 23.75rem);
}

.capture-shell-sessions {
  min-height: 14.5rem;
}

.capture-shell-sessions img {
  max-width: min(100%, 22.5rem);
}

.capture-context {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  z-index: 2;
  color: #65625c;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.035em;
}

.state-proof figcaption {
  display: grid;
  margin-top: var(--space-4);
  gap: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
}

.state-proof figcaption span {
  max-width: 38rem;
}

.state-proof figcaption strong {
  color: var(--ink);
  font-size: var(--text-base);
}

.usage-section {
  display: grid;
  padding: 5.5rem 0;
  grid-template-columns: minmax(0, 0.88fr) minmax(22rem, 0.72fr);
  gap: clamp(3.5rem, 7vw, 6rem);
  align-items: center;
}

.usage-band {
  background: var(--ink-raised);
  color: var(--paper-raised);
}

.usage-copy h2 {
  max-width: 11ch;
}

.usage-copy > p {
  max-width: 35rem;
  margin-top: var(--space-5);
}

.usage-band .usage-copy > p,
.usage-band .usage-points dd {
  color: var(--muted-dark);
}

.usage-copy .forecast-attribution {
  margin-top: var(--space-6);
  font-size: 0.78rem;
}

.forecast-attribution strong {
  color: var(--paper-raised);
}

.forecast-attribution a {
  color: var(--paper-raised);
}

.usage-points {
  display: grid;
  margin: var(--space-7) 0 0;
  gap: var(--space-5);
}

.usage-points div {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: var(--space-4);
}

.usage-points dt {
  font-weight: 750;
}

.usage-points dd {
  margin: 0;
  color: var(--muted);
}

.usage-capture {
  position: relative;
  margin: 0;
  padding: var(--space-4);
  border-radius: 1.4rem;
  border: 1px solid rgb(241 238 231 / 9%);
  background: var(--ink-raised);
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 28%);
}

.usage-capture::before {
  position: absolute;
  inset: var(--space-4);
  border-radius: 1rem;
  box-shadow: inset 0 1px color-mix(in srgb, var(--paper) 14%, transparent);
  content: "";
  pointer-events: none;
}

.usage-capture img {
  width: 100%;
  border-radius: 1rem;
}

.usage-capture figcaption {
  margin-top: var(--space-4);
  color: var(--muted-dark);
  font-size: var(--text-xs);
  text-align: center;
}

.safety-section {
  padding: var(--space-6);
  background: var(--paper);
  color: var(--paper-raised);
}

.safety-surface {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: clamp(3rem, 5vw, 4rem);
  border-radius: 1.25rem;
  background: var(--ink-raised);
}

.safety-copy {
  display: block;
}

.safety-copy p {
  max-width: 48rem;
  margin-top: var(--space-5);
  color: var(--muted-dark);
}

.decision-path {
  display: grid;
  margin: var(--space-8) 0 var(--space-6);
  padding: 0;
  border-top: 1px solid rgb(241 238 231 / 16%);
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
}

.decision-path li {
  display: grid;
  padding: var(--space-5) var(--space-6) 0 0;
  gap: var(--space-2);
}

.decision-path li + li {
  padding-left: var(--space-6);
  border-left: 1px solid rgb(241 238 231 / 12%);
}

.decision-path li span {
  color: var(--muted-dark);
  font-size: var(--text-sm);
}

.safety-link {
  color: var(--paper-raised);
}

.privacy-section {
  padding: 5rem 0 4.5rem;
}

.privacy-section h2 {
  max-width: 13ch;
}

.privacy-lead {
  max-width: 46rem;
  margin-top: var(--space-5);
}

.privacy-facts {
  display: grid;
  margin: var(--space-8) 0 var(--space-6);
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.privacy-facts p {
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.privacy-facts strong {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.install-section {
  padding: 4.5rem 0 5.5rem;
}

.install-heading {
  display: block;
}

.install-heading p {
  max-width: 48rem;
  margin-top: var(--space-5);
}

.install-options {
  display: grid;
  margin-top: var(--space-8);
  padding: var(--space-6);
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  background: var(--paper-raised);
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-8);
}

.source-install,
.binary-status {
  min-width: 0;
  padding: 0;
  border-radius: 0;
}

.source-install {
  background: transparent;
}

.binary-status {
  background: transparent;
}

.source-install h3,
.binary-status h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 680;
}

.source-install > p,
.binary-status > p {
  color: var(--muted);
}

.binary-status > p:not(.status-value) {
  color: #55534e;
}

.source-install pre {
  max-width: 100%;
  margin: var(--space-5) 0;
  padding: var(--space-4);
  overflow-x: auto;
  border-radius: 0.6rem;
  background: var(--ink);
  color: #e8e5dd;
  font-family: var(--mono);
  font-size: var(--text-sm);
  line-height: 1.75;
}

.copy-command {
  min-width: 9.5rem;
}

.copy-command:disabled {
  cursor: wait;
  opacity: 0.72;
}

.copy-feedback {
  min-height: 1.5rem;
  margin: var(--space-3) 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.binary-status .status-value {
  margin: var(--space-5) 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.binary-status a {
  display: inline-flex;
  min-height: 2.75rem;
  margin-top: var(--space-5);
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  position: relative;
  min-height: 17rem;
  padding: var(--space-8) max(1.5rem, calc((100vw - var(--content)) / 2)) var(--space-8);
  overflow: clip;
  background: var(--ink);
  color: var(--paper-raised);
}

.footer-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto;
  gap: var(--space-6);
  align-items: start;
}

.footer-content > p {
  margin: 0;
}

.footer-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: flex-end;
}

.footer-content a {
  min-height: 2.75rem;
  align-content: center;
  color: var(--paper-raised);
  text-decoration-color: color-mix(in srgb, var(--paper-raised) 40%, transparent);
}

.footer-content .disclaimer {
  max-width: 42rem;
  color: var(--muted-dark);
  font-size: var(--text-sm);
  grid-column: 1 / -1;
}

.footer-mark {
  position: absolute;
  right: max(1.5rem, calc((100vw - var(--content)) / 2));
  bottom: 1.75rem;
  left: auto;
  color: rgb(225 222 214 / 7%);
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.78;
  text-align: right;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .state-proof figure:hover .capture-shell img {
    transform: translateY(-0.125rem);
    filter: drop-shadow(0 0.75rem 1.25rem rgb(17 17 15 / 16%));
  }
}

@media (max-width: 900px) {
  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 7rem max(1.5rem, calc((100vw - var(--content)) / 2)) 4.5rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: var(--space-7);
  }

  .device-demo {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .release-truth {
    grid-column: 1;
    grid-row: 3;
  }

  .support-line {
    grid-column: 1;
    grid-row: 4;
  }

  .hero-copy,
  .section-intro,
  .usage-section,
  .install-options {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section-intro,
  .safety-copy {
    gap: var(--space-6);
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3.5rem, 12vw, 5.25rem);
  }

  .state-proof {
    gap: var(--space-5);
  }

  .usage-section {
    gap: var(--space-7);
  }

  .usage-capture {
    width: min(100%, 32rem);
    margin-inline: auto;
  }

  .decision-path,
  .privacy-facts {
    grid-template-columns: 1fr;
  }

  .decision-path li,
  .decision-path li + li {
    padding: var(--space-5) 0;
    border-left: 0;
  }

  .decision-path li + li {
    border-top: 1px solid rgb(241 238 231 / 12%);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .simulator-frame {
    padding: var(--space-3);
  }

  .simulator-toolbar-actions > p {
    display: none;
  }

  .simulator-bezel {
    width: min(calc(100vw - 1.5rem), calc((100dvh - 8rem) * 1.6));
  }

  .state-proof {
    grid-template-columns: 1fr;
  }

  .capture-shell {
    min-height: 16rem;
  }

  .capture-shell-sessions {
    min-height: 14rem;
  }
}

@media (max-width: 620px) {
  :root {
    --space-9: 3.5rem;
    --space-10: 5rem;
  }

  .nav-shell,
  .states-section,
  .usage-section,
  .privacy-section,
  .install-section {
    width: min(calc(100% - 2rem), var(--content));
  }

  .site-header[data-scrolled] .nav-shell {
    width: calc(100% - 1.5rem);
    margin-top: var(--space-2);
  }

  .brand span {
    font-size: var(--text-lg);
  }

  .hero {
    padding: 5.75rem 1rem 3.75rem;
    gap: var(--space-5);
  }

  .simulator-frame {
    padding: var(--space-2);
    gap: var(--space-2);
  }

  .simulator-toolbar {
    min-height: 3rem;
  }

  .simulator-toolbar h2 {
    font-size: 0.95rem;
  }

  .simulator-kicker {
    font-size: 0.52rem;
  }

  .simulator-close {
    width: 2.5rem;
    height: 2.5rem;
  }

  .simulator-bezel {
    width: calc(100vw - 1rem);
    height: min(64dvh, 32rem);
    margin: var(--space-5) auto 0;
    padding: 0.3rem;
    border-radius: 0.65rem;
  }

  .simulator-display {
    height: 100%;
    aspect-ratio: auto;
  }

  .simulator-menubar {
    height: 1.35rem;
    padding-inline: 0.45rem;
    font-size: 0.54rem;
  }

  .simulator-menu-left {
    padding-right: 4.5rem;
  }

  .simulator-menu-left span:not(.simulator-apple),
  .simulator-menu-right span {
    display: none;
  }

  .simulator-wallpaper {
    inset-block-start: 1.35rem;
  }

  .simulator-workspace {
    top: 28%;
    width: 76%;
    height: 58%;
    grid-template-columns: 1fr;
  }

  .simulator-sidebar {
    display: none;
  }

  .simulator-toast {
    transform: translateX(-50%) scale(0.78);
    transform-origin: bottom center;
  }

  .simulator-toast {
    right: auto;
    left: 50%;
    width: min(18rem, calc(100% - 1rem));
  }

  .simulator-toast:not(:empty) {
    transform: translateX(-50%) scale(0.78);
  }

  .island-stage {
    width: min(20rem, calc(100% - 1rem));
    min-height: 7rem;
    padding: 1.75rem var(--space-3) var(--space-3);
    border-radius: 0 0 0.85rem 0.85rem;
  }

  .island-stage[data-mode="working"],
  .island-stage[data-mode="completed"] {
    width: min(13rem, calc(100% - 1rem));
    min-height: 5.25rem;
  }

  .island-caption {
    margin-top: var(--space-2);
    font-size: 0.625rem;
  }

  .mockup-state-approval {
    gap: 0.45rem;
  }

  .mockup-approval-heading strong {
    font-size: 0.66rem;
  }

  .mockup-state-approval p,
  .mockup-state-approval code,
  .mockup-actions span {
    font-size: 0.52rem;
  }

  .mockup-actions span {
    padding: 0.35rem 0.45rem;
  }

  .macbook-lid {
    padding: 0.3rem;
    border-radius: 0.7rem 0.7rem 0.35rem 0.35rem;
  }

  .macbook-screen {
    border-radius: 0.4rem 0.4rem 0.15rem 0.15rem;
  }

  .screen-notch {
    width: 5.75rem;
    height: 1.05rem;
    border-radius: 0 0 0.5rem 0.5rem;
  }

  .screen-notch span {
    top: 0.3rem;
    right: 0.45rem;
    width: 0.3rem;
    height: 0.3rem;
  }

  .macbook-base {
    width: calc(100% + 1rem);
    height: 0.65rem;
    margin-left: -0.5rem;
  }

  .state-switcher {
    width: 100%;
    margin-top: var(--space-4);
    justify-content: center;
  }

  .state-switcher button {
    min-width: 0;
    flex: 1;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action {
    width: 100%;
    justify-content: center;
  }

  .release-truth {
    display: grid;
    margin-top: var(--space-4);
    gap: var(--space-2);
  }

  .support-line {
    display: grid;
    gap: var(--space-2);
  }

  .support-line li + li::before {
    display: none;
  }

  .state-proof {
    margin-top: var(--space-7);
    grid-template-columns: 1fr;
  }

  .states-section {
    padding: 4.5rem 0;
  }

  .capture-shell,
  .capture-shell-sessions {
    min-height: 13.5rem;
    padding: 4.25rem var(--space-4) var(--space-5);
    border-radius: 1.125rem;
  }

  .usage-points div {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .usage-section {
    padding-block: 4.75rem;
  }

  .safety-section {
    padding: var(--space-5) var(--space-4);
  }

  .safety-surface {
    padding: 2.75rem var(--space-5);
    border-radius: 1rem;
  }

  .privacy-section {
    padding-block: 4.25rem 4rem;
  }

  .source-install,
  .binary-status {
    padding: 0;
  }

  .source-install pre {
    margin-inline: 0;
    border-radius: 0.75rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .install-options {
    padding: var(--space-5);
    gap: var(--space-7);
  }

  .install-section {
    padding-block: 4rem 4.5rem;
  }

  .site-footer {
    min-height: 19rem;
    padding-inline: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-content nav {
    gap: var(--space-4);
    justify-content: flex-start;
  }

  .footer-mark {
    right: 1rem;
    bottom: 1.25rem;
    font-size: clamp(4rem, 23vw, 6rem);
  }
}

@media (max-width: 350px) {
  .sim-cowlick {
    transform: translateX(-50%) scale(0.82);
  }

}

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

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

  .island-stage {
    transform: translateX(-50%);
    will-change: auto;
  }

  .capture-shell img {
    transition: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #4f4d48;
    --muted-dark: #c4c1b9;
  }

  .state-switcher button[aria-pressed="true"] {
    box-shadow: inset 0 0 0 2px #f2f0ea;
  }
}
