:root {
  color-scheme: light;
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --accent: #111827;
  --blue: #2563eb;
  --rose: #ff6b6b;
  --amber: #f59e0b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 45%, #eef2ff 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

main {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.06);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(255, 107, 107, 0.10), transparent 36%);
  pointer-events: none;
}

.hero-copy,
.app-list {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 580px;
}

.hero-graphic {
  position: absolute;
  top: 28px;
  right: 30px;
  width: 190px;
  height: 168px;
  display: grid;
  place-items: center;
  opacity: 0.96;
}

.phone-frame {
  width: 98px;
  height: 146px;
  padding: 14px 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, #111827, #293142);
  box-shadow: 0 22px 42px rgba(37, 99, 235, 0.20);
  transform: rotate(7deg);
}

.phone-bar {
  width: 34px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.32);
}

.phone-row,
.phone-pill {
  height: 18px;
  border-radius: 9px;
  margin-bottom: 9px;
  background: rgba(255, 255, 255, 0.22);
}

.phone-row.primary {
  height: 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7dd3fc, #ff6b6b);
}

.phone-row.short {
  width: 62%;
}

.phone-pill {
  width: 44px;
  height: 22px;
  margin-left: auto;
  background: #f59e0b;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
}

h2 {
  margin: 32px 0 10px;
  font-size: 22px;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0;
  padding-left: 22px;
}

a {
  color: var(--accent);
  font-weight: 700;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.links.compact {
  grid-column: 2;
  margin-top: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.button.secondary {
  background: #eef2f7;
  color: var(--text);
}

footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.app-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.app-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.app-card > div:nth-child(2) {
  min-width: 0;
}

.app-card h2 {
  margin: 0 0 4px;
  font-size: 23px;
}

.app-card p {
  margin-bottom: 10px;
}

.app-kicker {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: inset 0 -14px 28px rgba(0, 0, 0, 0.12);
}

.entamelog-card .app-icon {
  background: linear-gradient(135deg, var(--blue), var(--rose));
}

.toy-card .app-icon {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

.coffee-card .app-icon {
  background: linear-gradient(135deg, #92400e, var(--amber));
}

@media (max-width: 720px) {
  main {
    width: min(100% - 24px, 880px);
    padding-top: 24px;
  }

  .hero-panel {
    padding: 24px;
  }

  .hero-graphic {
    position: static;
    width: 100%;
    height: 132px;
    margin: 12px 0 4px;
  }

  .phone-frame {
    width: 86px;
    height: 124px;
  }

  .app-card {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 15px;
  }

  .links.compact {
    grid-column: 1 / -1;
  }

  .app-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 20px;
  }
}
