:root {
  color-scheme: light dark;
  --color-bg: #0f0f17;
  --color-surface: rgba(26, 26, 41, 0.7);
  --color-text: #f2f4ff;
  --color-muted: rgba(242, 244, 255, 0.72);
  --color-highlight: #8e35ed;
  --color-highlight-soft: rgba(142, 53, 237, 0.12);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-cta-secondary: rgba(242, 244, 255, 0.08);
  --gradient-hero: radial-gradient(circle at top left, #8e35ed40, transparent),
    radial-gradient(circle at bottom right, #4281ff40, transparent);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
}

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

.hero {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem) 3rem;
  background: var(--gradient-hero);
}

.hero__content {
  max-width: 560px;
}

.hero__logo {
  width: clamp(160px, 22vw, 220px);
  margin-bottom: 1.5rem;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
}

.hero__subtitle {
  margin: 0 0 2rem;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: var(--color-muted);
}

.hero__app-icon {
  width: clamp(72px, 9vw, 96px);
  height: auto;
  border-radius: 26%;
  margin-bottom: 1.5rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__illustration {
  justify-self: center;
  max-width: 480px;
}

.hero__illustration img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 160ms ease, box-shadow 160ms ease,
    background-color 160ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.cta-button--primary {
  background: var(--color-highlight);
  color: white;
  box-shadow: 0 14px 32px rgba(142, 53, 237, 0.32);
}

.cta-button--primary:hover,
.cta-button--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(142, 53, 237, 0.44);
}

.cta-button--secondary {
  background: var(--color-cta-secondary);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.14);
}

.cta-button--secondary:hover,
.cta-button--secondary:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.32);
}

.feature-grid {
  display: grid;
  gap: 1.75rem;
  padding: 0 clamp(1.5rem, 6vw, 6rem) clamp(3rem, 8vw, 5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card {
  padding: 2rem;
  border-radius: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(20px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 600;
}

.feature-icon--pink {
  background: #ff69c940;
  color: #ff69c9;
}

.feature-icon--blue {
  background: #3ba3ff40;
  color: #3ba3ff;
}

.feature-icon--purple {
  background: #8e35ed40;
  color: #b082ff;
}

.feature-title {
  margin: 0;
  font-size: 1.35rem;
}

.feature-text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.feature-text--muted {
  margin-top: 0.5rem;
  color: rgba(242, 244, 255, 0.6);
  line-height: 1.5;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 150ms ease, box-shadow 150ms ease,
    background-color 150ms ease;
}

.mini-button--primary {
  background: rgba(142, 53, 237, 0.16);
  color: #d9c6ff;
  border-color: rgba(142, 53, 237, 0.4);
}

.mini-button--secondary {
  background: rgba(66, 129, 255, 0.12);
  color: #c5dcff;
  border-color: rgba(66, 129, 255, 0.32);
}

.mini-button:hover,
.mini-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.small-print {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(242, 244, 255, 0.55);
  line-height: 1.6;
}

.deep-link-playground {
  margin: 0 clamp(1.5rem, 6vw, 6rem) clamp(4rem, 12vw, 7rem);
  padding: clamp(2.5rem, 6vw, 4rem);
  border-radius: 28px;
  background: rgba(15, 15, 23, 0.82);
  border: 1px solid rgba(142, 53, 237, 0.24);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 2rem;
}

.deep-link-playground__copy h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}

.deep-link-playground__copy p {
  margin: 0;
  color: rgba(242, 244, 255, 0.72);
  max-width: 600px;
  line-height: 1.7;
}

.deep-link-playground__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.deep-link-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 22px;
  background: linear-gradient(
    140deg,
    rgba(142, 53, 237, 0.18),
    rgba(66, 129, 255, 0.12)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-items: flex-start;
}

.deep-link-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.deep-link-card__body p {
  margin: 0 0 0.9rem;
  color: rgba(242, 244, 255, 0.72);
  line-height: 1.6;
}

.deep-link-playground .small-print {
  color: rgba(242, 244, 255, 0.6);
  max-width: 640px;
}

.cta-banner {
  margin: 0 clamp(1.5rem, 6vw, 6rem) clamp(4rem, 12vw, 7rem);
  padding: clamp(2rem, 6vw, 3.5rem);
  border-radius: 24px;
  background: var(--color-highlight-soft);
  border: 1px solid rgba(142, 53, 237, 0.4);
  display: grid;
  gap: 2rem;
}

.cta-banner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.cta-banner p {
  margin: 0;
  color: var(--color-muted);
  max-width: 520px;
  line-height: 1.6;
}

.cta-banner__form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cta-banner__form input[type='email'] {
  flex: 1 1 240px;
  min-width: 220px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 15, 23, 0.8);
  color: var(--color-text);
  font-size: 1rem;
}

.cta-banner__form input[type='email']::placeholder {
  color: rgba(242, 244, 255, 0.5);
}

.form-feedback {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  padding: 2.5rem clamp(1.5rem, 6vw, 6rem);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: rgba(242, 244, 255, 0.6);
  font-size: 0.95rem;
}

.site-footer__links {
  display: flex;
  gap: 1.5rem;
}

.site-footer__links a {
  color: inherit;
  text-decoration: none;
}

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

.site-footer__version {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(242, 244, 255, 0.75);
  font-weight: 500;
}

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

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__illustration {
    order: -1;
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__illustration img {
    border-radius: 20px;
  }
  .cta-banner {
    padding: 2rem;
  }
  .cta-button {
    width: 100%;
  }

  .deep-link-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
