@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink-950: #05090f;
  --ink-900: #0b1420;
  --ink-850: #121f2f;
  --ink-700: #23405a;
  --ink-500: #3d6e96;
  --ink-300: #9dc4de;
  --ink-200: #d9ebf7;
  --flare: #f7bc5f;
  --flare-soft: #f2d6aa;
  --panel: rgba(11, 20, 32, 0.88);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(247, 188, 95, 0.22), rgba(247, 188, 95, 0) 34%),
    radial-gradient(circle at 92% 18%, rgba(61, 110, 150, 0.36), rgba(61, 110, 150, 0) 38%),
    linear-gradient(160deg, #060b12 0%, #0c1827 46%, #070d16 100%);
  color: var(--ink-200);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
  opacity: 0.24;
  pointer-events: none;
  mix-blend-mode: screen;
}

.content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 7vw;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 34px 0 56px;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 42px;
}

.brand,
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

.brand {
  font-size: 1.44rem;
  letter-spacing: 0.03em;
}

.top-links {
  display: flex;
  gap: 22px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--ink-300);
}

.top-links a[aria-current="page"] {
  color: var(--flare-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
  gap: 26px;
}

.hero-copy {
  width: 100%;
}

.eyebrow {
  color: var(--ink-300);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 18px;
  line-height: 1.03;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
}

.lead {
  color: var(--ink-300);
  max-width: none;
  line-height: 1.7;
}

.promise-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.promise-list li {
  padding-left: 22px;
  position: relative;
}

.promise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffd495, #f3b759);
  box-shadow: 0 0 0 6px rgba(247, 188, 95, 0.17);
}

.formula-panel {
  background: linear-gradient(135deg, rgba(11, 22, 35, 0.94), rgba(19, 32, 49, 0.92));
  border: 1px solid rgba(150, 196, 222, 0.3);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.35);
}

.formula-panel h2 {
  font-size: 1.38rem;
  margin-bottom: 12px;
}

.formula-panel p {
  color: var(--ink-300);
}

.formula-panel code {
  display: block;
  margin: 14px 0 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(157, 196, 219, 0.24);
  background: rgba(6, 12, 18, 0.66);
  font-family: "Consolas", "Courier New", monospace;
  color: #ffdca6;
  line-height: 1.4;
}

.formula-outcome {
  font-weight: 700;
  color: var(--ink-200);
}

.formula-note {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.section {
  position: relative;
  z-index: 2;
  padding: 26px 0 68px;
}

.tool-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.tool-inputs,
.tool-results {
  background: var(--panel);
  border-radius: 20px;
  border: 1px solid rgba(130, 173, 199, 0.32);
  padding: 24px;
}

.tool-inputs h2 {
  font-size: 1.85rem;
  margin-bottom: 18px;
}

.tool-inputs label {
  display: block;
  margin-top: 14px;
  margin-bottom: 7px;
  color: var(--ink-300);
  font-size: 0.92rem;
}

.tool-inputs input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(141, 182, 207, 0.45);
  background: rgba(6, 11, 18, 0.82);
  color: var(--ink-200);
  padding: 11px 12px;
  font-size: 1rem;
}

.tool-inputs input:focus {
  outline: 2px solid rgba(247, 188, 95, 0.85);
  outline-offset: 2px;
  border-color: rgba(247, 188, 95, 0.92);
}

.validation-message {
  min-height: 20px;
  margin-top: 12px;
  color: #ffc973;
  font-size: 0.88rem;
}

.tool-results h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.primary-results {
  display: grid;
  gap: 10px;
}

.result-card {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(145, 184, 207, 0.22);
  background: rgba(6, 13, 20, 0.58);
}

.result-card.accent {
  border-color: rgba(247, 188, 95, 0.5);
  background: rgba(247, 188, 95, 0.08);
}

.result-label {
  color: var(--ink-300);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.result-card strong {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.result-detail {
  margin-top: 2px;
  color: var(--ink-300);
  font-size: 0.9rem;
  line-height: 1.45;
}

.interpretation {
  margin-top: 6px;
  color: var(--ink-300);
  line-height: 1.55;
}

.defined-outputs {
  margin-top: 18px;
}

.defined-outputs h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.defined-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.btn {
  margin-top: 18px;
  display: inline-block;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  color: #08111b;
  background: linear-gradient(145deg, #ffd092, #f4b65c);
  box-shadow: 0 14px 30px -16px rgba(247, 188, 95, 0.8);
}

.impact {
  padding-top: 0;
}

.section-head {
  background: rgba(12, 21, 33, 0.9);
  border: 1px solid rgba(137, 180, 204, 0.28);
  border-radius: 20px;
  padding: 24px;
}

.section-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 3.3vw, 2.4rem);
}

.section-head p:last-child {
  color: var(--ink-300);
  max-width: 820px;
  line-height: 1.66;
}

.cta-panel {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(247, 188, 95, 0.38);
  background: rgba(247, 188, 95, 0.08);
}

.cta-heading {
  color: var(--flare-soft);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.footer {
  padding: 24px 0 36px;
  border-top: 1px solid rgba(116, 156, 180, 0.25);
  color: var(--ink-300);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 940px) {
  .tool-shell {
    grid-template-columns: 1fr;
  }

  .defined-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .top-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .tool-inputs h2 {
    font-size: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}
