/* Stepo landing — brand-matched to the Flutter app
   Font: Cabin (same as app) · Primary: #FF6B3C · Accents: mintBlue/pink/lime/yellow */

:root {
  --orange: #FF6B3C;
  --mint-blue: #7082FF;
  --pink: #EDC0FF;
  --lime: #B7FFCA;
  --yellow: #FFDE6B;
  --gold: #CC9933;
  --black: #1A1A1A;
  --dark-grey: #828282;
  --grey: #AAAAAA;
  --light-grey: #E0E0E0;
  --bg: #F5F5F5;
  --white: #FFFFFF;

  --radius: 20px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --max-width: 920px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--black);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-header img { width: 40px; height: 40px; border-radius: 10px; }
.site-header .brand { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 24px 88px;
}
/* Playful Stepo-coloured blobs in the background */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  z-index: 0;
}
.hero::before { width: 320px; height: 320px; background: var(--mint-blue); top: -80px; left: -60px; }
.hero::after  { width: 280px; height: 280px; background: var(--pink);      bottom: -60px; right: -40px; }

.hero .inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

.hero-logo {
  width: 104px; height: 104px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.hero .tagline {
  margin-top: 16px;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--dark-grey);
  font-weight: 500;
}
.hero .lead {
  margin: 24px auto 0;
  max-width: 520px;
  color: var(--dark-grey);
}

/* ---------- Store badges / CTA ---------- */
.cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.badge:hover { transform: translateY(-2px); text-decoration: none; }
.badge.coming-soon { background: var(--white); color: var(--black); border: 1.5px solid var(--light-grey); }
.badge .sub { display: block; font-size: 0.7rem; font-weight: 500; color: var(--grey); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--light-grey);
  padding: 32px 24px 48px;
  text-align: center;
  color: var(--grey);
  font-size: 0.9rem;
}
.site-footer nav { margin-bottom: 12px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.site-footer nav a { color: var(--dark-grey); font-weight: 600; }

/* ---------- Legal pages ---------- */
.legal {
  background: var(--white);
  max-width: 760px;
  margin: 40px auto;
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal a.back { font-weight: 700; }
.legal h1 { font-size: 2.1rem; letter-spacing: -1px; margin: 16px 0 4px; }
.legal .updated { color: var(--grey); font-size: 0.9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 8px; letter-spacing: -0.5px; }
.legal h3 { font-size: 1.05rem; margin: 20px 0 6px; }
.legal p, .legal li { color: #333; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }

@media (max-width: 600px) {
  .legal { margin: 20px 12px; padding: 28px 22px; }
}
