:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --panel: #111111;
  --line: #1f1f1f;
  --text: #ffffff;
  --muted: #888888;
  --dim: #555555;
  --quiet: #333333;
  --habit: #ff5c3a;
  --focus: #2563eb;
  --sprout: #16a34a;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

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

.site-header,
.site-footer,
.hero,
.apps-section,
.about-section,
.contact-section {
  padding-inline: clamp(24px, 5.56vw, 80px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.brand-logo {
  display: block;
  width: 32px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-logo-small {
  width: 22px;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--text);
  border-radius: 8px;
  color: var(--bg);
  background: var(--text);
  font-size: 17px;
  font-weight: 700;
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.78vw, 40px);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.site-nav a,
.footer-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--text);
}

.hero {
  display: flex;
  min-height: 580px;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding-block: 120px 140px;
}

.eyebrow,
.small-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--text);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
}

.hero p:last-child {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 60px;
}

.section-heading h2,
.section-heading p {
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
}

.section-heading h2 {
  color: var(--dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.app-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-card {
  display: flex;
  min-height: 360px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  overflow: hidden;
  border-radius: 20px;
  padding: 56px 64px;
  color: var(--text);
}

.app-card-cownapper {
  background:
    radial-gradient(circle at top right, rgb(255 237 167 / 0.28), transparent 34%),
    linear-gradient(135deg, #4f7d2f 0%, #8b5a2b 45%, #f97316 100%);
}

.app-card-folder {
  background:
    radial-gradient(circle at top right, rgb(96 165 250 / 0.22), transparent 36%),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 52%, #38bdf8 100%);
}

.app-card-domemory {
  background:
    radial-gradient(circle at top right, rgb(250 204 21 / 0.24), transparent 35%),
    linear-gradient(135deg, #4f46e5 0%, #8b5cf6 44%, #ec4899 100%);
}

.app-card-cleaner {
  background:
    radial-gradient(circle at top right, rgb(125 211 252 / 0.24), transparent 36%),
    linear-gradient(135deg, #0f766e 0%, #14b8a6 48%, #67e8f9 100%);
}

.app-card-spacegram {
  background:
    radial-gradient(circle at top right, rgb(244 114 182 / 0.22), transparent 30%),
    linear-gradient(135deg, #020617 0%, #1d4ed8 42%, #7c3aed 100%);
}

.app-content {
  display: flex;
  max-width: 520px;
  flex-direction: column;
  gap: 24px;
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-icon {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgb(0 0 0 / 20%);
  object-fit: cover;
}

.app-preview {
  display: flex;
  width: 220px;
  min-height: 260px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  background: rgb(255 255 255 / 12%);
  backdrop-filter: blur(12px);
  flex-direction: column;
}

.app-preview img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 16px 32px rgb(0 0 0 / 22%);
}

.app-preview span {
  color: rgb(255 255 255 / 72%);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.app-card h3,
.app-card p {
  margin: 0;
}

.app-card h3 {
  font-size: 22px;
  line-height: 1.25;
}

.app-title-row p {
  margin-top: 2px;
  color: rgb(255 255 255 / 60%);
  font-size: 13px;
  line-height: 1.25;
}

.app-content > p {
  color: rgb(255 255 255 / 85%);
  font-size: 18px;
  line-height: 1.6;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-link,
.contact-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding-inline: 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.app-link-secondary {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding-inline: 20px;
  background: rgb(255 255 255 / 14%);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.store-link {
  background: var(--text);
}

.app-card-cownapper .store-link {
  color: #ff5c3a;
}

.app-card-folder .store-link {
  color: #334155;
}

.app-card-domemory .store-link {
  color: #a855f7;
}

.app-card-cleaner .store-link {
  color: #0f766e;
}

.app-card-spacegram .store-link {
  color: #1d4ed8;
}

.contact-button::after {
  content: " ->";
}

.about-section {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-block: 160px 80px;
}

.small-heading::before {
  content: "";
  width: 8px;
  height: 1px;
  background: var(--dim);
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(64px, 11.1vw, 160px);
}

.about-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
}

.about-copy div {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.about-copy p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.about-copy p:last-child,
.contact-section p {
  color: var(--dim);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 56px 0 0;
  border-top: 1px solid var(--line);
}

.stats div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-inline: 48px;
  border-right: 1px solid var(--line);
}

.stats div:first-child {
  padding-left: 0;
}

.stats div:last-child {
  border-right: 0;
  padding-right: 0;
}

.stats dt {
  color: var(--text);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.stats dd {
  margin: 0;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.3;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-inline: clamp(24px, 5.56vw, 80px);
  padding: 96px;
  border-radius: 24px;
  background: var(--panel);
}

.contact-section div {
  display: flex;
  max-width: 560px;
  flex-direction: column;
  gap: 20px;
}

.contact-section p {
  font-size: 16px;
  line-height: 1.6;
}

.contact-button {
  min-height: 52px;
  flex: 0 0 auto;
  padding-inline: 36px;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 80px;
  padding-block: 64px;
  border-top: 1px solid var(--line);
}

.brand-small {
  font-size: 18px;
}

.brand-small .brand-mark {
  width: 22px;
  height: 27px;
  border-radius: 6px;
  font-size: 13px;
}

.footer-nav,
.site-footer p {
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.25;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 88px 96px;
  }

  .hero h1,
  .about-copy h2,
  .contact-section h2 {
    font-size: 52px;
  }

  .section-heading,
  .app-card,
  .about-copy,
  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    gap: 8px;
    padding-bottom: 32px;
  }

  .app-card {
    gap: 40px;
    padding: 36px 28px;
    border-radius: 18px;
  }

  .app-preview {
    width: min(100%, 220px);
    align-self: center;
  }

  .about-section {
    padding-block: 96px 64px;
  }

  .about-copy {
    display: flex;
    gap: 32px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats div,
  .stats div:first-child,
  .stats div:last-child {
    padding: 0;
    border-right: 0;
  }

  .contact-section {
    margin-inline: 24px;
    padding: 48px 28px;
    border-radius: 18px;
  }

  .contact-button {
    width: 100%;
  }

  .footer-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  .hero,
  .apps-section,
  .about-section {
    padding-inline: 20px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .about-copy h2,
  .contact-section h2 {
    font-size: 40px;
  }

  .hero p:last-child,
  .app-content > p {
    font-size: 17px;
  }

  .app-actions {
    flex-direction: column;
  }

  .store-link,
  .app-link-secondary,
  .contact-button {
    width: 100%;
  }
}
