:root {
  --bg: #f5f8ef;
  --bg-accent: #dff4dc;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #13322d;
  --muted: #4c6c65;
  --line: rgba(19, 50, 45, 0.12);
  --brand: #0db8aa;
  --brand-dark: #0d7c6d;
  --leaf: #79c35f;
  --shadow: 0 28px 70px rgba(19, 50, 45, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(13, 184, 170, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(121, 195, 95, 0.22), transparent 30%),
    linear-gradient(180deg, #eef7e8 0%, #f9fbf4 46%, #edf5ef 100%);
}

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

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.site-header,
.site-footer,
.stats-strip,
.feature-card,
.gallery-block,
.workflow,
.privacy-callout,
.policy-card,
.policy-hero {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero,
.privacy-callout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero {
  padding: 72px 0 56px;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(2.9rem, 7vw, 5.8rem);
  max-width: 10ch;
}

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

h3 {
  font-size: 1.2rem;
}

.hero-text,
.gallery-copy p,
.feature-card p,
.workflow p,
.privacy-copy p,
.policy-page p,
.policy-page li,
.stats-strip span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  box-shadow: 0 18px 30px rgba(13, 124, 109, 0.24);
}

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

.app-store-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.app-store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.app-store-badge img {
  width: auto;
  height: 52px;
}

.hero-points,
.policy-page ul {
  margin: 24px 0 0;
  padding-left: 20px;
}

.hero-points li,
.policy-page li {
  margin-bottom: 10px;
}

.hero-stack {
  position: relative;
  min-height: 660px;
}

.device-card {
  overflow: hidden;
  border: 1px solid rgba(19, 50, 45, 0.08);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.phone-card {
  border-radius: 42px;
}

.tablet-card {
  border-radius: 30px;
}

.phone-front,
.phone-back {
  position: absolute;
}

.phone-front {
  inset: 24px 60px 0 auto;
  width: min(320px, 72%);
  animation: float-up 5s ease-in-out infinite;
}

.phone-back {
  inset: 120px auto 0 0;
  width: min(280px, 62%);
  transform: rotate(-8deg);
  animation: float-down 6s ease-in-out infinite;
}

.stats-strip,
.gallery-block,
.workflow,
.privacy-callout,
.policy-card,
.policy-hero {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
}

.stats-strip strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.section-grid,
.gallery-section,
.workflow,
.policy-page {
  margin-top: 34px;
}

.section-intro {
  margin-bottom: 24px;
}

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

.feature-card,
.workflow,
.privacy-callout,
.policy-card,
.policy-hero {
  border-radius: var(--radius-xl);
}

.feature-card,
.policy-card {
  padding: 26px;
}

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

.gallery-section {
  display: grid;
  gap: 20px;
}

.gallery-block {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.gallery-copy {
  margin-bottom: 18px;
}

.gallery {
  display: grid;
  gap: 18px;
}

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

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

.workflow {
  padding: 28px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.workflow-steps article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(19, 50, 45, 0.08);
}

.workflow-steps span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-dark), var(--leaf));
}

.privacy-callout {
  margin-top: 34px;
  padding: 28px;
}

.privacy-copy {
  max-width: 44ch;
}

.site-footer {
  margin-top: 34px;
  border-radius: 28px;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.policy-page {
  display: grid;
  gap: 18px;
  padding: 52px 0 10px;
}

.policy-hero {
  padding: 34px 28px;
}

.policy-meta {
  margin: 14px 0;
  color: var(--brand-dark);
  font-weight: 800;
}

@keyframes float-up {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-down {
  0%, 100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateY(14px);
  }
}

@media (max-width: 1080px) {
  .hero,
  .privacy-callout,
  .workflow-steps,
  .stats-strip,
  .feature-grid,
  .gallery-phones,
  .gallery-tablets {
    grid-template-columns: 1fr;
  }

  .hero-stack {
    min-height: 760px;
  }

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 740px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 10px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
  }

  .site-nav,
  .footer-links {
    flex-wrap: wrap;
  }

  .hero {
    padding: 42px 0 28px;
  }

  .hero-stack {
    min-height: 620px;
  }

  .phone-front {
    right: 6px;
    width: min(280px, 74%);
  }

  .phone-back {
    top: 150px;
    width: min(236px, 64%);
  }

  .gallery-block,
  .workflow,
  .privacy-callout,
  .policy-card,
  .policy-hero,
  .feature-card {
    padding: 20px;
  }
}
