:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --surface: #ffffff;
  --surface-soft: #eeeeea;
  --ink: #111111;
  --muted: #747474;
  --line: #dcdcd6;
  --line-strong: #c7c7bf;
  --accent: #126f5a;
  --accent-ink: #ffffff;
  --warning: #b94e22;
  --shadow: 0 30px 90px rgba(20, 20, 16, 0.16);
  --header-height: 68px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: rgba(18, 111, 90, 0.18);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(247, 247, 244, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer,
.proof-strip,
.header-action {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  gap: 10px;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: 0;
}

.brand-mark {
  width: 25px;
  height: 25px;
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--ink);
  background: var(--surface);
}

.brand-mark span {
  background: var(--ink);
}

.brand-mark span:first-child {
  grid-column: 1 / 3;
  grid-row: 1;
}

.brand-mark span:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
}

.brand-mark span:nth-child(3) {
  grid-column: 3;
  grid-row: 2 / 4;
}

.nav-links {
  justify-self: center;
  gap: clamp(18px, 3vw, 34px);
  color: #3e3e3a;
  font-size: 14px;
}

.nav-links a,
.header-action,
.secondary-action {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

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

.header-action {
  justify-self: end;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 610;
}

.header-action:hover,
.primary-action:hover {
  transform: translateY(-1px);
}

.hero {
  min-height: calc(100svh - 96px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  padding: calc(var(--header-height) + 42px) clamp(20px, 5vw, 74px) 44px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 247, 244, 0.97) 0%, rgba(247, 247, 244, 0.82) 42%, rgba(247, 247, 244, 0.18) 100%),
    linear-gradient(135deg, rgba(18, 111, 90, 0.1), transparent 36%),
    var(--paper);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.document-plane {
  position: absolute;
  width: min(430px, 42vw);
  min-height: 330px;
  padding: 30px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
  opacity: 0.62;
}

.document-plane p {
  margin: 0 0 34px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #555;
}

.document-plane span {
  display: block;
  height: 10px;
  margin: 16px 0;
  background: rgba(17, 17, 17, 0.1);
}

.document-plane span:nth-child(3),
.document-plane span:nth-child(5) {
  width: 72%;
}

.plane-left {
  left: -78px;
  bottom: 6vh;
  transform: rotate(-8deg);
}

.plane-right {
  right: -86px;
  top: 16vh;
  transform: rotate(7deg);
}

.hero-copy {
  max-width: 620px;
}

.product-name {
  margin: 0 0 8px;
  font-size: clamp(68px, 11vw, 132px);
  line-height: 0.9;
  font-weight: 720;
  letter-spacing: 0;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.03;
  font-weight: 660;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 28px;
  color: #3b3b37;
  font-size: clamp(17px, 1.8vw, 22px);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-weight: 640;
}

.primary-action {
  background: var(--accent);
  color: var(--accent-ink);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.58);
  color: #252521;
}

.secondary-action:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.hero-visual {
  margin: 0;
  align-self: end;
  transform: perspective(1300px) rotateY(-8deg) rotateX(2deg);
  transform-origin: left center;
}

.hero-visual img {
  width: min(860px, 50vw);
  border: 1px solid rgba(17, 17, 17, 0.13);
  box-shadow: var(--shadow);
}

.proof-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  gap: 20px;
}

.proof-strip div {
  min-width: 0;
}

.proof-strip strong {
  display: block;
  margin-bottom: 2px;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 650;
  letter-spacing: 0;
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 118px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(30px, 5vw, 56px);
}

.section-heading p {
  max-width: 640px;
  margin-bottom: 0;
  color: #50504b;
  font-size: 17px;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  font-weight: 650;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.12;
  font-weight: 640;
  letter-spacing: 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.workflow-step {
  min-height: 260px;
  padding: 26px clamp(18px, 3vw, 34px) 8px 0;
  border-right: 1px solid var(--line);
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step span {
  display: block;
  margin-bottom: 56px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
}

.workflow-step p,
.setup-copy p,
.contact-inner p,
.install-note p {
  max-width: 560px;
  margin-bottom: 0;
  color: #50504b;
  font-size: 17px;
}

.download {
  border-top: 1px solid var(--line);
}

.download-list {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.download-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition:
    background 160ms ease,
    padding 160ms ease;
}

.download-row:hover {
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.46);
}

.download-row span {
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.15;
  font-weight: 640;
}

.download-row strong {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 640;
  white-space: nowrap;
}

.install-note {
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.install-note strong {
  font-size: 18px;
}

.setup {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.setup-copy {
  position: sticky;
  top: calc(var(--header-height) + 46px);
}

.setup-copy h2 {
  max-width: 640px;
  margin-bottom: 24px;
}

.provider-list {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.provider-list div {
  display: grid;
  grid-template-columns: minmax(126px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.provider-list span {
  color: var(--muted);
  font-size: 14px;
}

.provider-list strong {
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.22;
  font-weight: 620;
}

.contact {
  width: 100%;
  padding: clamp(64px, 10vw, 116px) clamp(20px, 5vw, 74px);
  background: #10100f;
  color: #fff;
}

.contact-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact h2 {
  max-width: 780px;
  margin-bottom: 20px;
}

.contact p {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact .primary-action {
  background: #fff;
  color: #111;
}

.contact .secondary-action {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.contact .secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  min-height: 86px;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 74px);
  color: #666660;
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 650;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: calc(var(--header-height) + 44px);
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    transform: none;
  }

  .hero-visual img {
    width: min(100%, 820px);
  }

  .proof-strip {
    align-items: stretch;
  }

  .workflow-steps,
  .setup {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: 0;
    padding: 24px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-step span {
    margin-bottom: 34px;
  }

  .setup-copy {
    position: static;
  }

  .install-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 62px;
  }

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

  .brand {
    font-size: 17px;
  }

  .header-action {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding: calc(var(--header-height) + 32px) 16px 44px;
  }

  .product-name {
    font-size: clamp(66px, 22vw, 108px);
  }

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

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .document-plane {
    width: 320px;
  }

  .plane-left {
    left: -190px;
  }

  .plane-right {
    right: -190px;
  }

  .proof-strip {
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .section {
    width: calc(100% - 32px);
  }

  .download-row {
    min-height: 86px;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 18px 0;
  }

  .download-row:hover {
    padding-left: 0;
  }

  .download-row strong {
    width: 100%;
  }

  .provider-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-actions {
    display: grid;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 16px;
  }
}
