:root {
  --ink: #e8eef7;
  --muted: #9aa8ba;
  --soft: #0f1826;
  --paper: #070b12;
  --line: #243244;
  --green: #24d18f;
  --green-2: #0fb978;
  --marigold: #58a6ff;
  --brick: #24d18f;
  --blue: #58a6ff;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(25, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, rgba(36, 209, 143, 0.12), transparent 32%),
    radial-gradient(circle at 12% 18%, rgba(88, 166, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #070b12 0%, #0b111c 44%, #070b12 100%);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 18, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.02em;
  color: #ffffff;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-copy {
  min-width: 0;
}

.brand small {
  display: block;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-weight: 750;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 7px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #ffffff;
  background: rgba(88, 166, 255, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: #06110d;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 7px;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-weight: 850;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.btn:hover {
  background: #5eeab0;
  border-color: #5eeab0;
}

.btn.secondary {
  color: #ffffff;
  background: rgba(88, 166, 255, 0.08);
  border-color: rgba(88, 166, 255, 0.42);
}

.btn.secondary:hover {
  color: #fff;
  background: rgba(88, 166, 255, 0.22);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 42px;
  background:
    linear-gradient(110deg, rgba(7, 11, 18, 0.97), rgba(7, 11, 18, 0.78)),
    url("/logo.png") right 10% center / min(34vw, 480px) auto no-repeat,
    radial-gradient(circle at 82% 20%, rgba(36, 209, 143, 0.22), transparent 32%),
    linear-gradient(135deg, #0a1220, #101c2e 48%, #07111b);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brick);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
  max-width: 13ch;
}

.page-hero h1 {
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.18rem;
}

.lede {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
  max-width: 100%;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  color: #bfffe3;
  background: rgba(36, 209, 143, 0.1);
  border: 1px solid rgba(36, 209, 143, 0.3);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-panel,
.card {
  background: rgba(15, 24, 38, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 18px;
}

.hero-logo-panel {
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    radial-gradient(circle at 50% 42%, rgba(36, 209, 143, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(88, 166, 255, 0.08), rgba(15, 24, 38, 0.9));
}

.hero-logo-panel img {
  width: min(260px, 72%);
  filter: drop-shadow(0 24px 60px rgba(36, 209, 143, 0.22));
}

.hero-logo-panel span {
  margin-top: -24px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.tool-shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.tool-shot img {
  width: 100%;
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: rgba(15, 24, 38, 0.7);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.section-head p,
.copy p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
}

.copy {
  display: grid;
  gap: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  padding: 20px;
  min-width: 0;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.number {
  color: var(--brick);
  font-weight: 900;
  font-size: 0.86rem;
}

.tool-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: center;
}

.tool-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat {
  min-height: 112px;
  padding: 22px;
  background: linear-gradient(135deg, #0f766e, #1f4c8f);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.page-hero {
  padding: 68px 0 50px;
  background:
    radial-gradient(circle at 82% 18%, rgba(36, 209, 143, 0.18), transparent 30%),
    linear-gradient(135deg, #0a1220, #101c2e 58%, #07111b);
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(15, 24, 38, 0.88);
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: rgba(88, 166, 255, 0.1);
}

tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: rgba(15, 24, 38, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #0b111c;
  border: 1px solid #334155;
  border-radius: 7px;
  font: inherit;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
  font-weight: 800;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.options {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
}

.options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.options input {
  width: auto;
  min-height: auto;
}

.success {
  display: none;
  margin-top: 16px;
  padding: 18px;
  color: #bfffe3;
  background: rgba(36, 209, 143, 0.1);
  border: 1px solid rgba(36, 209, 143, 0.3);
  border-radius: var(--radius);
}

.success.is-visible {
  display: block;
}

.site-footer {
  padding: 46px 0 22px;
  color: #dbe7f5;
  background: #050811;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 24px;
}

.site-footer a {
  color: #dbe7f5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(7, 11, 18, 0.92), rgba(7, 11, 18, 0.99)),
      url("/logo.png") center bottom 24px / min(70vw, 320px) auto no-repeat,
      linear-gradient(135deg, #0a1220, #101c2e 48%, #07111b);
    padding-bottom: 220px;
  }

  .hero-grid,
  .tool-card,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: none;
  }

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

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 22px, 1120px);
  }

  .nav-links {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a {
    font-size: 0.86rem;
    text-align: center;
    background: rgba(88, 166, 255, 0.08);
  }

  .hero,
  .page-hero {
    padding-top: 44px;
  }

  .hero {
    padding-bottom: 180px;
  }

  h1 {
    font-size: clamp(2.05rem, 12vw, 2.75rem);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

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

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}
