:root {
  --bg: #f6f7f3;
  --surface: #ffffff;
  --ink: #10130f;
  --muted: #626a60;
  --line: #dfe4da;
  --green: #22c55e;
  --green-dark: #13783e;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --black: #050706;
  --shadow: 0 24px 70px rgba(16, 19, 15, 0.16);
  --soft-shadow: 0 14px 36px rgba(16, 19, 15, 0.09);
  --radius: 8px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
}

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

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.14;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(246, 247, 243, 0.84);
  border-bottom: 1px solid rgba(16, 19, 15, 0.08);
  backdrop-filter: blur(18px);
}

.header.is-scrolled {
  box-shadow: 0 10px 26px rgba(16, 19, 15, 0.08);
}

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

.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(16, 19, 15, 0.12);
}

.brand span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.brand strong {
  padding: 2px 7px;
  color: #fff;
  background: var(--black);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: rgba(16, 19, 15, 0.06);
  outline: none;
}

.nav .nav__cta {
  margin-left: 8px;
  color: #fff;
  background: var(--black);
}

.menu {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.menu svg,
.btn svg,
.card svg {
  width: 22px;
  height: 22px;
}

.menu path,
.btn path,
.card path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: min(850px, calc(100vh - 18px));
  padding: calc(var(--header) + 56px) clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 247, 243, 0.98), rgba(246, 247, 243, 0.74) 48%, rgba(246, 247, 243, 0.3)),
    url("assets/logo.png") right 8% top 15% / 360px 360px no-repeat,
    #f6f7f3;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 19, 15, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 15, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 82%, transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding-top: 6vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #3f463e;
  font-size: clamp(18px, 2vw, 23px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn--primary {
  color: #fff;
  background: var(--black);
  box-shadow: 0 18px 40px rgba(16, 19, 15, 0.22);
}

.btn--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(16, 19, 15, 0.14);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  gap: 1px;
  margin: 48px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 19, 15, 0.12);
  border-radius: 8px;
  background: rgba(16, 19, 15, 0.12);
  box-shadow: var(--soft-shadow);
}

.metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.metrics dt {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 900;
}

.metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero__visual {
  position: absolute;
  right: clamp(-160px, -8vw, -40px);
  bottom: 42px;
  width: min(760px, 58vw);
  height: min(540px, 58vh);
  min-height: 420px;
  pointer-events: none;
}

.mock-browser {
  position: absolute;
  right: 54px;
  bottom: 0;
  width: 620px;
  max-width: 92%;
  aspect-ratio: 1.56;
  overflow: hidden;
  border: 1px solid rgba(16, 19, 15, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.mock-browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  background: #111410;
}

.mock-browser__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b6b;
}

.mock-browser__bar span:nth-child(2) {
  background: var(--amber);
}

.mock-browser__bar span:nth-child(3) {
  background: var(--green);
}

.mock-browser__body {
  display: grid;
  grid-template-columns: 74px 1fr;
  min-height: calc(100% - 36px);
}

.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 18px;
  background: #24302f;
}

.mock-sidebar span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.mock-page {
  padding: 28px;
  background: #fdfdfb;
}

.mock-line {
  width: 64%;
  height: 18px;
  margin-bottom: 28px;
  border-radius: 5px;
  background: #dce6ef;
}

.mock-card {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #e6e8e2;
  border-radius: 8px;
  background: #fff;
}

.mock-card strong {
  display: block;
  margin-bottom: 16px;
}

.mock-card span {
  display: block;
  width: 88%;
  height: 14px;
  margin: 12px 0;
  border-radius: 999px;
  background: #e8ece6;
}

.mock-card span:nth-child(3) {
  width: 72%;
}

.mock-card span:nth-child(4) {
  width: 56%;
}

.mock-card--small {
  width: 72%;
}

.mock-console {
  position: absolute;
  right: 0;
  top: 38px;
  width: 292px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 10, 8, 0.9);
  box-shadow: var(--shadow);
}

.mock-console__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.mock-console__head img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.mock-console__head strong,
.mock-console__head span {
  display: block;
}

.mock-console__head span {
  color: #aeb9ad;
  font-size: 12px;
  text-transform: uppercase;
}

.mock-console ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mock-console li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dceee0;
  font-size: 14px;
  font-weight: 800;
}

.mock-console li span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.section {
  padding: clamp(72px, 11vw, 128px) clamp(20px, 5vw, 72px);
}

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

.intro,
.workflow {
  background: var(--surface);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-bottom: 42px;
}

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

.card,
.steps article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(16, 19, 15, 0.06);
}

.card svg {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  padding: 9px;
  border: 1px solid rgba(19, 120, 62, 0.2);
  border-radius: 8px;
  color: var(--green-dark);
  background: #ecfdf3;
}

.card p,
.steps p,
.demo__text,
.panel p,
.final p {
  margin: 14px 0 0;
  color: var(--muted);
}

.demo {
  color: #fff;
  background: #111410;
}

.demo .eyebrow {
  color: #9df2b8;
}

.demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.demo__text {
  max-width: 560px;
  color: #b9c4ba;
  font-size: 18px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tab {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #dfe9df;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  cursor: pointer;
}

.tab.is-active,
.tab:hover,
.tab:focus-visible {
  color: #10130f;
  background: #9df2b8;
  outline: none;
}

.viewer {
  position: relative;
  min-height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), transparent 32%), #171b18;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: clamp(22px, 4vw, 44px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.panel__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.panel__top img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.panel__top span {
  display: block;
  color: #94a39a;
  font-size: 12px;
  text-transform: uppercase;
}

.status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.status span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.status p {
  margin: 0;
  color: #fff;
  font-weight: 900;
}

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

.settings li {
  padding: 13px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #e8f2e7;
  font-weight: 800;
}

.canvas-preview {
  display: grid;
  grid-template-columns: 78px 1fr;
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f9f5;
  color: var(--ink);
}

.canvas-preview aside {
  background: #24302f;
}

.canvas-preview main {
  position: relative;
  padding: 46px 34px;
}

.canvas-preview main span {
  display: block;
  width: 70%;
  height: 18px;
  margin: 18px 0;
  border-radius: 999px;
  background: #dfe7db;
}

.canvas-preview main span:first-child {
  width: 86%;
  height: 28px;
}

.canvas-preview main span:nth-child(3) {
  width: 52%;
}

.canvas-preview strong {
  position: absolute;
  right: 26px;
  bottom: 26px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: #111410;
  box-shadow: var(--soft-shadow);
}

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

.steps span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.final__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(16, 19, 15, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.final p {
  max-width: 690px;
  font-size: 18px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
}

.footer p {
  margin: 0;
}

@media (max-width: 1200px) {
  .menu {
    display: grid;
    color: #fff;
    background: var(--black);
    border-color: var(--black);
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--soft-shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a,
  .nav .nav__cta {
    margin-left: 0;
    padding: 13px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-bottom: 560px;
    background: linear-gradient(180deg, rgba(246, 247, 243, 0.98), rgba(246, 247, 243, 0.82)), url("assets/logo.png") right 8% top 14% / 240px 240px no-repeat, #f6f7f3;
  }

  .hero__visual {
    right: 20px;
    bottom: 42px;
    width: calc(100% - 40px);
    height: 450px;
  }

  .mock-console {
    right: 20px;
  }

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

  .demo__grid,
  .intro__grid,
  .final__box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 68px;
  }

  .header {
    padding: 12px 18px;
  }

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

  .menu {
    display: grid;
    color: #fff;
    background: var(--black);
    border-color: var(--black);
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--soft-shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a,
  .nav .nav__cta {
    margin-left: 0;
    padding: 13px;
  }

  .hero {
    padding-inline: 18px;
    padding-bottom: 500px;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(52px, 18vw, 88px);
  }

  .lead {
    font-size: 18px;
  }

  .metrics,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    left: 18px;
    right: 18px;
    width: auto;
    min-height: 390px;
    height: 400px;
  }

  .mock-browser {
    right: 0;
    width: 100%;
    transform: rotate(-1deg);
  }

  .mock-console {
    top: 18px;
    right: 10px;
    width: min(280px, calc(100% - 20px));
  }

  .section {
    padding-inline: 18px;
  }

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

  .viewer {
    min-height: 430px;
  }

  .canvas-preview {
    grid-template-columns: 54px 1fr;
  }

  .canvas-preview main {
    padding: 34px 22px;
  }
}

@media (max-width: 440px) {
  .brand span {
    display: none;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .mock-console {
    transform: scale(0.92);
    transform-origin: top right;
  }

  .viewer {
    min-height: 400px;
  }
}
