:root {
  --ink: #101828;
  --muted: #5d6678;
  --line: #dce3ec;
  --paper: #fbfcf8;
  --panel: #ffffff;
  --blue: #1b4d7a;
  --green: #1c6b54;
  --amber: #c77722;
  --red: #b54738;
  --shadow: 0 18px 55px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 248, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 227, 236, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  font-size: 13px;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.header-cta {
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 750;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 6vw, 84px) clamp(18px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
}

.hero-subtitle {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions,
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.button.primary {
  color: white;
  background: var(--blue);
}

.button.primary:hover {
  background: #153d62;
}

.button.secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.proof-row span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-product {
  position: relative;
}

.app-window {
  min-height: 560px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f3f7f4);
  box-shadow: var(--shadow);
}

.app-topbar {
  display: flex;
  gap: 7px;
  padding-bottom: 18px;
}

.app-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b7c0ce;
}

.score-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 150px;
  padding: 22px;
  border-radius: 10px;
  background: #111827;
  color: white;
}

.mini-label {
  margin: 0 0 8px;
  color: #748094;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.score-panel strong {
  display: block;
  font-size: 70px;
  line-height: 1;
}

.score-ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: conic-gradient(#58c096 0 72%, #2e3747 72% 100%);
  border: 10px solid #1f2937;
}

.insight-card {
  display: flex;
  gap: 13px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.insight-card.warning {
  border-color: rgba(199, 119, 34, 0.45);
}

.insight-card p {
  margin: 0;
  font-weight: 800;
}

.insight-card small {
  color: var(--muted);
}

.icon,
.large-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: white;
  background: var(--green);
  font-weight: 900;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-grid span {
  padding: 8px 10px;
  border-radius: 8px;
  background: #e8f0ec;
  color: #144837;
  font-size: 13px;
  font-weight: 800;
}

section {
  padding: clamp(44px, 6vw, 82px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.section-heading.compact {
  max-width: 720px;
}

.tool-section {
  background: #edf3f0;
}

.audit-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.audit-form,
.audit-result,
.feature-grid article,
.pricing-grid article,
.report-column,
details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.audit-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: #293548;
  font-size: 14px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #c8d2df;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 12px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.audit-result {
  min-height: 510px;
  padding: 22px;
}

.empty-state {
  display: grid;
  place-items: start;
  gap: 12px;
  min-height: 460px;
  align-content: center;
}

.empty-state p {
  max-width: 520px;
  color: var(--muted);
}

.large-icon {
  width: 52px;
  height: 52px;
  font-size: 28px;
  background: var(--blue);
}

.result-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.result-score {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-size: 28px;
  font-weight: 900;
}

.result-block {
  margin-top: 18px;
}

.result-block h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.result-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.copy-box {
  padding: 14px;
  border-radius: 8px;
  background: #f5f7fa;
  color: #243043;
  font-weight: 750;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  background: #111827;
  color: white;
}

.band p:last-child {
  color: #ccd5e1;
  font-size: 19px;
}

.feature-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.pricing-grid article {
  padding: 22px;
}

.feature-grid article p,
.pricing-grid article p,
details p {
  color: var(--muted);
}

.feature-icon {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 900;
}

.sample-report {
  background: #f3f1ea;
}

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

.report-column {
  padding: 22px;
}

.report-column.highlight {
  border-color: rgba(28, 107, 84, 0.45);
  background: #eef7f2;
}

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

.tool-grid a {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-weight: 850;
}

.tool-grid a:hover {
  border-color: var(--blue);
}

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

.price {
  margin: 12px 0;
  color: var(--ink) !important;
  font-size: 32px;
  font-weight: 900;
}

.featured-plan {
  border-color: rgba(27, 77, 122, 0.6) !important;
  box-shadow: var(--shadow);
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

.final-cta {
  text-align: center;
  background: #e8f0ec;
}

.final-cta p {
  max-width: 620px;
  margin: 14px auto 24px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: white;
}

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

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-weight: 750;
}

.utility-page {
  max-width: 980px;
  margin: 0 auto;
}

.utility-card {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero,
  .audit-layout,
  .band {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .feature-grid,
  .pricing-grid,
  .report-preview,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    padding-top: 34px;
  }

  .app-window {
    min-height: auto;
  }

  .form-grid,
  .feature-grid,
  .pricing-grid,
  .report-preview,
  .faq-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .footer-links,
  .result-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
