:root {
  --bg: #ecece8;
  --paper: #f7f7f4;
  --paper-2: #efefeb;
  --ink: #0a0a0a;
  --muted: #6f706b;
  --line: #c9c9c2;
  --line-dark: #9a9a93;
  --black: #080808;
  --white: #ffffff;
  --green: #14b86f;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.14);
  --radius: 18px;
  --frame-radius: 30px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
::selection { background: #111; color: #fff; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: #000;
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.desktop-glyph { width: 32px; height: 32px; }

.page-canvas {
  min-height: 100svh;
  padding: clamp(14px, 2.2vw, 34px);
  display: grid;
  place-items: center;
}

.computer-frame {
  position: relative;
  width: min(1500px, 100%);
  height: min(900px, calc(100svh - clamp(28px, 4.4vw, 68px)));
  min-height: 690px;
  overflow: hidden;
  border: 12px solid var(--black);
  border-radius: var(--frame-radius);
  background: var(--paper);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.4) inset;
  display: grid;
  grid-template-rows: 54px 1fr 42px;
}

.computer-frame::after {
  content: "";
  position: absolute;
  inset: 54px 0 42px;
  pointer-events: none;
  z-index: 20;
  opacity: .045;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 2px, #000 3px);
  mix-blend-mode: multiply;
}

.system-bar {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(247,247,244,.96);
  backdrop-filter: blur(16px);
}

.brand-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 680;
  letter-spacing: -.02em;
}
.brand-button img { width: 28px; height: 28px; object-fit: cover; border-radius: 8px; }
.brand-button span { white-space: nowrap; }

.desktop-nav {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2);
}
.desktop-nav a {
  padding: 8px 13px;
  font-size: 13px;
  color: #676862;
  border-right: 1px solid var(--line);
  transition: background .18s ease, color .18s ease;
}
.desktop-nav a:last-child { border-right: 0; }
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { background: #0a0a0a; color: #fff; }

.system-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.icon-button,
.compact-buy,
.mobile-menu-button {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 9px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.icon-button:hover,
.mobile-menu-button:hover { background: #fff; border-color: var(--line-dark); transform: translateY(-1px); }
.icon-button:active,
.mobile-menu-button:active { transform: translateY(0); }
.compact-buy {
  padding: 0 14px;
  background: #0b0b0b;
  color: #fff;
  border-color: #0b0b0b;
  font-size: 13px;
  font-weight: 700;
}
.compact-buy:hover { background: #252525; transform: translateY(-1px); }
.mobile-menu-button { display: none; }

.screen-area {
  min-height: 0;
  position: relative;
  overflow: auto;
  background:
    linear-gradient(rgba(255,255,255,.26), rgba(255,255,255,.26)),
    radial-gradient(circle at 28% 18%, #ffffff 0, transparent 33%),
    #ededE9;
  scrollbar-width: thin;
  scrollbar-color: #9a9a94 #e6e6e2;
}
.screen-area:focus { outline: none; }

.taskbar {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  background: #deded8;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 12px;
}
.start-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  background: #f4f4f1;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.start-button img { width: 20px; height: 20px; border-radius: 5px; }
.quick-menu {
  position: absolute;
  left: 10px;
  bottom: 38px;
  width: 220px;
  padding: 7px;
  border: 1px solid #8e8e88;
  background: #f8f8f5;
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
  border-radius: 10px;
}
.quick-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-radius: 7px;
}
.quick-menu a:hover { background: #e9e9e5; }
.task-status { display: flex; align-items: center; gap: 15px; color: #585954; }
.network-pill { display: inline-flex; align-items: center; gap: 7px; }
.status-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 3px rgba(20,184,111,.12); display: inline-block; }
.system-clock { font-variant-numeric: tabular-nums; min-width: 40px; text-align: right; }

.mobile-menu {
  position: absolute;
  z-index: 100;
  top: 52px;
  left: 0;
  right: 0;
  padding: 12px;
  background: rgba(245,245,242,.98);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 16px 35px rgba(0,0,0,.13);
}
.mobile-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mobile-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
}
.mobile-menu-item[aria-current="page"] { border-color: #111; box-shadow: inset 0 0 0 1px #111; }

.window-frame {
  border: 1px solid #93938d;
  border-radius: 12px;
  background: rgba(249,249,246,.97);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0,0,0,.12);
}
.window-titlebar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 10px;
  background: linear-gradient(#ecece8, #deded9);
  border-bottom: 1px solid #a4a49d;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
}
.window-title-text { display: flex; align-items: center; min-width: 0; gap: 9px; }
.window-title-text strong { font-weight: 700; white-space: nowrap; }
.window-title-text > span:last-child:not(.window-dot) { color: #777872; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-dot { width: 9px; height: 9px; background: #111; border-radius: 50%; flex: 0 0 auto; }
.window-controls { display: inline-flex; align-items: center; gap: 5px; }
.window-controls span,
.dialog-close {
  width: 23px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #aaa9a3;
  background: #f6f6f2;
  border-radius: 4px;
}
.window-controls svg,
.dialog-close svg { width: 13px; height: 13px; }
.window-content { min-width: 0; }

.desktop-home {
  min-height: 100%;
  position: relative;
  padding: 28px 28px 54px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
}
.desktop-wallpaper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px;
  font: 10px/1 var(--mono);
  color: rgba(0,0,0,.23);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.desktop-icons {
  position: relative;
  z-index: 4;
  display: grid;
  grid-auto-rows: min-content;
  gap: 15px;
  align-content: start;
}
.desktop-icon {
  width: 82px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #111;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}
.desktop-icon-art {
  width: 56px;
  height: 51px;
  display: grid;
  place-items: center;
  border: 1px solid #8e8e88;
  background: #fbfbf8;
  border-radius: 9px;
  box-shadow: 3px 3px 0 #c6c6bf;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.desktop-icon:hover .desktop-icon-art,
.desktop-icon:focus-visible .desktop-icon-art {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #b8b8b0;
  background: #fff;
}
.desktop-icon:active .desktop-icon-art { transform: translate(0,0); box-shadow: 2px 2px 0 #b8b8b0; }

.hero-stage {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 0;
}
.hero-window { width: min(970px, 100%); }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr);
  min-height: 430px;
}
.hero-copy {
  padding: clamp(34px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #696a65;
  font: 11px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: clamp(48px, 7vw, 94px);
  line-height: .82;
  letter-spacing: -.075em;
}
.hero-copy h1 span { font-weight: 500; }
.hero-copy h1 strong { font-weight: 830; }
.hero-description {
  max-width: 570px;
  margin: 28px 0 0;
  color: #545550;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 31px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #111;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-dark { background: #090909; color: #fff; }
.button-dark:hover { background: #252525; }
.button-light { background: #f8f8f4; color: #111; }
.button-light:hover { background: #fff; }
.button svg { width: 16px; height: 16px; }
.hero-logo-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #efefeb;
  padding: 28px;
}
.logo-plate {
  width: min(320px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #c7c7c0;
  background: #fff;
  border-radius: 18px;
  box-shadow: inset 0 0 0 8px #f4f4f0;
}
.logo-plate img { width: 100%; height: 100%; object-fit: cover; }
.logo-caption {
  width: min(320px,100%);
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font: 10px/1 var(--mono);
  color: #777873;
}
.hero-contract { border-top: 1px solid var(--line); padding: 12px 14px; background: #f4f4f1; }

.ca-control {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.ca-label { font: 10px/1 var(--mono); color: #74756f; text-transform: uppercase; letter-spacing: .06em; }
.ca-control code {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 12px/1.2 var(--mono);
  color: #1a1a1a;
}
.copy-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #a8a8a2;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: background .15s ease, transform .15s ease;
}
.copy-button:hover:not(:disabled) { background: #efefeb; transform: translateY(-1px); }
.copy-button:disabled { cursor: default; opacity: .55; }
.copy-button svg { width: 14px; height: 14px; }
.copy-button.is-copied { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }

.desktop-dialog {
  position: absolute;
  z-index: 20;
  width: min(480px, calc(100% - 54px));
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  border: 1px solid #777872;
  border-radius: 12px;
  background: #fafaf7;
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
  opacity: 0;
}
.desktop-dialog.is-open { animation: dialog-in .2s ease forwards; }
@keyframes dialog-in { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.dialog-close { cursor: pointer; padding: 0; }
.dialog-body { padding: 26px; }
.dialog-kicker { margin: 0 0 14px; color: #777; font: 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.dialog-body h2 { margin: 0 0 14px; font-size: 30px; line-height: 1.05; letter-spacing: -.04em; }
.dialog-body p { color: #555650; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 700; border-bottom: 1px solid; padding-bottom: 2px; }
.text-link svg { width: 14px; }
.system-readout { display: grid; gap: 1px; background: #d7d7d1; padding: 1px; }
.system-readout > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 14px; background: #f8f8f5; font: 12px/1.2 var(--mono); }
.system-readout span { color: #777; }
.online-text { color: #07874f; }
.desktop-hint {
  position: absolute;
  right: 22px;
  bottom: 13px;
  font: 10px/1 var(--mono);
  color: #8b8c86;
}

.workspace {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 70px;
}
.workspace-ticker { display: grid; gap: 18px; }
.ticker-window .window-content { padding: 0; }
.ticker-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  min-height: 325px;
  border-bottom: 1px solid var(--line);
}
.ticker-header > div:first-child { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.ticker-header h1 { margin: 0; font-size: clamp(66px, 10vw, 132px); line-height: .78; letter-spacing: -.08em; }
.ticker-header p:not(.eyebrow) { max-width: 620px; margin: 26px 0 0; color: #5c5d57; }
.ticker-mark { display: grid; place-items: center; background: #efefeb; border-left: 1px solid var(--line); }
.ticker-mark img { width: 170px; height: 170px; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); }
.info-lines { background: #d5d5cf; display: grid; gap: 1px; }
.info-line { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; padding: 15px 18px; background: #f7f7f4; }
.info-line span { color: #6d6e68; font: 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.info-line strong { font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
.info-line strong.mono { font-family: var(--mono); font-size: 12px; }
.ticker-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 14px 16px; }
.ticker-secondary { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 0; }
.steps-list > li > span { font: 18px/1 var(--mono); color: #888983; }
.steps-list strong { display: block; font-size: 15px; }
.steps-list p { margin: 4px 0 0; color: #696a65; font-size: 13px; }
.link-directory, .docs-links { display: grid; }
.link-row { min-height: 52px; display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 650; transition: background .15s ease; }
.link-row:last-child { border-bottom: 0; }
.link-row:hover { background: #ededE8; }
.link-row-icon { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.link-row > svg { width: 14px; }

.docs-workspace {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.docs-sidebar { position: sticky; top: 28px; box-shadow: none; }
.docs-sidebar nav { display: grid; padding: 8px; }
.docs-sidebar nav a { min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 9px; border-radius: 6px; font: 11px/1.1 var(--mono); color: #5d5e58; }
.docs-sidebar nav a:hover { background: #e9e9e4; color: #111; }
.docs-sidebar nav svg { width: 15px; height: 15px; }
.docs-window { box-shadow: none; }
.docs-article { max-width: 780px; margin: 0 auto; padding: clamp(30px, 5vw, 70px); }
.doc-section { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.doc-section:last-child { border-bottom: 0; margin-bottom: 0; }
.doc-path { margin: 0 0 12px; color: #8a8b85; font: 10px/1 var(--mono); }
.doc-section h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.045em; }
.doc-section p, .doc-section li { color: #555650; }
.doc-section p { max-width: 68ch; }
.doc-section ol { padding-left: 20px; }
.docs-data { margin: 0; border-top: 1px solid var(--line); }
.docs-data > div { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.docs-data dt { color: #777873; font: 11px/1.4 var(--mono); }
.docs-data dd { margin: 0; overflow-wrap: anywhere; }
.docs-article .ca-control { margin-top: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #efefeb; }
.docs-article .button { margin-top: 12px; }
.faq-list { display: grid; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 16px 0; font-weight: 650; }
.faq-list details p { padding: 0 0 14px; margin: 0; }

.legal-workspace { width: min(980px, calc(100% - 48px)); }
.legal-window { box-shadow: none; }
.legal-article { max-width: 760px; margin: 0 auto; padding: clamp(34px, 6vw, 78px); }
.legal-updated { color: #8a8b85; font: 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.legal-article h1 { margin: 18px 0 48px; font-size: clamp(44px, 7vw, 76px); line-height: .95; letter-spacing: -.06em; }
.legal-article section { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-article section:last-child { border-bottom: 0; }
.legal-article h2 { margin: 0 0 12px; font-size: 19px; }
.legal-article p { margin: 0 0 12px; color: #585954; }
.legal-article a { text-decoration: underline; text-underline-offset: 3px; }

.error-workspace { min-height: 100%; display: grid; place-items: center; padding: 40px; }
.error-dialog { width: min(760px, 100%); display: grid; grid-template-columns: 190px 1fr; border: 1px solid #777872; background: #f7f7f4; box-shadow: 16px 16px 0 #c7c7c0; }
.error-code { display: grid; place-items: center; background: #0a0a0a; color: #fff; font: 700 70px/.8 var(--mono); }
.error-copy { padding: 38px; }
.error-copy h1 { margin: 0; font-size: 48px; letter-spacing: -.05em; }
.error-copy p:not(.eyebrow) { color: #62635d; }
.error-copy .button { margin-top: 12px; }

.site-footer {
  width: min(1500px, calc(100% - clamp(28px, 4.4vw, 68px)));
  margin: -4px auto 26px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 12px;
  font-size: 12px;
  color: #656660;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.footer-brand img { border-radius: 6px; }
.footer-muted { color: #9a9b95; font-weight: 400; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }
.site-footer a:hover { color: #111; text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid #111; outline-offset: 3px; }

@media (max-width: 1040px) {
  .computer-frame { min-height: 720px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .hero-copy { padding: 44px; }
  .ticker-secondary { grid-template-columns: 1fr; }
  .docs-workspace { grid-template-columns: 190px minmax(0,1fr); }
}

@media (max-width: 840px) {
  .page-canvas { padding: 0; }
  .computer-frame {
    width: 100%;
    height: 100svh;
    min-height: 620px;
    border: 0;
    border-radius: 0;
    grid-template-rows: 52px 1fr 42px;
  }
  .computer-frame::after { inset: 52px 0 42px; }
  .system-bar { grid-template-columns: 1fr auto; padding: 0 10px; }
  .desktop-nav, .compact-buy { display: none; }
  .mobile-menu-button { display: inline-flex; }
  .brand-button span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
  .desktop-home { grid-template-columns: 80px 1fr; padding: 20px 14px 48px; gap: 12px; }
  .desktop-icons { gap: 11px; }
  .desktop-icon { width: 70px; font-size: 9px; }
  .desktop-icon-art { width: 48px; height: 45px; }
  .desktop-glyph { width: 27px; height: 27px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { border-right: 0; border-bottom: 1px solid var(--line); padding: 34px; }
  .hero-logo-wrap { min-height: 220px; }
  .logo-plate { width: 190px; }
  .logo-caption { width: 190px; }
  .workspace { width: calc(100% - 24px); padding: 18px 0 40px; }
  .ticker-header { grid-template-columns: 1fr; }
  .ticker-mark { border-left: 0; border-top: 1px solid var(--line); min-height: 220px; }
  .ticker-actions { grid-template-columns: 1fr; }
  .docs-workspace { display: block; }
  .docs-sidebar { position: static; margin-bottom: 12px; }
  .docs-sidebar nav { grid-template-columns: repeat(3, 1fr); }
  .docs-sidebar nav a { min-height: 48px; }
  .site-footer { width: calc(100% - 28px); margin-top: 14px; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .system-actions { gap: 5px; }
  .system-actions > .icon-button:not(.mobile-menu-button):nth-of-type(2) { display: none; }
  .desktop-home { display: block; padding: 16px 12px 54px; }
  .desktop-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px 6px;
    margin-bottom: 18px;
  }
  .desktop-icon { width: 100%; }
  .hero-stage { display: block; }
  .hero-window { width: 100%; }
  .hero-copy { padding: 28px 22px 30px; }
  .hero-copy h1 { font-size: clamp(46px, 15vw, 68px); }
  .hero-description { font-size: 14px; line-height: 1.6; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-logo-wrap { padding: 22px; }
  .hero-contract { padding: 10px; }
  .ca-control { grid-template-columns: 1fr auto; gap: 8px; }
  .ca-label { grid-column: 1 / -1; }
  .desktop-hint { display: none; }
  .desktop-dialog { width: calc(100% - 24px); }
  .dialog-body { padding: 22px; }
  .window-title-text > span:last-child:not(.window-dot) { display: none; }
  .ticker-header > div:first-child { padding: 32px 22px; }
  .ticker-header h1 { font-size: clamp(58px, 20vw, 88px); }
  .info-line { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 13px; }
  .ticker-actions { padding: 12px; }
  .steps-list li { grid-template-columns: 45px 1fr; padding: 15px; }
  .docs-sidebar nav { grid-template-columns: repeat(2, 1fr); }
  .docs-article { padding: 28px 20px; }
  .doc-section { padding-bottom: 35px; margin-bottom: 35px; }
  .docs-data > div { grid-template-columns: 105px minmax(0,1fr); gap: 12px; }
  .legal-workspace { width: calc(100% - 24px); }
  .legal-article { padding: 30px 20px; }
  .legal-article h1 { margin-bottom: 34px; }
  .error-workspace { padding: 14px; }
  .error-dialog { grid-template-columns: 1fr; box-shadow: 8px 8px 0 #c7c7c0; }
  .error-code { min-height: 120px; }
  .error-copy { padding: 26px; }
  .mobile-menu-grid { grid-template-columns: repeat(3, 1fr); }
  .task-status .network-pill { display: none; }
}

@media (max-width: 380px) {
  .desktop-icons { grid-template-columns: repeat(3, 1fr); }
  .mobile-menu-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-button span { max-width: 105px; }
  .system-actions > .icon-button:not(.mobile-menu-button) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .computer-frame::after { display: none; }
}

@keyframes window-rise {
  from { opacity: 0; transform: translateY(10px) scale(.995); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes icon-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-window,
.ticker-window,
.docs-window,
.legal-window,
.error-dialog { animation: window-rise .42s cubic-bezier(.2,.7,.2,1) both; }
.desktop-icon { animation: icon-enter .28s ease both; }
.desktop-icon:nth-child(2) { animation-delay: .035s; }
.desktop-icon:nth-child(3) { animation-delay: .07s; }
.desktop-icon:nth-child(4) { animation-delay: .105s; }
.desktop-icon:nth-child(5) { animation-delay: .14s; }
.desktop-icon:nth-child(6) { animation-delay: .175s; }
.desktop-icon:nth-child(7) { animation-delay: .21s; }
.desktop-icon:nth-child(8) { animation-delay: .245s; }
