:root {
  color-scheme: light;
  --bg: #f5f2ec;
  --surface: #ffffff;
  --ink: #1d1c1a;
  --muted: #59544c;
  --primary: #0e8d7b;
  --primary-dark: #0a6b5e;
  --accent: #f2c14e;
  --border: #e3ded4;
  --shadow: 0 24px 60px rgba(29, 28, 26, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(14, 141, 123, 0.12), transparent 48%),
    radial-gradient(circle at 20% 20%, rgba(242, 193, 78, 0.2), transparent 52%),
    linear-gradient(180deg, #fdfbf7 0%, #f5f2ec 60%, #f4f0e7 100%);
}

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

.hero {
  padding: 28px 18px 52px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.hero-content {
  margin-top: 40px;
  display: grid;
  gap: 28px;
  padding: 28px 24px 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(14, 141, 123, 0.15);
  background: linear-gradient(
    120deg,
    rgba(14, 141, 123, 0.18) 0%,
    rgba(14, 141, 123, 0.08) 45%,
    rgba(242, 193, 78, 0.22) 100%
  );
}

.hero-text {
  animation: fadeUp 0.8s ease-out forwards;
}

.tag {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}

.hero-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 24px rgba(14, 141, 123, 0.25);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--ink);
  background: white;
}

.btn.ghost:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hero-banner {
  align-self: center;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  animation: fadeUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
  width: clamp(260px, 70vw, 480px);
  aspect-ratio: 1081 / 1200;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(14, 141, 123, 0.12);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.status {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.status.soon {
  color: var(--muted);
}

.hero-phone {
  background: #11110f;
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 24px 50px rgba(17, 17, 15, 0.25);
  width: 100%;
  aspect-ratio: 1081 / 2401;
}

.hero-phone img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
  object-position: top center;
}

.app-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.app-card li::before {
  content: "-";
  color: var(--accent);
  margin-right: 8px;
}

.section {
  padding: 72px 22px;
}

.section-title {
  max-width: 620px;
  margin-bottom: 32px;
}

.eyebrow {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.section h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section p {
  color: var(--muted);
}

.apps-grid {
  display: grid;
  gap: 24px;
}

.app-card {
  background: var(--surface);
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: grid;
  gap: 16px;
}

.app-card.muted {
  background: #fdfaf4;
}

.app-screens {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f6f4ee;
}

.screen-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(29, 28, 26, 0.08);
}

.screen-nav.prev {
  left: 12px;
}

.screen-nav.next {
  right: 12px;
}

.screen-nav:hover {
  transform: translateY(-50%) translateY(-1px);
}

.app-screens figure {
  margin: 0;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-screens figure.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.app-screens img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer {
  padding: 48px 22px 64px;
  display: grid;
  gap: 24px;
  border-top: 1px solid var(--border);
}

.footer p {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 860px) {
  .hero {
    padding: 40px 48px 80px;
  }

  .section {
    padding: 96px 64px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 64px;
  }

  .hero-banner {
    width: clamp(340px, 34vw, 520px);
  }

  .app-screens {
    height: 300px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
