:root {
  color-scheme: light;
  --bg: #f5f9ff;
  --panel: #ffffff;
  --text: #0b1538;
  --muted: #5c6b86;
  --line: #dbe7f6;
  --blue: #0876ff;
  --cyan: #21c7f6;
  --deep: #0637c9;
  --shadow: 0 18px 50px rgba(8, 118, 255, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(33, 199, 246, 0.22), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 62%, #eef6ff 100%);
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: center;
  padding: 58px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(8, 118, 255, 0.2);
  border-radius: 999px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 55%, var(--deep));
  box-shadow: var(--shadow);
}

.hero-art {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 26px;
  background: linear-gradient(145deg, #18c6f5, #0876ff 58%, #0035d8);
  box-shadow: var(--shadow);
}

.hero-art img {
  width: min(70%, 320px);
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(0, 31, 122, 0.24));
}

.section {
  padding: 54px 0;
}

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

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(19, 68, 137, 0.08);
}

.card h2,
.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p,
.card li {
  color: var(--muted);
}

.doc {
  max-width: 860px;
  padding: 42px 0 74px;
}

.doc h1 {
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.04;
}

.doc h2 {
  margin-top: 34px;
  font-size: 24px;
}

.doc p,
.doc li {
  color: var(--muted);
}

.note {
  padding: 18px 20px;
  border: 1px solid rgba(8, 118, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.form-stack {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 750;
  color: var(--text);
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.field input:focus {
  outline: 3px solid rgba(8, 118, 255, 0.18);
  border-color: var(--blue);
}

button.button {
  cursor: pointer;
  font: inherit;
}

button.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.status {
  min-height: 24px;
  margin: 0;
  font-weight: 650;
}

.status.error {
  color: #b42318;
}

[hidden] {
  display: none !important;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }

  .hero-art {
    min-height: 280px;
  }

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