:root {
  --bg-top: #f7fbff;
  --bg-mid: #f0f5fb;
  --bg-bottom: #eaf0f7;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #12233b;
  --muted: #5a6e8a;
  --line: #d8e3ef;
  --accent: #1773ea;
  --accent-strong: #0f5fc6;
  --accent-soft: #eaf2ff;
  --chip-bg: #f2f7ff;
  --chip-line: #d4e2f6;
  --focus: #2f80ff;
  --shadow: 0 28px 58px -34px rgba(14, 34, 62, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font: 500 16px/1.65 "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(840px 390px at -12% -14%, #dce9ff 0%, transparent 64%),
    radial-gradient(780px 420px at 110% -18%, #d7f2ec 0%, transparent 68%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 62%, var(--bg-bottom) 100%);
}

a {
  color: inherit;
}

.lang {
  width: min(980px, 92vw);
  margin: 14px auto 0;
  text-align: right;
}

.lang a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: #36557d;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(177, 195, 218, 0.72);
  font-weight: 700;
  font-size: 13px;
}

.shell {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 12px 0 52px;
}

.surface {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow);
}

.surface::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 133, 241, 0.19) 0%, rgba(54, 133, 241, 0) 72%);
  pointer-events: none;
}

.brand {
  display: inline-block;
  margin-bottom: 14px;
  line-height: 0;
}

.brand.centered {
  display: block;
  text-align: center;
}

.brand.centered img {
  margin-inline: auto;
}

.brand.hero-brand img {
  width: clamp(148px, 22vw, 214px);
}

.brand img {
  width: clamp(170px, 28vw, 250px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(13, 37, 69, 0.14));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--chip-line);
  background: var(--chip-bg);
  color: #375881;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Sora", "Manrope", "Avenir Next", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.14;
}

.lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 20px);
}

.lead.small {
  font-size: 14px;
  margin-top: 2px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--chip-line);
  background: var(--chip-bg);
  color: #395a84;
  font-size: 13px;
  font-weight: 700;
}

.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #34ca9a, #0aab7f);
  box-shadow: 0 0 0 3px rgba(14, 171, 127, 0.18);
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 6px;
}

.btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 12px 22px -10px rgba(18, 95, 202, 0.58);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 24px -10px rgba(18, 95, 202, 0.56);
}

.btn.ghost {
  color: #305175;
  border: 1px solid #c8d8ed;
  background: rgba(255, 255, 255, 0.7);
}

.btn.ghost:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 8px 16px -12px rgba(19, 54, 98, 0.5);
}

.workflow {
  margin-top: 26px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

.step-card {
  border-radius: 18px;
  padding: 16px;
  border: 1px solid #d4e2f6;
  background: #ffffff;
  box-shadow: 0 14px 26px -24px rgba(18, 59, 108, 0.48);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: #bcd3f2;
  box-shadow: 0 18px 26px -22px rgba(18, 59, 108, 0.5);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #c3d7f3;
  background: var(--chip-bg);
  color: #2f567f;
  font-weight: 800;
  font-size: 13px;
}

.step-title {
  margin: 10px 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #1f3f68;
}

.step-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll.is-pending {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sep {
  border: 0;
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(90deg, rgba(152, 174, 206, 0), rgba(152, 174, 206, 0.75), rgba(152, 174, 206, 0));
}

h2 {
  margin: 0 0 6px;
  font-size: clamp(21px, 3vw, 29px);
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
}

li {
  margin-bottom: 8px;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #edf3fb;
  color: #2e527e;
}

.form {
  margin-top: 16px;
}

.row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

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

label {
  display: block;
  margin: 2px 0 6px;
  color: #3f5f87;
  font-size: 13px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #c8d9ef;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 1px rgba(16, 36, 63, 0.04);
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #7e93b1;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(47, 128, 255, 0.5);
  outline-offset: 2px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.help {
  color: #637a99;
  font-size: 12px;
  margin: 10px 0 0;
}

.help a,
footer a,
.meta a {
  color: #245d9a;
  text-decoration: none;
  border-bottom: 1px solid rgba(36, 93, 154, 0.3);
}

.meta {
  margin-top: 22px;
  font-size: 14px;
  color: #637a99;
}

footer {
  margin-top: 14px;
  color: #6b809f;
  font-size: 13px;
}

.hp {
  position: absolute;
  left: -5000px;
}

.reference {
  margin-top: 12px;
  color: #5e7494;
  font-size: 14px;
}

.reveal {
  animation: reveal-up 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .two {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 920px) {
  .lang {
    position: fixed;
    top: 16px;
    right: 18px;
    width: auto;
    margin: 0;
    z-index: 3;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .surface {
    border-radius: 24px;
    padding: 22px 18px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}
