:root {
  color-scheme: light;
  --canvas: #e9e6dd;
  --canvas-deep: #dfdbd0;
  --paper: #f7f5ee;
  --paper-strong: #fffdf8;
  --paper-blue: #eef2ff;
  --ink: #17201e;
  --ink-soft: #35403d;
  --muted: #55615d;
  --faint: #5b6561;
  --line: #d2cfc5;
  --line-strong: #aaa99f;
  --accent: #1747d1;
  --accent-deep: #0d328f;
  --accent-soft: #dfe7ff;
  --signal: #ff6738;
  --green: #227354;
  --amber: #a46618;
  --red: #b53e37;
  --blue: #1747d1;
  --shadow: 0 16px 42px rgba(36, 42, 39, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible {
  outline: 3px solid rgba(23, 71, 209, .26);
  outline-offset: 2px;
}
.hidden { display: none !important; }
[hidden] { display: none !important; }

.landing-view {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 14%, rgba(23, 71, 209, .09), transparent 29%),
    var(--paper);
}
.landing-nav {
  min-height: 78px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(22px, 4vw, 64px);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(247, 245, 238, .9);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 10;
}
.landing-nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
}
.landing-nav nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.landing-nav nav > a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.landing-nav nav > a:hover { color: var(--ink); }
.landing-nav .landing-nav-action {
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper-strong);
  background: var(--ink);
}
.landing-nav .landing-nav-action:hover { color: white; background: #28312f; }

.landing-hero {
  max-width: 1480px;
  min-height: 690px;
  margin: 0 auto;
  padding: clamp(74px, 8vw, 126px) clamp(24px, 5.6vw, 84px) clamp(72px, 8vw, 120px);
  border-inline: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  align-items: center;
  gap: clamp(54px, 7vw, 108px);
  position: relative;
}
.landing-hero::after {
  content: "";
  position: absolute;
  left: clamp(24px, 5.6vw, 84px);
  right: clamp(24px, 5.6vw, 84px);
  bottom: 0;
  border-bottom: 1px solid var(--line-strong);
}
.landing-hero-copy { max-width: 730px; }
.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font: 760 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.landing-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(255, 103, 56, .12);
}
.landing-hero h1 {
  max-width: 790px;
  margin: 22px 0 25px;
  color: var(--ink);
  font: 500 clamp(62px, 6.4vw, 106px)/.88 Georgia, "Times New Roman", serif;
  letter-spacing: -.065em;
}
.landing-lede {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
  letter-spacing: -.012em;
}
.landing-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.landing-button {
  min-height: 49px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--ink);
  background: var(--paper-strong);
  text-decoration: none;
  font-size: 12px;
  font-weight: 780;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.landing-button:hover { transform: translateY(-1px); border-color: var(--ink); }
.landing-button.primary {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent-deep), 0 8px 22px rgba(23, 71, 209, .16);
}
.landing-button.primary:hover { background: #2052df; }
.landing-button.secondary { background: transparent; }
.landing-note {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.compatibility-figure {
  margin: 0;
  padding: clamp(25px, 3vw, 40px);
  border: 1px solid #080d0c;
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) auto minmax(0, 1.05fr);
  align-items: center;
  gap: 15px;
  color: #f5f5ef;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #121917;
  background-size: 20px 20px;
  box-shadow: 0 28px 60px rgba(24, 31, 29, .2);
  position: relative;
}
.site-preview, .recipe-preview {
  min-width: 0;
  border: 1px solid #424a46;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f4ec;
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
}
.preview-toolbar {
  min-height: 34px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aeb6b2;
  background: #202825;
  font-size: 8px;
}
.preview-toolbar > span { display: flex; gap: 4px; }
.preview-toolbar i { width: 5px; height: 5px; border-radius: 50%; background: #6e7974; }
.preview-toolbar i:first-child { background: var(--signal); }
.preview-body { padding: 18px 16px 20px; }
.preview-label {
  color: var(--muted);
  font: 700 7px/1.2 ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.preview-body h2 { margin: 10px 0 17px; font: 500 22px/1 Georgia, serif; letter-spacing: -.04em; }
.preview-field {
  min-height: 33px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  display: flex;
  align-items: center;
  color: var(--muted);
  background: white;
  font-size: 9px;
}
.preview-controls { margin-top: 7px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 6px; }
.preview-controls span, .preview-controls strong {
  min-height: 31px;
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}
.preview-controls strong { border-color: var(--ink); color: white; background: var(--ink); }
.recipe-transfer { display: grid; justify-items: center; gap: 8px; color: #9ea8a3; }
.recipe-transfer span { font: 700 7px/1 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .1em; }
.recipe-transfer i { color: #d8ff62; font: normal 22px/1 Georgia, serif; }
.recipe-preview { border-color: rgba(111, 146, 255, .7); background: #f4f6ff; }
.recipe-preview-head {
  min-height: 36px;
  padding: 0 11px;
  border-bottom: 1px solid #c8d1ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font: 750 7px/1 ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.recipe-preview-head strong { display: flex; align-items: center; gap: 5px; color: var(--green); }
.recipe-preview-head i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.recipe-name { display: block; margin: 16px 13px 12px; color: var(--ink); font: 750 14px/1.2 ui-monospace, monospace; }
.recipe-preview dl { margin: 0 13px; display: grid; gap: 7px; }
.recipe-preview dl > div { padding-top: 7px; border-top: 1px solid #d7dcef; display: grid; grid-template-columns: 42px 1fr; gap: 7px; }
.recipe-preview dt { color: var(--faint); font: 700 7px/1.4 ui-monospace, monospace; text-transform: uppercase; }
.recipe-preview dd { margin: 0; color: var(--ink-soft); font-size: 8px; line-height: 1.4; }
.agent-call { margin: 15px 13px 13px; padding: 9px; border-radius: 4px; display: grid; gap: 5px; color: #c7d0cc; background: var(--ink); }
.agent-call span { font: 700 7px/1 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .09em; }
.agent-call code { color: #d8ff62; font-size: 8px; overflow-wrap: anywhere; }
.compatibility-figure figcaption {
  grid-column: 1 / -1;
  margin-top: 7px;
  color: #aab4af;
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

.landing-principles {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5.6vw, 84px);
  border-inline: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.landing-principles > div { min-width: 0; padding: 30px 24px 34px 0; }
.landing-principles > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.landing-principles dt { color: var(--ink); font-size: 11px; font-weight: 780; }
.landing-principles dd { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }

.landing-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(78px, 8vw, 120px) clamp(24px, 5.6vw, 84px);
  border-inline: 1px solid var(--line);
  border-top: 1px solid var(--line-strong);
}
.landing-section-heading { max-width: 900px; }
.landing-section-heading h2, .landing-boundary h2, .landing-final-cta h2 {
  margin: 13px 0 0;
  font: 500 clamp(42px, 4.7vw, 72px)/.97 Georgia, "Times New Roman", serif;
  letter-spacing: -.052em;
}
.landing-section-heading > p { max-width: 710px; margin: 19px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.landing-steps { margin: 62px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.landing-steps li { min-width: 0; padding: 24px 28px 4px 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 34px 1fr; gap: 17px; }
.landing-steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.landing-steps li > span { padding-top: 2px; color: var(--accent); font: 750 9px/1 ui-monospace, monospace; }
.landing-steps strong { font-size: 14px; }
.landing-steps p { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.62; }

.landing-destinations { background: var(--canvas); }
.destination-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.destination-grid article {
  min-width: 0;
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 20px;
  background: var(--paper-strong);
  box-shadow: 0 14px 36px rgba(36, 42, 39, .06);
}
.destination-grid article:last-child { border-color: #aab8df; background: var(--paper-blue); }
.destination-number { width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; color: white; background: var(--ink); font: 750 11px/1 ui-monospace, monospace; }
.destination-grid article:last-child .destination-number { background: var(--accent); }
.destination-label { color: var(--accent); font: 750 8px/1.2 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .12em; }
.destination-grid h3 { margin: 12px 0 0; font: 500 clamp(26px, 2.4vw, 37px)/1 Georgia, serif; letter-spacing: -.04em; }
.destination-grid p { margin: 17px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.destination-grid code { font-size: .88em; overflow-wrap: anywhere; }
.destination-grid ul { margin: 22px 0 0; padding: 15px 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.destination-grid li { color: var(--ink-soft); font-size: 9px; font-weight: 700; }
.destination-grid li::before { content: "✓"; margin-right: 6px; color: var(--green); }

.landing-boundary {
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(54px, 6vw, 88px) clamp(24px, 5.6vw, 84px);
  border-inline: 1px solid var(--line);
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) minmax(300px, .72fr);
  align-items: center;
  gap: clamp(26px, 4vw, 58px);
  background: var(--paper);
}
.boundary-mark { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #d8ff62; background: var(--ink); font: 500 33px/1 Georgia, serif; }
.landing-boundary h2 { max-width: 710px; font-size: clamp(34px, 3.6vw, 56px); }
.landing-boundary > p { margin: 0; padding-left: clamp(24px, 3vw, 46px); border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 12px; line-height: 1.7; }

.landing-final-cta {
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(80px, 9vw, 136px) clamp(24px, 8vw, 128px);
  border-inline: 1px solid #080d0c;
  display: grid;
  justify-items: center;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at 50% 0, rgba(54, 101, 236, .32), transparent 40%),
    var(--ink);
}
.landing-final-cta .eyebrow { color: #9bb4ff; }
.landing-final-cta h2 { max-width: 940px; margin-bottom: 34px; color: white; font-size: clamp(46px, 5.7vw, 84px); }
.landing-final-cta .landing-button { min-width: min(100%, 315px); }
.landing-footer {
  max-width: 1480px;
  min-height: 78px;
  margin: 0 auto;
  padding: 18px clamp(24px, 5.6vw, 84px);
  border: 1px solid var(--line-strong);
  border-top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--canvas);
}
.landing-footer > span { font-size: 12px; font-weight: 800; }
.landing-footer p { margin: 0; color: var(--muted); font-size: 10px; text-align: center; }
.landing-footer a { color: var(--accent); font-size: 10px; font-weight: 750; text-decoration: none; }

.app-shell { min-height: 100vh; }
.topbar {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(22px, calc((100vw - 1800px) / 2 + 22px));
  border-bottom: 1px solid var(--line-strong);
  background: rgba(247, 245, 238, .96);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
}
.brand {
  justify-self: start;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 7px;
  font: 800 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -.08em;
  color: var(--paper-strong);
  background: var(--accent);
  box-shadow: inset -3px -3px 0 var(--accent-deep);
}
.brand > span:last-child { display: grid; gap: 1px; }
.brand strong { font-size: 14px; letter-spacing: -.025em; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .02em; }
.topbar-thesis {
  margin: 0;
  color: var(--muted);
  font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.topbar-thesis span {
  color: var(--accent);
  border-right: 1px solid var(--line-strong);
  padding-right: 10px;
  margin-right: 10px;
}
.topbar-status { justify-self: end; display: flex; align-items: center; gap: 8px; }
.status-pill, .storage-status, .tool-count {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  background: var(--paper-strong);
}
.storage-status { color: var(--green); }
.storage-status[data-state="saving"] { color: var(--amber); }
.storage-status[data-state="unavailable"] { color: var(--muted); }
.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  box-shadow: 0 0 0 3px rgba(146, 153, 147, .15);
}
.status-pill.native i { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 115, 84, .13); }
.status-pill.preview i { background: var(--amber); box-shadow: 0 0 0 3px rgba(164, 102, 24, .12); }

.shared-workspace-banner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  border-bottom: 1px solid #b8c9bd;
  color: #204d3b;
  background: #e5efe8;
  font-size: 11px;
}
.shared-workspace-banner strong { font: 750 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .04em; }
.shared-workspace-banner span { color: #456458; }
body.shared-viewer #target-frame { pointer-events: none; }

.share-dialog {
  width: min(680px, calc(100vw - 32px));
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 24px;
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: 0 24px 80px rgba(32, 35, 31, .22);
}
.share-dialog::backdrop { background: rgba(24, 29, 26, .55); backdrop-filter: blur(3px); }
.share-dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.share-dialog h2 { margin: 5px 0 0; font: 500 30px/1 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.share-dialog > p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.share-dialog .share-boundary { padding: 12px; border: 1px solid var(--line); background: var(--canvas); font-size: 10px; }
.share-result { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.share-link { display: grid; gap: 5px; min-width: 0; }
.share-link span { color: var(--muted); font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .05em; }
.share-link input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 4px; padding: 10px; background: var(--canvas); font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.share-result > .primary-button { grid-column: 1 / -1; text-decoration: none; }
.share-result > small { grid-column: 1 / -1; color: var(--muted); }
.share-error { color: var(--red) !important; }

.workspace {
  display: grid;
  grid-template-columns: clamp(300px, 20vw, 350px) minmax(560px, 1fr) clamp(285px, 18vw, 320px);
  max-width: 1800px;
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  border-inline: 1px solid var(--line-strong);
  background: var(--paper);
}
.target-column, .build-column, .tools-column {
  min-width: 0;
  padding: 30px 24px 44px;
}
.target-column {
  border-right: 1px solid var(--line-strong);
  background: var(--canvas);
}
.build-column {
  padding: 38px clamp(28px, 3.1vw, 54px) 52px;
  background: var(--paper);
}
.tools-column {
  border-left: 1px solid var(--line-strong);
  background: #efede5;
}

.section-heading { margin-bottom: 22px; }
.section-heading.compact { margin-bottom: 20px; }
.section-heading h1, .section-heading h2 {
  margin: 7px 0 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .99;
}
.section-heading h1 { max-width: 790px; font-size: clamp(42px, 4vw, 72px); }
.section-heading h2 { font-size: clamp(27px, 2.2vw, 34px); }
.section-heading > p {
  max-width: 680px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.58;
}
.conversation-heading {
  padding-bottom: 26px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.conversation-heading > p { max-width: 590px; font-size: 13px; }
.target-heading h2 { font-size: 32px; }
.target-heading > p { font-size: 11px; }
.eyebrow {
  color: var(--accent);
  font: 750 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.client-guide {
  margin: 18px 0 24px;
  border: 1px solid #b7bfd3;
  border-radius: 8px;
  background: var(--paper-blue);
  overflow: hidden;
}
.client-guide summary {
  min-height: 58px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
}
.client-guide summary::-webkit-details-marker { display: none; }
.client-guide summary > span:first-child { display: grid; gap: 4px; flex: 0 0 auto; }
.client-guide summary strong { font-size: 12px; }
.client-guide summary > span:last-child {
  max-width: 430px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  text-align: right;
}
.client-guide summary::after {
  content: "+";
  color: var(--accent);
  font: 750 13px/1 ui-monospace, monospace;
  flex: 0 0 auto;
}
.client-guide[open] summary::after { content: "−"; }
.client-guide-body {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  padding: 15px 14px 17px;
  border-top: 1px solid #c7cee2;
  background: rgba(255, 253, 248, .72);
}
.client-guide-body section + section { border-left: 1px solid var(--line); padding-left: 18px; }
.client-guide h2 { margin: 0 0 7px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.client-guide p, .run-steps { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.client-guide p + p { margin-top: 10px; }
.client-guide a { display: inline-block; margin-top: 9px; color: var(--accent); font-size: 11px; font-weight: 700; }
.run-steps { padding: 7px 0 0 20px; }
.run-steps li { padding-left: 2px; }
.run-steps li + li { margin-top: 3px; }
.run-steps strong { color: var(--ink-soft); font-weight: 720; }

.field, .source-controls { display: grid; gap: 7px; margin-bottom: 14px; }
.field-label {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink);
  padding: 11px 12px;
  font-size: 12px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
input:hover, textarea:hover, select:hover { border-color: var(--ink-soft); }
input:focus, textarea:focus, select:focus { border-color: var(--accent); background: #fff; }
textarea { resize: vertical; line-height: 1.48; }
#goal { min-height: 94px; }
#lab-input { font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.field-help { color: var(--muted); font-size: 10px; line-height: 1.45; }
.url-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.sample-button {
  min-width: 88px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink-soft);
  padding: 0 11px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 740;
}
.sample-button:hover { border-color: var(--ink-soft); }
.sample-button.selected { border-color: var(--green); color: var(--green); background: #f3f8f1; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.primary-button, .secondary-button, .ghost-button {
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 760;
  min-height: 43px;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease, background .12s ease, opacity .12s ease;
}
.primary-button {
  width: 100%;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  padding: 0 13px;
  box-shadow: inset 0 -2px 0 var(--accent-deep);
}
.secondary-button {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper-strong);
  color: var(--ink);
  padding: 0 13px;
}
.ghost-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  min-height: 30px;
  padding: 0 10px;
}
.primary-button:hover, .secondary-button:hover, .ghost-button:hover { transform: translateY(-1px); }
.primary-button:hover { background: #2052df; box-shadow: inset 0 -2px 0 var(--accent-deep), 0 5px 14px rgba(23, 71, 209, .18); }
.secondary-button:hover, .ghost-button:hover { border-color: var(--ink-soft); }
button:disabled { opacity: .36; cursor: not-allowed; transform: none !important; box-shadow: none; }
kbd {
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 1px 5px;
  font: 650 8px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  opacity: .58;
}

.mcp-notice {
  margin: 14px 0;
  padding: 11px 12px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 253, 248, .62);
}
.mcp-notice > div { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.mcp-notice p { margin: 5px 0 0 15px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.notice-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.mcp-notice.connected { border-left-color: var(--green); }
.mcp-notice.connected .notice-dot { background: var(--green); }
.mcp-notice.error { border-left-color: var(--red); }
.mcp-notice.error .notice-dot { background: var(--red); }

.target-stage {
  margin-top: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: #ece7dc;
  min-height: 300px;
  position: relative;
  box-shadow: 0 10px 28px rgba(42, 46, 43, .08);
}
.stage-toolbar {
  min-height: 38px;
  padding: 0 10px;
  background: var(--ink);
  color: #aeb7b3;
  border-bottom: 1px solid #050807;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font: 650 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.stage-address { min-width: 0; display: inline-flex; align-items: center; gap: 7px; }
.stage-address i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: 0 0 auto; }
.stage-address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-toolbar > span:last-child { color: #ffd18f; white-space: nowrap; }
.target-stage iframe { display: block; width: 100%; height: 335px; border: 0; background: #eee9df; }
.stage-view-switch {
  min-height: 37px;
  padding: 4px 8px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-strong);
  display: flex;
  align-items: center;
  gap: 4px;
}
.stage-view-switch button {
  min-height: 27px;
  border: 0;
  border-radius: 4px;
  padding: 0 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 9px;
  font-weight: 730;
}
.stage-view-switch button[aria-selected="true"] { background: var(--canvas-deep); color: var(--ink); }
.stage-view-switch button:disabled { opacity: .36; }
.stage-view-switch a { margin-left: auto; color: var(--accent); font-size: 9px; font-weight: 720; }
.visual-view { width: 100%; height: 335px; position: relative; background: var(--paper-strong); }
.target-screenshot { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.snapshot-preview {
  margin: 0;
  width: 100%;
  height: 335px;
  overflow: auto;
  white-space: pre-wrap;
  background: #121918;
  color: #d3d9d5;
  padding: 16px;
  font: 9px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.stage-placeholder {
  min-height: 335px;
  color: var(--ink);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 32px;
  background: var(--paper-strong);
}
.stage-placeholder strong { font-family: Georgia, serif; font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.stage-placeholder p { max-width: 360px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.pipeline {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.pipeline-step {
  min-width: 0;
  padding: 15px 8px 15px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  position: relative;
}
.pipeline-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 9px;
  bottom: -1px;
  height: 2px;
  background: transparent;
}
.pipeline-step > span {
  color: currentColor;
  font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  flex: 0 0 auto;
}
.pipeline-step div { min-width: 0; display: grid; gap: 2px; }
.pipeline-step strong { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipeline-step small { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipeline-step.current { color: var(--accent); }
.pipeline-step.current::after { background: var(--accent); }
.pipeline-step.complete { color: var(--green); }
.pipeline-step.complete::after { background: var(--green); }

.conversation {
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  overflow: hidden;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}
.trace-header, .subheading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.trace-header {
  min-height: 55px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.trace-header > div { display: flex; align-items: center; gap: 8px; }
.conversation-presence { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 115, 84, .1); }
.trace-header h2, .subheading h3 { margin: 0; font-size: 11px; letter-spacing: -.01em; }
.trace-header h2 { text-transform: uppercase; letter-spacing: .08em; }
.trace-header > span { color: var(--muted); font-size: 10px; text-align: right; }
.trace {
  min-height: 225px;
  max-height: 430px;
  overflow: auto;
  background: var(--paper-strong);
  padding: 12px 17px 18px;
  scrollbar-width: thin;
}
.trace-entry {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  padding: 9px 0;
}
.trace-entry .trace-dot {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper-strong);
  display: grid;
  place-items: center;
  position: relative;
}
.trace-entry .trace-dot::before { content: "M/"; font: 750 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.08em; }
.trace-entry .trace-dot::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--paper-strong);
  border-radius: 50%;
  background: var(--faint);
}
.trace-entry.success .trace-dot::after { background: var(--green); }
.trace-entry.warning .trace-dot::after { background: var(--amber); }
.trace-entry.error .trace-dot::after { background: var(--red); }
.trace-entry > div {
  max-width: 680px;
  padding: 10px 12px;
  border-radius: 3px 10px 10px;
  background: #f0eee6;
}
.trace-entry strong { display: block; font-size: 11px; margin-bottom: 3px; }
.trace-entry p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.trace-entry time { color: var(--faint); font: 8px/1.3 ui-monospace, monospace; padding-top: 9px; }

.capability-section {
  border-top: 1px solid var(--line);
  background: var(--paper-blue);
}
.capability-summary {
  min-height: 58px;
  padding: 10px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}
.capability-summary::-webkit-details-marker { display: none; }
.capability-summary > span:first-child { display: grid; gap: 4px; }
.capability-summary strong { font-size: 11px; }
.disclosure-copy { color: var(--accent); font-size: 10px; font-weight: 700; }
.disclosure-copy::after { content: " +"; }
.capability-section[open] .disclosure-copy::after { content: " −"; }
.capability-body {
  padding: 4px 17px 18px;
}
.capability-section .subheading { margin-bottom: 12px; }
.subheading h3 { margin-top: 4px; font-size: 13px; }
.text-button { border: 0; background: none; color: var(--accent); cursor: pointer; font-size: 10px; font-weight: 700; padding: 5px; }
.capability-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.capability-card {
  border: 1px solid #c7cee2;
  border-radius: 6px;
  background: rgba(255, 253, 248, .8);
  padding: 11px;
  min-width: 0;
}
.capability-card:hover { border-color: var(--accent); }
.capability-card:has(.capability-choice > input:checked) { border-color: rgba(23, 71, 209, .55); background: var(--paper-strong); }
.capability-card:has(.capability-detail[open]) { grid-column: 1 / -1; }
.capability-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.capability-choice { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; cursor: pointer; }
.capability-choice > input { width: 14px; height: 14px; margin: 1px 0 0; accent-color: var(--accent); }
.capability-card strong { display: block; font-size: 11px; overflow-wrap: anywhere; }
.capability-card p { color: var(--muted); font-size: 10px; line-height: 1.4; margin: 3px 0 0; }
.observed-label { display: block; margin-top: 3px; color: var(--ink-soft); font: 9px/1.4 ui-monospace, monospace; overflow-wrap: anywhere; }
.capability-detail { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; }
.capability-detail > summary { color: var(--accent); cursor: pointer; font-size: 10px; font-weight: 750; list-style-position: inside; }
.capability-detail-body { display: grid; gap: 10px; padding-top: 10px; }
.trust-note { border-left: 2px solid var(--amber); padding: 7px 9px; background: var(--paper); }
.evidence-list { display: grid; gap: 4px; margin: -4px 0 0; padding-left: 18px; color: var(--ink-soft); font: 9px/1.45 ui-monospace, monospace; overflow-wrap: anywhere; }
.metadata-review { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(260px, 1.35fr); gap: 8px; }
.review-field { display: grid; gap: 5px; color: var(--ink-soft); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.review-field input, .review-field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 5px; background: #fffdfa; color: var(--ink); padding: 8px; font: 10px/1.4 ui-monospace, monospace; text-transform: none; letter-spacing: normal; resize: vertical; }
.review-field input:focus, .review-field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.contract-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.review-code { min-width: 0; border: 1px solid var(--line); border-radius: 5px; padding: 8px; background: var(--paper); }
.review-code pre { max-height: 190px; overflow: auto; margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-soft); font: 9px/1.45 ui-monospace, monospace; }
.kind-chip, .risk-badge {
  align-self: start;
  border-bottom: 1px solid currentColor;
  padding: 2px 0;
  color: var(--muted);
  font: 700 9px/1.2 ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.kind-chip.write, .risk-badge.write { color: var(--amber); }
.kind-chip.consequential, .risk-badge.consequential { color: var(--red); }
.kind-chip.read, .risk-badge.read { color: var(--blue); }

.action-dock {
  margin-top: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 13px;
  box-shadow: 0 10px 28px rgba(38, 43, 40, .06);
}
.action-dock-heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.action-dock-heading span { font-size: 10px; font-weight: 780; text-transform: uppercase; letter-spacing: .08em; }
.action-dock-heading small { color: var(--muted); font-size: 10px; text-align: right; }
.build-actions { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; }

.download-card {
  margin-top: 10px;
  border: 1px solid rgba(34, 115, 84, .45);
  border-radius: 7px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  background: #eef7ef;
}
.download-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 5px; background: var(--green); color: white; font-weight: 800; }
.download-card > span:nth-child(2) { display: grid; }
.download-card strong { font-size: 10px; overflow-wrap: anywhere; }
.download-card small { color: var(--muted); font-size: 8px; }
.download-card > span:last-child { color: var(--green); font-size: 9px; font-weight: 700; }

.tools-column .section-heading h2 { font-size: 30px; }
.tools-column .section-heading > p { font-size: 11px; }
.registry-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--ink);
  color: var(--paper-strong);
  padding: 16px 12px;
  margin-bottom: 15px;
  border-radius: 7px;
  box-shadow: inset 0 -3px 0 #080d0c;
}
.registry-summary div { display: grid; text-align: center; }
.registry-summary strong { font: 600 26px/1 Georgia, serif; letter-spacing: -.05em; }
.registry-summary small { color: #aeb7b3; font-size: 9px; margin-top: 5px; text-transform: uppercase; letter-spacing: .1em; }
.registry-summary > span { color: var(--signal); }
.tool-list {
  display: grid;
  max-height: 400px;
  overflow: auto;
  border-top: 1px solid var(--line-strong);
  scrollbar-width: thin;
}
.tool-card {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 11px 4px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  position: relative;
}
.tool-card:hover, .tool-card.selected { background: var(--paper-strong); padding-inline: 9px; }
.tool-card.generated::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--accent); }
.tool-card strong { font: 650 10px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.tool-card p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.42; }
.tool-origin { color: var(--faint); font: 700 9px/1.2 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }

.tool-lab {
  margin-top: 20px;
  border-top: 2px solid var(--ink);
  padding-top: 15px;
}
.tool-lab .subheading { align-items: start; margin-bottom: 8px; }
.tool-lab > p { color: var(--muted); font-size: 10px; line-height: 1.45; margin: 0 0 12px; }
.tool-lab .secondary-button { margin-top: 8px; }
.lab-output {
  margin: 8px 0 0;
  border: 1px solid #29322f;
  border-radius: 5px;
  background: #111816;
  color: #d4dcd8;
  padding: 10px;
  min-height: 78px;
  max-height: 170px;
  overflow: auto;
  white-space: pre-wrap;
  font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.architecture-note { margin-top: 20px; border-top: 1px solid var(--line-strong); padding-top: 14px; color: var(--muted); }
.architecture-note summary { cursor: pointer; color: var(--ink); font-size: 9px; font-weight: 750; }
.architecture-note p { font-size: 8.5px; line-height: 1.55; }

body.busy { cursor: progress; }
body.busy button { pointer-events: none; }
body.busy .primary-button::after, body.busy .secondary-button::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .landing-hero { grid-template-columns: 1fr; }
  .landing-hero-copy { max-width: 830px; }
  .landing-hero h1 { max-width: 900px; font-size: clamp(68px, 9.2vw, 98px); }
  .compatibility-figure { width: min(100%, 800px); }
  .landing-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-principles > div:nth-child(3) { border-left: 0; }
  .landing-principles > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .landing-principles > div:nth-child(3) { padding-left: 0; }
}

@media (max-width: 1220px) {
  .workspace { grid-template-columns: minmax(300px, .72fr) minmax(560px, 1.28fr); }
  .tools-column {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
    display: grid;
    grid-template-columns: minmax(240px, .65fr) minmax(380px, 1.35fr);
    gap: 24px;
  }
  .tools-column .section-heading, .tools-column .registry-summary, .tools-column .architecture-note { grid-column: 1; }
  .tools-column .tool-list, .tools-column .tool-lab { grid-column: 2; }
  .tools-column .tool-list { grid-row: 1 / span 3; max-height: 285px; }
}

@media (max-width: 900px) {
  .landing-nav { min-height: 68px; padding-inline: 18px; }
  .landing-nav nav > a:not(.landing-nav-action) { display: none; }
  .landing-hero { min-height: 0; padding: 70px 24px 76px; gap: 52px; }
  .landing-hero::after { left: 24px; right: 24px; }
  .landing-hero h1 { font-size: clamp(55px, 14vw, 82px); }
  .landing-lede { font-size: 16px; }
  .landing-section { padding: 76px 24px; }
  .landing-steps { margin-top: 44px; grid-template-columns: 1fr; }
  .landing-steps li { padding: 22px 0; }
  .landing-steps li + li { padding-left: 0; border-left: 0; }
  .destination-grid { grid-template-columns: 1fr; }
  .landing-boundary { padding: 66px 24px; grid-template-columns: auto 1fr; }
  .landing-boundary > p { grid-column: 2; padding: 22px 0 0; border-top: 1px solid var(--line-strong); border-left: 0; }
  .landing-final-cta { padding: 92px 24px; }
  .landing-footer { padding-inline: 24px; grid-template-columns: 1fr auto; }
  .landing-footer p { display: none; }
  .topbar { grid-template-columns: 1fr auto; padding: 9px 14px; }
  .topbar-thesis { display: none; }
  .workspace { display: flex; flex-direction: column; border-inline: 0; }
  .target-column, .build-column, .tools-column { width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); padding: 28px 18px 36px; }
  .build-column { order: 2; }
  .target-column { order: 1; }
  .tools-column { order: 3; display: block; }
  .section-heading h1 { font-size: clamp(39px, 12vw, 58px); }
  .pipeline-step { justify-content: center; padding-right: 0; }
  .pipeline-step::after { right: 2px; }
  .pipeline-step div { display: none; }
  .client-guide summary { align-items: start; }
  .client-guide summary > span:last-child { text-align: left; }
  .client-guide-body { grid-template-columns: 1fr; }
  .client-guide-body section + section { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .capability-list { grid-template-columns: 1fr; }
  .metadata-review, .contract-review-grid { grid-template-columns: 1fr; }
  .build-actions { grid-template-columns: 1fr; }
  .action-dock-heading { display: grid; }
  .action-dock-heading small { text-align: left; }
  .target-stage iframe, .visual-view, .snapshot-preview, .stage-placeholder { height: 460px; min-height: 460px; }
  .tools-column .tool-list { max-height: 360px; }
}

@media (max-width: 520px) {
  .landing-nav .brand small { display: none; }
  .landing-nav .landing-nav-action { min-height: 36px; padding-inline: 11px; font-size: 10px; }
  .landing-hero { padding-inline: 17px; }
  .landing-hero::after { left: 17px; right: 17px; }
  .landing-hero h1 { margin-top: 17px; font-size: clamp(49px, 15.5vw, 67px); }
  .landing-actions { display: grid; }
  .landing-button { width: 100%; }
  .compatibility-figure { padding: 20px; grid-template-columns: 1fr; }
  .recipe-transfer { display: flex; justify-content: center; gap: 10px; }
  .recipe-transfer i { transform: rotate(90deg); }
  .landing-principles { padding-inline: 17px; grid-template-columns: 1fr; }
  .landing-principles > div { padding: 24px 0; }
  .landing-principles > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .landing-section { padding: 67px 17px; }
  .landing-section-heading h2, .landing-final-cta h2 { font-size: 42px; }
  .destination-grid article { padding: 24px 20px; grid-template-columns: 1fr; }
  .destination-grid h3 { font-size: 30px; }
  .landing-boundary { padding: 58px 17px; grid-template-columns: 1fr; }
  .boundary-mark { width: 48px; height: 48px; }
  .landing-boundary > p { grid-column: 1; }
  .landing-final-cta { padding: 78px 17px; }
  .landing-footer { padding-inline: 17px; }
  .brand small, .storage-status, .tool-count { display: none; }
  #share-button { display: none; }
  .status-pill { max-width: 128px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .target-column, .build-column, .tools-column { padding-inline: 14px; }
  .client-guide summary { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; }
  .client-guide summary > span:last-child { grid-column: 1; }
  .client-guide summary::after { grid-column: 2; grid-row: 1 / span 2; }
  .url-entry { grid-template-columns: 1fr; }
  .sample-button { min-height: 39px; }
  .trace-header { align-items: center; }
  .trace-header > span { max-width: 130px; }
  .trace { padding-inline: 12px; }
  .trace-entry { grid-template-columns: 29px minmax(0, 1fr); }
  .trace-entry time { grid-column: 2; padding-top: 0; }
  .download-card { grid-template-columns: auto 1fr; }
  .download-card > span:last-child { grid-column: 2; }
}

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