:root {
  color-scheme: light;
  --ink: #18201f;
  --muted: #65706d;
  --paper: #f8f5ee;
  --panel: #ffffff;
  --line: #dfd8ca;
  --green: #1f7a63;
  --green-dark: #10513f;
  --coral: #ef7b64;
  --gold: #d3a33a;
  --shadow: 0 24px 70px rgba(24, 32, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(31, 122, 99, 0.14), transparent 34rem),
    linear-gradient(180deg, #fbf8f1 0%, var(--paper) 46%, #eef4f0 100%);
  color: var(--ink);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.55rem;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(24, 32, 31, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1120px, calc(100% - 2rem));
  min-height: calc(100vh - 4.7rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.hero-text,
.feature-copy p,
.service-card p,
.timeline p,
.proof-band span {
  color: var(--muted);
}

.hero-text {
  max-width: 42rem;
  margin-bottom: 1.8rem;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 0.55rem;
  font-weight: 800;
  line-height: 1;
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 15px 34px rgba(31, 122, 99, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.device-stage {
  position: relative;
  min-height: 34rem;
}

.phone {
  position: absolute;
  width: min(19rem, 74vw);
  min-height: 31rem;
  border: 0.7rem solid #171c1b;
  border-radius: 2.2rem;
  background: #f7f7f2;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-front {
  right: 1rem;
  top: 1rem;
  z-index: 2;
  padding: 1.25rem;
}

.phone-back {
  left: 0;
  bottom: 0;
  transform: rotate(-7deg);
  padding: 1.15rem;
  background: #202827;
}

.phone-top {
  width: 5rem;
  height: 0.42rem;
  margin: 0 auto 1.4rem;
  border-radius: 999px;
  background: #171c1b;
  opacity: 0.25;
}

.app-header,
.progress-panel,
.task-list span,
.mini-header,
.metric-row span,
.list-lines span {
  border-radius: 0.65rem;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.app-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--green), var(--coral));
}

.progress-panel {
  padding: 1.1rem;
  margin-bottom: 1rem;
  background: #18201f;
  color: #fff;
}

.progress-label {
  display: block;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 700;
}

.progress-panel strong {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 3rem;
  line-height: 1;
}

.progress-bar {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  width: 92%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.task-list {
  display: grid;
  gap: 0.75rem;
}

.task-list span {
  display: block;
  padding: 0.9rem;
  background: #fff;
  color: #31403c;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(24, 32, 31, 0.08);
}

.mini-header {
  height: 6.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #8dd6c0, #ef7b64);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.metric-row span {
  height: 5.5rem;
  background: rgba(255, 255, 255, 0.11);
}

.list-lines {
  display: grid;
  gap: 0.75rem;
}

.list-lines span {
  height: 3.2rem;
  background: rgba(255, 255, 255, 0.13);
}

.proof-band,
.section,
.feature-section,
.contact-section,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  border-radius: 0.7rem;
  background: var(--line);
  overflow: hidden;
}

.proof-band div {
  display: grid;
  gap: 0.35rem;
  min-height: 8rem;
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.76);
}

.proof-band strong {
  font-size: 1.05rem;
}

.section,
.feature-section,
.contact-section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 17rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.72);
}

.service-number {
  display: inline-block;
  margin-bottom: 3.5rem;
  color: var(--coral);
  font-weight: 900;
}

.feature-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

.feature-copy {
  position: sticky;
  top: 6rem;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline div {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.2rem 1rem;
  align-items: start;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.72);
}

.timeline span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.timeline strong {
  font-size: 1.08rem;
}

.timeline p {
  margin-bottom: 0;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-section h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

  .hero,
  .feature-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  h1 {
    max-width: 10ch;
  }

  .device-stage {
    min-height: 27rem;
  }

  .phone {
    width: min(16.5rem, 74vw);
    min-height: 26rem;
  }

  .phone-front {
    right: 0;
  }

  .phone-back {
    left: 0.5rem;
  }

  .proof-band,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    position: static;
  }

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

@media (max-width: 460px) {
  .site-header,
  .hero,
  .proof-band,
  .section,
  .feature-section,
  .contact-section,
  .site-footer {
    width: min(100% - 1.25rem, 1120px);
  }

  h1 {
    font-size: 3rem;
  }

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

  .device-stage {
    min-height: 25rem;
  }

  .phone {
    width: 14.5rem;
    min-height: 24rem;
    border-width: 0.55rem;
  }

  .phone-front {
    padding: 1rem;
  }

  .progress-panel strong {
    font-size: 2.4rem;
  }
}
