:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #5f6b64;
  --line: #dce5df;
  --panel: #f7faf8;
  --paper: #ffffff;
  --green: #15844f;
  --green-dark: #0e5d3b;
  --amber: #f5b84b;
  --blue: #1f6feb;
  --shadow: 0 18px 50px rgba(31, 46, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--green-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 14px 24px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  height: 36px;
  width: 36px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

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

.hero {
  background:
    linear-gradient(125deg, rgba(21, 132, 79, 0.12), rgba(31, 111, 235, 0.08) 54%, rgba(245, 184, 75, 0.16)),
    #f8fbf9;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  margin: 0 auto;
  max-width: 1120px;
  min-height: calc(88vh - 65px);
  padding: 52px 24px 44px;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
  max-width: 8ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  color: #33413a;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  margin: 24px 0 0;
  max-width: 720px;
}

.actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid var(--green-dark);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--green-dark);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--green-dark);
}

.phone-stack {
  align-items: center;
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  min-height: 500px;
  position: relative;
}

.phone {
  background: #101512;
  border: 10px solid #101512;
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone img {
  border-radius: 24px;
  width: 100%;
}

.phone.back {
  margin-right: -48px;
  opacity: 0.88;
  transform: rotate(-6deg);
  z-index: 1;
}

.phone.front {
  transform: rotate(3deg);
  z-index: 2;
}

.section {
  margin: 0 auto;
  max-width: 1120px;
  padding: 78px 24px;
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.12rem;
  margin: 18px 0 0;
}

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

.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.feature p {
  color: var(--muted);
  margin: 10px 0 0;
}

.screenshots {
  background: #edf5f0;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.screenshot-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 34px;
}

.screenshot-row figure {
  margin: 0;
}

.screenshot-row img,
.page-preview img {
  background: #101512;
  border: 8px solid #101512;
  border-radius: 26px;
  box-shadow: 0 12px 32px rgba(31, 46, 39, 0.16);
}

.screenshot-row figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 12px;
  text-align: center;
}

.page-preview {
  margin: 0 auto 36px;
  max-width: 280px;
}

.page-preview img {
  width: 100%;
}

.page-preview figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 12px;
  text-align: center;
}

.notice {
  background: #fff7e7;
  border: 1px solid #f1d28c;
  border-radius: 8px;
  color: #614615;
  margin-top: 30px;
  padding: 18px 20px;
}

.page-shell {
  margin: 0 auto;
  max-width: 860px;
  padding: 70px 24px 88px;
}

.page-shell h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  max-width: 12ch;
}

.page-shell .lead {
  color: var(--muted);
  font-size: 1.18rem;
  margin: 18px 0 36px;
}

.content-section {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.content-section h2 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.content-section p {
  margin: 0;
}

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

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 24px;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 860px) {
  .hero-inner {
    gap: 28px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    max-width: 10ch;
  }

  .phone-stack {
    margin: 0 auto;
    max-width: 420px;
    min-height: 420px;
  }

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

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

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .section,
  .page-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    gap: 18px;
    padding-bottom: 24px;
    padding-top: 28px;
  }

  .hero-copy {
    margin-top: 16px;
  }

  .actions {
    margin-top: 22px;
  }

  .phone-stack {
    max-width: 300px;
    min-height: 230px;
  }

  .phone {
    border-width: 7px;
    border-radius: 28px;
  }

  .phone img {
    border-radius: 20px;
  }

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

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

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