:root {
  --ink: #14241f;
  --ink-soft: rgba(20, 36, 31, 0.72);
  --ink-faint: rgba(20, 36, 31, 0.48);
  --panel: rgba(247, 250, 248, 0.78);
  --panel-border: rgba(20, 36, 31, 0.12);
  --accent: #1f6b5a;
  --accent-deep: #0f3d34;
  --glow: rgba(46, 140, 118, 0.28);
  --radius: 1.1rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #dfecea;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 15% 10%, rgba(88, 168, 148, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(210, 186, 120, 0.28), transparent 50%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(30, 80, 70, 0.18), transparent 55%),
    linear-gradient(160deg, #e7f2ee 0%, #d5e6e2 42%, #c9d8d4 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(to right, rgba(20, 55, 60, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 55, 60, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.shell {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 0 4rem;
  gap: 2.25rem;
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero {
  display: grid;
  gap: 0.65rem;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--accent-deep);
  animation: rise 800ms 60ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.headline {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  animation: rise 800ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lede {
  margin: 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  animation: rise 800ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.app-grid {
  display: grid;
  gap: 0.85rem;
  animation: rise 800ms 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.app-button {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(15, 40, 35, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.app-button:hover,
.app-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 107, 90, 0.35);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px var(--glow);
  outline: none;
}

.app-button:active {
  transform: translateY(0);
}

.app-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.app-button[aria-disabled="true"]:hover {
  transform: none;
  border-color: var(--panel-border);
  background: var(--panel);
  box-shadow: none;
}

.app-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.app-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--accent-deep);
}

.app-desc {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.app-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.app-button[aria-disabled="true"] .app-meta {
  color: var(--ink-faint);
}

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

@media (max-width: 520px) {
  .shell {
    width: min(100% - 1.5rem, 720px);
    padding-top: 2.75rem;
  }

  .app-button {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .app-meta {
    justify-self: start;
  }
}
