:root {
  color-scheme: dark;
  --bg: #060607;
  --panel: #0d0e10;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f7f8f8;
  --muted: #8a8f98;
  --muted-strong: #d0d6e0;
  --accent: #7170ff;
  --accent-strong: #5e6ad2;
  --success: #10b981;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(113, 112, 255, 0.18), transparent 42rem),
    radial-gradient(circle at 92% 40%, rgba(94, 106, 210, 0.08), transparent 34rem),
    var(--bg);
  color: var(--text);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

nav {
  height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted-strong);
}

a { color: inherit; }
.brand, .navbtn, .primary, .secondary { text-decoration: none; }
.brand { font-weight: 520; }

.navbtn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 9px 13px;
}

.hero {
  padding: 86px 0 72px;
  text-align: center;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted-strong);
  font-size: 13px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 20px var(--success);
}

h1 {
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  margin: 22px 0 18px;
  font-weight: 590;
}

.sub {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.primary,
.secondary {
  display: inline-flex;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 510;
  color: var(--text);
}

.primary { background: var(--accent-strong); }
.secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 14px;
  padding: 22px;
  text-align: left;
  min-height: 160px;
}

.card b { font-size: 18px; }
.card p { color: var(--muted); line-height: 1.55; }

.panel {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 20px;
  padding: 30px;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 18px 0;
  font-weight: 510;
}

.panel p { color: var(--muted); line-height: 1.65; }

.form {
  display: grid;
  gap: 12px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted-strong);
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  background: #090a0c;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 12px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(113, 112, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(113, 112, 255, 0.16);
}

textarea { resize: vertical; }

button {
  border: 0;
  border-radius: 8px;
  background: var(--text);
  color: #08090a;
  padding: 13px 16px;
  font-weight: 650;
  cursor: pointer;
}

.field-trap {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px;
  opacity: 0;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-note.is-warning { color: #ffd58a; }
.form-note.is-success { color: #94ffcf; }

footer {
  padding-top: 70px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .grid,
  .panel,
  .two { grid-template-columns: 1fr; }
  .hero { text-align: left; padding-top: 76px; }
  .actions { justify-content: flex-start; }
  h1 { font-size: clamp(46px, 16vw, 68px); }
}

@media (max-width: 560px) {
  .wrap { padding: 18px 16px 56px; }
  .primary, .secondary, button { width: 100%; justify-content: center; }
  .panel { padding: 20px; }
}
