:root {
  --background: #f1fbf6;
  --surface: #ffffff;
  --surface-soft: #e9f8f2;
  --mint: #2eccb2;
  --mint-dark: #24b39c;
  --mint-soft: #ddfee7;
  --navy: #0f172a;
  --slate: #475569;
  --muted: #6f7a8f;
  --border: #d6eee7;
  --yellow: #ffd166;
  --success: #22c55e;
  --warning: #f59e0b;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --soft-shadow: 0 14px 44px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(46, 204, 178, 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--background) 45%, #ffffff 100%);
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

body::selection {
  background: var(--mint);
  color: #ffffff;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 155px;
  height: 52px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  color: var(--mint-dark);
  opacity: 1;
}

.nav-cta {
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(46, 204, 178, 0.28);
}

.nav-cta:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.hero {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 88px;
  text-align: center;
}

.hero-proof {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 16px;
  color: var(--slate);
  font-size: 16px;
}

.hero-proof strong {
  color: var(--navy);
  font-size: 22px;
}

.stars {
  display: inline-grid;
  grid-template-columns: repeat(5, 15px);
  gap: 3px;
}

.stars span {
  width: 15px;
  height: 15px;
  background: var(--warning);
  clip-path: polygon(50% 0%, 61% 34%, 98% 34%, 68% 55%, 79% 90%, 50% 68%, 21% 90%, 32% 55%, 2% 34%, 39% 34%);
}

.hero h1 {
  max-width: 900px;
  margin: 24px auto 18px;
  color: var(--navy);
  font-size: 64px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--mint);
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--slate);
  font-size: 20px;
  line-height: 1.6;
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 0 44px;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 160ms ease, filter 160ms ease;
}

.app-store-link:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.18));
}

.app-store-link img {
  width: 246px;
  height: auto;
  border-radius: 10px;
}

.app-store-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--slate);
  font-size: 15px;
  font-weight: 800;
}

.app-store-note img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.14);
}

.phone-stage {
  position: relative;
  min-height: 830px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.screenshot-gallery {
  position: relative;
  z-index: 2;
  width: min(1060px, 100%);
  min-height: 770px;
  display: grid;
  place-items: center;
}

.screenshot-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 48px;
  background: #effaf5;
  box-shadow:
    0 34px 90px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.06);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-primary {
  position: relative;
  z-index: 3;
  width: 382px;
  aspect-ratio: 1290 / 2796;
}

.screenshot-left {
  position: absolute;
  z-index: 1;
  width: 322px;
  aspect-ratio: 1290 / 2796;
  transform: translate(-245px, 54px) rotate(-3deg);
  opacity: 0.92;
}

.screenshot-secondary {
  position: absolute;
  z-index: 1;
  width: 322px;
  aspect-ratio: 1290 / 2796;
  transform: translate(245px, 62px) rotate(3deg);
  opacity: 0.92;
}

.screenshot-gallery::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 204, 178, 0.18), rgba(221, 254, 231, 0.18) 56%, transparent 70%);
}

.leaf {
  position: absolute;
  bottom: 70px;
  width: 270px;
  height: 390px;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 50% 16%, rgba(46, 204, 178, 0.35) 0 18%, transparent 19%),
    radial-gradient(ellipse at 18% 40%, rgba(46, 204, 178, 0.28) 0 16%, transparent 17%),
    radial-gradient(ellipse at 74% 45%, rgba(46, 204, 178, 0.3) 0 17%, transparent 18%),
    radial-gradient(ellipse at 28% 70%, rgba(46, 204, 178, 0.27) 0 20%, transparent 21%),
    radial-gradient(ellipse at 68% 76%, rgba(46, 204, 178, 0.25) 0 18%, transparent 19%);
  filter: blur(0.2px);
}

.leaf-left {
  left: 145px;
  transform: rotate(-10deg);
}

.leaf-right {
  right: 150px;
  transform: scaleX(-1) rotate(-8deg);
}

.how,
.features,
.cta-panel,
.contact-section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.how {
  padding: 22px 0 80px;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2,
.cta-panel h2,
.contact-section h2,
.legal-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

.section-heading p,
.cta-panel p,
.contact-section p,
.legal-hero p {
  margin: 12px 0 0;
  color: var(--slate);
  font-size: 18px;
  line-height: 1.55;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}

.step-card {
  min-height: 250px;
  padding: 40px 30px;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  border-right: 1px solid var(--border);
}

.step-card:last-child {
  border-right: 0;
}

.step-icon {
  width: 72px;
  height: 72px;
  border: 2px solid var(--mint);
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--mint);
  background: rgba(255, 255, 255, 0.78);
}

.step-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card:first-child .step-icon svg {
  fill: currentColor;
  stroke: none;
}

.step-card h3,
.feature-list h3 {
  margin: 24px 0 10px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0;
}

.step-card p,
.feature-list p {
  margin: 0;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.55;
}

.features {
  padding: 8px 0 78px;
}

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

.feature-list article {
  min-height: 230px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 28px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.feature-list article::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--mint), var(--mint-dark));
  box-shadow: 0 10px 18px rgba(46, 204, 178, 0.24);
}

.cta-panel {
  min-height: 310px;
  margin-bottom: 86px;
  padding: 58px 64px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 100%, rgba(46, 204, 178, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0 42%, rgba(221, 254, 231, 0.72) 100%);
  box-shadow: var(--soft-shadow);
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: end;
  gap: 20px;
  text-align: center;
  overflow: hidden;
}

.cta-copy {
  display: grid;
  justify-items: center;
}

.cta-panel h2 span {
  color: var(--mint);
}

.cta-panel p {
  max-width: 480px;
  margin-bottom: 0;
}

.panel-link {
  margin-top: 2px;
  justify-self: center;
}

.contact-section {
  max-width: 720px;
  margin-bottom: 86px;
  padding: 0 0 6px;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.contact-section p {
  margin-top: 0;
}

.contact-email {
  color: var(--mint-dark);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-button:hover {
  border-color: rgba(46, 204, 178, 0.65);
  color: var(--mint-dark);
  transform: translateY(-1px);
}

.site-footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 48px;
  color: var(--slate);
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-brand img {
  width: 135px;
  height: 44px;
  object-fit: contain;
}

.footer-brand p,
.copyright {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--mint-dark);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}

.legal-page {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.legal-hero {
  margin-bottom: 34px;
  text-align: center;
}

.legal-document {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  padding: 52px;
  color: var(--slate);
}

.legal-document section + section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.legal-document h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.legal-document p,
.legal-document li {
  font-size: 17px;
  line-height: 1.7;
}

.legal-document p {
  margin: 0 0 14px;
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.legal-document ul {
  margin: 10px 0 18px;
  padding-left: 22px;
}

.legal-document a {
  color: var(--mint-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 1060px) {
  .hero h1 {
    font-size: 56px;
  }

  .leaf-left {
    left: 20px;
  }

  .leaf-right {
    right: 24px;
  }

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

  .step-card:nth-child(2) {
    border-right: 0;
  }

  .step-card:nth-child(1),
  .step-card:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .feature-list article:last-child {
    grid-column: 1 / -1;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 32px, var(--max-width));
    padding-top: 18px;
    align-items: flex-start;
  }

  .brand img {
    width: 126px;
    height: 44px;
  }

  .site-nav {
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
    font-size: 13px;
  }

  .site-nav a:nth-child(1),
  .site-nav a:nth-child(2) {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 11px 14px;
    border-radius: 12px;
  }

  .hero,
  .how,
  .features,
  .cta-panel,
  .site-footer {
    width: min(100% - 32px, var(--max-width));
  }

  .hero {
    padding: 48px 0 70px;
  }

  .hero-proof {
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 14px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-copy {
    font-size: 17px;
  }

  .phone-stage {
    min-height: 640px;
  }

  .app-store-link img {
    width: 220px;
  }

  .app-store-note {
    font-size: 14px;
  }

  .screenshot-gallery {
    min-height: 610px;
  }

  .screenshot-frame {
    border-radius: 36px;
  }

  .screenshot-primary {
    width: min(285px, 82vw);
  }

  .screenshot-secondary {
    width: min(222px, 64vw);
    transform: translate(86px, 72px) rotate(4deg);
    opacity: 0.7;
  }

  .screenshot-left {
    width: min(222px, 64vw);
    transform: translate(-86px, 84px) rotate(-4deg);
    opacity: 0.68;
  }

  .screenshot-gallery::before {
    width: 360px;
    height: 360px;
  }

  .leaf {
    display: none;
  }

  .section-heading h2,
  .cta-panel h2,
  .contact-section h2,
  .legal-hero h1 {
    font-size: 34px;
  }

  .section-heading p,
  .cta-panel p,
  .contact-section p,
  .legal-hero p {
    font-size: 16px;
  }

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

  .step-card {
    min-height: auto;
    padding: 32px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .step-card:last-child {
    border-bottom: 0;
  }

  .feature-list article,
  .feature-list article:last-child {
    grid-column: auto;
    min-height: auto;
  }

  .cta-panel {
    padding: 36px 24px 24px;
    margin-bottom: 64px;
  }

  .contact-section {
    margin-bottom: 64px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-items: center;
  }

  .site-footer nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .legal-page {
    width: min(100% - 32px, 920px);
    padding: 48px 0 70px;
  }

  .legal-document {
    padding: 28px;
    border-radius: 18px;
  }

  .legal-document h2 {
    font-size: 21px;
  }

  .legal-document p,
  .legal-document li {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
