:root {
  --navy: #0b1f3f;
  --navy-2: #12305c;
  --ink: #0f172a;
  --muted: #5b6676;
  --green: #4ea312;
  --green-2: #6cc12a;
  --green-soft: #eef7e6;
  --bg: #ffffff;
  --tint: #f5f8f3;
  --line: #e5e9ef;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 31, 63, .06), 0 12px 32px -12px rgba(11, 31, 63, .18);
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.accent { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.4em;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px -10px rgba(11, 31, 63, .6);
}
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--tint); }
.btn--small { padding: .6em 1.1em; font-size: .88rem; }
.btn--large { padding: 1em 1.8em; font-size: 1.05rem; background: var(--green); box-shadow: 0 10px 24px -10px rgba(78, 163, 18, .7); }
.btn--large:hover { background: #439010; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--green-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav--scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 31, 63, .4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav__brand img { height: 46px; width: auto; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--navy); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(108, 193, 42, .14), transparent 70%),
    radial-gradient(700px 500px at 10% 100%, rgba(18, 48, 92, .08), transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .6;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; }
.lede { margin-top: 1.4rem; font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.hero__visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.mark {
  width: 300px; height: 300px; border-radius: 40px;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  animation: rise 1s ease both;
}
.mark img { width: 210px; }

.card {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  font-size: .85rem;
}
.card--float { position: absolute; animation: float 7s ease-in-out infinite; }
.card--a { left: -8px; bottom: 36px; width: 240px; }
.card--b { right: -4px; top: 30px; width: 200px; animation-delay: -3.5s; }
.card__head { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.card__foot { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--green); font-weight: 600; font-size: .8rem; }
.pill { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px; background: #e8edf5; color: var(--navy-2); }
.pill--green { background: var(--green-soft); color: #3c7f0d; }
.checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks i { width: 16px; height: 16px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.checks i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 12px; }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--green-2), var(--green)); }
.bars span:nth-child(-n+2) { background: #d7dfea; }

/* Band */
.band { background: var(--navy); color: #fff; }
.band__inner { padding: 28px 0; text-align: center; }
.band p { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 600; letter-spacing: -.01em; }
.band em { font-style: normal; color: var(--green-2); }

/* Sections */
.section { position: relative; padding: 112px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 700; }
.section__lede { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.tile {
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.tile h3 { font-size: 1.15rem; margin: 20px 0 10px; }
.tile p { color: var(--muted); font-size: .96rem; }
.tile__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; }
.tile__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Dark AI section */
.section--dark { background: var(--navy); color: #c9d4e5; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__lede { color: #a9b7cc; }
.glow {
  position: absolute; width: 760px; height: 760px; right: -240px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 193, 42, .22), transparent 65%);
  pointer-events: none;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; }
.panel {
  padding: 40px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
}
.panel__num { font-family: var(--display); font-weight: 700; color: var(--green-2); font-size: .9rem; letter-spacing: .1em; }
.panel h3 { font-size: 1.6rem; margin: 12px 0 14px; }
.panel > p { color: #a9b7cc; }
.list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.list li { position: relative; padding-left: 28px; color: #dfe6f1; }
.list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px;
  border-radius: 0 50% 0 50%; background: var(--green-2); transform: rotate(-10deg);
}
.principles {
  margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; overflow: hidden;
}
.principles div { padding: 26px 28px; display: grid; gap: 4px; }
.principles div + div { border-left: 1px solid rgba(255, 255, 255, .1); }
.principles strong { color: #fff; font-family: var(--display); font-weight: 600; }
.principles span { font-size: .92rem; color: #a9b7cc; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -14px; left: 0;
  background: #fff; padding-right: 12px;
  font-family: var(--display); font-weight: 700; font-size: .85rem; color: var(--green);
}
.steps li::after { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--green); transition: width 1s ease .2s; }
.steps li.is-in::after { width: 100%; }
.steps span { display: block; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--navy); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .96rem; }

/* Feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature__copy p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; max-width: 32em; }
.feature__art {
  position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #0b1f3f 0%, #1b3a6b 60%, #2b5a7a 100%);
  box-shadow: var(--shadow);
}
.moon {
  position: absolute; width: 96px; height: 96px; right: 18%; top: 18%; border-radius: 50%;
  box-shadow: -18px 10px 0 0 #f4f1d0; transform: rotate(-20deg);
}
.cloud { position: absolute; background: rgba(255, 255, 255, .9); border-radius: 999px; animation: drift 14s ease-in-out infinite alternate; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud--1 { width: 200px; height: 52px; left: 12%; bottom: 22%; }
.cloud--1::before { width: 90px; height: 90px; left: 30px; top: -46px; }
.cloud--1::after { width: 64px; height: 64px; left: 104px; top: -30px; }
.cloud--2 { width: 130px; height: 36px; right: 10%; bottom: 40%; opacity: .55; animation-duration: 18s; }
.cloud--2::before { width: 60px; height: 60px; left: 22px; top: -30px; }
.cloud--2::after { width: 44px; height: 44px; left: 70px; top: -20px; }
.star { position: absolute; left: var(--x); top: var(--y); width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: twinkle 3s ease-in-out infinite; }
.star:nth-of-type(2n) { animation-delay: -1.5s; }

/* CTA */
.cta {
  text-align: center; padding: 72px 32px; border-radius: 32px;
  background: radial-gradient(500px 260px at 50% 0%, var(--green-soft), transparent 70%), #fff;
  border: 1px solid var(--line);
  display: grid; justify-items: center; gap: 18px;
}
.cta__mark { width: 64px; }
.cta p { color: var(--muted); max-width: 34em; font-size: 1.1rem; }
.cta .btn { margin-top: 10px; }
.feature__link { margin-top: 1.6rem; }

/* Contact form */
.form { width: min(640px, 100%); display: grid; gap: 16px; margin-top: 12px; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.form .optional { font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: .8em 1em; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__foot .btn { margin-top: 0; border: 0; cursor: pointer; }
.form__foot .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form__status { font-size: .95rem; color: var(--muted); }
.form__status[data-kind="ok"] { color: #3c7f0d; font-weight: 600; }
.form__status[data-kind="error"] { color: #b42318; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.footer__inner img { height: 38px; width: auto; }
.footer__copy { margin-left: auto; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateX(-12px); } to { transform: translateX(16px); } }
@keyframes twinkle { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principles div:nth-child(3) { border-left: 0; }
  .principles div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero { padding: 40px 0 72px; }
  .hero__grid, .split, .feature { grid-template-columns: 1fr; }
  .hero__visual { min-height: 380px; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav__brand img { height: 38px; }
  .grid--4, .principles, .steps { grid-template-columns: 1fr; }
  .principles div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .mark { width: 220px; height: 220px; border-radius: 32px; }
  .mark img { width: 150px; }
  .card--a { left: 0; bottom: 0; width: 210px; }
  .card--b { right: 0; top: 0; width: 170px; }
  .panel { padding: 28px; }
  .cta { padding: 52px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__copy { margin-left: 0; }
}
