:root {
  color-scheme: light dark;
  --bg: #f6f7f3;
  --surface: #ffffff;
  --surface-soft: #eef4f1;
  --surface-warm: #fff8ed;
  --ink: #17211f;
  --muted: #5d6a66;
  --line: #d5ded8;
  --line-strong: #a9b9b1;
  --teal: #0d766e;
  --teal-dark: #085d58;
  --plum: #7c3f58;
  --amber: #b76617;
  --blue: #344f8a;
  --shadow: 0 24px 70px rgb(23 33 31 / 14%);
  --grid-x: rgb(213 222 216 / 34%);
  --grid-y: rgb(213 222 216 / 26%);
  --header-bg: rgb(246 247 243 / 88%);
  --section-tint: rgb(255 255 255 / 58%);
  --workflow-bg: rgb(238 244 241 / 74%);
  --install-bg: rgb(255 248 237 / 64%);
  --feature-wash: rgb(238 244 241 / 72%);
  --dark-panel: #18221f;
  --code-bg: rgb(13 118 110 / 8%);
  --code-border: rgb(13 118 110 / 16%);
  --code-ink: #084f4b;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101513;
    --surface: #171e1b;
    --surface-soft: #1d2a25;
    --surface-warm: #2a2318;
    --ink: #eff5f1;
    --muted: #aebbb4;
    --line: #2c3a34;
    --line-strong: #42544c;
    --teal: #51c7b9;
    --teal-dark: #76ded2;
    --plum: #d08aa9;
    --amber: #e0a24d;
    --blue: #94b6f1;
    --shadow: 0 24px 70px rgb(0 0 0 / 34%);
    --grid-x: rgb(66 84 76 / 28%);
    --grid-y: rgb(66 84 76 / 22%);
    --header-bg: rgb(16 21 19 / 88%);
    --section-tint: rgb(23 30 27 / 66%);
    --workflow-bg: rgb(20 34 29 / 72%);
    --install-bg: rgb(42 35 24 / 54%);
    --feature-wash: rgb(29 42 37 / 68%);
    --dark-panel: #101513;
    --code-bg: rgb(81 199 185 / 12%);
    --code-border: rgb(81 199 185 / 24%);
    --code-ink: #9ce8de;
  }
}

:root[data-theme="dark"] {
  --bg: #101513;
  --surface: #171e1b;
  --surface-soft: #1d2a25;
  --surface-warm: #2a2318;
  --ink: #eff5f1;
  --muted: #aebbb4;
  --line: #2c3a34;
  --line-strong: #42544c;
  --teal: #51c7b9;
  --teal-dark: #76ded2;
  --plum: #d08aa9;
  --amber: #e0a24d;
  --blue: #94b6f1;
  --shadow: 0 24px 70px rgb(0 0 0 / 34%);
  --grid-x: rgb(66 84 76 / 28%);
  --grid-y: rgb(66 84 76 / 22%);
  --header-bg: rgb(16 21 19 / 88%);
  --section-tint: rgb(23 30 27 / 66%);
  --workflow-bg: rgb(20 34 29 / 72%);
  --install-bg: rgb(42 35 24 / 54%);
  --feature-wash: rgb(29 42 37 / 68%);
  --dark-panel: #101513;
  --code-bg: rgb(81 199 185 / 12%);
  --code-border: rgb(81 199 185 / 24%);
  --code-ink: #9ce8de;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, var(--grid-x) 1px, transparent 1px),
    linear-gradient(var(--grid-y) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

code {
  border: 1px solid var(--code-border);
  border-radius: 5px;
  padding: 2px 5px;
  background: var(--code-bg);
  color: var(--code-ink);
  font-size: 0.92em;
}

h1,
h2,
h3,
p,
li,
summary {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 6rem;
  line-height: 0.92;
}

h2 {
  max-width: 800px;
  font-size: 3.25rem;
  line-height: 1.02;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.28;
}

p,
li {
  color: var(--muted);
  line-height: 1.65;
}

section[id] {
  scroll-margin-top: 98px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 22px;
  align-items: center;
  min-height: 68px;
  padding: 12px max(22px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgb(213 222 216 / 82%);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: max-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 32px;
  height: 32px;
}

.brand.compact img {
  width: 28px;
  height: 28px;
}

.primary-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.primary-nav {
  justify-content: center;
}

.primary-nav a,
.site-footer a {
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="true"],
.site-footer a:hover {
  color: var(--teal);
}

.header-action,
.button,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.theme-toggle {
  gap: 8px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.theme-toggle span {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 999px;
  box-shadow: inset 6px 0 0 currentColor;
}

.header-action {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(23 33 31 / 8%);
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}

.button.primary:hover {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.button.secondary {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--ink);
}

.button.ghost {
  border-color: rgb(255 255 255 / 46%);
  background: rgb(255 255 255 / 12%);
  color: #ffffff;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 700px;
  min-height: min(780px, calc(100svh - 68px - 44px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--dark-panel);
}

.hero-visual,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(10 20 18 / 96%) 0%, rgb(10 20 18 / 86%) 38%, rgb(10 20 18 / 38%) 70%, rgb(10 20 18 / 18%) 100%),
    linear-gradient(0deg, rgb(10 20 18 / 60%) 0%, transparent 46%);
}

.hero-content {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 86px 0 78px;
  color: #ffffff;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2b45e;
}

.hero-lede {
  max-width: 710px;
  margin-top: 22px;
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1.24;
}

.hero-copy {
  max-width: 660px;
  margin-top: 18px;
  color: rgb(255 255 255 / 82%);
  font-size: 1.05rem;
}

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

.release-note {
  max-width: 560px;
  margin-top: 18px;
  color: rgb(255 255 255 / 72%);
  font-size: 0.95rem;
}

.signal-band,
.section,
.closing-cta,
.site-footer {
  padding-right: max(22px, calc((100vw - var(--max)) / 2));
  padding-left: max(22px, calc((100vw - var(--max)) / 2));
}

.signal-band {
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--surface);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.signal-grid article,
.feature-grid article,
.install-grid article,
figure,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.signal-grid article {
  min-height: 168px;
  padding: 18px;
}

.signal-icon,
.step-number,
.workflow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 30px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.signal-grid h2 {
  margin-top: 16px;
  font-size: 1.12rem;
  line-height: 1.22;
}

.signal-grid p {
  margin-top: 8px;
  font-size: 0.95rem;
}

.section {
  padding-top: 86px;
  padding-bottom: 86px;
}

.section:nth-of-type(odd) {
  background: var(--section-tint);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.05rem;
}

.workflow-section {
  background: var(--workflow-bg);
}

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

.workflow-list li {
  position: relative;
  min-height: 288px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
  color: var(--muted);
  box-shadow: 0 16px 42px rgb(23 33 31 / 7%);
}

.workflow-list h3 {
  margin-top: 26px;
  color: var(--ink);
}

.workflow-list p {
  margin-top: 12px;
  font-size: 0.96rem;
}

.workflow-list li:nth-child(2) span {
  background: rgb(124 63 88 / 10%);
  color: var(--plum);
}

.workflow-list li:nth-child(3) span {
  background: rgb(183 102 23 / 12%);
  color: var(--amber);
}

.workflow-list li:nth-child(4) span {
  background: rgb(52 79 138 / 10%);
  color: var(--blue);
}

.screenshots-section {
  background: var(--bg);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

figure {
  margin: 0;
  overflow: hidden;
  box-shadow: 0 18px 48px rgb(23 33 31 / 8%);
}

figure img {
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

figcaption {
  display: grid;
  gap: 5px;
  padding: 16px 18px 18px;
  color: var(--muted);
  line-height: 1.55;
}

figcaption strong {
  color: var(--ink);
}

.install-section {
  background: var(--install-bg);
}

.download-panel {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgb(23 33 31 / 8%);
}

.download-panel h3,
.download-panel p {
  max-width: 720px;
}

.download-panel p {
  margin-top: 8px;
}

.install-grid,
.feature-grid {
  display: grid;
  gap: 14px;
}

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

.install-grid article,
.feature-grid article {
  padding: 18px;
}

.install-grid h3 {
  margin-top: 18px;
}

.install-grid ol {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.install-grid li,
.feature-grid p {
  font-size: 0.95rem;
}

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

.feature-grid article {
  min-height: 164px;
  background:
    linear-gradient(180deg, var(--feature-wash), transparent 70%),
    var(--surface);
}

.feature-grid p {
  margin-top: 10px;
}

.security-section {
  background: var(--dark-panel);
  color: #ffffff;
}

.security-section .eyebrow {
  color: #f2b45e;
}

.security-section h2,
.security-section .section-heading p {
  color: #ffffff;
}

.security-section .section-heading p {
  opacity: 0.76;
}

.security-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.security-list p {
  min-height: 128px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
  padding: 18px;
  background: rgb(255 255 255 / 6%);
  color: rgb(255 255 255 / 78%);
}

.security-list code {
  border-color: rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 10%);
  color: #ffffff;
}

.help-section {
  background: var(--section-tint);
}

.help-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

details {
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
}

summary:focus-visible {
  outline: 3px solid rgb(13 118 110 / 28%);
  outline-offset: -3px;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.closing-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.closing-cta p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 14px;
}

.closing-cta .button {
  flex: 0 0 auto;
}

.site-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.docs-page {
  background: var(--section-tint);
}

.docs-hero,
.docs-layout {
  padding-right: max(22px, calc((100vw - var(--max)) / 2));
  padding-left: max(22px, calc((100vw - var(--max)) / 2));
}

.docs-hero {
  display: grid;
  gap: 18px;
  padding-top: 82px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, var(--workflow-bg), transparent 58%),
    var(--bg);
}

.docs-hero h1 {
  max-width: 920px;
  font-size: 4.4rem;
}

.docs-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.1rem;
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 38px;
  padding-top: 46px;
  padding-bottom: 86px;
}

.docs-toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 7px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgb(23 33 31 / 8%);
}

.docs-toc a {
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.docs-toc a:hover {
  background: var(--surface-soft);
  color: var(--teal);
}

.docs-content {
  display: grid;
  gap: 16px;
}

.docs-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgb(23 33 31 / 7%);
  scroll-margin-top: 98px;
}

.docs-section h2 {
  font-size: 2rem;
}

.docs-section h3 {
  margin-top: 24px;
}

.docs-section p,
.docs-section ul,
.docs-section ol {
  margin-top: 14px;
}

.docs-section ul,
.docs-section ol {
  display: grid;
  gap: 9px;
  padding-left: 22px;
}

.docs-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.docs-card-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface-soft);
}

.docs-card-grid p {
  margin-top: 8px;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .signal-grid,
  .install-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-list,
  .feature-grid,
  .security-list,
  .docs-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: start;
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .primary-nav {
    justify-content: flex-start;
    gap: 12px;
  }

  .header-action {
    display: none;
  }

  .theme-toggle {
    min-height: 38px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-visual {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(10 20 18 / 92%) 0%, rgb(10 20 18 / 74%) 62%, rgb(10 20 18 / 42%) 100%),
      linear-gradient(0deg, rgb(10 20 18 / 64%) 0%, transparent 54%);
  }

  .hero-content {
    width: min(100% - 36px, var(--max));
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .hero-lede {
    font-size: 1.32rem;
  }

  .signal-grid,
  .workflow-list,
  .screenshot-grid,
  .install-grid,
  .feature-grid,
  .security-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .download-panel,
  .closing-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .docs-hero {
    padding-top: 58px;
  }

  .docs-hero h1 {
    font-size: 3rem;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 66px;
  }

  .docs-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 460px) {
  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 1.92rem;
  }

  .primary-nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.88rem;
  }

  .docs-toc {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
