/* Suyo landing page. Colours mirror Pawse.Color / Room in the iOS app. */

@font-face { font-family: "Baloo 2"; src: url("assets/fonts/Baloo2-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/Nunito-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/Nunito-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --bg: #FBF4EA;
  --bg2: #F6EBDD;
  --card: #FFFFFF;
  --ink: #4A3B32;
  --ink2: #9C8B7E;
  --ink3: #C4B4A2;
  --line: #F0E4D5;
  --coral: #EF8354;
  --coral2: #F2A65E;
  --coral-text: #D0715A;
  --peach2: #FDEFE2;
  --lavender: #CBBFE9;
  --lavender2: #EFEAFB;
  --lavender-text: #7B6BB5;
  --purple: #6558A3;
  --mint: #BFE3CF;
  --mint2: #E8F6EE;
  --mint-text: #4E8A6B;
  --sun: #F9D793;
  --sun2: #FFF1CC;
  --pink2: #FDE8E6;
  --dusk: #231D24;
  --dusk2: #3A2F38;
  --cta: linear-gradient(90deg, #DF885C, #E8AB6A);
  --display: "Baloo 2", ui-rounded, system-ui, sans-serif;
  --ui: "Nunito", ui-rounded, system-ui, sans-serif;
  --radius: 28px;
  --shadow: 0 24px 50px rgba(74, 59, 50, 0.12), 0 6px 14px rgba(74, 59, 50, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(48px, 7.4vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: 26px; }
p { margin: 0; }
.coral { color: var(--coral); }
.purple { color: var(--purple); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); max-width: 34em; }
.muted { color: var(--ink3); margin-top: 18px; }
.fine { font-size: 14px; color: var(--ink2); }

.eyebrow {
  display: inline-block;
  font-family: var(--ui);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender-text);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--coral2); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--lavender2);
  color: var(--lavender-text);
  font-weight: 900;
  font-size: 15px;
  border: 2px solid var(--lavender);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  text-decoration: none;
  border: 3px solid #F2BE98;
  box-shadow: 0 12px 22px rgba(239, 131, 84, 0.30);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(239, 131, 84, 0.36); }
.btn-small { height: 44px; padding: 0 20px; font-size: 15px; border-width: 2px; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 24px 0 18px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(74, 59, 50, 0.25);
  transition: transform .2s ease;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 28px; height: 28px; }
.store-btn span { display: flex; flex-direction: column; font-family: var(--display); font-size: 22px; line-height: 1; }
.store-btn small { font-family: var(--ui); font-size: 12px; font-weight: 800; opacity: .8; margin-bottom: 3px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 234, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(240, 228, 213, 0.8);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 26px; }
.brand img { border-radius: 22%; }
.nav-links { display: flex; gap: 28px; font-size: 16px; }
.nav-links a { text-decoration: none; color: var(--ink2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 96px;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(203, 191, 233, 0.55), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(244, 169, 136, 0.22), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.hero-copy h1 { margin: 22px 0 22px; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.hero-visual { position: relative; justify-self: center; }

/* Phone frame */
.phone {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 1080 / 2348;
  border-radius: 52px;
  padding: 12px;
  background: #1E1A1D;
  box-shadow: 0 40px 80px rgba(74, 59, 50, 0.28), inset 0 0 0 2px #3B3438;
}
.phone > video, .phone > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 41px;
  background: var(--lavender2);
}
.phone-sm { width: 220px; border-radius: 38px; padding: 9px; }
.phone-sm > img { border-radius: 30px; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink2);
  white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-card b { color: var(--ink); font-size: 16px; }
.fc-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--peach2);
  font-size: 20px;
}
.fc-icon.lav { background: var(--lavender2); }
.fc-1 { left: -150px; top: 22%; }
.fc-2 { right: -120px; bottom: 18%; animation-delay: -3s; }

.zzz { position: absolute; top: -8px; right: -24px; font-family: var(--display); color: var(--purple); }
.zzz i { position: absolute; font-style: normal; opacity: 0; animation: zzz 3.6s ease-in-out infinite; }
.zzz i:nth-child(1) { font-size: 26px; left: 0; top: 40px; }
.zzz i:nth-child(2) { font-size: 34px; left: 20px; top: 14px; animation-delay: 1.2s; }
.zzz i:nth-child(3) { font-size: 44px; left: 46px; top: -18px; animation-delay: 2.4s; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes zzz { 0% { opacity: 0; transform: translateY(10px); } 25%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-18px); } }

/* Dusk stat band */
.dusk {
  background: radial-gradient(70% 90% at 80% 20%, var(--dusk2), var(--dusk) 70%);
  color: var(--bg);
  padding: 110px 0;
}
.dusk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; max-width: 460px; justify-self: end; width: 100%; }
.dots span {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #3A3338;
  transform: scale(0.6);
  opacity: 0;
  transition: transform .5s cubic-bezier(.2, 1.4, .4, 1), opacity .4s ease, background .5s ease, box-shadow .5s ease;
}
.dots.in span { transform: scale(1); opacity: 1; }
.dots.in span.lit { background: var(--coral); box-shadow: 0 0 22px rgba(239, 131, 84, 0.55); }

/* Sections */
.section { padding: 110px 0; }
.section.soft { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.section-head { text-align: center; margin-bottom: 56px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 28px 34px;
  box-shadow: var(--shadow);
}
.step-visual {
  display: grid;
  place-items: center;
  height: 420px;
  margin: -6px -6px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--lavender2), var(--peach2));
  overflow: hidden;
}
.step-visual .phone-sm { margin-top: 70px; }
.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink2); font-size: 17px; }

/* Shield mock (ShieldContext copy) */
.shield {
  width: 230px;
  padding: 26px 18px 18px;
  border-radius: 34px;
  background: var(--bg);
  box-shadow: 0 20px 40px rgba(74, 59, 50, 0.16);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.shield img { width: 150px; animation: breathe 4s ease-in-out infinite; }
.shield strong { font-weight: 900; font-size: 17px; line-height: 1.25; margin-top: 6px; }
.shield span { font-size: 13px; color: var(--ink2); }
.shield .paws { font-size: 14px; letter-spacing: 2px; }
.shield em {
  font-style: normal;
  font-weight: 900;
  font-size: 15px;
  color: #fff;
  background: var(--coral);
  border-radius: 16px;
  padding: 12px 0;
  width: 100%;
  margin-top: 12px;
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }

/* Split */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 72px; }
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split-visual { justify-self: center; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy .btn { margin-top: 30px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before {
  content: "🐾";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: var(--mint2);
  font-size: 15px;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--card);
  border-radius: 24px;
  padding: 26px 24px;
  box-shadow: 0 10px 24px rgba(74, 59, 50, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature h3 { font-size: 22px; margin: 16px 0 8px; }
.feature p { color: var(--ink2); font-size: 16px; }
.ficon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 26px; }
.ficon.lav { background: var(--lavender2); }
.ficon.peach { background: var(--peach2); }
.ficon.sun { background: var(--sun2); }
.ficon.mint { background: var(--mint2); }
.ficon.pink { background: var(--pink2); }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--card);
  border-radius: 22px;
  padding: 4px 26px;
  box-shadow: 0 8px 20px rgba(74, 59, 50, 0.05);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 900;
  font-size: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 28px;
  color: var(--coral);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); padding-bottom: 22px; }

/* Final CTA */
.final { position: relative; overflow: hidden; padding: 40px 0 170px; text-align: center; }
.final-art {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 36px;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-icon { border-radius: 22%; box-shadow: 0 20px 40px rgba(101, 88, 163, 0.3); margin-top: -82px; border: 5px solid var(--bg); box-sizing: content-box; }
.final .lead { color: var(--purple); }
.final .store-btn { margin-top: 14px; }
.walker { position: absolute; left: 0; right: 0; bottom: 6px; height: 120px; z-index: 2; pointer-events: none; }
#goldie-walk { position: absolute; width: 120px; height: 120px; left: -130px; animation: walk 22s linear infinite; }
@keyframes walk { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 260px)); } }

/* Footer */
.footer { padding: 34px 0 44px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 15px; color: var(--ink2); }
.footer .brand { font-size: 22px; color: var(--ink); }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .fc-1 { left: -90px; }
  .fc-2 { right: -70px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding: 40px 0 80px; }
  .hero-grid, .dusk-grid, .split, .split.reverse { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .cta-row { justify-content: center; flex-direction: column; }
  .fc-1 { left: -24px; top: 12%; }
  .fc-2 { right: -24px; bottom: 10%; }
  .dots { justify-self: center; }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .split.reverse .split-visual { order: -1; }
  .split-copy { text-align: center; }
  .split-copy .lead { margin-inline: auto; }
  .ticks { justify-content: center; text-align: left; }
  .section, .dusk { padding: 80px 0; }
}
@media (max-width: 520px) {
  .final-art { aspect-ratio: 4 / 3; border-radius: 26px; }
  body { font-size: 17px; }
  .features { grid-template-columns: 1fr; }
  .float-card { padding: 10px 14px; font-size: 12px; }
  .float-card b { font-size: 14px; }
  .fc-icon { width: 32px; height: 32px; font-size: 16px; }
  .fc-1 { left: -12px; }
  .fc-2 { right: -12px; }
  .zzz { right: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .dots span { opacity: 1; transform: none; }
}
