:root {
  --ink: #111827;
  --muted: #667085;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --line: #e6e9e3;
  --green: #2f8b68;
  --green-dark: #235f49;
  --green-soft: #e6f2ed;
  --orange: #ff8a22;
  --shadow: 0 24px 70px rgba(22, 32, 27, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 32px), var(--max));
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 60px rgba(17, 24, 39, 0.10);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: linear-gradient(135deg, #a3e635, #36c278);
  color: #142117;
  font-size: 14px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #3f4856;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover {
  background: #f0f3ed;
  color: var(--ink);
}

.hero,
.trust-band,
.feature-section,
.screenshots-section,
.report-section,
.projects-section,
.seo-section,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 56px;
  align-items: center;
  min-height: 76svh;
  padding: 68px 0 86px;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(46px, 6.4vw, 84px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  font-size: 21px;
  font-weight: 900;
}

.hero-copy > p,
.section-copy > p,
.report-card p,
.seo-section p,
.seo-section li {
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
}

.hero-copy > p {
  max-width: 660px;
  margin-top: 26px;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 34px rgba(47, 139, 104, 0.24);
  color: white;
}

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

.hero-visual {
  position: relative;
  min-height: 680px;
}

.phone {
  position: absolute;
  width: min(48vw, 340px);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-front {
  z-index: 2;
  right: 5%;
  top: 0;
  transform: rotate(3deg);
}

.phone-back {
  left: 4%;
  top: 120px;
  opacity: 0.96;
  transform: rotate(-5deg);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 80px;
}

.trust-band article,
.feature-card,
.report-card,
.seo-section,
figure {
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
}

.trust-band article {
  padding: 22px;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 900;
}

.trust-band span,
.feature-card p {
  color: var(--muted);
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: start;
  padding: 10px 0 84px;
}

.section-copy {
  position: sticky;
  top: 110px;
}

.section-copy h2 {
  margin-top: 14px;
}

.section-copy p {
  margin-top: 20px;
}

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

.feature-card {
  min-height: 230px;
  padding: 28px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.screenshots-section {
  padding: 84px 0;
}

.centered {
  position: static;
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

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

figure {
  overflow: hidden;
  padding: 12px;
}

figure img {
  width: 100%;
  border-radius: 8px;
  background: #eef1ed;
}

figcaption {
  padding: 14px 4px 4px;
  color: #46505d;
  font-weight: 800;
}

.report-section {
  padding: 48px 0 84px;
}

.report-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, #ffffff, #edf8f2);
}

.report-card h2 {
  margin-top: 14px;
}

.report-card p {
  max-width: 650px;
  margin-top: 20px;
}

.report-card .button {
  margin-top: 28px;
}

.report-card img {
  max-height: 620px;
  justify-self: center;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.projects-section {
  padding: 12px 0 84px;
}

.projects-copy {
  max-width: 820px;
  margin-bottom: 26px;
}

.projects-copy h2 {
  margin-top: 14px;
}

.projects-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
}

.project-dashboard {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
}

.project-login-card,
.project-list-card {
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
}

.project-login-card {
  align-self: start;
  padding: 24px;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: #46505d;
  font-weight: 900;
}

.login-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink);
  font: inherit;
}

.login-form button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.logout-button {
  width: 100%;
}

.status,
.muted {
  color: var(--muted);
}

.status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
}

.project-list-card {
  padding: 24px;
}

.project-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

#projectCount {
  display: inline-grid;
  min-width: 38px;
  min-height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 900;
}

.projects-list {
  display: grid;
  gap: 12px;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.project-title {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 900;
}

.project-meta {
  color: var(--muted);
  font-weight: 700;
}

.project-cost {
  margin-top: 8px;
  color: var(--green-dark);
}

.project-total-wrap {
  display: grid;
  align-content: start;
  justify-items: end;
  min-width: 92px;
}

.project-total {
  font-size: 34px;
  line-height: 1;
}

.project-total-wrap span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.seo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 32px;
  margin-bottom: 74px;
  padding: 34px;
}

.seo-section p {
  margin-top: 18px;
}

.seo-section ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 44px;
  color: #4b5563;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer a {
  font-weight: 900;
  color: var(--green-dark);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

  .hero,
  .feature-section,
  .report-card,
  .project-dashboard,
  .seo-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone {
    width: min(70vw, 310px);
  }

  .section-copy {
    position: static;
  }

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

@media (max-width: 680px) {
  .hero,
  .trust-band,
  .feature-section,
  .screenshots-section,
  .report-section,
  .projects-section,
  .seo-section,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-visual {
    min-height: 470px;
  }

  .phone {
    width: min(78vw, 270px);
  }

  .phone-front {
    right: 0;
  }

  .phone-back {
    left: 0;
    top: 92px;
  }

  .trust-band,
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .report-card,
  .project-login-card,
  .project-list-card,
  .seo-section {
    padding: 24px;
  }

  .project-row {
    grid-template-columns: 1fr;
  }

  .project-total-wrap {
    justify-items: start;
  }

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