/* Outpop marketing site — shared styles */

:root {
  --navy: #292c47;
  --navy-soft: #3a3e60;
  --cream: #fbf7ef;
  --cream-deep: #f3ecdd;
  --coral: #e76368;
  --coral-dark: #d24e54;
  --ink: #292c47;
  --muted: #6b6e82;
  --line: #e6ddcb;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(41, 44, 71, 0.10);
  --shadow-sm: 0 4px 14px rgba(41, 44, 71, 0.08);
  --maxw: 960px;
  --font-head: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, .wordmark { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 600; margin: 0 0 .5rem; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 600; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
p { margin: 0 0 1rem; }
a { color: var(--coral-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand .wordmark { font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--navy); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 64px 0 40px; }
.hero img.app-icon {
  width: 120px; height: 120px; border-radius: 28px;
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--muted); max-width: 560px; margin: 0 auto 28px;
}

/* ---------- Store badges ---------- */
.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--cream);
  padding: 12px 20px; border-radius: 14px; font-family: var(--font-head);
  font-weight: 500; box-shadow: var(--shadow-sm); position: relative;
  opacity: .9;
}
.badge .sub { font-size: .72rem; color: #b9bcd0; display: block; line-height: 1; }
.badge .main { font-size: 1.05rem; line-height: 1.15; }
.badge .soon {
  position: absolute; top: -10px; right: -10px;
  background: var(--coral); color: #fff; font-family: var(--font-body);
  font-size: .65rem; font-weight: 800; letter-spacing: .03em;
  padding: 3px 8px; border-radius: 999px; text-transform: uppercase;
}
/* Clickable store badge (e.g. the live Google Play link): keep the chip look, no link underline. */
a.badge { opacity: 1; color: var(--cream); }
a.badge:hover { text-decoration: none; }

/* ---------- Features ---------- */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px; margin: 48px 0;
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.card .emoji { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Legal / content pages ---------- */
.page { padding: 48px 0 24px; }
.page .container { max-width: 760px; }
.page .updated { color: var(--muted); font-size: .9rem; margin-top: -.3rem; }
.page ul { padding-left: 1.25rem; }
.page li { margin-bottom: .4rem; }
.page strong { color: var(--navy); }

/* ---------- Support ---------- */
.contact-box {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  margin: 24px 0;
}
.contact-box a.email { font-size: 1.2rem; font-weight: 700; font-family: var(--font-head); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 56px;
  background: var(--cream-deep);
}
.site-footer .container {
  padding-top: 32px; padding-bottom: 32px;
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
}
.site-footer .copy { color: var(--muted); font-size: .9rem; }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .links a { color: var(--muted); font-weight: 600; font-size: .9rem; }
.site-footer .links a:hover { color: var(--navy); text-decoration: none; }

@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav a { font-size: .85rem; }
  .brand .wordmark { font-size: 1.15rem; }
}
