/* ============================================================
   AstroVibes homepage — matched to the mobile app
   Colours, radii and section style taken from the app UI.
   ============================================================ */
:root{
  --brand:      #F53B30;   /* app red — header, buttons, links */
  --brand-dark: #D62B21;   /* hover */
  --brand-soft: #FDECEB;   /* pale red tint */

  --ink:    #1C1C1E;
  --muted:  #6E6E73;
  --line:   #ECECEC;
  --bg:     #FFFFFF;
  --bg-alt: #F7F7F8;

  --r-card: 16px;
  --r-tile: 18px;
  --wrap:   1120px;
  --gut:    clamp(16px, 5vw, 40px);
  --font:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ transition:none !important; animation:none !important; }
}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font); font-size:16px; line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.wrap{ max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gut); }
.band{ padding-block:clamp(34px,5vw,58px); }
.band--alt{ background:var(--bg-alt); }

h1,h2,h3{ margin:0; font-weight:700; letter-spacing:-.02em; line-height:1.2; }
p{ margin:0; }

/* section heading — ALL CAPS + "View All", like the app */
.shead{ display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:20px; }
.shead h2{ font-size:clamp(19px,2.4vw,24px); text-transform:uppercase; }
.shead a{ color:var(--brand); font-weight:600; font-size:14.5px; white-space:nowrap; }

/* ---------- header (red, like the app) ---------- */
.hdr{ background:var(--brand); position:sticky; top:0; z-index:50; }
.hdr__in{ display:flex; align-items:center; justify-content:space-between; gap:16px; height:64px; }
.hdr__logo{ display:flex; align-items:center; gap:10px; }
.hdr__logo img{ height:34px; width:auto; }
.hdr__nav{ display:flex; gap:24px; margin-left:auto; }
.hdr__nav a{ font-size:14.5px; color:rgba(255,255,255,.9); font-weight:500; transition:color .2s; }
.hdr__nav a:hover{ color:#fff; }
@media (max-width:860px){ .hdr__nav{ display:none; } }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-size:15px; font-weight:600; padding:13px 28px; border-radius:100px;
  border:1.5px solid transparent; cursor:pointer; white-space:nowrap;
  transition:background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--primary{ background:var(--brand); color:#fff; }
.btn--primary:hover{ background:var(--brand-dark); }
.btn--outline{ background:#fff; border-color:var(--brand); color:var(--brand); }
.btn--outline:hover{ background:var(--brand-soft); }
.btn--white{ background:#fff; color:var(--brand); }
.btn--white:hover{ transform:translateY(-2px); }
.hdr .btn{ padding:10px 22px; font-size:14.5px; }
:where(a,button):focus-visible{ outline:2px solid var(--brand); outline-offset:3px; }

/* ---------- hero ---------- */
.hero{ padding-block:clamp(40px,6vw,72px); text-align:center; }
.hero h1{ font-size:clamp(28px,5vw,46px); max-width:17ch; margin:0 auto 16px; }
.hero h1 span{ color:var(--brand); }
.hero__sub{ color:var(--muted); font-size:clamp(15px,1.7vw,17.5px); max-width:46ch; margin:0 auto 28px; }
.hero__cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.hero__trust{ margin-top:36px; display:flex; gap:clamp(22px,5vw,56px); justify-content:center; flex-wrap:wrap; }
.hero__trust div{ text-align:center; }
.hero__trust b{ display:block; font-size:clamp(20px,2.6vw,28px); font-weight:700; color:var(--brand); }
.hero__trust span{ font-size:13px; color:var(--muted); }

/* ---------- quick action tiles (app style) ---------- */
.tiles{ display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
@media (max-width:860px){ .tiles{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:460px){ .tiles{ grid-template-columns:repeat(2,1fr); } }
.tile{ text-align:center; padding:6px 4px; transition:transform .2s; }
.tile:hover{ transform:translateY(-3px); }
.tile__ico{ width:66px; height:66px; margin:0 auto 10px; border-radius:var(--r-tile); display:grid; place-items:center; }
.tile h3{ font-size:14.5px; font-weight:600; line-height:1.3; }

/* pastel icon backgrounds, matching the app */
.ic-red{    background:#FDE8E8; }
.ic-peach{  background:#FDF0E2; }
.ic-blue{   background:#E8F0FB; }
.ic-purple{ background:#F3EAFB; }
.ic-green{  background:#E9F5EC; }

/* ---------- feature cards ---------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media (max-width:860px){ .cards{ grid-template-columns:1fr; } }
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-card);
  padding:22px; transition:box-shadow .22s, transform .22s;
}
.card:hover{ box-shadow:0 10px 28px -16px rgba(0,0,0,.25); transform:translateY(-2px); }
.card__ico{ width:44px; height:44px; border-radius:12px; display:grid; place-items:center; margin-bottom:14px; }
.card h3{ font-size:16.5px; margin-bottom:6px; }
.card p{ font-size:14.5px; color:var(--muted); line-height:1.5; }

/* ---------- ambassador strip ---------- */
.amb{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-card);
  padding:clamp(20px,3vw,30px); display:flex; align-items:center; gap:20px; flex-wrap:wrap;
}
.amb__seal{ width:56px; height:56px; border-radius:50%; background:var(--brand-soft); display:grid; place-items:center; flex-shrink:0; }
.amb__txt{ flex:1; min-width:220px; }
.amb__txt b{ display:block; font-size:16.5px; margin-bottom:4px; }
.amb__txt span{ font-size:14.5px; color:var(--muted); }

/* ---------- app strip ---------- */
.app{ background:var(--brand); color:#fff; border-radius:var(--r-card); padding:clamp(28px,4.5vw,48px); text-align:center; }
.app h2{ color:#fff; margin-bottom:10px; font-size:clamp(22px,3vw,30px); }
.app p{ opacity:.94; max-width:44ch; margin:0 auto 24px; font-size:15.5px; }
.app__badge img{ height:50px; width:auto; margin:0 auto; }

/* ---------- footer ---------- */
.ft{ background:var(--bg-alt); border-top:1px solid var(--line); padding-block:38px 26px; }
.ft__grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:30px; }
@media (max-width:760px){ .ft__grid{ grid-template-columns:1fr 1fr; } }
.ft__logo img{ height:36px; width:auto; margin-bottom:12px; }
.ft__about{ font-size:14px; color:var(--muted); max-width:32ch; line-height:1.6; }
.ft h4{ font-size:12.5px; text-transform:uppercase; letter-spacing:.08em; margin:0 0 13px; }
.ft ul{ list-style:none; margin:0; padding:0; }
.ft li{ margin-bottom:9px; }
.ft li a{ font-size:14px; color:var(--muted); transition:color .2s; }
.ft li a:hover{ color:var(--brand); }
.ft__bar{
  margin-top:30px; padding-top:18px; border-top:1px solid var(--line);
  font-size:13px; color:var(--muted); display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
}