:root {
  --bg: #f7f3eb;
  --bg-soft: rgba(255, 255, 255, 0.64);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(18, 20, 18, 0.08);
  --text: #141414;
  --text-soft: #5d625d;
  --accent: #2f8f57;
  --accent-strong: #1f7141;
  --shadow-soft: 0 20px 60px rgba(27, 31, 27, 0.08);
  --shadow-card: 0 16px 32px rgba(30, 35, 30, 0.08);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(111, 193, 144, 0.18), transparent 28%),
    radial-gradient(circle at right 20%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(180deg, #fbf8f1 0%, #f5f0e6 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 220ms ease;
}

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

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

button,
a,
img {
  -webkit-tap-highlight-color: transparent;
}

.page-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.page-glow-one {
  width: 280px;
  height: 280px;
  background: rgba(110, 191, 139, 0.18);
  top: 60px;
  left: -60px;
}

.page-glow-two {
  width: 320px;
  height: 320px;
  background: rgba(181, 229, 195, 0.2);
  right: -80px;
  top: 420px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 16px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  background: rgba(255, 252, 246, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(28, 32, 28, 0.06);
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(31, 113, 65, 0.18);
  background: linear-gradient(180deg, #ffffff, #eff5ef);
}

.nav-menu,
.nav-links {
  display: flex;
  align-items: center;
}

.nav-menu {
  gap: 16px;
}

.nav-links {
  gap: 26px;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  padding: 14px 24px;
  color: #ffffff;
  background: linear-gradient(180deg, #348f5a 0%, #247347 100%);
  box-shadow: 0 16px 34px rgba(47, 143, 87, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 40px rgba(47, 143, 87, 0.34);
}

.download-btn {
  position: relative;
  overflow: hidden;
}

.download-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.download-btn:hover::after,
.download-btn:focus-visible::after {
  transform: translateX(120%);
}

.download-btn > span:first-child {
  display: none !important;
}

body.is-checkout-opening::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(247, 243, 235, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 30;
}

.button-small {
  padding: 11px 18px;
  font-size: 0.95rem;
}

.button-large {
  padding: 16px 28px;
  font-size: 1rem;
}

.hero {
  padding-top: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(32, 40, 32, 0.07);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1,
.section-heading h2,
.why-copy h2,
.download-card h2 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.why-copy p,
.download-card p,
.feature-card p,
.screenshot-card p,
.footer-content p {
  color: var(--text-soft);
}

.hero-text {
  max-width: 34rem;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

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

.hero-meta,
.download-meta {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
}

.menu-bar-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-card);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #54bf7d, #2f8f57);
  box-shadow: 0 0 0 6px rgba(84, 191, 125, 0.12);
}

.pill-text {
  color: var(--text);
  font-weight: 700;
}

.pill-time {
  padding-left: 8px;
  border-left: 1px solid rgba(20, 20, 20, 0.08);
}

.mockup-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56));
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.mockup-topbar {
  display: flex;
  gap: 8px;
  padding: 4px 4px 14px;
}

.mockup-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.1);
}

.mockup-frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(18, 20, 18, 0.06);
  background: linear-gradient(180deg, #faf7f1, #f4efe7);
}

.mockup-video {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #f4efe7;
}

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

.section-heading h2,
.why-copy h2,
.download-card h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.section-heading p {
  margin: 16px auto 0;
  max-width: 40rem;
}

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

.feature-card,
.why-panel,
.download-card,
.screenshot-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.feature-card {
  padding: 26px;
  border-radius: var(--radius-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(75, 161, 107, 0.14), rgba(75, 161, 107, 0.22));
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin: 0;
}

.screenshot-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.screenshot-card img {
  border-radius: 22px;
  min-height: 320px;
  object-fit: cover;
  border: 1px solid rgba(18, 20, 18, 0.06);
}

.screenshot-card p {
  margin: 16px 0 6px;
  font-size: 0.98rem;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.why-copy p {
  max-width: 34rem;
  margin-top: 18px;
  font-size: 1.04rem;
}

.why-panel {
  border-radius: var(--radius-lg);
  padding: 16px;
}

.why-list-item {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(18, 20, 18, 0.06);
}

.why-list-item + .why-list-item {
  margin-top: 12px;
}

.why-list-item strong,
.why-list-item span {
  display: block;
}

.why-list-item strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.why-list-item span {
  color: var(--text-soft);
}

.download-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 46px 28px;
  border-radius: 36px;
  text-align: center;
}

.download-card p {
  max-width: 34rem;
  margin: 16px auto 0;
}

.download-card .button {
  margin-top: 28px;
}

.site-footer {
  padding: 24px 0 42px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 20, 18, 0.08);
}

.footer-content strong {
  font-size: 1rem;
}

.footer-content p {
  margin: 6px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .section {
    padding: 84px 0;
  }

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

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

  .hero h1 {
    max-width: 12ch;
  }

  .feature-grid {
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 12px;
  }

  .navbar {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height 220ms ease,
      opacity 180ms ease;
  }

  .nav-menu.is-open {
    max-height: 320px;
    opacity: 1;
  }

  .nav-menu {
    gap: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0 14px;
  }

  .nav-menu .button {
    width: 100%;
    margin-top: 6px;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .section-heading {
    text-align: left;
    margin-bottom: 34px;
  }

  .section-heading p {
    margin-left: 0;
  }

  .download-card,
  .screenshot-card,
  .feature-card,
  .why-panel {
    border-radius: 26px;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .navbar {
    padding: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-large,
  .button-small {
    width: 100%;
  }

  .mockup-shell,
  .download-card {
    padding: 16px;
  }

  .mockup-image,
  .screenshot-card img {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
