:root {
  --bg: #F7F9F9;
  --logo-tone: #62CDD0;
  --text-soft: #7E8A8A;
  --text-strong: #4F5A5A;
  --track: rgba(98, 205, 208, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text-strong);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 24px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: min(120px, 24vw);
  height: auto;
  display: block;
  margin-bottom: 28px;
  animation: logo-spin-in 2.5s ease-in-out 1;
  transform-origin: center;
}

@keyframes logo-spin-in {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes progress-version-2 {
  from {
    width: 0%;
  }

  to {
    width: 14%;
  }
}

.progress-group {
  width: min(320px, 78vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.progress-wrap {
  width: min(220px, 58vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.progress-bar {
  width: 100%;
  height: 2px;
  background: var(--track);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--logo-tone);
  border-radius: 999px;
}

.progress-fill-version-1 {
  width: 95%;
}

.progress-fill-version-2 {
  width: 14%;
  animation: progress-version-2 5s ease-in-out both;
}

.progress-text {
  font-size: 0.68rem;
  color: rgba(126, 138, 138, 0.72);
  letter-spacing: 0.04em;
  text-align: center;
}

.launch-quote {
  width: max-content;
  max-width: min(520px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.launch-text {
  font-size: 0.68rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(126, 138, 138, 0.72);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.5;
}

.launch-author {
  width: 100%;
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(126, 138, 138, 0.72);
  letter-spacing: 0.04em;
  text-align: right;
}

@media (max-width: 600px) {
  .launch-quote {
    width: min(320px, 88vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo {
    animation: none;
  }
}

.footer {
  text-align: center;
  padding: 0 24px 26px;
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
}

.share-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 18px 24px;
  background: var(--bg);
}

.share-card {
  width: min(460px, 100%);
  overflow: hidden;
  border: 1px solid rgba(98, 205, 208, 0.14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(79, 90, 90, 0.08);
}

.share-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
}

.share-header > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.share-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.share-app {
  color: var(--logo-tone);
  font-size: 0.9rem;
  font-weight: 600;
}

.share-kind {
  color: var(--text-soft);
  font-size: 0.72rem;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 100%;
  background: var(--bg);
}

.comparison-item {
  min-width: 0;
}

.comparison-item span {
  display: block;
  padding: 7px 12px;
  color: var(--text-soft);
  background: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}

.comparison-item img {
  display: block;
  width: 100%;
  aspect-ratio: 0.69;
  object-fit: cover;
  object-position: center;
}

.share-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

.share-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: var(--bg);
}

.share-placeholder img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.share-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
}

.share-content h1,
.share-card.unavailable h1 {
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.share-handle {
  color: var(--logo-tone);
  font-size: 0.86rem;
}

.share-description,
.share-card.unavailable p {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.share-card.unavailable {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 34px 24px;
  text-align: center;
}

.share-card.unavailable a {
  margin-top: 8px;
  color: var(--logo-tone);
  font-size: 0.8rem;
  text-decoration: none;
}

.share-footer {
  color: var(--text-soft);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}