:root {
  color-scheme: dark;
  --page: #07101d;
  --panel: #0d1828;
  --panel-strong: #111f33;
  --line: #26364d;
  --text: #eff6ff;
  --muted: #9fb0c5;
  --blue: #38bdf8;
  --cyan: #67e8f9;
  --green: #34d399;
  --orange: #fb923c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 116, 144, 0.24), transparent 30rem),
    radial-gradient(circle at 90% 18%, rgba(30, 64, 175, 0.18), transparent 28rem),
    var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #0e7490;
  border-radius: 14px;
  background: linear-gradient(145deg, #0c4a6e, #082f49);
  color: var(--cyan);
  font-weight: 950;
  letter-spacing: -1px;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.free-pill {
  padding: 9px 13px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 999px;
  background: rgba(6, 78, 59, 0.42);
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 800;
}

main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding: 72px 0 78px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 16px 0 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy > p {
  max-width: 690px;
  margin: 0 0 30px;
  color: #c4d1e1;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 13px;
  background: var(--blue);
  color: #06111f;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(56, 189, 248, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(56, 189, 248, 0.3);
}

.hero-console {
  padding: 22px;
  border: 1px solid #2b405b;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(17, 31, 51, 0.96), rgba(6, 16, 29, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.console-top {
  display: flex;
  gap: 7px;
  padding-bottom: 18px;
  border-bottom: 1px solid #26364d;
}

.console-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #475569;
}

.console-top span:first-child {
  background: var(--orange);
}

.console-top span:nth-child(2) {
  background: #facc15;
}

.console-top span:last-child {
  background: var(--green);
}

.console-label {
  margin: 24px 0 8px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-console > strong {
  font-size: 25px;
}

.hero-console ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-console li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(71, 85, 105, 0.5);
  color: #cbd5e1;
}

.hero-console li span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.utilities {
  padding: 72px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0 0 7px;
  color: var(--muted);
}

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

.tool-card {
  position: relative;
  grid-column: span 2;
  min-height: 310px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(13, 24, 40, 0.88);
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--blue);
  background: var(--panel-strong);
  outline: none;
}

.tool-card.featured {
  background: linear-gradient(145deg, rgba(8, 47, 73, 0.92), rgba(13, 24, 40, 0.94));
}

.tool-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #60738d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border: 1px solid #155e75;
  border-radius: 15px;
  background: #083344;
  color: var(--cyan);
  font-size: 25px;
  font-weight: 900;
}

.tool-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.tool-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.open-tool {
  margin-top: auto;
  color: var(--blue);
  font-weight: 850;
}

.open-tool span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 170ms ease;
}

.tool-card:hover .open-tool span,
.tool-card:focus-visible .open-tool span {
  transform: translateX(4px);
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 10px 0 80px;
  padding: 25px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 20px;
  background: rgba(6, 78, 59, 0.2);
}

.privacy-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.16);
  color: #6ee7b7;
  font-size: 23px;
  font-weight: 900;
}

.privacy-note h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.privacy-note p {
  margin: 0;
  color: #b7c8da;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #7f91a7;
  font-size: 13px;
}

footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 60px 0;
  }

  .hero-console {
    max-width: 540px;
  }

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

  .tool-card {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .free-pill {
    max-width: 118px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .section-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .tool-card {
    grid-column: auto;
    min-height: 285px;
  }

  .privacy-note {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
