:root {
  --bg: #f5f6f7;
  --card: #ffffff;
  --surface-subtle: #fafafb;
  --surface-muted: #f0f2f4;
  --text: #161616;
  --muted: #62676d;
  --line: #e2e4e7;
  --line-strong: #cfd3d8;
  --blue: #006dff;
  --blue-dark: #001e68;
  --shadow: 0 3px 12px rgba(20, 28, 38, 0.045);
  --shadow-strong: 0 14px 34px rgba(20, 28, 38, 0.09);
  --radius: 14px;
  --radius-sm: 9px;
  --page: 1180px;
  --header-height: 88px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header-inner,
footer {
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(245, 246, 247, .94);
  box-shadow: 0 1px 0 var(--line), 0 8px 20px rgba(20, 28, 38, .035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { display: block; }
.header-link,
.text-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}
.header-link { padding: 10px 0; }
.header-link span,
.text-link span { color: var(--blue); }
.header-link:hover,
.text-link:hover { color: var(--blue); }

.section {
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
  padding: 132px 0;
  border-bottom: 1px solid var(--line);
}
.hero {
  min-height: calc(100svh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 112px);
  padding-top: 88px;
  padding-bottom: 112px;
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  letter-spacing: -0.055em;
  line-height: 0.98;
}
h1 {
  margin-bottom: 30px;
  font-size: clamp(64px, 8.4vw, 116px);
  font-weight: 760;
}
h1 span { color: var(--blue); }
.hero-lede {
  max-width: 580px;
  margin-bottom: 18px;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 610;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.hero-body,
.section-heading > p:not(.eyebrow),
.section-body > p,
.context-flow > p {
  max-width: 610px;
  color: var(--muted);
}
.hero-body { max-width: 600px; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }

.focus-visual { min-width: 0; }
.task-cloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 36px;
}
.task-cloud span {
  min-width: 0;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  color: #7d8288;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.task-cloud span:nth-child(odd) { transform: translateX(-10px); }
.task-cloud span:nth-child(even) { transform: translateX(10px); }
.task-cloud span:nth-child(1), .task-cloud span:nth-child(6) { opacity: 0.42; }
.task-cloud span:nth-child(2), .task-cloud span:nth-child(5) { opacity: 0.65; }
.focus-path { height: 68px; display: grid; place-items: center; }
.focus-path::before,
.focus-path::after {
  content: "";
  display: block;
  position: absolute;
}
.focus-path::before { width: 1px; height: 46px; background: linear-gradient(var(--line-strong), var(--blue)); }
.focus-path::after { width: 7px; height: 7px; margin-top: 44px; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); transform: rotate(45deg); }

.next-card {
  padding: 24px;
  border: 1px solid rgba(0, 109, 255, 0.28);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-strong);
}
.card-kicker {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.card-kicker span:first-child { color: var(--blue); }
.next-card h2,
.next-card h3 {
  margin-bottom: 10px;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.task-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 12px; }
.task-meta > span:not(.pill)::before { content: "·"; margin-right: 7px; color: #a7abb0; }
.pill { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); }
.why {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 5px;
  margin: 22px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.why strong { color: var(--text); }
.card-actions { display: flex; gap: 8px; padding-top: 2px; }
.card-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  font-size: 12px;
  font-weight: 680;
}
.card-button-primary { border-color: var(--blue); background: var(--blue); color: #fff; }

.section:not(.hero) { display: grid; grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr); gap: clamp(60px, 10vw, 150px); }
.section-heading { align-self: start; }
.section-heading h2 {
  margin-bottom: 28px;
  font-size: clamp(45px, 5.6vw, 72px);
  font-weight: 740;
}
.section-heading > p:not(.eyebrow) { margin-bottom: 14px; }
.section-body > p { margin-bottom: 22px; }
.section-lede { font-size: 21px; line-height: 1.4; }
.backlog {
  margin: 34px 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.backlog li { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.backlog li:last-child { border: 0; color: var(--muted); }
.parallel-lines { margin: 32px 0; padding-left: 20px; border-left: 3px solid var(--blue); }
.parallel-lines p { margin: 0; font-size: 18px; font-weight: 650; }
.parallel-lines p + p { color: var(--blue); }
.emphasis { color: var(--text) !important; font-size: 18px; font-weight: 720; }

.solution { background: var(--surface-subtle); box-shadow: 50vw 0 var(--surface-subtle), -50vw 0 var(--surface-subtle); }
.next-card-large { margin: 36px 0; padding: clamp(22px, 4vw, 34px); }
.solution-copy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.solution-copy p { margin: 0; color: var(--muted); font-size: 13px; }

.how { display: block !important; }
.how .section-heading { display: grid; grid-template-columns: 0.8fr 1fr; column-gap: 80px; }
.how .section-heading .eyebrow { grid-column: 1 / -1; }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.signal-grid article { min-height: 235px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.28); }
.signal-grid article > span { color: var(--blue); font-size: 11px; font-weight: 760; }
.signal-grid h3 { margin: 48px 0 10px; font-size: 16px; line-height: 1.25; }
.signal-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.plain-spoken,
.view-conclusion,
.reflection-note { display: flex; justify-content: space-between; gap: 30px; margin-top: 34px; padding: 22px 0; border-top: 1px solid var(--line-strong); }
.plain-spoken span,
.view-conclusion span,
.reflection-note span { color: var(--muted); }
.plain-spoken strong,
.view-conclusion strong,
.reflection-note strong { color: var(--blue); }

.context-list { margin: 44px 0; padding: 0; list-style: none; counter-reset: context; }
.context-list li { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 26px; padding: 0 0 34px 34px; counter-increment: context; }
.context-list li::before { content: ""; position: absolute; left: 5px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(0,109,255,.1); }
.context-list li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 20px; bottom: 8px; width: 1px; background: var(--line-strong); }
.context-list span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.context-list strong { font-size: 17px; line-height: 1.4; }

.quick-add { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 34px 0 22px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; }
.quick-placeholder { margin-right: 2px; }
.token { color: var(--blue); font-weight: 680; }
.quick-plus { margin-left: auto; color: var(--muted); font-size: 24px; line-height: 1; }
.syntax-list { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 32px; }
.syntax-list div { padding: 14px; border: 1px solid var(--line); border-right: 0; }
.syntax-list div:first-child { border-radius: 9px 0 0 9px; }
.syntax-list div:last-child { border-right: 1px solid var(--line); border-radius: 0 9px 9px 0; }
.syntax-list dt { font-size: 13px; font-weight: 720; }
.syntax-list dd { margin: 3px 0 0; color: var(--muted); font-size: 10px; }

.view-stack article { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.view-stack article span { font-weight: 700; }
.view-stack article p { margin: 0; color: var(--muted); }
.question-list > p { position: relative; margin: 0; padding: 20px 42px 20px 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 620; }
.question-list > p::after { content: "?"; position: absolute; right: 2px; color: var(--blue); font-size: 22px; }

.closing {
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
  padding: 160px 0;
  text-align: center;
}
.closing h2 { margin-bottom: 34px; font-size: clamp(54px, 8vw, 102px); font-weight: 750; }
.closing > p:not(.eyebrow):not(.closing-answer) { margin-bottom: 6px; color: var(--muted); }
.closing-answer { margin: 56px 0 28px; font-size: clamp(24px, 3vw, 36px); font-weight: 720; letter-spacing: -.03em; }

footer { min-height: 132px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
.footer-brand { font-size: 15px; }
.footer-links { justify-self: end; display: flex; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover,
.footer-links a[aria-current="page"] { color: var(--blue); }
.footer-links span { padding: 0 7px; color: var(--line-strong); }

/* Long-form public documents */
.legal-main {
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
  padding: 86px 0 140px;
}
.legal-hero {
  width: min(100%, 760px);
  margin-left: clamp(0px, 22vw, 260px);
  padding-bottom: 62px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(54px, 7vw, 84px);
}
.legal-updated {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.legal-intro {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: 19px;
  line-height: 1.65;
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
  padding-top: 62px;
}
.legal-content { min-width: 0; counter-reset: legal-section; }
.legal-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: 62px 0 10px;
  border-top: 1px solid var(--line);
}
.legal-section:first-child { padding-top: 0; border-top: 0; }
.legal-section h2 {
  margin-bottom: 28px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.legal-section h3 {
  margin: 38px 0 12px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.legal-section p,
.legal-section li {
  color: #42474d;
  line-height: 1.75;
}
.legal-section p { margin-bottom: 18px; }
.legal-section ul {
  margin: 20px 0 26px;
  padding-left: 24px;
}
.legal-section li { margin-bottom: 8px; padding-left: 4px; }
.legal-section strong { color: var(--text); }
.legal-placeholder {
  display: table;
  margin: 7px 0;
  padding: 4px 8px;
  border: 1px dashed rgba(0, 109, 255, 0.42);
  border-radius: 6px;
  background: rgba(0, 109, 255, 0.055);
  color: var(--blue);
  font-size: 13px;
  font-weight: 720;
}
.legal-commitment {
  margin-top: 30px;
  padding: 22px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 18px;
}

/* Product documentation */
.docs-main {
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
  padding: 86px 0 140px;
}
.docs-hero {
  width: min(100%, 760px);
  margin-left: clamp(0px, 22vw, 260px);
  padding-bottom: 72px;
}
.docs-hero h1 {
  margin-bottom: 32px;
  font-size: clamp(58px, 8vw, 94px);
}
.docs-hero > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 18px;
  color: #42474d;
  font-size: 18px;
  line-height: 1.7;
}
.docs-hero .docs-principle {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 21px;
}
.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}
.section-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  max-height: calc(100svh - var(--header-height) - 48px);
  overflow-y: auto;
  padding-right: 14px;
  scrollbar-width: thin;
}
.section-sidebar nav { display: grid; gap: 2px; }
.section-sidebar p {
  margin: 0 0 14px 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-sidebar a,
.section-mobile-nav a {
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
}
.section-sidebar a { padding: 8px 12px; }
.section-sidebar a:hover,
.section-sidebar a.is-active,
.section-sidebar a[aria-current="location"],
.section-mobile-nav a:hover,
.section-mobile-nav a.is-active,
.section-mobile-nav a[aria-current="location"] {
  background: rgba(0, 109, 255, .065);
  color: var(--blue);
}
.docs-content { min-width: 0; }
.docs-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: 70px 0 24px;
  border-top: 1px solid var(--line);
}
.docs-section:first-child { padding-top: 0; border-top: 0; }
.docs-section h2 {
  margin-bottom: 30px;
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.docs-section h3 {
  margin: 46px 0 16px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.docs-section h4 {
  margin: 34px 0 12px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.docs-section p,
.docs-section li {
  color: #42474d;
  line-height: 1.75;
}
.docs-section p { margin-bottom: 18px; }
.docs-section ul,
.docs-section ol { margin: 20px 0 28px; padding-left: 25px; }
.docs-section li { margin-bottom: 8px; padding-left: 4px; }
.docs-section strong { color: var(--text); }
.docs-section a { color: var(--blue); text-underline-offset: 3px; }
.docs-section :not(pre) > code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-muted);
  color: var(--blue-dark);
  font-size: .88em;
}
.docs-section pre {
  margin: 24px 0 28px;
  overflow-x: auto;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--blue-dark);
  font: 600 14px/1.65 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.docs-section pre code { font: inherit; white-space: pre; }
.docs-callout {
  margin: 26px 0 !important;
  padding: 17px 20px;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--card);
  box-shadow: var(--shadow);
}
.docs-workflow { margin-top: 34px; }
.docs-workflow > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.docs-workflow h3 { margin-top: 0; color: var(--blue); }
.docs-workflow p:last-child { margin-bottom: 0; }
.docs-workflow > span {
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 20px;
}
.section-mobile-nav { display: none; }

/* Pricing */
.pricing-main {
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
}
.pricing-hero {
  min-height: calc(100svh - 88px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(54px, 9vw, 126px);
  padding: 90px 0 116px;
  border-bottom: 1px solid var(--line);
}
.pricing-intro h1 {
  margin-bottom: 30px;
  font-size: clamp(62px, 8vw, 104px);
}
.pricing-intro > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 18px;
  color: var(--muted);
}
.pricing-lede { color: var(--text) !important; font-size: 21px; font-weight: 650; }
.pricing-card {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(0, 109, 255, .3);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-strong);
}
.pricing-plan {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pricing-card h2 { margin-bottom: 22px; font-size: 20px; letter-spacing: -.02em; }
.pricing-card h2 span { font-size: clamp(58px, 7vw, 82px); letter-spacing: -.06em; }
.pricing-card > p { color: var(--muted); }
.pricing-card .pricing-trial { color: var(--text); font-size: 18px; }
.pricing-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
  margin: 22px 0 30px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.pricing-card li { position: relative; padding-left: 18px; color: #42474d; font-size: 13px; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 760; }
.pricing-button { width: 100%; }
.pricing-note { margin: 14px 0 0; text-align: center; font-size: 12px; }
.pricing-content { width: min(100%, 760px); margin: 0 auto; }
.pricing-section {
  padding: 72px 0 30px;
  border-bottom: 1px solid var(--line);
}
.pricing-section:last-child { border-bottom: 0; }
.pricing-section h2 {
  margin-bottom: 28px;
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.pricing-section p { margin-bottom: 18px; color: #42474d; line-height: 1.75; }
.pricing-section strong { color: var(--text); }
.pricing-callout {
  margin: 28px 0 !important;
  padding: 19px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 18px;
}
.pricing-closing {
  width: min(100%, 860px);
  margin: 80px auto 0;
  padding: 100px 0 130px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.pricing-closing h2 { margin-bottom: 34px; font-size: clamp(48px, 7vw, 76px); }
.pricing-closing > p:not(.eyebrow) { max-width: 680px; margin: 0 auto 12px; color: var(--muted); }
.pricing-closing-actions { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 34px; }
.pricing-existing { color: var(--muted); font-size: 14px; }
.pricing-existing a { margin-left: 4px; }
.pricing-teaser { background: var(--surface-subtle); box-shadow: 50vw 0 var(--surface-subtle), -50vw 0 var(--surface-subtle); }
.pricing-teaser .section-heading h2 { max-width: 540px; font-size: clamp(42px, 5.4vw, 68px); }
.pricing-teaser .section-body { align-self: center; }
.pricing-teaser .text-link { display: inline-block; margin-top: 12px; }

/* Not found */
.not-found-page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.not-found-main {
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 96px 0 112px;
}
.not-found-content {
  width: min(100%, 620px);
  text-align: center;
}
.not-found-content h1 {
  margin-bottom: 24px;
  color: var(--blue);
  font-size: clamp(96px, 18vw, 180px);
  line-height: .82;
}
.not-found-lede {
  margin-bottom: 10px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.not-found-copy { margin-bottom: 0; color: var(--muted); }
.not-found-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 680px; }
  .focus-visual { width: min(100%, 660px); margin: 0 auto; }
  .section:not(.hero) { grid-template-columns: 1fr; gap: 50px; }
  .section-heading { max-width: 720px; }
  .how .section-heading { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-copy { grid-template-columns: 1fr; }
  .docs-hero { margin-left: 0; }
  .legal-hero { margin-left: 0; }
  .docs-layout, .legal-layout { display: block; }
  .legal-layout { padding-top: 0; }
  .section-sidebar { display: none; }
  .section-mobile-nav {
    position: sticky;
    z-index: 50;
    top: calc(var(--header-height) + 10px);
    display: block;
    margin: 0 0 54px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow);
  }
  .section-mobile-nav summary {
    padding: 13px 16px;
    cursor: pointer;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
  }
  .section-mobile-nav nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    padding: 4px 8px 10px;
    border-top: 1px solid var(--line);
  }
  .section-mobile-nav a { padding: 9px 8px; }
  .pricing-hero { grid-template-columns: 1fr; min-height: auto; }
  .pricing-card { width: min(100%, 660px); margin: 0 auto; }
}

@media (max-width: 620px) {
  :root { --header-height: 70px; }
  .site-header-inner, footer, .section, .closing, .legal-main, .not-found-main, .docs-main, .pricing-main { width: min(calc(100% - 28px), var(--page)); }
  .section { padding: 88px 0; }
  .hero { padding-top: 62px; padding-bottom: 88px; gap: 64px; }
  h1 { font-size: clamp(58px, 22vw, 82px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .task-cloud { grid-template-columns: 1fr; padding: 0 15px; }
  .task-cloud span:nth-child(n) { transform: none; }
  .task-cloud span:nth-child(1), .task-cloud span:nth-child(5), .task-cloud span:nth-child(6) { display: none; }
  .next-card { padding: 19px; }
  .next-card h2, .next-card h3 { font-size: 22px; }
  .card-actions { flex-wrap: wrap; }
  .section-heading h2 { font-size: clamp(42px, 14vw, 62px); }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid article { min-height: 190px; }
  .signal-grid h3 { margin-top: 34px; }
  .plain-spoken, .view-conclusion, .reflection-note { flex-direction: column; gap: 8px; }
  .context-list li { grid-template-columns: 1fr; gap: 5px; }
  .syntax-list { grid-template-columns: 1fr; }
  .syntax-list div { border-right: 1px solid var(--line); border-bottom: 0; }
  .syntax-list div:first-child { border-radius: 9px 9px 0 0; }
  .syntax-list div:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 9px 9px; }
  .view-stack article { grid-template-columns: 1fr; gap: 5px; }
  .closing { padding: 110px 0; }
  .legal-main { padding: 64px 0 90px; }
  .legal-hero { padding-bottom: 44px; }
  .legal-hero h1 { font-size: clamp(48px, 16vw, 68px); }
  .legal-intro { font-size: 17px; }
  .legal-section { padding-top: 46px; }
  .not-found-main { padding: 72px 0 82px; }
  .not-found-actions { flex-direction: column; gap: 18px; }
  .docs-main { padding: 64px 0 94px; }
  .docs-hero { padding-bottom: 48px; }
  .docs-hero h1 { font-size: clamp(52px, 17vw, 72px); }
  .docs-hero > p:not(.eyebrow) { font-size: 17px; }
  .section-mobile-nav { margin-bottom: 34px; }
  .section-mobile-nav nav { grid-template-columns: 1fr; max-height: 56svh; overflow-y: auto; }
  .docs-section { padding-top: 54px; }
  .docs-section h2 { font-size: clamp(32px, 11vw, 42px); }
  .docs-section pre { padding: 15px; font-size: 12px; }
  .pricing-hero { padding: 64px 0 86px; gap: 48px; }
  .pricing-intro h1 { font-size: clamp(56px, 18vw, 76px); }
  .pricing-card ul { grid-template-columns: 1fr; }
  .pricing-section { padding-top: 54px; }
  .pricing-closing { margin-top: 52px; padding: 82px 0 98px; }
  .pricing-closing-actions { flex-direction: column; gap: 18px; }
  footer { grid-template-columns: 1fr; padding: 34px 0; gap: 12px; }
  .footer-links { justify-self: start; }
}

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