:root {
  color-scheme: dark;
  --bg: #100f0d;
  --bg-soft: #151310;
  --panel: #1b1814;
  --panel-raised: #211d18;
  --panel-light: #29231d;
  --line: #342c24;
  --line-bright: #514234;
  --text: #f4eee7;
  --text-soft: #c6baae;
  --muted: #91857a;
  --copper: #dd8c51;
  --copper-bright: #f0ad74;
  --copper-dark: #9b542c;
  --green: #7faa82;
  --shadow: 0 24px 80px rgb(0 0 0 / 0.38);
  --radius-lg: 26px;
  --radius-md: 17px;
  --radius-sm: 11px;
  --page: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 8%, rgb(160 84 38 / 0.09), transparent 27rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  z-index: 999;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

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

.page-width {
  width: var(--page);
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgb(16 15 13 / 0.76);
  backdrop-filter: blur(18px);
  transition: border-color 200ms ease, background-color 200ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgb(16 15 13 / 0.93);
}

.header-inner {
  width: var(--page);
  height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 730;
  letter-spacing: -0.02em;
}

.brand-product {
  margin-left: -3px;
  color: var(--copper-bright);
  font-weight: 580;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 560;
}

.site-nav a {
  position: relative;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a:not(.nav-github)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 150ms ease;
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-github {
  padding: 8px 14px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
}

.nav-github:hover {
  border-color: var(--copper);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 4px 0;
  background: var(--text);
}

.hero {
  position: relative;
  padding-top: 100px;
  padding-bottom: 76px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  top: -240px;
  border: 1px solid rgb(221 140 81 / 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 92px rgb(221 140 81 / 0.025), 0 0 0 184px rgb(221 140 81 / 0.018);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  align-self: start;
  padding-top: 35px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--copper-bright);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgb(127 170 130 / 0.12);
}

.hero h1 {
  max-width: 670px;
  margin: 24px 0 22px;
  font-size: clamp(48px, 4.7vw, 66px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--copper-bright);
}

.hero-lede {
  max-width: 650px;
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 690;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--copper);
  color: #160e08;
  box-shadow: 0 12px 30px rgb(155 84 44 / 0.22);
}

.button-primary:hover {
  background: var(--copper-bright);
}

.button-primary svg {
  width: 19px;
  fill: currentColor;
}

.button-secondary {
  border-color: var(--line-bright);
  background: rgb(33 29 24 / 0.65);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--copper);
  background: var(--panel-light);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-facts strong {
  font-size: 13px;
}

.hero-facts span {
  color: var(--muted);
  font-size: 11px;
}

.hero-visual {
  min-width: 0;
}

.window-frame {
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  background: #12100e;
  box-shadow: var(--shadow), 0 0 0 8px rgb(255 255 255 / 0.018);
  transform: perspective(1200px) rotateY(-2.5deg) rotateX(1deg);
  transform-origin: center;
}

.window-bar {
  height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-bright);
}

.window-dots i:first-child {
  background: #9e5738;
}

.window-dots i:nth-child(2) {
  background: #a6844c;
}

.window-dots i:nth-child(3) {
  background: #617c61;
}

.window-state {
  justify-self: end;
  color: var(--green);
}

.window-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.demo-caption {
  margin: 16px 8px 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.local-notice {
  border-block: 1px solid var(--line);
  background: #14120f;
}

.notice-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.notice-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgb(221 140 81 / 0.3);
  border-radius: 13px;
  background: rgb(221 140 81 / 0.07);
}

.notice-icon svg {
  width: 24px;
  fill: none;
  stroke: var(--copper-bright);
  stroke-width: 1.5;
}

.notice-inner strong {
  display: block;
  margin-bottom: 3px;
}

.notice-inner p {
  margin: 0;
  color: var(--text-soft);
}

.narrow-grid,
.limitations-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 96px;
  align-items: start;
}

.section-heading h2 {
  max-width: 760px;
  margin: 13px 0 16px;
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 660px;
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
}

.section-heading.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.problem-copy {
  padding-top: 33px;
}

.problem-copy p {
  margin: 0 0 25px;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.75;
}

.feature-section,
.workflow-section,
.privacy-section,
.limitations-section,
.final-cta {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 55px;
}

.feature-card {
  min-height: 235px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgb(33 29 24 / 0.9), rgb(24 21 18 / 0.9));
  transition: border-color 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: var(--line-bright);
  transform: translateY(-3px);
}

.feature-number {
  color: var(--copper);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.feature-card h3 {
  margin: 39px 0 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.tour-section {
  overflow: hidden;
}

.tour-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.tour-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tour-tabs button {
  position: relative;
  width: 100%;
  padding: 18px 18px 18px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--text-soft);
  text-align: left;
  cursor: pointer;
}

.tour-tabs button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 2px;
  background: transparent;
}

.tour-tabs button[aria-selected="true"] {
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
}

.tour-tabs button[aria-selected="true"]::before {
  background: var(--copper);
}

.tour-tabs strong,
.tour-tabs span {
  display: block;
}

.tour-tabs strong {
  font-size: 14px;
}

.tour-tabs span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.tour-stage {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tour-stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: #0f0e0d;
}

.tour-stage img.changing {
  opacity: 0.25;
}

.tour-stage figcaption {
  min-height: 51px;
  display: flex;
  align-items: center;
  padding: 8px 9px 0;
  color: var(--text-soft);
  font-size: 12px;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 55px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  position: relative;
  padding-right: 32px;
}

.workflow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 44px;
  right: 10px;
  height: 1px;
  background: linear-gradient(90deg, var(--copper-dark), var(--line));
}

.workflow-list > li > span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--copper-dark);
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--copper-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.workflow-list h3 {
  margin: 26px 0 9px;
  font-size: 17px;
}

.workflow-list p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.quick-start-section {
  background:
    linear-gradient(90deg, transparent 0 48%, rgb(221 140 81 / 0.025) 48% 100%),
    var(--bg);
}

.quick-start-grid,
.integration-grid,
.architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  gap: 80px;
  align-items: center;
}

.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.requirements span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 11px;
}

.code-card {
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-md);
  background: #141210;
  box-shadow: var(--shadow);
}

.code-card-header {
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.code-card-header button {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--text-soft);
  cursor: pointer;
}

.code-card-header button:hover {
  border-color: var(--copper);
  color: var(--text);
}

.code-card pre {
  overflow-x: auto;
  margin: 0;
  padding: 25px 26px;
  color: #e7ddd3;
  font-size: 12px;
  line-height: 1.8;
}

.code-comment {
  color: #756c64;
}

.code-note {
  margin: 0;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.code-note code {
  color: var(--text-soft);
}

.setup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 70px;
}

.setup-steps article {
  padding: 24px;
  border-top: 1px solid var(--line-bright);
}

.setup-steps span {
  color: var(--copper);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.setup-steps h3 {
  margin: 18px 0 8px;
  font-size: 16px;
}

.setup-steps p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.docs-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-top: 35px;
  overflow: hidden;
}

.docs-links a {
  position: relative;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 48px 20px 22px;
  background: var(--panel);
  transition: background-color 150ms ease;
}

.docs-links a:not(:last-child) {
  border-right: 1px solid var(--line);
}

.docs-links a:hover {
  background: var(--panel-raised);
}

.docs-links span {
  font-weight: 650;
}

.docs-links small {
  margin-top: 3px;
  color: var(--muted);
}

.docs-links b {
  position: absolute;
  right: 20px;
  color: var(--copper);
  font-size: 20px;
}

.integration-section {
  border-block: 1px solid var(--line);
  background: #13110f;
}

.tool-panel {
  padding: 26px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--panel-raised), #171411);
}

.tool-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 12px;
}

.tool-panel-title strong {
  margin-left: auto;
  color: var(--copper-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.tool-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 22px 0;
}

.tool-list code,
.tool-list span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgb(16 15 13 / 0.55);
  color: var(--text-soft);
  font-size: 10px;
}

.tool-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.privacy-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  padding: 64px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 10% 10%, rgb(221 140 81 / 0.08), transparent 22rem),
    var(--panel);
}

.privacy-copy h2 {
  margin: 13px 0 20px;
  font-size: clamp(34px, 4vw, 53px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.privacy-copy p {
  color: var(--text-soft);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--copper-bright);
  font-size: 13px;
  font-weight: 650;
}

.privacy-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-list li > span {
  width: 25px;
  height: 25px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgb(127 170 130 / 0.35);
  border-radius: 50%;
  background: rgb(127 170 130 / 0.08);
  color: var(--green);
  font-size: 11px;
}

.privacy-list strong {
  font-size: 14px;
}

.privacy-list p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.architecture-grid {
  align-items: center;
}

.architecture-copy > p {
  color: var(--text-soft);
}

.architecture-copy h2 {
  margin: 13px 0 20px;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.architecture-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 28px 0 3px;
}

.architecture-stack span,
.architecture-stack strong {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  font-size: 10px;
}

.architecture-stack strong {
  border-color: var(--copper-dark);
  color: var(--copper-bright);
}

.architecture-stack i {
  color: var(--muted);
  font-style: normal;
}

.architecture-visual {
  margin: 0;
  padding: 9px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.architecture-visual img {
  width: 100%;
  border-radius: 10px;
}

.architecture-visual figcaption {
  padding: 11px 7px 3px;
  color: var(--muted);
  font-size: 11px;
}

.limitations-list {
  border-top: 1px solid var(--line-bright);
}

.limitations-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.limitations-list article > span {
  color: var(--copper);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.limitations-list h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.limitations-list p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.faq-list {
  border-top: 1px solid var(--line-bright);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 45px 23px 0;
  font-weight: 640;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  color: var(--copper);
  font-size: 23px;
  font-weight: 350;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 670px;
  margin: -3px 45px 24px 0;
  color: var(--text-soft);
}

.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 76px 40px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% -30%, rgb(221 140 81 / 0.22), transparent 34rem),
    var(--panel);
  text-align: center;
}

.cta-card h2 {
  max-width: 780px;
  margin: 15px 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.cta-card > p {
  max-width: 640px;
  margin: 0;
  color: var(--text-soft);
}

.site-footer {
  padding: 55px 0;
  border-top: 1px solid var(--line);
  background: #0d0c0b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px 70px;
  align-items: start;
}

.footer-grid > div:first-child p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: var(--text-soft);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--copper-bright);
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}

.footer-note,
.footer-credit {
  margin: 0;
  color: #70675f;
  font-size: 10px;
}

.footer-credit {
  flex: 0 0 auto;
}

.footer-credit a {
  color: var(--text-soft);
  font-weight: 650;
}

.footer-credit a:hover {
  color: var(--copper-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 150ms; }
.reveal-delay-3 { transition-delay: 220ms; }

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
    padding-top: 0;
  }

  .hero-visual {
    max-width: 900px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-start-grid,
  .integration-grid,
  .architecture-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .quick-start-grid .section-heading,
  .integration-grid .section-heading,
  .architecture-copy {
    max-width: 760px;
  }

  .privacy-card {
    gap: 50px;
    padding: 48px;
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 32px, 680px);
  }

  .section {
    padding: 82px 0;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 63px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 9px;
    border: 1px solid var(--line-bright);
    border-radius: 13px;
    background: rgb(27 24 20 / 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 12px;
    border-radius: 7px;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-github {
    margin-top: 5px;
    text-align: center;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-grid {
    gap: 48px;
  }

  .window-frame {
    transform: none;
  }

  .narrow-grid,
  .limitations-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problem-copy {
    padding-top: 0;
  }

  .tour-shell {
    grid-template-columns: 1fr;
  }

  .tour-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .workflow-list {
    grid-template-columns: 1fr 1fr;
    gap: 42px 24px;
  }

  .workflow-list li:nth-child(2)::after {
    display: none;
  }

  .setup-steps,
  .docs-links {
    grid-template-columns: 1fr;
  }

  .docs-links a:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .privacy-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --page: calc(100% - 24px);
  }

  .section {
    padding: 68px 0;
  }

  .header-inner {
    height: 64px;
  }

  .brand-product {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .window-bar {
    grid-template-columns: auto 1fr;
  }

  .window-bar > span:nth-child(2) {
    overflow: hidden;
    padding-left: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .window-state {
    display: none;
  }

  .notice-inner {
    align-items: flex-start;
    padding-block: 20px;
  }

  .notice-inner p {
    font-size: 13px;
  }

  .feature-grid,
  .tour-tabs,
  .workflow-list,
  .tool-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 210px;
  }

  .workflow-list {
    gap: 34px;
  }

  .workflow-list li::after {
    display: none;
  }

  .quick-start-grid {
    gap: 35px;
  }

  .code-card pre {
    padding: 20px 18px;
    font-size: 10px;
  }

  .privacy-card {
    padding: 30px 23px;
  }

  .architecture-stack i {
    display: none;
  }

  .cta-card {
    padding: 55px 20px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}
