:root {
  color-scheme: dark;
  --background: #101116;
  --top-surface: #181b22;
  --panel: #171a21;
  --raised-panel: #1d222b;
  --border: #2c3442;
  --border-strong: #3a4557;
  --text: #f2f4f8;
  --secondary: #aab2c0;
  --muted: #788292;
  --accent: #7c5cff;
  --accent-hover: #8b73ff;
  --warning: #e3b341;
  --success: #78c7a3;
  --container: 1180px;
  --radius: 10px;
  --shadow: 0 18px 56px rgb(0 0 0 / 24%);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

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

:focus-visible {
  outline: 3px solid #b6a7ff;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-bordered {
  border-top: 1px solid rgb(44 52 66 / 72%);
  border-bottom: 1px solid rgb(44 52 66 / 72%);
}

.section-surface {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(44 52 66 / 88%);
  background: rgb(24 27 34 / 96%);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 48px), var(--container));
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  gap: 28px;
}

.wordmark {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  min-width: 0;
  margin-left: auto;
  align-items: center;
  gap: 26px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a,
.site-footer a,
.text-link {
  transition: color 180ms ease;
}

.site-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

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

.button-secondary {
  border-color: var(--border-strong);
  background: var(--panel);
  color: var(--text);
}

.button-secondary:hover {
  border-color: #58657a;
  background: var(--raised-panel);
}

.header-download {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.hero {
  min-height: 720px;
  padding: 84px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--top-surface) 0, var(--background) 34%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: #a99aff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  line-height: 1.1;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.2vw, 72px);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.8vw, 48px);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.hero-description {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--secondary);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-bottom: 26px;
}

.fact-list {
  display: flex;
  max-width: 680px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.fact-list li {
  position: relative;
  padding-left: 14px;
}

.fact-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.hero-preview {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 506px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: #12151b;
  box-shadow: var(--shadow);
}

.hero-preview img {
  width: 100%;
  height: auto;
}

.image-caption {
  display: block;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-size: 13px;
}

.image-link {
  transition: transform 180ms ease, border-color 180ms ease;
}

.image-link:hover {
  transform: translateY(-2px);
  border-color: #58657a;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading > p:last-child,
.split-heading > p,
.workflow-heading > p,
.limitations-heading > p,
.cta-card p,
.audience-content > p {
  margin: 0;
  color: var(--secondary);
  font-size: 17px;
}

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

.feature-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.feature-card h3 {
  font-size: 26px;
}

.feature-card > p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--secondary);
}

.feature-number {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #303746;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.feature-kicker {
  margin: 0 0 40px;
  color: #b7abff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-kicker.local {
  color: var(--success);
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: 1fr minmax(280px, 0.55fr);
  align-items: end;
  gap: 64px;
}

.split-heading h2 {
  margin-bottom: 0;
}

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

.preview-card {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.preview-card img {
  width: 100%;
  height: auto;
}

.preview-label {
  display: flex;
  margin-top: auto;
  padding: 13px 15px;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

.preview-label span {
  color: var(--secondary);
  font-size: 12px;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(56px, 8vw, 108px);
}

.workflow-heading {
  position: sticky;
  top: 112px;
  margin: 0;
}

.text-link {
  display: inline-flex;
  min-height: 42px;
  margin-top: 22px;
  align-items: center;
  gap: 8px;
  color: #b9adff;
  font-weight: 700;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  padding: 24px 0;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  border-top: 1px solid var(--border);
}

.steps-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.step-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.steps-list h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.steps-list p {
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
}

.workflow-notes {
  display: grid;
  margin-top: 54px;
  padding-top: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--border);
}

.workflow-notes p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}

.workflow-notes strong {
  color: var(--text);
}

.privacy-card {
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--raised-panel);
  box-shadow: 0 18px 54px rgb(0 0 0 / 16%);
}

.privacy-intro {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 64px;
}

.privacy-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -38px;
}

.privacy-intro h2,
.privacy-intro p {
  margin-bottom: 0;
}

.privacy-intro p {
  color: var(--secondary);
  font-size: 17px;
}

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

.privacy-column {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
}

.privacy-column h3 {
  font-size: 18px;
}

.check-list {
  margin: 0;
  padding: 0;
  color: var(--secondary);
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-top: 1px solid rgb(44 52 66 / 68%);
  font-size: 14px;
}

.check-list li::before {
  position: absolute;
  top: 17px;
  left: 3px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  content: "";
}

.muted-checks li::before {
  border-color: var(--muted);
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #11141a;
  color: #d8d2ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.privacy-terms {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.privacy-column .text-link {
  margin-top: 12px;
  font-size: 14px;
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 110px);
}

.audience-layout .section-heading {
  margin: 0;
}

.audience-list {
  display: flex;
  margin: 0 0 28px;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.audience-list li {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
}

.limitations-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.limitations-heading {
  margin: 0;
}

.warning-eyebrow {
  color: var(--warning);
}

.limitations-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.limitations-list li {
  position: relative;
  padding: 17px 0 17px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
  font-size: 15px;
}

.limitations-list li::before {
  position: absolute;
  top: 26px;
  left: 3px;
  width: 7px;
  height: 1px;
  background: var(--warning);
  content: "";
}

.final-cta {
  padding-top: 24px;
}

.cta-card {
  display: grid;
  padding: clamp(36px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 64px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--raised-panel), #191b24);
}

.cta-card h2 {
  max-width: 690px;
}

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

.cta-actions .text-link {
  margin: 3px 0 0;
  justify-content: center;
  font-size: 13px;
}

.site-footer {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  background: var(--top-surface);
}

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

.footer-inner p {
  display: flex;
  margin: 0;
  flex-direction: column;
  color: var(--text);
  font-size: 14px;
}

.footer-inner p span {
  color: var(--muted);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--secondary);
  font-size: 13px;
}

@media (max-width: 980px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
    gap: 38px;
  }

  h1 {
    font-size: clamp(42px, 6vw, 60px);
  }

  .privacy-intro,
  .workflow-layout,
  .audience-layout,
  .limitations-layout {
    gap: 48px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 118px;
  }

  .header-inner {
    width: min(calc(100% - 32px), var(--container));
    min-height: 106px;
    flex-wrap: wrap;
    align-content: center;
    gap: 8px 16px;
  }

  .wordmark {
    order: 1;
  }

  .header-download {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 2px 0 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .split-heading,
  .workflow-layout,
  .privacy-intro,
  .privacy-details,
  .audience-layout,
  .limitations-layout,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    width: min(100%, 560px);
    margin: 10px auto 0;
  }

  .split-heading,
  .privacy-intro {
    gap: 22px;
  }

  .privacy-intro .eyebrow {
    grid-column: auto;
    margin-bottom: -6px;
  }

  .workflow-heading {
    position: static;
  }

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

  .cta-card {
    gap: 32px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 52px 0 70px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 50px);
    letter-spacing: -0.045em;
  }

  h2 {
    font-size: 34px;
  }

  .hero-description {
    font-size: 17px;
  }

  .button-row .button,
  .cta-actions .button {
    width: 100%;
  }

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

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

  .feature-card {
    min-height: 0;
    padding: 24px;
  }

  .feature-kicker {
    margin-bottom: 32px;
  }

  .workflow-notes {
    grid-template-columns: 1fr;
  }

  .privacy-card {
    width: calc(100% - 24px);
  }

  .privacy-column {
    padding: 22px;
  }

  .cta-actions {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 390px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .header-download {
    min-height: 36px;
    padding: 0 13px;
  }

  .site-nav {
    gap: 15px;
    font-size: 13px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 31px;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .privacy-card {
    width: calc(100% - 20px);
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
