:root {
  --blue: #007aff;
  --blue-hover: #0056d6;
  --blue-tint: rgba(0, 122, 255, 0.12);
  --black: #000000;
  --white: #ffffff;
  --gray-600: #555555;
  --gray-400: #8e8e93;
  --radius-pill: 980px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
}

.container {
  width: min(100% - 2.5rem, 480px);
  margin-inline: auto;
}

/* Hero */
.hero {
  width: 100%;
  padding: 3rem 0 4rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: var(--blue-tint);
  border-radius: var(--radius-pill);
}

.brand-logo {
  display: block;
  width: min(16rem, 72vw);
  height: auto;
  margin: 0 auto 2rem;
}

.hero-inner {
  text-align: center;
}

/* Notification stage — soft backdrop like a lock screen */
.notification-stage {
  margin: 0 auto 2.5rem;
  padding: 2.5rem 1.25rem;
  border-radius: 1.5rem;
  background: linear-gradient(
    145deg,
    #eef3ff 0%,
    #f8eef6 45%,
    #e9f4ff 100%
  );
}

.notification-cycle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7.25rem;
}

.notification-slot {
  width: 100%;
  max-width: 22rem;
  height: 100%;
  display: flex;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 1;
  transform: translateY(0);
}

.notification-slot.is-exiting {
  opacity: 0;
  transform: translateY(-1rem);
}

.notification-slot.is-entering {
  opacity: 0;
  transform: translateY(1rem);
}

/* iOS-style notification card */
.notification {
  width: 100%;
  min-height: 5.875rem;
  margin: 0;
  padding: 0.75rem 0.875rem 0.875rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 1rem;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.07);
}

.notification-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 0.3125rem;
  background: var(--blue);
  flex-shrink: 0;
}

.app-icon span {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  transform: translateY(0.5px);
}

.app-name {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gray-600);
  text-transform: lowercase;
}

.notification-time {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--gray-400);
}

.notification-body {
  margin: 0;
  padding-left: 1.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--black);
}

.lead {
  max-width: 22em;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-600);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: var(--white);
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.footer-inner p {
  margin: 0;
}
