/* ==========================================================================
   Bandlr — shared styles (landing + privacy)
   Design system: Space Grotesk (display) + Inter (body)
   Monochrome ink/white base, signature pink accent (#e91e63)
   ========================================================================== */

:root {
  /* Brand */
  --ink: #1a1a1a;
  --ink-soft: #2b2b2b;
  --surface: #ffffff;
  --surface-alt: #fff5f8;      /* faint pink wash */
  --accent: #e91e63;
  --accent-600: #d81b60;
  --accent-700: #c2185b;
  --muted: #6b6b6b;
  --muted-soft: #8a8a8a;
  --border: #ededed;
  --border-strong: #dcdcdc;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 20, .06);
  --shadow-md: 0 10px 30px rgba(20, 20, 20, .08);
  --shadow-lg: 0 24px 60px rgba(20, 20, 20, .12);
  --glow-accent: 0 24px 70px rgba(233, 30, 99, .35);

  /* Layout */
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 220ms;
}

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

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 600;
}

p { margin: 0; }

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

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- Layout helpers --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand:hover { text-decoration: none; }

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.brand__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: #fff;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-link {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.header-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  text-decoration: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 88% -10%, rgba(233, 30, 99, .12), transparent 60%),
    linear-gradient(180deg, var(--surface-alt), var(--surface) 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  padding-block: clamp(56px, 9vw, 104px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233, 30, 99, .1);
  color: var(--accent-700);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(233, 30, 99, .18);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--accent); }

.hero__lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 30ch;
  margin-bottom: 34px;
}

/* Store buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
  cursor: pointer;
}
.store-badge:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #000;
}
.store-badge:active { transform: translateY(0); }

.store-badge__icon { flex: 0 0 auto; display: grid; place-items: center; }

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.store-badge__text small {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.store-badge__text strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
}

/* Primary (Play) — emphasised */
.store-badge--primary { box-shadow: var(--shadow-md); }

.hero__hint {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted-soft);
  min-height: 20px;
}

/* Hero visual — app-icon tile */
.hero__visual { display: grid; place-items: center; }

.app-tile {
  position: relative;
  width: clamp(180px, 30vw, 240px);
  aspect-ratio: 1;
  border-radius: clamp(38px, 6vw, 52px);
  background: #000;
  display: grid;
  place-items: center;
  box-shadow: var(--glow-accent);
  animation: float 6s ease-in-out infinite;
}
.app-tile img { width: 62%; height: auto; }
.app-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  pointer-events: none;
}

.app-tile__pill {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.app-tile__pill svg { color: #f5b301; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ==========================================================================
   Features
   ========================================================================== */
.features { padding-block: clamp(56px, 8vw, 96px); }

.features__head {
  text-align: center;
  max-width: 46ch;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.features__head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}
.features__head p { color: var(--muted); font-size: 1.05rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(233, 30, 99, .1);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card__icon svg { width: 26px; height: 26px; }

.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .98rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding-block: clamp(40px, 6vw, 60px);
  margin-top: clamp(40px, 6vw, 72px);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  font-size: 15px;
}
.footer-links a { color: rgba(255, 255, 255, .82); }
.footer-links a:hover { color: #fff; }

.footer-copy {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 8px;
  padding-top: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
}

/* ==========================================================================
   Legal / content page
   ========================================================================== */
.legal { padding-block: clamp(40px, 6vw, 72px); }

.legal__wrap { max-width: 760px; margin-inline: auto; }

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 26px;
}
.legal__back:hover { color: var(--accent-700); text-decoration: none; }
.legal__back svg { width: 18px; height: 18px; }

.legal h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 10px;
}

.legal__updated {
  color: var(--muted-soft);
  font-size: 14px;
  margin-bottom: 6px;
}

.legal__intro {
  color: var(--muted);
  font-size: 1.08rem;
  padding-bottom: 26px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin-top: 42px;
  margin-bottom: 14px;
  scroll-margin-top: 90px;
}

.legal p { color: #333; margin-bottom: 14px; }
.legal ul { color: #333; padding-left: 22px; margin: 0 0 18px; }
.legal li { margin-bottom: 10px; }
.legal strong { color: var(--ink); }

.legal a { font-weight: 500; }

.legal__contact {
  margin-top: 44px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.legal__contact h2 { margin-top: 0; }
.legal__contact p { margin-bottom: 6px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero__lede { margin-inline: auto; }
  .store-buttons { justify-content: center; }
  .eyebrow { margin-inline: auto; }
  .hero__visual { order: -1; }
  .feature-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

@media (max-width: 560px) {
  .header-link { padding: 8px 12px; }
  .store-badge { flex: 1 1 100%; justify-content: center; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}

/* ---- Motion preferences ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
