:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", system-ui,
    sans-serif;
  --brand: #00112b;
  --brand-accent: #0f3c91;
  --brand-soft: #e3ebff;
  background-color: #f5f8ff;
  color: #0c1425;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 1.5rem 3.5rem;
  background: radial-gradient(circle at 12% 18%, rgba(0, 17, 43, 0.08) 0%, transparent 48%),
    radial-gradient(circle at 88% 15%, rgba(15, 60, 145, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(0, 17, 43, 0.12) 0%, transparent 55%), #f5f8ff;
  color: inherit;
  line-height: 1.7;
}

main.container {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 3.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

a {
  color: var(--brand-accent);
  font-weight: 600;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(227, 235, 255, 0.9));
  border: 1px solid rgba(0, 17, 43, 0.08);
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 20px 48px rgba(0, 17, 43, 0.12);
}

.card--compact {
  padding: 1.85rem 2rem;
}

.hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 2.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(227, 235, 255, 0.96));
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  width: 148px;
  height: 148px;
  border-radius: 32px;
  box-shadow: 0 18px 30px rgba(0, 17, 43, 0.26);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 17, 43, 0.08);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw + 1.5rem, 2.7rem);
}

h2 {
  margin: 0;
  font-size: 1.55rem;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
}

.lead {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(12, 20, 37, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.45rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 17, 43, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  box-shadow: 0 12px 24px rgba(0, 17, 43, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 17, 43, 0.24);
}

.button.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-accent));
  border-color: transparent;
  color: #f9fbff;
}

.notice {
  margin-top: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 17, 43, 0.06);
  color: rgba(12, 20, 37, 0.72);
  font-size: 0.95rem;
}

.gallery {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(0, 17, 43, 0.08);
  box-shadow: 0 16px 32px rgba(0, 17, 43, 0.14);
  display: block;
}

.feature-grid {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  border: 1px solid rgba(0, 17, 43, 0.08);
  padding: 1.4rem 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.feature p {
  margin: 0.65rem 0 0;
  color: rgba(12, 20, 37, 0.78);
}

.footer {
  text-align: center;
  margin-top: 1rem;
  color: rgba(12, 20, 37, 0.55);
}

@media (max-width: 860px) {
  body {
    padding: 0 1.25rem 3rem;
  }

  main.container {
    padding-top: 2.75rem;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    width: 128px;
    height: 128px;
  }

  .hero-content {
    align-items: center;
  }

  .app-label {
    width: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  body {
    padding: 0 1rem 2.5rem;
  }

  .card {
    padding: 1.85rem 1.6rem;
  }

  .card--compact {
    padding: 1.6rem 1.5rem;
  }

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