:root {
  --ink: #111817;
  --muted: #65726f;
  --line: #dbe5df;
  --line-strong: #bfd1c8;
  --paper: #fbfcfb;
  --soft: #f2f7f4;
  --deep: #083d37;
  --deep-2: #0d5148;
  --teal: #157466;
  --mint: #c9ecdd;
  --blue: #255a7a;
  --amber: #b57524;
  --shadow: 0 32px 90px rgba(8, 61, 55, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(220, 244, 255, 0.84) 0, rgba(251, 252, 251, 0) 520px),
    linear-gradient(90deg, rgba(188, 238, 255, 0.38), rgba(255, 255, 255, 0), rgba(232, 216, 255, 0.38));
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 58px);
  background: rgba(251, 252, 251, 0.78);
  border-bottom: 1px solid rgba(219, 229, 223, 0.72);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--deep), #1b7f70);
  border-radius: 8px;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(8, 61, 55, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #52615e;
  font-size: 14px;
  font-weight: 680;
}

.nav a {
  text-decoration: none;
}

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

.nav-cta {
  padding: 10px 16px;
  color: #ffffff !important;
  background: var(--ink);
  border-radius: 8px;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(410px, 0.88fr) minmax(520px, 1.12fr);
  gap: 28px;
  align-items: center;
  width: min(1320px, calc(100% - 44px));
  min-height: calc(100vh - 61px);
  margin: 0 auto;
  padding: 58px 0 76px;
}

.hero-copy {
  max-width: 600px;
  margin: 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 18px;
}

.url-review-card {
  margin: 0 auto 22px;
  color: var(--ink);
}

.url-review-card p {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 850;
}

.url-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0;
  align-items: center;
  max-width: 570px;
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(91, 158, 194, 0.22);
}

.url-form span {
  color: var(--ink);
  font-weight: 850;
}

.url-form input {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 15px;
}

.url-form input::placeholder {
  color: #8997a2;
}

.url-form a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: #ffffff;
  background: #ff6a2a;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

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

.button.secondary {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.74);
}

.button.light {
  color: var(--deep);
  background: #ffffff;
  border-color: #ffffff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.trust-row span {
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-showcase {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.hero-showcase img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.hero-stage {
  position: relative;
  min-height: 500px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(9, 42, 39, 0.88) 0, rgba(11, 68, 62, 0.86) 54%, rgba(242, 248, 245, 0.82) 54%, rgba(255, 255, 255, 0.92) 100%),
    url("assets/hero-background.png") center / cover no-repeat;
  border: 1px solid rgba(191, 209, 200, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.compact-stage {
  display: none;
}

.desktop-demo {
  width: min(820px, 92%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(219, 229, 223, 0.85);
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(3, 33, 29, 0.28);
  overflow: hidden;
}

.demo-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 43px;
  padding: 0 18px;
  color: #596966;
  background: #f5f8f6;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.demo-toolbar span {
  width: 9px;
  height: 9px;
  background: #9eb8ae;
  border-radius: 999px;
}

.demo-toolbar strong {
  margin-left: 8px;
  font-weight: 760;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  padding: 34px;
}

.panel-label {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.demo-main h2 {
  max-width: 530px;
  margin-bottom: 24px;
  font-size: 38px;
}

.demo-bars {
  display: grid;
  gap: 12px;
  max-width: 410px;
}

.demo-bars span {
  display: block;
  height: 12px;
  background: linear-gradient(90deg, var(--deep), #37a88d);
  border-radius: 999px;
}

.demo-score {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 180px;
  color: #ffffff;
  background: var(--deep);
  border-radius: 8px;
}

.demo-score span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 760;
}

.demo-score strong {
  font-size: 70px;
  line-height: 1;
}

.demo-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.demo-insights div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 92px;
  padding: 18px;
  background: #ffffff;
}

.demo-insights strong {
  font-size: 14px;
  line-height: 1.3;
}

.dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
}

.needs,
.needs-work .dot {
  background: var(--amber);
}

.good-dot,
.good .dot {
  background: var(--teal);
}

.note,
.warning .dot {
  background: var(--blue);
}

.phone-demo {
  position: absolute;
  right: 64px;
  bottom: 30px;
  width: 180px;
  height: 318px;
  padding: 12px;
  background: #111817;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow: 0 28px 72px rgba(3, 20, 18, 0.34);
}

.phone-speaker {
  display: block;
  width: 48px;
  height: 5px;
  margin: 4px auto 12px;
  background: #2a3331;
  border-radius: 999px;
}

.phone-screen {
  display: grid;
  align-content: end;
  height: 264px;
  padding: 18px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(8, 61, 55, 0.2), rgba(8, 61, 55, 0.98)),
    linear-gradient(135deg, #f7fbf8 0 35%, #c9ecdd 35% 58%, #ffffff 58% 100%);
  border-radius: 18px;
}

.phone-screen strong {
  font-size: 22px;
  line-height: 1.05;
}

.phone-screen p {
  margin: 8px 0 16px;
  color: #d8f0e8;
  font-size: 13px;
}

.phone-screen span {
  display: block;
  height: 38px;
  background: #ffffff;
  border-radius: 8px;
}

.floating-note {
  position: absolute;
  left: 64px;
  bottom: 42px;
  width: 282px;
  padding: 18px;
  color: #ffffff;
  background: rgba(8, 61, 55, 0.88);
  border: 1px solid rgba(201, 236, 221, 0.26);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(3, 20, 18, 0.25);
  backdrop-filter: blur(14px);
}

.floating-note span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.floating-note p {
  margin: 8px 0 0;
}

.panel-top,
.score-card,
.check-item,
.recommendation,
.signal-band,
.site-footer,
.final-cta {
  display: flex;
}

.audit-panel,
.score-card,
.check-item,
.recommendation {
  border-radius: 8px;
}

.signal-band {
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(8, 61, 55, 0.06);
}

.signal-band div {
  display: grid;
  gap: 4px;
}

.signal-band strong {
  font-size: 30px;
}

.signal-band span {
  color: var(--muted);
}

.split,
.fixes,
.work,
.process,
.pricing,
.faq,
.final-cta {
  padding: 106px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

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

.section-heading.narrow {
  max-width: 750px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.problem-grid,
.fix-grid,
.work-grid,
.process-steps,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

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

.problem-grid article,
.fix-grid article,
.process-steps article,
.faq-grid article,
.price-card,
.work-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.problem-grid article {
  padding: 26px;
}

.problem-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.problem-grid p,
.fix-grid p,
.process-steps p,
.faq-grid p,
.price-card p,
.work-card p {
  color: var(--muted);
}

.fixes {
  width: 100%;
  max-width: none;
  background:
    linear-gradient(180deg, #f7faf8 0, #eef6f2 100%);
}

.fixes > * {
  width: min(1180px, calc(100% - 44px));
  margin-right: auto;
  margin-left: auto;
}

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

.fix-grid article {
  min-height: 210px;
  padding: 24px;
}

.fix-grid article:hover,
.work-card:hover,
.price-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 60px rgba(8, 61, 55, 0.08);
}

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

.work-card {
  overflow: hidden;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.browser-frame {
  position: relative;
  height: 250px;
  padding: 34px 18px 18px;
  background:
    linear-gradient(180deg, #f7fbf9, #e9f4ef);
  border-bottom: 1px solid var(--line);
}

.browser-frame > span {
  position: absolute;
  top: 14px;
  width: 9px;
  height: 9px;
  background: #9db9af;
  border-radius: 999px;
}

.browser-frame > span:nth-child(1) {
  left: 16px;
}

.browser-frame > span:nth-child(2) {
  left: 31px;
}

.browser-frame > span:nth-child(3) {
  left: 46px;
}

.mock-layout {
  height: 100%;
  border: 1px solid #d3e4db;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.layout-one {
  background:
    linear-gradient(90deg, #0f4a43 0 45%, transparent 45%),
    linear-gradient(#ffffff 0 18%, #dceee6 18% 30%, #ffffff 30% 100%);
}

.layout-two {
  background:
    linear-gradient(90deg, #ffffff 0 28%, #0f4a43 28% 30%, #ffffff 30% 100%),
    repeating-linear-gradient(#dceee6 0 18px, #ffffff 18px 36px);
}

.layout-three {
  background:
    linear-gradient(#0f4a43 0 38%, #ffffff 38% 100%),
    linear-gradient(90deg, #bde8d6 0 32%, #ffffff 32% 100%);
}

.work-card-copy {
  padding: 24px;
}

.work-card a {
  color: var(--deep);
  font-weight: 850;
  text-decoration: none;
}

.work-card a:hover {
  text-decoration: underline;
}

.process {
  background: #ffffff;
}

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

.process-steps article {
  padding: 26px;
}

.process-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 30px;
  place-items: center;
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 850;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.price-card {
  padding: 28px;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.price-card.featured {
  color: #ffffff;
  background:
    linear-gradient(180deg, #0f4a43 0, #082d29 100%);
  border-color: var(--deep);
  box-shadow: var(--shadow);
}

.price-card.featured p,
.price-card.featured li {
  color: #d5ebe4;
}

.plan-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.featured .plan-label {
  color: var(--mint);
}

.price {
  margin: 8px 0 14px;
  color: var(--ink) !important;
  font-size: 34px;
  font-weight: 850;
}

.featured .price {
  color: #ffffff !important;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.faq {
  width: 100%;
  max-width: none;
  background: #f4f8f5;
}

.faq > * {
  width: min(1180px, calc(100% - 44px));
  margin-right: auto;
  margin-left: auto;
}

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

.faq-grid article {
  padding: 26px;
}

.final-cta {
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 82px;
  margin-bottom: 82px;
  padding: 42px;
  color: #ffffff;
  background:
    linear-gradient(135deg, #0b2f2b 0, #0f4a43 52%, #123c52 100%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin-bottom: 10px;
  font-size: 44px;
}

.final-cta p:not(.eyebrow) {
  margin: 0;
  color: #d5ebe4;
}

.final-cta .eyebrow {
  color: var(--mint);
}

.site-footer {
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding: 34px clamp(20px, 5vw, 58px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: grid;
  gap: 8px;
  text-align: right;
}

.footer-links a {
  color: var(--deep);
  font-weight: 780;
  text-decoration: none;
}

.footer-links span {
  max-width: 620px;
  overflow-wrap: anywhere;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 96px;
  padding-bottom: 96px;
}

.legal-page h1 {
  margin: 0 0 24px;
  font-size: 52px;
}

.legal-page h2 {
  margin: 34px 0 10px;
  font-size: 24px;
}

.legal-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal-page a {
  color: var(--deep);
  font-weight: 760;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-stage {
    min-height: 600px;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 44px, 980px);
  }

  .hero-copy {
    max-width: 760px;
    margin: 0 auto;
  }

  .phone-demo {
    right: 34px;
  }

  .floating-note {
    left: 34px;
  }

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

  .fix-grid,
  .work-grid,
  .process-steps,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .section {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    font-size: 13px;
  }

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

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 54px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 33px;
  }

  .lead {
    font-size: 18px;
  }

  .url-form {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .url-form span,
  .url-form input {
    padding: 0;
    text-align: center;
  }

  .url-form a {
    width: 100%;
  }

  .hero-actions,
  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .hero-stage {
    display: grid;
    gap: 16px;
    min-height: 0;
    padding: 16px;
    background:
      linear-gradient(180deg, rgba(9, 42, 39, 0.9) 0, rgba(11, 68, 62, 0.82) 42%, rgba(245, 250, 247, 0.94) 42%, rgba(255, 255, 255, 0.98) 100%),
      url("assets/hero-background.png") center top / cover no-repeat;
  }

  .hero-showcase {
    margin-top: 2px;
  }

  .hero-showcase img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .desktop-demo {
    width: 100%;
  }

  .demo-grid,
  .demo-insights {
    grid-template-columns: 1fr;
  }

  .demo-grid {
    padding: 22px;
  }

  .demo-main h2 {
    font-size: 29px;
  }

  .phone-demo {
    position: static;
    width: min(100%, 190px);
    height: 324px;
    margin: 0 auto;
    transform: none;
    order: 3;
  }

  .phone-screen {
    height: 270px;
  }

  .floating-note {
    position: static;
    width: 100%;
    order: 2;
  }
}

@media (max-width: 560px) {
  .phone-demo {
    width: 150px;
    height: 266px;
  }

  .phone-screen {
    height: 216px;
  }

  .signal-band,
  .final-cta,
  .site-footer {
    flex-direction: column;
  }

  .split,
  .fixes,
  .work,
  .process,
  .pricing,
  .faq,
  .final-cta {
    padding: 68px 0;
  }

  .fix-grid,
  .work-grid,
  .process-steps,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 28px;
  }

  .final-cta h2 {
    font-size: 32px;
  }

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 41px;
  }

  .hero-showcase img {
    height: auto;
    object-position: center;
  }

  .phone-demo {
    margin-right: auto;
    margin-left: auto;
  }
}
