:root {
  --bg: #f3f6f0;
  --bg-soft: #ffffff;
  --ink: #0d1110;
  --muted: #5f6864;
  --line: #d9e1da;
  --line-strong: #b9c8bd;
  --accent: #008a61;
  --accent-soft: #dff8ed;
  --amber: #c87618;
  --dark: #07110d;
  --dark-soft: #111916;
  --shadow: 0 24px 80px rgba(20, 33, 27, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(rgba(0, 138, 97, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 138, 97, 0.08) 1px, transparent 1px),
    radial-gradient(circle at top, #e3f8ee 0, var(--bg) 38%, #eef3ee 100%);
  background-size: 32px 32px, 32px 32px, auto;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

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

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  background: var(--dark);
}

.hero-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 12px auto 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 17, 13, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #b9ffe5;
  background: #020705;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #f8fffb;
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: rgba(248, 255, 251, 0.66);
  font-size: 12px;
  line-height: 1.2;
}

.nav {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 17, 13, 0.62);
}

.nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(248, 255, 251, 0.78);
  font-size: 13px;
}

.nav a:focus-visible,
.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  gap: 22px;
  max-width: var(--max);
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 42px 16px 64px;
  align-items: center;
}

.hero-content {
  max-width: 820px;
  color: #f8fffb;
}

.eyebrow {
  margin: 0 0 12px;
  color: #20d59f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(248, 255, 251, 0.75);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #f8fffb;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  font-size: 14px;
}

.button.primary {
  border-color: #1ed59f;
  color: #03100b;
  background: #23dfa9;
}

.button:focus-visible,
.button:hover {
  transform: translateY(-1px);
  outline: 2px solid rgba(35, 223, 169, 0.4);
  outline-offset: 2px;
}

.product-preview {
  width: min(100%, 760px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #f8fffb;
  background: linear-gradient(180deg, rgba(10, 14, 13, 0.96), rgba(18, 23, 21, 0.94));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.preview-top,
.preview-tabs,
.progress-labels {
  display: flex;
  align-items: center;
}

.preview-top {
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(248, 255, 251, 0.7);
  font-size: 13px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #20d59f;
  box-shadow: 0 0 0 5px rgba(32, 213, 159, 0.16);
}

.preview-top strong {
  padding: 4px 8px;
  border-radius: 999px;
  color: #082016;
  background: #b9ffe5;
  font-size: 11px;
  text-transform: uppercase;
}

.preview-tabs {
  gap: 8px;
  padding: 12px 16px 0;
  overflow-x: auto;
}

.preview-tabs span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(248, 255, 251, 0.7);
  font-size: 12px;
  white-space: nowrap;
}

.preview-tabs .active {
  color: #03100b;
  background: #23dfa9;
}

.preview-grid {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.preview-grid article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.preview-grid h2 {
  margin: 0 0 10px;
  color: #71ffc9;
  font-size: 14px;
  line-height: 1.3;
  text-transform: uppercase;
}

.preview-grid p {
  margin: 0;
  color: rgba(248, 255, 251, 0.74);
  font-size: 14px;
}

.code-panel {
  padding: 0;
  overflow: hidden;
}

.code-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(248, 255, 251, 0.64);
  font-size: 12px;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 16px;
  color: #f3fff9;
  font-size: 13px;
  line-height: 1.7;
}

code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.progress-labels {
  justify-content: space-between;
  padding: 2px 16px 8px;
  color: rgba(248, 255, 251, 0.58);
  font-size: 12px;
}

.progress-track {
  height: 10px;
  margin: 0 16px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #20d59f, #e0c64b);
}

.section,
.case-band,
.contact-section,
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 16px;
}

.section-heading {
  max-width: 740px;
}

.section h2,
.case-band h2,
.contact-section h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p,
.case-band p,
.contact-section p {
  margin: 16px 0 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.feature-card,
.case-band,
.steps li,
.security,
.contact-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.feature-card {
  padding: 20px;
}

.icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #042016;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
}

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

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.case-band {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  margin-bottom: 22px;
  padding: 28px 24px;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.steps li {
  padding: 18px;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
}

.steps span {
  color: var(--muted);
}

.security {
  padding: 32px 16px;
}

.security-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.security-list span {
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #073324;
  background: #f4fff9;
  font-size: 13px;
  font-weight: 800;
}

.contact-section {
  display: grid;
  gap: 22px;
  margin-bottom: 40px;
  padding: 28px 24px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf7;
  color: #063725;
  font-weight: 800;
}

.contact-links a:focus-visible,
.contact-links a:hover {
  border-color: var(--accent);
  outline: none;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: 66px;
  }

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

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

  .case-band,
  .contact-section {
    grid-template-columns: 0.75fr 1fr;
    align-items: center;
  }
}

@media (min-width: 1020px) {
  .hero {
    grid-template-columns: 0.96fr 0.84fr;
  }

  .product-preview {
    justify-self: end;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
  }
}
