:root {
  --ink: #14212b;
  --muted: #5d6c7a;
  --line: #d8e1e8;
  --paper: #f5f8fa;
  --white: #ffffff;
  --teal: #157f83;
  --teal-dark: #0d575b;
  --teal-soft: #e7f5f4;
  --gold: #d18b18;
  --gold-soft: #fff4dc;
  --green: #228b61;
  --navy: #1f3547;
  --night: #101b24;
  --shadow: 0 24px 70px rgba(20, 33, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(240px, auto) 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 90px;
  padding: 16px clamp(18px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(216, 225, 232, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand::after {
  position: absolute;
  left: 24px;
  right: 22px;
  bottom: -6px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  animation: logoSweep 4.8s ease-in-out infinite;
}

.brand-logo {
  display: block;
  width: 258px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(20, 33, 43, 0.1));
  transform-origin: 18% 50%;
  animation: logoBreathe 5.6s ease-in-out infinite;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 14px 24px rgba(21, 127, 131, 0.18));
  transform: translateY(-1px) scale(1.025);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

nav a,
.header-cta {
  text-decoration: none;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 22%, rgba(21, 127, 131, 0.42), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(209, 139, 24, 0.24), transparent 28%),
    linear-gradient(135deg, #101b24 0%, #1d3346 52%, #0d575b 100%);
}

#signalCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 760px;
  padding: 96px clamp(18px, 6vw, 72px) 92px;
}

.hero-content {
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(48px, 7.2vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(21, 127, 131, 0.3);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.button.small {
  min-height: 34px;
  padding: 8px 12px;
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--line);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.proof-row span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.hero-product {
  perspective: 1200px;
}

.browser-frame {
  position: relative;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.34);
  transform: rotateY(-7deg) rotateX(4deg);
  animation: floatPanel 7s ease-in-out infinite;
  backdrop-filter: blur(16px);
}

.browser-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}

.search-preview {
  display: grid;
  gap: 14px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.search-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-bar span {
  color: var(--muted);
}

.map-panel {
  position: relative;
  min-height: 265px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(216, 225, 232, 0.85) 1px, transparent 1px),
    linear-gradient(rgba(216, 225, 232, 0.85) 1px, transparent 1px),
    linear-gradient(135deg, #edf4f5, #d9ebe9);
  background-size: 42px 42px, 42px 42px, cover;
}

.map-grid {
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(21, 127, 131, 0.18);
  border-radius: 8px;
}

.map-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--teal);
  border: 5px solid var(--white);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 8px 18px rgba(13, 87, 91, 0.28);
  transform: rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  inset: 5px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.pin-one {
  left: 22%;
  top: 36%;
  animation: pulsePin 2.8s ease-in-out infinite;
}

.pin-two {
  right: 18%;
  top: 22%;
  animation: pulsePin 3.3s ease-in-out infinite 0.4s;
}

.pin-three {
  right: 36%;
  bottom: 22%;
  animation: pulsePin 3.1s ease-in-out infinite 0.8s;
}

.rank-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: min(300px, calc(100% - 44px));
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 225, 232, 0.8);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.rank-card span,
.audit-score span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.rank-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.rank-card em {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 9px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.audit-score {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: end;
  padding: 16px;
  background: var(--paper);
  border-radius: 8px;
}

.audit-score strong {
  display: block;
  color: var(--teal-dark);
  font-size: 42px;
  line-height: 1;
}

.score-bars,
.mini-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 78px;
}

.score-bars span,
.mini-chart span {
  width: 100%;
  height: var(--h);
  min-height: 16px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
  border-radius: 8px 8px 0 0;
  animation: barRise 1.3s ease both;
}

.ticker {
  overflow: hidden;
  color: var(--white);
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 14px 0;
  animation: tickerMove 28s linear infinite;
}

.ticker span {
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 96px clamp(18px, 6vw, 72px);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 38px;
}

.section-heading h2,
.proof-band h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.proof-band p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.impact-grid,
.service-grid,
.pricing-grid,
.process-grid,
.deliverables-grid,
.policy-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.visual-card,
.service-card,
.price-card,
.step,
.policy-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.visual-card {
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(20, 33, 43, 0.08);
}

.visual-card h3,
.price-card h3,
.step h3 {
  margin: 22px 0 10px;
  font-size: 23px;
}

.visual-card p,
.service-card p,
.price-card li,
.step p,
.policy-grid p,
.trust-list span {
  color: var(--muted);
}

.service-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(245, 248, 250, 0.92)),
    var(--paper);
}

.service-card {
  min-height: 300px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(20, 33, 43, 0.06);
}

.service-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 26px 0 10px;
  font-size: 24px;
}

.mini-chart {
  height: 130px;
  padding: 18px;
  background: linear-gradient(180deg, var(--teal-soft), var(--white));
  border-radius: 8px;
}

.result-stack {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--paper);
  border-radius: 8px;
}

.result-stack div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
}

.result-stack strong {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 8px;
}

.trust-meter {
  position: relative;
  height: 150px;
  background: conic-gradient(from -120deg, var(--gold), var(--teal) 58%, #dbe6ec 0);
  border-radius: 8px;
}

.trust-meter::before {
  position: absolute;
  inset: 28px;
  content: "";
  background: var(--white);
  border-radius: 8px;
}

.trust-meter span {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 6px;
  height: 64px;
  background: var(--ink);
  border-radius: 999px;
  transform-origin: bottom center;
  transform: rotate(44deg);
  animation: meterSweep 4s ease-in-out infinite;
}

.section-contrast {
  background: var(--white);
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.price-card:hover,
.contact-card[href]:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.price-card.featured {
  position: relative;
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.price-card.featured::before {
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 8px 8px 0 0;
}

.package {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  margin: 8px 0 20px;
  color: var(--teal-dark);
  font-size: 30px;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

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

.step {
  padding: 22px;
}

.step span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 50px;
  align-items: start;
  color: var(--white);
  background: linear-gradient(135deg, var(--night), #1e3545);
}

.deliverables-section {
  background: var(--paper);
}

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

.deliverables-grid div {
  display: grid;
  gap: 9px;
  min-height: 160px;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deliverables-grid strong {
  font-size: 18px;
}

.deliverables-grid span {
  color: var(--muted);
}

.policies-section {
  border-bottom: 1px solid var(--line);
}

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

.policy-grid article {
  min-height: 230px;
  padding: 22px;
}

.policy-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.policy-grid p {
  margin: 0;
}

.policy-grid a {
  color: var(--teal-dark);
  font-weight: 900;
}

.proof-band p {
  color: rgba(255, 255, 255, 0.74);
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list div {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
}

.trust-list span {
  color: rgba(255, 255, 255, 0.72);
}

.audit-section {
  position: relative;
  overflow: hidden;
}

.audit-section::before {
  position: absolute;
  right: -120px;
  top: 60px;
  width: 360px;
  height: 360px;
  content: "";
  background: radial-gradient(circle, rgba(21, 127, 131, 0.13), transparent 68%);
  pointer-events: none;
}

.audit-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: min(980px, 100%);
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9d4dc;
  border-radius: 8px;
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(21, 127, 131, 0.22);
  border-color: var(--teal);
}

.form-button {
  grid-column: 1 / -1;
  width: fit-content;
}

.output-panel {
  width: min(980px, 100%);
  margin-top: 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.output-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  white-space: pre-wrap;
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
}

.contact-section {
  background: var(--paper);
}

.contact-card {
  display: grid;
  gap: 10px;
  min-height: 128px;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.footer-logo {
  display: block;
  width: 230px;
  height: auto;
}

.reveal-card {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUp 0.75s ease both;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-grid .reveal-card:nth-child(2),
.process-grid .reveal-card:nth-child(2) {
  animation-delay: 0.08s;
}

.pricing-grid .reveal-card:nth-child(3),
.process-grid .reveal-card:nth-child(3) {
  animation-delay: 0.16s;
}

.process-grid .reveal-card:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes floatPanel {
  0%,
  100% {
    transform: rotateY(-7deg) rotateX(4deg) translateY(0);
  }
  50% {
    transform: rotateY(-4deg) rotateX(2deg) translateY(-12px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes pulsePin {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(21, 127, 131, 0.34), 0 8px 18px rgba(13, 87, 91, 0.28);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(21, 127, 131, 0), 0 8px 18px rgba(13, 87, 91, 0.28);
  }
}

@keyframes barRise {
  from {
    transform: scaleY(0.2);
    transform-origin: bottom;
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes meterSweep {
  0%,
  100% {
    transform: rotate(24deg);
  }
  50% {
    transform: rotate(56deg);
  }
}

@keyframes logoBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-1px) scale(1.018);
  }
}

@keyframes logoSweep {
  0%,
  52%,
  100% {
    opacity: 0;
    transform: scaleX(0.35);
  }
  18%,
  34% {
    opacity: 0.85;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .hero-product {
    width: min(620px, 100%);
  }

  .browser-frame {
    transform: none;
  }
}

@media (max-width: 920px) {
  .impact-grid,
  .service-grid,
  .pricing-grid,
  .process-grid,
  .deliverables-grid,
  .policy-grid,
  .proof-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 72px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .header-cta {
    width: 100%;
  }

  .brand-logo {
    width: min(232px, 78vw);
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-grid {
    padding: 54px 18px 64px;
  }

  .audit-score {
    grid-template-columns: 1fr;
  }

  .audit-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .form-button {
    width: 100%;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
