:root {
  color-scheme: light;
  --bg: #f4f8ed;
  --bg-soft: #edf5e4;
  --ink: #172218;
  --muted: #5b6b59;
  --leaf: #2f7044;
  --leaf-deep: #184f32;
  --mint: #cfe8ba;
  --gold: #e4a93d;
  --sky: #95c8d8;
  --line: rgba(32, 61, 38, 0.18);
  --paper: rgba(255, 255, 255, 0.82);
  --shadow: 0 18px 55px rgba(30, 58, 35, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(207, 232, 186, 0.72), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(149, 200, 216, 0.45), transparent 28rem),
    linear-gradient(180deg, #f9fbf4 0%, var(--bg) 46%, #eef5e7 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 112, 68, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 112, 68, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 74%);
}

a {
  color: var(--leaf-deep);
  text-decoration-color: rgba(24, 79, 50, 0.35);
  text-underline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(244, 248, 237, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(24, 79, 50, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(34px, 6vw, 76px) 0;
}

.hero-copy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.3rem, 8vw, 7.7rem);
  line-height: 0.88;
  letter-spacing: 0;
  color: #142117;
}

.title-mobile {
  display: none;
}

.hero-copy p {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.7;
}

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

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

.button.primary {
  color: #fff;
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
  box-shadow: 0 14px 26px rgba(24, 79, 50, 0.22);
}

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

.hero-media {
  position: relative;
  min-height: 580px;
}

.phone-stack {
  position: relative;
  height: min(72vh, 640px);
  min-height: 520px;
}

.phone {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  border: 10px solid #18251c;
  background: #18251c;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone.main {
  right: 4%;
  top: 2%;
  width: min(58%, 330px);
  aspect-ratio: 9 / 19;
  z-index: 2;
}

.phone.side {
  left: 2%;
  bottom: 2%;
  width: min(48%, 270px);
  aspect-ratio: 9 / 19;
  transform: rotate(-5deg);
  opacity: 0.98;
}

.floating-note {
  position: absolute;
  left: 13%;
  top: 10%;
  z-index: 3;
  max-width: 210px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.floating-note span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.section {
  padding: clamp(56px, 9vw, 104px) 0;
  border-top: 1px solid rgba(47, 112, 68, 0.13);
}

.section h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section > p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

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

.feature-card,
.compliance-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 38px rgba(33, 62, 38, 0.08);
}

.feature-card h3,
.compliance-card h3 {
  margin: 0;
  font-size: 1.22rem;
}

.feature-card p,
.compliance-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.screenshot {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.screenshot img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
}

.screenshot figcaption {
  padding: 14px 16px 16px;
  color: var(--leaf-deep);
  font-weight: 800;
}

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

.text-page {
  max-width: 820px;
  padding: clamp(42px, 7vw, 78px) 0 88px;
}

.text-page h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

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

.policy-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.policy-section p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  font-weight: 700;
}

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

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .hero-media {
    min-height: 500px;
  }

  .phone-stack {
    height: 500px;
    min-height: 500px;
  }

  .floating-note {
    left: 0;
  }

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

@media (max-width: 520px) {
  .page,
  .nav,
  .footer-inner {
    width: calc(100vw - 32px);
    max-width: 1120px;
  }

  .hero-copy h1,
  .text-page h1 {
    font-size: clamp(1.9rem, 9vw, 2.2rem);
    line-height: 1.08;
  }

  .hero-copy {
    max-width: 330px;
  }

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: block;
  }

  .hero-copy p {
    max-width: 330px;
    font-size: 1rem;
  }

  .hero-media {
    min-height: 370px;
    overflow: hidden;
  }

  .phone-stack {
    height: 370px;
    min-height: 370px;
  }

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

  .phone.main {
    width: 51%;
    right: 0;
    top: 8px;
  }

  .phone.side {
    width: 47%;
    left: 0;
    top: 74px;
    bottom: auto;
  }

  .floating-note {
    top: 132px;
    max-width: 180px;
  }
}
