:root {
  --page-bg: #ffffff;
  --text: #111111;
  --muted: #5f5f5f;
  --line: rgba(17, 17, 17, 0.84);
  --line-soft: rgba(17, 17, 17, 0.16);
  --panel: rgba(255, 255, 255, 0.84);
  --blue: #1e97ff;
  --orange: #ff9f24;
  --coral: #ff7a68;
  --mint: #31d7b0;
  --purple: #9958ff;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  --content-width: min(1240px, calc(100vw - 64px));
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", sans-serif;
  background-color: var(--page-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

p,
li,
td,
th {
  font-size: 1.02rem;
  line-height: 1.7;
}

ul,
ol {
  margin: 0;
  padding-left: 1.3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

code {
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  font-family:
    ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0 18px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.header-inner,
.site-shell,
.footer-inner {
  width: var(--content-width);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-text {
  font-size: clamp(1.7rem, 2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px 32px;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-shell {
  padding-bottom: 72px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 150ms ease,
    background-color 150ms ease;
}

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

.button.secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(17, 17, 17, 0.14);
  box-shadow: none;
}

.section {
  padding: 48px 0 72px;
}

.split-divider {
  position: relative;
  z-index: 2;
  width: 2px;
  min-height: 446px;
  align-self: stretch;
  margin-block: -20px;
  background: var(--line);
}

.home-hero {
  padding: 30px 0 56px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) 2px minmax(0, 1.18fr);
  gap: 0;
  align-items: center;
}

.hero-copy {
  max-width: 390px;
  margin-left: auto;
  text-align: right;
  padding-right: 32px;
}

.hero-copy h1,
.page-title,
.section-heading {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3.2vw, 3.75rem);
  font-weight: 720;
  line-height: 1.02;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-copy .button {
  margin-top: 22px;
}

.hero-media {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-media img {
  display: block;
  width: min(100%, 860px);
  height: auto;
  margin-left: -2px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
  align-items: start;
}

.feature-shot {
  text-align: center;
}

.feature-shot h2 {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 1.65vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  position: relative;
  left: -34px;
}

.feature-shot img {
  display: block;
  width: min(100%, 248px);
  height: auto;
  margin: 0 auto;
}

.center-cta {
  padding: 8px 0 56px;
  text-align: center;
}

.page-intro {
  padding: 40px 0 36px;
}

.page-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) 2px minmax(0, 1.38fr);
  gap: 44px;
  align-items: start;
}

.page-title {
  font-size: clamp(3rem, 4.6vw, 4.8rem);
  font-weight: 720;
}

.page-title-block {
  padding-top: 26px;
}

.page-copy-block {
  max-width: 780px;
}

.page-copy-block p:first-child,
.doc-panel p:first-child {
  margin-top: 0;
}

.intro-text {
  margin: 0 0 18px;
  font-size: 1.1rem;
  color: var(--muted);
}

.intro-meta {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  padding-bottom: 14px;
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  color: var(--blue);
  font-size: clamp(1.18rem, 1.55vw, 1.76rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  flex: none;
}

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

.faq-answer {
  max-width: 780px;
  padding: 10px 0 4px;
  color: var(--muted);
}

.section-heading {
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  font-weight: 720;
}

.section-intro {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 36px;
  margin-top: 42px;
}

.manual-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.manual-card h3 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.manual-card p {
  margin: 0;
  max-width: 320px;
  color: var(--muted);
}

.manual-card img {
  display: block;
  width: min(100%, 300px);
  height: auto;
}

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

.doc-panel,
.step-panel,
.download-panel {
  padding: 30px 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(8px);
}

.doc-panel h2,
.doc-panel h3,
.step-panel h2,
.step-panel h3,
.download-panel h2,
.download-panel h3 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.doc-panel h3 + p,
.doc-panel h3 + ul,
.doc-panel p + h3,
.doc-panel ul + h3,
.doc-panel table + h3,
.step-panel p + h3,
.step-panel ul + h3,
.step-panel ol + h3 {
  margin-top: 34px;
  padding-top: 2px;
}

.doc-panel h2 + h3,
.step-panel h2 + h3,
.download-panel h2 + h3 {
  margin-top: 0;
}

.doc-panel ul,
.doc-panel table,
.step-panel ul,
.step-panel ol {
  margin-top: 12px;
  margin-bottom: 26px;
}

.doc-panel ul:last-child,
.doc-panel table:last-child,
.step-panel ul:last-child,
.step-panel ol:last-child {
  margin-bottom: 0;
}

.doc-stack {
  display: grid;
  gap: 24px;
}

.legal-note {
  margin: 0;
  color: var(--muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.press-eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.press-intro .page-copy-block {
  max-width: 820px;
}

.press-hero-card {
  padding-top: 12px;
}

.press-hero-card img {
  display: block;
  width: 100%;
}

.press-asset-grid,
.press-screenshot-grid {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

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

.press-asset-card,
.press-screenshot-grid a {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 150ms ease,
    transform 150ms ease;
}

.press-asset-card:hover,
.press-screenshot-grid a:hover {
  border-color: rgba(30, 151, 255, 0.72);
  transform: translateY(-2px);
}

.press-asset-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.press-asset-card:first-child img {
  object-fit: contain;
}

.press-asset-card.poster img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.press-asset-card span,
.press-screenshot-grid span {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.press-screenshot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.press-screenshot-grid img {
  width: 100%;
}

.site-footer {
  padding: 24px 0 40px;
}

.footer-inner {
  border-top: 1px solid rgba(17, 17, 17, 0.28);
  padding-top: 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.footer-email {
  justify-self: start;
  font-weight: 500;
}

.footer-copy {
  justify-self: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  justify-self: end;
  justify-content: flex-end;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-email:hover,
.text-link:hover {
  color: var(--blue);
}

.text-link {
  color: var(--blue);
}

@media (max-width: 1080px) {
  :root {
    --content-width: min(1180px, calc(100vw - 42px));
  }

  .home-hero-grid,
  .page-split,
  .doc-grid,
  .steps-grid,
  .manual-grid,
  .feature-grid,
  .press-asset-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .split-divider {
    display: none;
  }

  .hero-copy,
  .page-title-block,
  .page-copy-block {
    max-width: none;
    margin: 0;
    text-align: left;
    padding-top: 0;
  }

  .feature-shot img,
  .manual-card img {
    width: min(100%, 320px);
  }

  .feature-shot h2 {
    left: -22px;
  }

  .footer-email,
  .footer-copy,
  .footer-links {
    justify-self: start;
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --content-width: calc(100vw - 28px);
  }

  .site-header {
    padding: 14px 0 14px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text {
    font-size: 1.15rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .site-nav {
    width: 100%;
    gap: 10px 18px;
    overflow: visible;
    padding-bottom: 0;
    justify-content: flex-start;
  }

  .site-nav a {
    font-size: 0.98rem;
    padding: 4px 0;
  }

  .home-hero {
    padding: 24px 0 40px;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-copy h1 {
    font-size: 2rem;
    line-height: 1.03;
  }

  .hero-copy .button {
    margin-top: 18px;
  }

  .hero-media {
    justify-content: center;
  }

  .hero-media img {
    width: min(100%, 420px);
    margin-left: 0;
    margin-top: 8px;
  }

  .page-title,
  .section-heading {
    font-size: 2.1rem;
  }

  .faq-item summary {
    font-size: 1.08rem;
  }

  .feature-grid,
  .manual-grid {
    gap: 28px;
  }

  .feature-shot h2 {
    left: -12px;
  }

  .feature-shot h2,
  .manual-card h3 {
    margin-bottom: 14px;
  }

  .feature-shot img,
  .manual-card img {
    width: min(100%, 255px);
  }

  .doc-panel,
  .step-panel,
  .download-panel {
    padding: 24px 22px;
  }

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