:root {
  --ink: #07112f;
  --muted: #566177;
  --line: rgba(8, 102, 255, 0.14);
  --soft: #f3f8ff;
  --blue: #0866ff;
  --sky: #00a8ff;
  --aqua: #18d5ff;
  --green: #12b76a;
  --violet: #6c5cff;
  --gradient: linear-gradient(135deg, var(--blue), var(--sky) 58%, var(--green));
  --shadow: 0 28px 80px rgba(8, 102, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(18, 183, 106, 0.14), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f7fbff 40%, #fff 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

img {
  display: block;
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  padding: 16px clamp(18px, 4vw, 56px);
}

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

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: var(--gradient);
  box-shadow: 0 12px 28px rgba(8, 102, 255, 0.24);
}

.brand-mark::after {
  position: absolute;
  inset: 12px 7px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-right-color: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  content: "";
  transform: rotate(-18deg);
}

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

.brand small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5faff;
  padding: 5px;
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 9px 13px;
}

.site-nav a:hover {
  background: #fff;
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  padding: 0 20px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.button.primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 16px 40px rgba(8, 102, 255, 0.22);
}

.button.primary.light {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 18px 42px rgba(0, 40, 120, 0.18);
}

.button.secondary,
.button.ghost {
  border-color: var(--line);
  background: #fff;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(76vh - 78px);
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 56px) clamp(28px, 5vw, 64px);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 35%, rgba(255, 255, 255, 0.5) 66%, rgba(255, 255, 255, 0.1) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(243, 248, 255, 0.72));
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 14px 0 18px;
  max-width: 760px;
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  line-height: 0.92;
}

h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 3.8vw, 4.25rem);
  line-height: 0.98;
}

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

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-copy > p {
  max-width: 610px;
}

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

.hero-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  padding: 9px 12px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
}

.hero-visual img {
  object-fit: cover;
  object-position: right center;
}

.feature-visual img {
  border: 1px solid rgba(8, 102, 255, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.section,
.feature-row,
.cta-band,
.module-grid {
  margin-inline: clamp(18px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 32px;
  align-items: end;
  padding: 80px 0 28px;
}

.intro p {
  margin: 0;
}

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

.module-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  padding: 22px;
}

.module-card span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: #eaf4ff;
  color: var(--blue);
  font-weight: 950;
  margin-bottom: 54px;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  margin: 72px clamp(18px, 4vw, 56px) 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 248, 255, 0.9)),
    #fff;
  padding: clamp(22px, 4vw, 42px);
}

.workflow h2 {
  margin-bottom: 0;
}

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

.workflow-steps article {
  border: 1px solid rgba(8, 102, 255, 0.12);
  border-radius: 22px;
  background: #fff;
  padding: 20px;
}

.workflow-steps span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--green);
  font-weight: 950;
  margin-bottom: 28px;
}

.workflow-steps p {
  margin-bottom: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: 100px 0 0;
}

.feature-row.reverse {
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.72fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  position: relative;
  color: var(--ink);
  font-weight: 800;
  padding-left: 30px;
}

.feature-copy li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  content: "✓";
  font-size: 0.74rem;
}

.feature-visual {
  margin: 0;
}

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 270px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--gradient);
  color: #fff;
  margin-top: 100px;
  padding: clamp(24px, 5vw, 54px);
}

.cta-band::after {
  position: absolute;
  right: -64px;
  bottom: -58px;
  width: 420px;
  height: 150px;
  border: 10px solid rgba(255, 255, 255, 0.38);
  border-left-color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  content: "";
  transform: rotate(-16deg);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .eyebrow,
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band h2 {
  max-width: 800px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  padding: 34px clamp(18px, 4vw, 56px);
}

.site-footer a {
  color: var(--blue);
  font-weight: 900;
}

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

  .site-nav {
    display: none;
  }

  .intro,
  .workflow,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }

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

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

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

  .site-header .button {
    min-height: 42px;
    padding-inline: 16px;
  }

  .hero {
    min-height: calc(76vh - 76px);
    padding-top: 40px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 56%, rgba(255, 255, 255, 0.42) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.68));
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .hero-actions .button,
  .hero-actions {
    width: 100%;
  }

  .hero-visual img,
  .feature-visual img {
    border-radius: 22px;
  }

  .hero-visual img {
    border-radius: 0;
    object-position: 62% bottom;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 0;
  }

  .module-card span {
    margin-bottom: 24px;
  }

  .feature-row {
    padding-top: 64px;
  }

  .cta-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }
}
