:root {
  color-scheme: light dark;
  --bg: #f7fafb;
  --surface: #ffffff;
  --surface-2: #eef4f7;
  --ink: #101828;
  --muted: #596779;
  --line: #d9e2e8;
  --cyan: #00bbcc;
  --cyan-dark: #008d99;
  --green: #107c5d;
  --amber: #a25f00;
  --red: #b42318;
  --code: #111820;
  --code-soft: #1d2730;
  --shadow: 0 18px 50px rgba(16, 24, 40, .1);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1140px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419;
    --surface: #151b22;
    --surface-2: #1c252e;
    --ink: #eef4f7;
    --muted: #a7b5c2;
    --line: #29333d;
    --cyan-dark: #45d9e6;
    --shadow: 0 18px 50px rgba(0, 0, 0, .34);
  }
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7fafb;
  --surface: #ffffff;
  --surface-2: #eef4f7;
  --ink: #101828;
  --muted: #596779;
  --line: #d9e2e8;
  --cyan-dark: #008d99;
  --shadow: 0 18px 50px rgba(16, 24, 40, .1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1419;
  --surface: #151b22;
  --surface-2: #1c252e;
  --ink: #eef4f7;
  --muted: #a7b5c2;
  --line: #29333d;
  --cyan-dark: #45d9e6;
  --shadow: 0 18px 50px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-dark); text-underline-offset: 3px; }
p, h1, h2, h3, h4 { margin-top: 0; }
ul, ol { padding-left: 1.25rem; }
code, pre { font-family: var(--mono); }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 8px 12px;
  color: #fff;
  background: var(--cyan-dark);
  border-radius: 6px;
}
.skip-link:focus { top: 16px; }
.container {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(56px, 8vw, 92px); }
.section-soft { background: var(--surface-2); }
.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}
.section-head-spaced { margin-top: 42px; }
.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}
h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}
.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}
.muted { color: var(--muted); }
.fineprint { color: var(--muted); font-size: 13px; line-height: 1.55; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface), transparent 4%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
  text-decoration: none;
}
.brand img { width: 28px; height: auto; }
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-2);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle,
.theme-toggle {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  width: 19px;
  height: 2px;
  background: currentColor;
}
.theme-toggle { font-size: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #042f35;
}
.btn-primary:hover { background: #28d4df; color: #042f35; }
.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--cyan-dark); }
.btn-wide { min-width: 180px; }

.hero {
  padding-block: clamp(54px, 9vw, 100px) clamp(36px, 6vw, 72px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
}
.hero-visual {
  position: relative;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% -5% -8% 7%;
  background: linear-gradient(135deg, rgba(0, 187, 204, .18), rgba(16, 128, 93, .12), rgba(162, 95, 0, .10));
  border-radius: 8px;
  transform: rotate(-2deg);
}
.product-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.grid-3,
.grid-4,
.pricing-grid {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.pricing-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.card,
.pricing-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card p,
.pricing-card p,
.panel p { color: var(--muted); }
.card :last-child,
.pricing-card :last-child,
.panel :last-child { margin-bottom: 0; }
.metric {
  display: block;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}
.price {
  margin: 14px 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
}
.price span { color: var(--muted); font-size: 14px; font-weight: 700; }
.feature-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--cyan);
  flex: 0 0 auto;
}
.band {
  background: var(--code);
  color: #eef4f7;
}
.band .muted,
.band .lede,
.band p { color: #bdc9d4; }
.band .card {
  background: var(--code-soft);
  border-color: #33404d;
}
.band .pill {
  background: #18232d;
  border-color: #33404d;
  color: #bdc9d4;
}

.page-hero {
  padding-block: clamp(52px, 8vw, 86px) 38px;
  background: linear-gradient(180deg, var(--surface-2), var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 6vw, 64px);
}
.content {
  max-width: 840px;
  padding-block: 48px 80px;
}
.content h2 { font-size: 28px; margin-top: 34px; }
.content h3 { margin-top: 28px; }
.content p,
.content li { color: var(--muted); }
.content pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 8px;
  background: var(--code);
  color: #eef4f7;
  font-size: 14px;
}
.legal-doc {
  white-space: pre-wrap;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.65;
}
.notice {
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--amber), var(--line) 45%);
  border-left: 4px solid var(--amber);
  border-radius: 6px;
  background: color-mix(in srgb, var(--amber), var(--surface) 92%);
  color: var(--ink);
}
.download-table,
.checksum-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.download-table th,
.download-table td,
.checksum-table th,
.checksum-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.download-table th,
.checksum-table th {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.form {
  display: grid;
  gap: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}
input,
select,
textarea,
output {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
output { min-height: 46px; display: block; font-weight: 850; }
textarea { min-height: 150px; resize: vertical; }
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--cyan), transparent 45%);
  outline-offset: 2px;
}
.status {
  display: none;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.status[data-visible="true"] { display: block; }
.status-success { border-color: color-mix(in srgb, var(--green), var(--line) 35%); color: var(--green); }
.status-error { border-color: color-mix(in srgb, var(--red), var(--line) 35%); color: var(--red); }
.honeypot { display: none !important; }

.site-footer {
  padding-block: 46px 28px;
  background: #0f1419;
  color: #a7b5c2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #eef4f7;
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
}
.footer-logo img { width: 28px; }
.footer-col h2,
.footer-col h3 {
  margin-bottom: 10px;
  color: #eef4f7;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #a7b5c2; text-decoration: none; }
.footer-links a:hover { color: #45d9e6; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid #29333d;
  color: #7d8996;
  font-size: 13px;
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4,
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .header-inner { min-height: 64px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 16px 24px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 11px 0; }
  .header-actions { justify-content: flex-start; }
  .form-grid,
  .grid-3,
  .grid-4,
  .pricing-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .container { padding-inline: 18px; }
  .hero-actions,
  .action-row { flex-direction: column; }
  .btn { width: 100%; }
  .card,
  .pricing-card,
  .panel { padding: 18px; }
  .download-table,
  .download-table tbody,
  .download-table tr,
  .download-table td,
  .download-table th { display: block; width: 100%; }
  .download-table thead { display: none; }
  .download-table td { padding: 9px 0; }
}
