* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #070b14;
  --bg-soft: #101728;
  --panel: rgba(18, 27, 46, 0.72);
  --panel-border: rgba(140, 170, 255, 0.2);
  --text: #eaf0ff;
  --muted: #aebada;
  --accent: #7ee7d8;
  --accent-strong: #66c8f2;
  --card: #0e1628;
  --card-border: rgba(166, 186, 234, 0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(102, 200, 242, 0.22), transparent 60%),
    radial-gradient(900px 500px at -15% 15%, rgba(126, 231, 216, 0.16), transparent 65%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
  background-image: radial-gradient(#fff 0.5px, transparent 0.5px);
  background-size: 4px 4px;
}

.hero, main, footer { position: relative; z-index: 1; }

.hero {
  max-width: 1120px;
  margin: 1rem auto 0;
  padding: 1.2rem 1rem 0;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: var(--panel);
  backdrop-filter: blur(8px);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 0 6px rgba(126, 231, 216, 0.14);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-cta {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--panel-border);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
}

.hero-shell {
  margin-top: 1rem;
  padding: 4.2rem 1.1rem 2.6rem;
}

.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--accent);
}

h1, h2 {
  font-family: "Fraunces", serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 0.85rem;
  max-width: 12.4ch;
  font-size: clamp(2.15rem, 6vw, 4.35rem);
}

h1 span {
  color: var(--accent);
  font-style: italic;
}

.hero-copy {
  margin-top: 1.05rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 11px;
  padding: 0.86rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  color: #0b1324;
  background: linear-gradient(130deg, var(--accent), var(--accent-strong));
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--panel-border);
  background: rgba(18, 27, 46, 0.35);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.signal-row span {
  font-size: 0.8rem;
  color: #cee3ff;
  border: 1px solid var(--card-border);
  background: rgba(16, 23, 40, 0.72);
  padding: 0.4rem 0.62rem;
  border-radius: 999px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.8rem 1rem;
}

.section-head h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  max-width: 18ch;
}

.cards {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.95rem;
}

.card {
  border: 1px solid var(--card-border);
  background: var(--card);
  border-radius: 14px;
  padding: 1.15rem;
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.card p,
.steps p,
.cta-copy {
  color: var(--muted);
}

.card-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.card-link:hover {
  text-decoration: underline;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 21, 37, 0.7), rgba(10, 16, 30, 0.2));
  border-top: 1px solid rgba(140, 170, 255, 0.1);
  border-bottom: 1px solid rgba(140, 170, 255, 0.1);
}

.steps {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}

.steps article {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: rgba(10, 16, 30, 0.62);
  padding: 1rem;
}

.steps span {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: 0.45rem 0 0.35rem;
  font-size: 1rem;
}

.cta-panel {
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background:
    radial-gradient(550px 250px at 70% 0%, rgba(102, 200, 242, 0.14), transparent 60%),
    rgba(11, 18, 33, 0.84);
  padding: 2rem 1.1rem;
}

.cta-panel h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  max-width: 22ch;
}

.cta-copy {
  margin: 0.75rem 0 1.1rem;
  max-width: 58ch;
}

.lead-form {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 520px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: rgba(10, 16, 30, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #6b7a9e;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
}

.lead-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7a9e'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

.lead-form select option {
  background: #0e1628;
  color: var(--text);
}

.lead-form textarea {
  resize: vertical;
  min-height: 70px;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.3rem;
}

.form-actions button.btn-primary {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #5e6e90;
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1rem 2.4rem;
  color: #9aaad2;
  font-size: 0.86rem;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.top-nav-links > a:not(.nav-cta) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.clean-list,
.number-list {
  margin: 0.6rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.clean-list li,
.number-list li {
  margin: 0.25rem 0;
}

.compact-hero {
  padding-top: 2.6rem;
}

.article-shell {
  padding-top: 1.4rem;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(250px, 0.9fr);
  gap: 1rem;
}

.article-grid h2 {
  margin: 1.2rem 0 0.5rem;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.article-grid p {
  color: var(--muted);
}

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

.sticky-card {
  position: sticky;
  top: 1rem;
  align-self: start;
  height: fit-content;
}

.mini-links {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.mini-links a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 980px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .sticky-card {
    position: static;
  }
}

@media (max-width: 780px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .top-nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-shell { padding-top: 2.8rem; }
}
