:root {
  --ink: #0f1c24;
  --ink-soft: #3a4a54;
  --leaf-deep: #147a58;
  --paper: #f4f8f7;
  --line: rgba(15, 28, 36, 0.12);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
  background: var(--paper);
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 620px at 18% -8%, rgba(46, 207, 143, 0.26), transparent 55%),
    radial-gradient(780px 520px at 92% 12%, rgba(88, 170, 196, 0.2), transparent 50%),
    linear-gradient(165deg, #eef6f4 0%, #e3eef2 48%, #f2f6f5 100%);
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

@keyframes atmosphere-drift {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(8deg); }
}

.page {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 2rem;
  gap: 2rem;
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro {
  display: grid;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand img {
  display: block;
  border-radius: 9px;
}

.intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.app-card:hover {
  border-color: rgba(31, 159, 116, 0.45);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-2px);
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: block;
}

.app-topline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.app-body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  background: rgba(31, 159, 116, 0.14);
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
}

.app-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.app-arrow {
  color: var(--leaf-deep);
  font-size: 1.15rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.app-card:hover .app-arrow {
  transform: translateX(3px);
}

.site-footer {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

  .app-card:hover,
  .app-card:hover .app-arrow {
    transform: none;
  }
}
