:root {
  --ink: #171a1f;
  --muted: #67707d;
  --line: #d9dde3;
  --paper: #ffffff;
  --soft: #f4f5f7;
  --soft-2: #eceff3;
  --dark: #1f2329;
  --dark-2: #303640;
  --accent: #505762;
  --accent-light: #e7eaee;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: rgba(24, 27, 32, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--white);
  padding: 4px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  color: var(--white);
}

.nav-cta {
  color: var(--dark);
  background: var(--white);
  border-radius: 6px;
  padding: 9px 13px;
}

.nav-cta:hover {
  color: var(--dark);
  background: #eef0f3;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 136px clamp(20px, 7vw, 84px) 80px;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(17, 20, 25, 0.96) 0%, rgba(17, 20, 25, 0.86) 42%, rgba(17, 20, 25, 0.35) 70%, rgba(17, 20, 25, 0.2) 100%),
    url("assets/app-preview.png");
  background-position: center;
  background-size: cover;
}

.hero-content {
  width: min(720px, 100%);
}

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

.hero .eyebrow,
.dark-band .eyebrow {
  color: #cbd1da;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.55;
}

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

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.button.primary {
  color: var(--white);
  background: #3f4650;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.button.primary:hover {
  background: #565e6a;
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(600px, 100%);
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.section {
  padding: 88px clamp(20px, 7vw, 84px);
}

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

.intro-band,
.setup-band,
.returns-band {
  background: var(--soft);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.section-grid > p,
.split-section p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.product-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.product-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.07);
}

.featured-product {
  color: var(--white);
  border-color: #262c34;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(135deg, #1f2329, #3c434d);
}

.featured-product p,
.featured-product li {
  color: rgba(255, 255, 255, 0.76);
}

.secondary-product,
.secondary-price {
  background: var(--soft);
}

.product-tag {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.featured-product .product-tag {
  color: #cbd1da;
}

.product-card h3,
.price-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.product-card p,
.price-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
  line-height: 1.5;
}

.pricing-band {
  background: var(--soft);
}

.price {
  margin: 8px 0 12px !important;
  color: var(--ink) !important;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-note {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-weight: 800;
}

.fine-print {
  max-width: 980px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.steps article,
.document-grid article,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--dark);
  border-radius: 999px;
  font-weight: 900;
}

.steps p,
.document-grid p,
.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.dark-band {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
}

.dark-band .section-heading {
  max-width: 900px;
}

.dark-band .document-grid article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dark-band .document-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: var(--paper);
}

.code-panel {
  overflow: hidden;
  border: 1px solid #252b33;
  border-radius: 8px;
  background: #161a20;
  box-shadow: var(--shadow);
}

pre {
  margin: 0;
  padding: 24px;
  color: #e8edf5;
  font: 16px/1.6 Consolas, Monaco, monospace;
  white-space: pre-wrap;
}

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

.setup-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.returns-band .section-grid > div:last-child {
  display: grid;
  gap: 16px;
}

.returns-band p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background: #191d23;
}

.contact-section > div {
  max-width: 820px;
}

.contact-section .eyebrow {
  color: #cbd1da;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 16px;
}

.site-footer {
  padding: 24px clamp(20px, 7vw, 84px);
  color: var(--muted);
  background: #f7f8fa;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 700px;
    background-image:
      linear-gradient(180deg, rgba(17, 20, 25, 0.96), rgba(17, 20, 25, 0.76)),
      url("assets/app-preview.png");
  }

  .section-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

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

  .hero {
    min-height: 680px;
    padding: 110px 20px 52px;
  }

  h1 {
    font-size: 42px;
  }

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

  .hero-stats,
  .steps,
  .document-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 20px;
  }
}
