:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #161011;
  --panel-soft: #211416;
  --text: #fff7f4;
  --muted: #cdb9b3;
  --accent: #ff1f4f;
  --accent-2: #ff7040;
  --line: rgba(255, 255, 255, 0.14);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #050505 0%, #0d090a 48%, #050505 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand img {
  border-radius: 12px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
}

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

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  padding: 60px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ff8ca5;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 18px 50px rgba(255, 31, 79, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.app-store-button {
  min-height: 64px;
  padding: 0 24px 0 18px;
}

.app-store-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(0, 88, 255, 0.28);
}

.store-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
  text-align: left;
}

.store-label,
.store-name {
  display: block;
}

.store-label {
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.82;
  text-transform: uppercase;
}

.store-name {
  font-size: 1.14rem;
}

.hero-media {
  justify-self: center;
  width: min(100%, 390px);
}

.hero-media img {
  width: 100%;
  border-radius: 34px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.54);
}

.feature-strip,
.section,
.seo-section,
.legal-page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}

.feature-strip div {
  min-height: 136px;
  padding: 28px;
  background: rgba(22, 16, 17, 0.86);
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip strong {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.feature-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 110px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(33, 20, 22, 0.96), rgba(18, 13, 14, 0.96));
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.feature-grid p,
.seo-section p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.66;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 16px;
}

.screenshot-grid img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #050505;
}

.seo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: 112px 0;
}

.seo-section p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.legal-page {
  max-width: 820px;
  padding: 72px 0 112px;
}

.legal-page h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.legal-page h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.legal-page a {
  color: #ff8ca5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 920px) {
  .hero,
  .seo-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-media {
    width: min(100%, 340px);
  }

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

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.25rem;
  }

  .app-store-button {
    width: 100%;
    justify-content: flex-start;
  }

  .feature-strip,
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

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