:root {
  color-scheme: dark;
  --bg: #07100e;
  --text: #f4f7f5;
  --muted: #aebbb6;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(12, 25, 22, 0.86);
  --panel-solid: #0d1b18;
  --accent: #18b683;
  --accent-strong: #0e8c65;
  --gold: #d8b35a;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7, 16, 14, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(24, 182, 131, 0.55);
  border-radius: 8px;
  background: rgba(24, 182, 131, 0.14);
  color: var(--accent);
  font-size: 13px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 110px clamp(18px, 5vw, 72px) 72px;
}

#chartCanvas,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.96) 0%, rgba(7, 16, 14, 0.74) 48%, rgba(7, 16, 14, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 16, 14, 0.2), rgba(7, 16, 14, 1));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

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

.lead {
  max-width: 620px;
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #04110d;
  cursor: pointer;
  font-weight: 900;
  padding: 13px 20px;
  box-shadow: 0 14px 34px rgba(24, 182, 131, 0.22);
}

.button:hover {
  background: #22c893;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}

.section {
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.features {
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.features article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.features span {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 900;
}

.form-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.form-copy {
  position: sticky;
  top: 108px;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #dbe5e0;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

select option {
  background: #0d1b18;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(24, 182, 131, 0.8);
  box-shadow: 0 0 0 3px rgba(24, 182, 131, 0.15);
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 3px;
}

.small {
  margin: 0;
  font-size: 13px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 142px;
  }

  .intro,
  .features,
  .form-section,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .form-copy {
    position: static;
  }

  footer {
    flex-direction: column;
  }
}
