:root {
  --blue: #299afe;
  --blue-deep: #1b76c8;
  --blue-soft: #e8f4ff;
  --green: #168a5b;
  --amber: #b76a13;
  --ink-strong: #0b1426;
  --ink: #1c2840;
  --ink-soft: #526074;
  --ink-faint: #7f8a9f;
  --surface: #ffffff;
  --surface-soft: #f6f9fd;
  --border: #dfe7f2;
  --shadow: 0 24px 60px rgba(31, 52, 86, .12);
  --radius: 8px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable",
    "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f4f8fd 0%, #fbfdff 42%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: rgba(41, 154, 254, .22);
  color: var(--ink-strong);
}

.bg-pattern {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  height: min(980px, 110vh);
  z-index: 0;
  pointer-events: none;
  opacity: .42;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0, 0, 0, .55) 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0, 0, 0, .55) 76%, transparent 100%);
}

.bg-pattern svg {
  width: 100%;
  height: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 64px;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 249, 253, .82);
  border-bottom: 1px solid rgba(223, 231, 242, .82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  color: var(--ink-strong);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

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

.nav-links a:hover {
  color: var(--blue-deep);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: min(820px, calc(100vh - 32px));
  max-width: 1460px;
  margin: 0 auto;
  padding: clamp(56px, 5.5vw, 86px) clamp(28px, 6vw, 96px) clamp(48px, 5vw, 78px);
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(520px, 1.08fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.hero-copy {
  max-width: 610px;
  animation: fadeUp .7s var(--ease-out) both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--blue);
  font-size: clamp(50px, 6.2vw, 88px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink-strong);
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink-strong);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

.stat {
  margin-bottom: 22px;
  color: var(--ink-strong);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 650;
}

.stat span {
  color: var(--blue);
  font-weight: 850;
}

.desc {
  max-width: 590px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.35vw, 21px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out),
    border-color .2s var(--ease-out), color .2s var(--ease-out);
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 14px 30px rgba(41, 154, 254, .28);
}

.btn-secondary {
  color: var(--ink-strong);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(31, 52, 86, .07);
}

.btn-secondary:hover {
  color: var(--blue-deep);
  border-color: rgba(41, 154, 254, .45);
}

.btn-label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.14;
}

.btn-title {
  font-size: 15px;
}

.btn-meta {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  opacity: .86;
}

.fineprint {
  margin: 16px 0 0;
  color: var(--ink-faint);
  font-size: 13px;
}

.hero-media {
  min-width: 0;
  width: min(100%, 760px);
  justify-self: end;
  animation: fadeUp .8s var(--ease-out) .08s both;
}

.screenshot-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(170, 184, 207, .68);
  border-radius: var(--radius);
  background: #0f1116;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
}

.hero-shot {
  transform: none;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.download-copy p {
  color: var(--ink-soft);
  font-size: 17px;
}

.compact {
  max-width: 660px;
}

.demo-grid,
.split-section,
.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.steps {
  display: grid;
  gap: 16px;
}

.step,
.feature-card,
.faq-grid article,
.details-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 26px rgba(31, 52, 86, .06);
}

.step {
  padding: 20px;
}

.step span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
}

.step p,
.feature-card p,
.faq-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

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

.feature-card {
  padding: 22px;
}

.feature-card:nth-child(2n) h3 {
  color: var(--blue-deep);
}

.feature-card:nth-child(3n) h3 {
  color: var(--green);
}

.split-copy {
  max-width: 520px;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.trust-list div {
  padding-left: 16px;
  border-left: 3px solid var(--green);
}

.trust-list strong,
.trust-list span {
  display: block;
}

.trust-list strong {
  color: var(--ink-strong);
}

.trust-list span {
  margin-top: 3px;
  color: var(--ink-soft);
}

.settings-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.settings-stack .screenshot-frame {
  background: #f4f4f4;
}

.settings-dark {
  margin-top: 52px;
}

.download-section {
  align-items: stretch;
}

.download-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.download-copy .btn {
  align-self: flex-start;
  margin-top: 10px;
}

.details-panel {
  padding: 24px;
}

.details-panel dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 20px;
}

.details-panel dl div {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.details-panel dt {
  margin-bottom: 4px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.details-panel dd {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 750;
}

.checksum {
  padding: 14px;
  border-radius: var(--radius);
  background: #101828;
  color: #fff;
}

.checksum span {
  display: block;
  margin-bottom: 8px;
  color: #b8c3d8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.checksum code {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #f5f7fb;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 12.5px;
  line-height: 1.45;
}

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

.faq-grid article {
  padding: 24px;
}

.faq-grid h3 {
  font-size: 24px;
  line-height: 1.2;
}

.faq-grid p {
  font-size: 16px;
  line-height: 1.6;
}

.faq-section .eyebrow {
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 64px) 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--ink-strong);
}

.site-footer a {
  color: var(--blue-deep);
  font-weight: 750;
  text-decoration: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 980px) {
  .hero,
  .demo-grid,
  .split-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-media {
    order: -1;
  }

  .hero-shot {
    transform: none;
  }

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

  .split-copy {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
    min-height: 60px;
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .feature-grid,
  .faq-grid,
  .settings-stack,
  .details-panel dl {
    grid-template-columns: 1fr;
  }

  .settings-dark {
    margin-top: 0;
  }

  .cta-row,
  .download-copy .btn {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

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

@media (max-width: 480px) {
  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand span {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .details-panel,
  .feature-card,
  .faq-grid article,
  .step {
    padding: 18px;
  }
}
