:root {
  color-scheme: light;
  --navy: #1b365d;
  --navy-dark: #102640;
  --gold: #ffd700;
  --gold-dark: #e6bd00;
  --white: #ffffff;
  --light-gray: #f9f9f9;
  --medium-gray: #e5e5e5;
  --dark-gray: #333333;
  --text-gray: #666666;
  --p1-red: #c41e3a;
  --p2-amber: #ffa500;
  --p3-gray: #888888;
  --success-green: #27ae60;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--white);
  color: var(--text-gray);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1,
h2,
h3,
h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(40px, 6vw, 64px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

p {
  margin-bottom: 16px;
  line-height: 1.8;
}

ul,
ol {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

pre {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: var(--radius-lg);
  background: var(--dark-gray);
  color: var(--white);
  padding: 18px;
}

code {
  font-family: Monaco, "Courier New", monospace;
  font-size: 14px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 20px;
}

.brand:hover {
  color: var(--gold);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

nav a {
  color: var(--white);
  font-weight: 600;
}

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

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  max-width: none;
  margin: 0 calc(50% - 50vw);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 82px 24px;
  text-align: center;
}

.hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
}

.subtitle {
  max-width: 760px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
}

.badge,
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--navy);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
}

.full-width {
  width: 100%;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--medium-gray);
}

.section-header {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-header p {
  color: var(--text-gray);
}

.center-copy {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
}

.stats-grid,
.check-grid,
.pricing-grid,
.priority-grid,
.why-grid,
.step-grid,
.testimonial-grid,
.faq-grid,
.problem-grid,
.mockup-grid,
.resource-grid {
  display: grid;
  gap: 20px;
}

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

.stats-grid article,
.check-grid article,
.price-card,
.report-card,
.why-grid article,
.step-grid article,
.testimonial-grid blockquote,
.faq-grid article,
.resource-grid article,
.deliverables,
.problem-grid article {
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.stats-grid article {
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--gold-dark);
  font-size: 34px;
}

.stats-grid span {
  color: var(--text-gray);
  font-weight: 600;
}

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

.bad-example {
  border-left: 4px solid var(--p1-red);
}

.good-example {
  border-left: 4px solid var(--success-green);
}

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

.check-grid article {
  border-left: 4px solid var(--navy);
}

.check-grid p strong {
  color: var(--navy);
}

.icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 18px;
  font-weight: 900;
}

.deliverables {
  margin-top: 24px;
  background: var(--light-gray);
}

.deliverables ul,
.pricing-grid ul {
  list-style: none;
  padding-left: 0;
}

.deliverables li::before,
.pricing-grid li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--success-green);
  font-weight: 900;
}

.report-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--light-gray);
}

.mockup-grid {
  max-width: 1120px;
  margin: 0 auto 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mockup-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.mockup-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-md);
  background: var(--light-gray);
}

.mockup-card h3 {
  margin-bottom: 8px;
}

.mockup-card p {
  color: var(--text-gray);
}

.mockup-mobile-preview {
  display: none;
}

.risk-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.score-ring {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 10px solid rgba(255, 215, 0, 0.32);
  border-top-color: var(--gold-dark);
  border-right-color: var(--gold-dark);
  border-radius: 50%;
}

.score-ring span {
  color: var(--navy);
  font-size: 25px;
  font-weight: 900;
}

.priority-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.issue-p1,
.issue-p2,
.issue-p3 {
  margin: 18px 0;
  border-radius: var(--radius-md);
  padding: 18px;
}

.issue-p1 {
  border-left: 4px solid var(--p1-red);
  background: rgba(196, 30, 58, 0.06);
}

.issue-p1 strong {
  color: var(--p1-red);
}

.issue-p2 {
  border-left: 4px solid var(--p2-amber);
  background: rgba(255, 165, 0, 0.08);
}

.issue-p2 strong {
  color: #9b6100;
}

.issue-p3 {
  border-left: 4px solid var(--p3-gray);
  background: rgba(136, 136, 136, 0.08);
}

.issue-p3 strong {
  color: var(--dark-gray);
}

.issue-detail h3 {
  margin-bottom: 8px;
}

.next-actions {
  margin-top: 22px;
  border-top: 1px solid var(--medium-gray);
  padding-top: 22px;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border-color: var(--gold-dark);
}

.price {
  color: var(--gold-dark);
  font-size: 42px;
  font-weight: 900;
}

.price span {
  color: var(--text-gray);
  font-size: 16px;
}

.price-card .btn {
  margin-top: auto;
}

.comparison-wrap {
  overflow-x: auto;
  margin-top: 28px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

th {
  background: var(--light-gray);
  color: var(--navy);
  font-weight: 700;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--medium-gray);
  text-align: left;
}

.faq-grid,
.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

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

.step-grid span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

.testimonial-grid blockquote {
  margin: 0;
}

.testimonial-grid p {
  color: var(--dark-gray);
  font-size: 18px;
}

.testimonial-grid cite {
  color: var(--navy);
  font-style: normal;
  font-weight: 700;
}

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

.resource-grid article {
  display: flex;
  flex-direction: column;
}

.resource-grid .btn {
  width: fit-content;
  margin-top: auto;
}

.article-page {
  max-width: 860px;
  margin: 0 auto;
}

.article-page h1 {
  margin-bottom: 18px;
}

.article-page h2 {
  margin-top: 42px;
}

.article-page ul,
.article-page ol {
  margin-bottom: 20px;
}

.subtitle-light {
  color: var(--text-gray);
  font-size: 20px;
}

.article-cta {
  margin-top: 46px;
  border: 1px solid var(--medium-gray);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  background: var(--light-gray);
  padding: 24px;
}

.audit-form {
  display: grid;
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--light-gray);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.audit-form label {
  margin-bottom: 8px;
  color: var(--dark-gray);
  font-size: 14px;
  font-weight: 700;
}

.audit-form input,
.audit-form textarea {
  width: 100%;
  margin-bottom: 22px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark-gray);
  font: inherit;
  padding: 13px 14px;
}

.audit-form input:focus,
.audit-form textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.14);
}

.optional {
  color: var(--text-gray);
  font-weight: 500;
}

.form-footer {
  margin-top: 4px;
  border-top: 1px solid var(--medium-gray);
  padding-top: 22px;
  text-align: center;
}

.security-note,
.form-legal,
.form-status {
  color: var(--text-gray);
  font-size: 14px;
}

.form-status {
  min-height: 22px;
  margin-top: 14px;
}

.footer {
  margin-top: 48px;
  background: var(--navy);
  color: var(--white);
  padding: 48px 24px 24px;
}

.footer-container {
  display: grid;
  max-width: 1200px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto 32px;
}

.footer-heading {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.footer p,
.footer li {
  color: rgba(255, 255, 255, 0.82);
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer a {
  color: var(--white);
}

.footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
}

.legal-copy {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.legal-copy p {
  color: var(--text-gray);
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats-grid,
  .check-grid,
  .pricing-grid,
  .priority-grid,
  .faq-grid,
  .why-grid,
  .step-grid,
  .testimonial-grid,
  .mockup-grid,
  .resource-grid,
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .risk-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  main {
    padding: 0 16px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .topbar {
    position: static;
    gap: 14px;
    padding: 14px 18px 16px;
  }

  .brand {
    gap: 10px;
    font-size: 18px;
    line-height: 1.2;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  nav a {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    padding: 9px 10px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
  }

  .hero {
    padding: 58px 18px;
  }

  .button-group {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .stats-grid,
  .check-grid,
  .pricing-grid,
  .priority-grid,
  .problem-grid,
  .faq-grid,
  .why-grid,
  .step-grid,
  .testimonial-grid,
  .mockup-grid,
  .resource-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .audit-form {
    padding: 22px;
  }

  .mockup-card {
    padding: 12px;
  }

  .mockup-card img {
    display: none;
  }

  .mockup-mobile-preview {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 18px;
  }

  .mockup-mobile-preview strong {
    color: var(--gold);
    font-size: 34px;
    line-height: 1;
  }

  .mockup-mobile-preview span {
    color: var(--white);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
  }

  .mockup-mobile-preview small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
  }

  .report-card {
    padding: 18px;
  }

  .issue-detail pre {
    font-size: 12px;
  }
}
