:root {
  color-scheme: light;
  --ink: #182221;
  --muted: #5a6663;
  --soft: #eef5f1;
  --line: #d8e3dd;
  --teal: #0f766e;
  --teal-dark: #0d514d;
  --amber: #d68124;
  --white: #ffffff;
  --charcoal: #101817;
  --shadow: 0 18px 44px rgba(18, 34, 32, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(12, 20, 19, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #bff4e7;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/hero-code-review.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 17, 16, 0.94) 0%, rgba(10, 17, 16, 0.76) 38%, rgba(10, 17, 16, 0.18) 72%),
    linear-gradient(180deg, rgba(10, 17, 16, 0.36) 0%, rgba(10, 17, 16, 0.18) 58%, rgba(10, 17, 16, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 92px;
}

.eyebrow,
.section-label,
.card-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
}

.button-primary {
  background: var(--amber);
  color: #1e1307;
}

.button-primary:hover {
  background: #ee9b3b;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 44px 0 0;
}

.hero-stats div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro-band {
  padding-top: 50px;
  padding-bottom: 50px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.sample-grid,
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.section h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

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

.review-item,
.price-card,
.report-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.review-item {
  min-height: 190px;
  padding: 24px;
}

.review-item h3,
.price-card h3,
.process-list h3 {
  margin: 0;
  font-size: 20px;
}

.review-item p,
.price-card p,
.process-list p {
  margin-bottom: 0;
}

.accent-section {
  background: #f8fbf9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.price-card {
  min-height: 330px;
  padding: 26px;
}

.price-card.featured {
  border-color: rgba(15, 118, 110, 0.36);
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.16);
}

.price {
  margin: 18px 0 0;
  color: var(--ink) !important;
  font-size: 38px !important;
  font-weight: 900;
  line-height: 1;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--teal);
  font-weight: 900;
}

.text-link:hover {
  color: var(--teal-dark);
}

.report-preview {
  padding: 12px;
  background: #fbfdfc;
}

.report-row {
  display: grid;
  grid-template-columns: 78px 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 56px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.report-row:last-child {
  border-bottom: 0;
}

.report-head {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.process-section {
  background: var(--charcoal);
  color: var(--white);
}

.process-section p {
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-list span {
  display: inline-flex;
  margin-bottom: 42px;
  color: #72d5c6;
  font-weight: 900;
}

.contact-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #cbd8d2;
  border-radius: 8px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.form-note a {
  color: var(--teal);
  font-weight: 900;
}

.final-cta {
  background: var(--teal-dark);
  color: var(--white);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.final-cta .button {
  justify-self: end;
  width: fit-content;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #0b1110;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.page-header {
  background: rgba(12, 20, 19, 0.92);
}

.sample-hero {
  padding: 148px clamp(18px, 4vw, 56px) 76px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 17, 16, 0.94), rgba(10, 17, 16, 0.82)),
    url("/assets/hero-code-review.png") center right / cover;
}

.sample-hero h1 {
  max-width: 860px;
}

.sample-hero .hero-copy {
  max-width: 820px;
}

.report-section {
  background: #f8fbf9;
}

.report-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.report-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.report-sidebar a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.report-sidebar a:hover {
  background: var(--soft);
  color: var(--teal-dark);
}

.report-body {
  display: grid;
  gap: 22px;
}

.report-block {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.report-block h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.status-strip,
.scope-grid,
.roadmap-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.status-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-strip div,
.roadmap-grid article,
.scope-grid div,
.evidence-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.status-strip div {
  min-height: 110px;
  padding: 18px;
}

.status-strip strong {
  display: block;
  margin-bottom: 8px;
}

.status-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.findings-table {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.findings-row {
  display: grid;
  grid-template-columns: 76px 92px 118px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  line-height: 1.5;
}

.findings-row:last-child {
  border-bottom: 0;
}

.findings-head {
  color: var(--ink);
  background: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.findings-row strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
}

.evidence-card {
  display: grid;
  gap: 24px;
  margin-top: 24px;
  padding: 24px;
}

.evidence-card h3 {
  margin: 0;
}

.evidence-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.evidence-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.evidence-list dt {
  color: var(--ink);
  font-weight: 900;
}

.evidence-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.roadmap-grid article,
.scope-grid div {
  padding: 22px;
}

.roadmap-grid h3,
.scope-grid h3 {
  margin: 0;
}

.roadmap-grid ul,
.scope-grid ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.55;
}

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

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 58px;
  }

  .hero-media {
    background-position: center;
    opacity: 0.7;
  }

  .hero-overlay {
    background: rgba(10, 17, 16, 0.78);
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 0;
  }

  .hero-stats,
  .review-grid,
  .pricing-grid,
  .process-list,
  .intro-grid,
  .sample-grid,
  .contact-grid,
  .report-layout,
  .status-strip,
  .roadmap-grid,
  .scope-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .report-sidebar {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: auto;
  }

  .findings-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .findings-head {
    display: none;
  }

  .findings-row span::before {
    display: block;
    margin-bottom: 2px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .findings-row span:nth-child(2)::before {
    content: "Severity";
  }

  .findings-row span:nth-child(3)::before {
    content: "Area";
  }

  .findings-row span:nth-child(4)::before {
    content: "Finding";
  }

  .findings-row span:nth-child(5)::before {
    content: "Recommended action";
  }

  .final-cta .button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
  }

  .brand span:last-child {
    font-size: 15px;
  }

  .nav-cta {
    padding: 9px 11px;
    font-size: 13px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 34px;
  }

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

  .button {
    width: 100%;
  }

  .hero-stats {
    display: none;
  }

  .report-row {
    grid-template-columns: 48px 74px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 8px;
    font-size: 14px;
  }

  .sample-hero {
    padding-top: 116px;
  }

  .sample-hero h1 {
    font-size: 44px;
  }

  .sample-hero .hero-copy {
    font-size: 18px;
  }

  .report-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .report-block {
    padding: 24px;
  }

  .report-block h2 {
    font-size: 30px;
  }

  .evidence-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
  }
}
