:root {
  --bg: #07131e;
  --bg-2: #0b1c2a;
  --panel: #102637;
  --panel-2: #0d2231;
  --ink: #f2f8fb;
  --muted: #9fb4c0;
  --line: rgba(242, 248, 251, 0.14);
  --green: #00a651;
  --lime: #8cc63f;
  --blue: #1aa7df;
  --deep-blue: #0b73bb;
  --warm: #b85a54;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(0, 166, 81, 0.12), transparent 28rem),
    linear-gradient(315deg, rgba(26, 167, 223, 0.13), transparent 24rem),
    var(--bg);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(7, 19, 30, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
nav,
.hero-actions,
.contact-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  font-size: 1.12rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

nav {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(840px, calc(100vh - 70px));
  overflow: hidden;
}

.hero-image,
.hero-shade,
.cta-section > img,
.cta-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image,
.cta-section > img {
  object-fit: cover;
  object-position: 50% 62%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 19, 30, 0.98) 0%, rgba(7, 19, 30, 0.78) 42%, rgba(7, 19, 30, 0.26) 100%),
    linear-gradient(0deg, rgba(7, 19, 30, 0.96) 0%, transparent 42%);
}

.hero-content,
.hero-metrics {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero-content {
  padding: clamp(96px, 12vw, 170px) 0 36px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.5vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 2.8vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-content > p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.7vw, 1.38rem);
  line-height: 1.65;
}

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

.button,
.contact-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  color: #04111b;
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
.contact-form button:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button.ghost:hover {
  border-color: var(--blue);
}

.button.light {
  background: var(--ink);
  border-color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 26px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-metrics div {
  padding: 22px;
  background: rgba(13, 34, 49, 0.72);
}

.hero-metrics span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  font-weight: 900;
}

.hero-metrics p {
  margin-bottom: 0;
  color: var(--muted);
}

.intro-section,
.plans-section,
.about-section,
.partner-section,
.contact-section,
.site-footer {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 86px);
  padding: clamp(82px, 11vw, 150px) 0 clamp(56px, 8vw, 88px);
}

.intro-copy p,
.about-copy p,
.contact-copy p,
.plan-body p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.plans-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: clamp(80px, 11vw, 150px);
}

.plan-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.plan-card.featured {
  background: linear-gradient(180deg, rgba(26, 167, 223, 0.16), var(--panel));
}

.plan-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.plan-body {
  padding: 26px;
}

.plan-price {
  min-height: 48px;
  margin-bottom: 18px;
  color: var(--lime) !important;
  font-weight: 900;
}

.plan-body h3 {
  min-height: 92px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
  padding: clamp(70px, 10vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.about-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.about-copy {
  max-width: 680px;
}

.partner-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
  padding: clamp(64px, 9vw, 118px) 0;
  border-top: 1px solid var(--line);
}

.partner-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 5.1rem);
}

.partner-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.7;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 22px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.partner-link:hover {
  color: #04111b;
  background: var(--blue);
  border-color: var(--blue);
}

.tools-main {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.tools-hero {
  min-height: 68vh;
  padding: clamp(82px, 12vw, 150px) 0 clamp(70px, 10vw, 118px);
}

.tools-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.tools-hero > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.65;
}

.tools-list {
  display: grid;
  gap: 28px;
  margin: clamp(34px, 6vw, 70px) 0 24px;
}

.tool-card {
  min-width: 0;
}

.tool-download-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tool-download-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
}

.tool-download-panel p {
  margin-bottom: 6px;
  color: var(--muted);
}

.tool-file {
  color: var(--ink) !important;
  font-weight: 900;
}

.tool-meta {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.tool-meta div {
  min-width: 0;
  padding: 18px;
  background: var(--bg-2);
}

.tool-meta dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.tool-meta a {
  text-decoration-color: rgba(26, 167, 223, 0.6);
}

.tool-meta code {
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.cta-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 56vw, 680px);
  overflow: hidden;
}

.cta-shade {
  background: rgba(7, 19, 30, 0.72);
}

.cta-content {
  position: relative;
  z-index: 1;
  width: min(1050px, calc(100vw - 40px));
  text-align: center;
}

.cta-content h2 {
  color: var(--ink);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
  padding: clamp(82px, 11vw, 150px) 0;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 26px;
}

.contact-links a {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration-color: rgba(140, 198, 63, 0.5);
  text-underline-offset: 5px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 42px);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  color: var(--ink);
  background: #07131e;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  outline: none;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 167, 223, 0.16);
}

.contact-form button {
  justify-self: start;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.4fr) minmax(220px, 0.4fr);
  gap: 32px;
  padding: 42px 0 54px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  text-decoration: none;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.site-footer p {
  margin-bottom: 8px;
  color: var(--muted);
}

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

.site-footer a:hover {
  color: var(--blue);
}

@media (max-width: 960px) {
  .intro-section,
  .about-section,
  .partner-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .plan-body h3,
  .plan-price {
    min-height: 0;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    width: calc(100vw - 40px);
    max-width: none;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100vw - 40px);
    max-width: none;
    gap: 0;
  }

  nav a:nth-child(2) {
    text-align: center;
  }

  nav a:last-child {
    text-align: right;
  }

  h1 {
    max-width: 8.5ch;
    font-size: clamp(2.55rem, 10.5vw, 3rem);
    line-height: 0.95;
    overflow-wrap: normal;
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.7rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 78px;
  }

  .hero-content > p {
    max-width: 31ch;
  }

  .eyebrow {
    max-width: 30ch;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
   }

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

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

  .about-image img {
    min-height: 340px;
  }

  .tool-download-panel {
    align-items: flex-start;
    flex-direction: column;
  }

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