:root {
  --cream: #F7F3E8;
  --ink: #1A1AA7;
  --paper: #FFFCF1;
  --orange: #FFA142;
  --lime: #E3F40C;
  --charcoal: #282110;
  --muted: #6B6677;
  --line: #E5DFCE;
}

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

html, body {
  min-height: 100vh;
  background: var(--cream);
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  color: var(--charcoal);
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(26,26,167,0.055) 1px, transparent 0);
  background-size: 14px 14px;
}

/* ─── Home ─── */

.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  display: block;
  margin-bottom: 22px;
  overflow: hidden;
}

.home-title {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 76px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 36px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--charcoal);
  transition: transform .12s, box-shadow .12s;
  margin-bottom: 44px;
}

.btn-store:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--charcoal);
}

.btn-store .lbl {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-store .sub {
  font-size: 11px;
  opacity: 0.75;
  line-height: 1;
}

.btn-store .main {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
}

.home-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.home-links a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink);
}

.home-links a:hover { opacity: 0.7; }

.home-links .sep { color: var(--line); }

/* ─── Inner pages ─── */

.inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
  padding: 52px 28px 80px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 32px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .12s, opacity .12s;
}

.back:hover { opacity: 0.7; border-bottom-color: var(--ink); }

.card {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 36px 32px;
}

.card h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.card p:last-child { margin-bottom: 0; }

.card .inline-link {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink);
}

.card .inline-link:hover { opacity: 0.7; }

.card .email {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  margin: 14px 0 16px;
  border-bottom: 2px solid var(--ink);
  line-height: 1.2;
}

.card .email:hover { opacity: 0.7; }

.divider {
  width: 100%;
  height: 1.5px;
  background: var(--line);
  margin: 20px 0;
}

/* ─── Responsive ─── */

@media (max-width: 480px) {
  .home-title { font-size: 62px; }
  .app-icon { width: 100px; height: 100px; border-radius: 22px; }
  .card { padding: 26px 20px; border-radius: 20px; }
  .inner { padding: 36px 20px 60px; }
}
