:root {
  --bg-start: #dff1ff;
  --bg-end: #ffffff;
  --title: #2f3a48;
  --subtitle: #5f6c7d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 72%);
  color: var(--title);
  scroll-behavior: smooth;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 24px 24px;
}

.hero-content {
  width: min(900px, calc(100vw - 220px));
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  text-align: left;
}

.brand-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 16px;
}

.brand-copy h1 {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.brand-version {
  margin-top: 4px;
  display: inline-flex;
  color: var(--subtitle);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.1;
}

.brand-version:hover {
  text-decoration: none;
}

.hero-highlight {
  margin: 22px 0 0;
  text-align: left;
  color: var(--subtitle);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #2f3a48;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(27, 52, 84, 0.14), 0 4px 10px rgba(27, 52, 84, 0.1);
}

.carousel {
  margin-top: 56px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 26px 55px rgba(27, 52, 84, 0.22), 0 8px 18px rgba(27, 52, 84, 0.14);
  aspect-ratio: 1.61;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: carousel-fade 84s linear infinite;
  animation-delay: calc((var(--slide-delay) * 6s) - 1.5s);
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features {
  margin-top: 54px;
}

.features h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.features-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.download {
  margin-top: 54px;
}

.download h2 {
  margin: 0;
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.download-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #2f3a48;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(27, 52, 84, 0.14), 0 4px 10px rgba(27, 52, 84, 0.1);
}

.download-link-icon {
  width: 0.98rem;
  height: 0.98rem;
  flex: 0 0 0.98rem;
  object-fit: contain;
  margin-right: 7px;
}

.feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 26px rgba(27, 52, 84, 0.12), 0 4px 12px rgba(27, 52, 84, 0.08);
}

.feature-card h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.15;
}

.feature-card p {
  margin: 8px 0 0;
  color: var(--subtitle);
  font-size: 0.84rem;
  line-height: 1.35;
}

.help {
  margin-top: 54px;
}

.help h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.help-item {
  margin-top: 18px;
}

.help-item h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.help-item p {
  margin: 8px 0 16px;
  color: var(--subtitle);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: none;
}

.privacy {
  margin-top: 54px;
}

.privacy h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.privacy p {
  margin: 10px 0 0;
  color: var(--subtitle);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 100%;
}

.privacy ol {
  margin: 14px 0 0;
  padding-left: 18px;
}

.privacy ol li {
  margin: 12px 0 0;
}

.privacy h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--title);
}

.privacy li p {
  margin-top: 4px;
  margin-bottom: 0;
}

.help-image-wrap {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.help-image-wrap img {
  width: min(900px, 100%);
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 26px 55px rgba(27, 52, 84, 0.22), 0 8px 18px rgba(27, 52, 84, 0.14);
}

.site-footer {
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid rgba(47, 58, 72, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.site-footer-logo {
  width: 88px;
  height: auto;
}

.site-footer-copy {
  margin: 0;
  color: var(--subtitle);
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.site-footer-name {
  margin: 0;
  font-size: 0.9rem;
  color: var(--subtitle);
  line-height: 1.25;
}

.site-footer-email {
  margin-top: 3px;
  text-decoration: none;
  color: inherit;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@keyframes carousel-fade {
  0%,
  4% {
    opacity: 0;
  }

  8%,
  20% {
    opacity: 1;
  }

  28%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 44px 20px 20px;
  }

  .hero-content {
    width: min(900px, calc(100vw - 40px));
  }

  .brand {
    width: 100%;
    gap: 14px;
    align-items: center;
  }

  .carousel {
    margin-top: 36px;
  }

  .carousel-viewport {
    border-radius: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .help-image-wrap img {
    border-radius: 14px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
}
