:root {
  --violet: #6810a0;
  --blue: #5878c8;
  --ink: #181818;
  --muted: #5b6473;
  --bg: #ffffff;
  --bg-alt: #f6f3fb;
  --line: #e9e4f2;
  --card: #ffffff;
  --grad: linear-gradient(135deg, var(--violet), var(--blue));
  --grad-soft: linear-gradient(135deg, rgba(104, 16, 160, .14), rgba(88, 120, 200, .14));
  --shadow: 0 10px 30px -12px rgba(60, 20, 96, .22);
  --radius: 16px;
  --maxw: 1120px
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -.02em
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800
}

h3 {
  font-size: 1.15rem;
  font-weight: 700
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: .6rem
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: .2s ease;
  white-space: nowrap
}

.btn-sm {
  padding: .55rem 1.05rem;
  font-size: .88rem
}

.btn-primary {
  background: var(--grad);
  background-origin: border-box;
  color: #fff;
  box-shadow: var(--shadow)
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06)
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink)
}

.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--violet)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px
}

.brand {
  display: flex;
  align-items: center;
  cursor: pointer
}

.brand img {
  width: auto
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem
}

.nav-links a {
  font-weight: 500;
  color: var(--muted);
  transition: .2s
}

.nav-links a:hover {
  color: var(--ink)
}

.nav-links .btn-primary {
  color: #fff
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(60% 60% at 15% 10%, rgba(104, 16, 160, .16), transparent 60%), radial-gradient(50% 60% at 90% 20%, rgba(88, 120, 200, .16), transparent 60%)
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center
}

.hero-text {
  text-align: left
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.1rem
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--muted);
  margin: 0 0 2rem
}

.hero-cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap
}

.hero-visual {
  position: relative;
  z-index: 1
}

.hero-visual svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(104, 16, 160, .12))
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 2.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line)
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  max-width: 220px;
  text-align: center
}

.hero-stats .num {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero-stats .lbl {
  font-size: .85rem;
  color: var(--muted)
}

.hero-stats .lbl a {
  color: var(--violet);
  font-weight: 600;
  border-bottom: 1px dotted var(--violet);
  transition: .2s
}

.hero-stats .lbl a:hover {
  border-bottom-style: solid
}

.marquee-wrap {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt)
}

.marquee-title {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 1rem;
  font-weight: 600
}

.techs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center
}

.techs li {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: .45rem .9rem;
  border-radius: 999px
}

.section {
  padding: 128px 0
}

.section-alt {
  background: var(--bg-alt)
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.6rem
}

.section-sub {
  color: var(--muted);
  margin-top: .8rem
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr)
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: .25s
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent
}

.card-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  margin-bottom: 1.2rem;
  color: var(--violet)
}

.card-ico svg {
  width: 24px;
  height: 24px
}

.card h3 {
  margin-bottom: .6rem
}

.card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem
}

.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative
}

.step-n {
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem
}

.steps h3 {
  margin-bottom: .5rem
}

.steps p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65
}

.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1.2rem
}

.about-text h2 {
  margin-bottom: 1.2rem
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.6rem
}

.about-card {
  background: var(--grad);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  align-self: center
}

.about-card h3 {
  margin-bottom: 1.2rem
}

.about-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2)
}

.about-card dl div:last-child {
  border-bottom: 0
}

.about-card dt {
  opacity: .85;
  font-size: .9rem
}

.about-card dd {
  font-weight: 600;
  text-align: right;
  font-size: .9rem
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 1rem
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-weight: 600;
  font-size: .9rem
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: .95rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: .2s;
  font-weight: 400
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(104, 16, 160, .15)
}

.contact-form button {
  justify-self: start
}

.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: .2rem 0
}

.cf-turnstile {
  margin: 0
}

.cf-turnstile:empty {
  display: none
}

.form-status {
  font-size: .92rem;
  font-weight: 600;
  min-height: 1.2em
}

.form-status.ok {
  color: #12855a
}

.form-status.error {
  color: #c0392b
}

.contact-form.sent>*:not(.form-status) {
  display: none
}

.contact-form.sent {
  gap: 0
}

.contact-form.sent .form-status {
  text-align: center;
  font-size: 1.05rem;
  padding: 1.6rem 1.4rem;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius)
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: var(--bg-alt)
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap
}

.footer-inner img {
  width: auto
}

.footer-inner p {
  color: var(--muted);
  font-size: .85rem
}

.to-top {
  color: var(--muted);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer
}

.to-top:hover {
  color: var(--violet)
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .6s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

@media (max-width:900px) {

  .cards,
  .cards-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .steps {
    grid-template-columns: repeat(2, 1fr)
  }

  .about {
    grid-template-columns: 1fr
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .hero-text {
    text-align: center
  }

  .hero-cta {
    justify-content: center
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px
  }

  .hero-visual {
    order: -1
  }

  .hero-visual svg {
    max-width: 300px
  }
}

@media (max-width:680px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 24px 1.2rem;
    transform: translateY(-140%);
    transition: .3s;
    box-shadow: var(--shadow)
  }

  .nav-links.open {
    transform: none
  }

  .nav-links a {
    padding: .9rem 0;
    border-bottom: 1px solid var(--line)
  }

  .nav-links .btn-primary {
    margin-top: .8rem;
    text-align: center
  }

  .nav-toggle {
    display: flex
  }

  .cards,
  .cards-4,
  .steps {
    grid-template-columns: 1fr
  }

  .contact-form .row {
    grid-template-columns: 1fr
  }

  .hero-stats {
    gap: 1.6rem
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.nav-links .btn-primary:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer
}

.footer-links a:hover {
  color: var(--violet)
}