/* Wakeup Buddy static website
   Built from the provided v1 files, but tightened to match the uploaded desktop/mobile mockups.
*/

:root{
  --primary:#FFB100;
  --background:#FFFFFF;
  --headline:#212121;
  --text-dark:#616161;
  --text-light:#BDBDBD;
  --soft-pink:#F6CACA;
  --soft-green:#DDEFD5;
  --soft-yellow:#FFF0B7;
  --soft-blue:#CDE7EC;
  --soft-grey:#F7F7F7;
  --line:#212121;
  --radius:24px;
  --page:760px;
}

*,
*::before,
*::after{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:"Baloo 2", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--text-dark);
  background:var(--background);
  overflow-x:hidden;
}

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

a{color:inherit}

button{font:inherit}

.site-shell{
  width:min(var(--page), 100%);
  margin:0 auto;
  background:#fff;
  padding:22px 64px 42px;
  min-height:100vh;
}

.section-frame{
  position:relative;
  width:100%;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
}

.brand-symbol{
  width:52px;
  height:52px;
  object-fit:contain;
}

.brand-wordmark{
  width:92px;
  height:auto;
  object-fit:contain;
}

.store-nav{
  display:flex;
  align-items:center;
  gap:14px;
}

.store-badge img{
  height:38px;
  width:auto;
}

h1,h2,h3,p{margin:0}

h1,h2,h3{
  color:var(--headline);
  letter-spacing:-.02em;
  line-height:1.02;
}

h1{
  font-size:45px;
  font-weight:800;
}

h2{
  font-size:24px;
  font-weight:600;
  text-align:center;
}

h3{
  font-size:18px;
  font-weight:600;
}

p{
  font-size:15px;
  line-height:1.2;
}

.section-subtitle{
  text-align:center;
  color:var(--text-dark);
  font-size:14px;
  margin-top:2px;
}

/* HERO */
.hero{
  display:grid;
  grid-template-columns:1fr 220px;
  align-items:start;
  gap:28px;
  min-height:290px;
}

.hero-subtitle{
  margin-top:2px;
  color:var(--text-dark);
  font-size:18px;
  line-height:1.1;
}

.hero-action{
  display:grid;
  grid-template-columns:110px 128px;
  align-items:center;
  gap:22px;
  margin-top:16px;
}

.hero-character{
  width:94px;
  justify-self:center;
}

.wake-button{
  height:34px;
  border:0;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  font-size:16px;
  cursor:pointer;
  box-shadow:none;
  transition:transform .18s ease, filter .18s ease;
}

.wake-button:hover{filter:brightness(1.03);transform:translateY(-1px)}

.wake-button.is-playing{
  color:#212121;
  box-shadow:0 0 0 4px rgba(255,177,0,.20);
}

.hero-metrics{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  width:340px;
  gap:20px;
  margin-top:14px;
}

.metric strong{
  display:block;
  color:var(--headline);
  font-size:24px;
  font-weight:700;
  line-height:.95;
}

.metric span{
  display:block;
  color:var(--text-dark);
  font-size:13px;
  line-height:1.05;
  margin-top:2px;
}

.rating-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:20px;
}

.stars{
  color:var(--primary);
  font-size:26px;
  letter-spacing:2px;
  line-height:1;
  white-space:nowrap;
}

.rating-row strong{
  color:var(--headline);
  font-size:24px;
  line-height:1;
}

.rating-avatars{
  display:flex;
  align-items:center;
}

.rating-avatars img{
  width:37px;
  height:37px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #fff;
  margin-left:-8px;
}

.rating-avatars img:first-child{margin-left:0}

.hero-visual{
  position:relative;
  min-height:292px;
}

.iphone{
  position:relative;
  overflow:hidden;
  background:#050505;
  border:3px solid #111;
  box-shadow:0 0 0 1px #d7d7d7, inset 0 0 0 1px rgba(255,255,255,.28);
}

.iphone::before{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:inherit;
  border:1px solid rgba(255,255,255,.25);
  pointer-events:none;
  z-index:2;
}

.iphone img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.iphone-island{
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:48px;
  height:14px;
  background:#080808;
  border-radius:999px;
  z-index:3;
}

.iphone-hero{
  width:190px;
  height:286px;
  border-radius:34px;
  padding:6px;
  margin-left:18px;
}

.iphone-hero img{border-radius:28px}

.hero-sitter{
  position:absolute;
  width:142px;
  left:-68px;
  bottom:0;
  z-index:5;
}

/* HOW */
.how-section{
  margin-top:72px;
  padding-top:2px;
}

.how-section h2{
  margin-bottom:18px;
}

.how-grid{
  width:430px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:28px;
  row-gap:22px;
  align-items:start;
}

.how-step{
  text-align:center;
  width:100%;
}

.how-step p{
  color:var(--headline);
  font-size:13px;
  line-height:1.08;
  margin:6px auto 0;
  max-width:180px;
}

.rounded-screen{
  width:180px;
  aspect-ratio:1/1.1;
  border:2px dashed var(--line);
  border-radius:18px;
  overflow:hidden;
  padding:5px;
  background:#fff;
  margin:0 auto;
}

.rounded-screen img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:12px;
}

.small-phone,
.alarm-phone{
  margin:0 auto;
  width:150px;
  height:272px;
  border-radius:30px;
  padding:5px;
}

.small-phone img,
.alarm-phone img{border-radius:24px}

.decor{
  position:absolute;
  z-index:3;
  pointer-events:none;
}

.decor-walter{
  width:118px;
  left:10px;
  top:56px;
}

.decor-tom{
  width:122px;
  right:2px;
  top:325px;
}

.decor-finn{
  width:126px;
  left:8px;
  bottom:28px;
}

/* WHY */
.why-section{
  margin-top:74px;
}

.why-section h2{margin-bottom:14px}

.compare-card{
  width:510px;
  min-height:218px;
  margin:0 auto;
  border:2px dashed var(--line);
  border-radius:22px;
  display:grid;
  grid-template-columns:1fr 1px 1fr;
  padding:18px 24px 14px;
  background:#fff;
}

.compare-col{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.compare-col h3{
  font-size:17px;
  margin-bottom:10px;
}

.check-list{
  width:100%;
  list-style:none;
  padding:0;
  margin:0;
}

.check-list li{
  font-size:13px;
  line-height:1.35;
  color:var(--text-dark);
  margin:3px 0;
  display:flex;
  gap:7px;
}

.check-list li::before{
  flex:0 0 auto;
  font-weight:700;
}

.positive li::before{content:"✓"; color:var(--primary)}
.negative li::before{content:"×"; color:var(--text-dark)}

.compare-col img{
  margin-top:auto;
  height:76px;
  object-fit:contain;
}

.divider{
  background:#E7E7E7;
  width:1px;
  height:100%;
}

/* SQUAD */
.squad-section{
  margin-top:46px;
}

.squad-layout{
  margin-top:16px;
  display:grid;
  grid-template-columns:1.2fr .9fr;
  align-items:center;
  gap:24px;
}

.squad-group{
  width:300px;
  justify-self:center;
}

.buddy-carousel{text-align:center}

.buddy-carousel h3{
  font-size:17px;
  margin-bottom:8px;
}

.buddy-controls{
  display:grid;
  grid-template-columns:34px 1fr 34px;
  align-items:center;
  justify-items:center;
}

.buddy-controls img{
  height:132px;
  width:auto;
  object-fit:contain;
}

.icon-arrow{
  border:0;
  background:transparent;
  color:#333;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  padding:0;
}

.buddy-carousel p{
  margin-top:8px;
  color:var(--text-dark);
  font-size:13px;
}

/* TOOLS */
.tools-section{
  margin-top:54px;
  padding-bottom:28px;
}

.tools-section h2{
  font-size:23px;
}

.tool-carousel{
  margin-top:28px;
  min-height:245px;
  display:grid;
  grid-template-columns:86px 258px 86px;
  gap:18px;
  justify-content:center;
  align-items:center;
}

.tool-neighbor{
  width:86px;
  height:86px;
  border:2px dashed #171717;
  border-radius:12px;
  background:#eee;
  cursor:pointer;
  background-repeat:no-repeat;
  background-position:center 16px;
  background-size:44px 44px;
  position:relative;
  transition:transform .32s ease, opacity .32s ease;
}

.tool-neighbor:hover{transform:translateY(-2px)}

.tool-neighbor::after{
  content:attr(data-label);
  position:absolute;
  left:0;
  right:0;
  bottom:10px;
  text-align:center;
  color:#212121;
  font-size:13px;
  line-height:1;
  font-weight:600;
}

.tool-card{
  width:258px;
  min-height:245px;
  border:2px dashed #171717;
  border-radius:18px;
  background:#fff;
  padding:0 18px 18px;
  text-align:left;
  transition:opacity .26s ease, transform .26s ease;
}

.tool-card.is-changing{
  opacity:.18;
  transform:translateX(18px) scale(.98);
}

.tool-card-top{
  height:58px;
  border-radius:16px;
  background:var(--soft-pink);
  margin:0 auto 6px;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:translateY(-14px);
  width:100%;
}

.tool-card-top img{
  width:50px;
  height:50px;
  object-fit:contain;
}

.tool-card h3{
  font-size:17px;
  margin-top:-10px;
  margin-bottom:8px;
}

.tool-card h4{
  color:var(--headline);
  font-size:11px;
  letter-spacing:.04em;
  margin:10px 0 2px;
}

.tool-card p,
.tool-card li{
  font-size:12px;
  line-height:1.18;
  color:var(--text-dark);
}

.tool-card ul{
  margin:2px 0 0;
  padding-left:16px;
}

.tool-card.fitness .tool-card-top,
.tool-neighbor.fitness{background-color:var(--soft-pink)}
.tool-card.meditation .tool-card-top,
.tool-neighbor.meditation{background-color:var(--soft-green)}
.tool-card.motivation .tool-card-top,
.tool-neighbor.motivation{background-color:var(--soft-yellow)}
.tool-card.news .tool-card-top,
.tool-neighbor.news{background-color:#F1DCE8}
.tool-card.prompt .tool-card-top,
.tool-neighbor.prompt{background-color:#DDECF4}
.tool-card.weather .tool-card-top,
.tool-neighbor.weather{background-color:var(--soft-blue)}

/* TESTIMONIALS */
.testimonials-section{
  margin-top:36px;
}

.testimonials-section h2{
  font-size:21px;
  margin-bottom:20px;
}

.testimonial-window{
  width:100vw;
  margin-left:50%;
  transform:translateX(-50%);
  overflow:hidden;
  outline:none;
}

.testimonial-track{
  display:flex;
  gap:32px;
  align-items:stretch;
  justify-content:center;
  transition:transform .35s ease;
  padding:0 24px;
}

.testimonial-card{
  flex:0 0 265px;
  min-height:106px;
  border:2px dashed #171717;
  border-radius:18px;
  background:#fff;
  padding:12px 14px 10px;
  text-align:center;
}

.testimonial-card .stars{
  font-size:20px;
  letter-spacing:1px;
  margin-bottom:4px;
}

.testimonial-card p{
  color:var(--text-dark);
  font-size:12px;
  line-height:1.15;
  min-height:28px;
}

.testimonial-person{
  margin-top:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.testimonial-person img{
  width:28px;
  height:28px;
  border-radius:50%;
  object-fit:cover;
}

.testimonial-person span{
  color:var(--headline);
  font-size:12px;
}

.testimonial-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:12px;
}

.testimonial-dots button{
  width:9px;
  height:9px;
  padding:0;
  border-radius:50%;
  border:1px solid #888;
  background:#fff;
  cursor:pointer;
}

.testimonial-dots button.is-active{
  background:#888;
}

/* DOWNLOAD + FOOTER */
.download-section{
  margin-top:28px;
  display:flex;
  justify-content:center;
  gap:28px;
}

.large-badge img{
  height:55px;
  width:auto;
}

.footer{
  margin-top:44px;
  text-align:center;
}

.contact-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
}

.contact-row img{
  width:130px;
  height:auto;
}

.contact-row h2{
  text-align:left;
  font-size:22px;
  margin-bottom:2px;
}

.contact-row a{
  text-decoration:none;
  color:var(--text-dark);
  font-size:15px;
}

.social-row{
  margin-top:30px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
}

.social-row a{
  width:28px;
  height:28px;
  border-radius:8px;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
}

.copyright{
  margin-top:18px;
  color:var(--text-dark);
  font-size:12px;
}

/* DESKTOP scaling: keep exact mockup-like width while centering. */
@media (min-width: 900px){
  body{
    background:#fff;
  }
}

/* MOBILE: mirrors the long iPhone-layout mockup closely. */
@media (max-width: 720px){
  :root{--page:390px}

  .site-shell{
    width:100%;
    max-width:390px;
    padding:20px 26px 34px;
  }

  .topbar{
    align-items:flex-start;
    margin-bottom:8px;
  }

  .brand-symbol{
    width:40px;
    height:40px;
  }

  .brand-wordmark{
    width:70px;
  }

  .store-nav{
    gap:7px;
    padding-top:5px;
  }

  .store-badge img{
    height:25px;
  }

  h1{
    font-size:28px;
  }

  h2{
    font-size:19px;
  }

  .hero{
    display:block;
    min-height:0;
  }

  .hero-subtitle{
    font-size:13px;
    margin-top:0;
  }

  .hero-action{
    margin-top:10px;
    grid-template-columns:82px 108px;
    gap:14px;
  }

  .hero-character{
    width:72px;
  }

  .wake-button{
    height:28px;
    font-size:13px;
  }

  .hero-metrics{
    width:100%;
    max-width:250px;
    gap:14px;
    margin-top:6px;
  }

  .metric strong{
    font-size:17px;
  }

  .metric span{
    font-size:10px;
  }

  .rating-row{
    gap:7px;
    margin-top:9px;
  }

  .stars{
    font-size:18px;
    letter-spacing:1px;
  }

  .rating-row strong{
    font-size:15px;
  }

  .rating-avatars img{
    width:25px;
    height:25px;
    margin-left:-6px;
  }

  .hero-visual{
    min-height:235px;
    margin-top:0;
  }

  .iphone-hero{
    width:136px;
    height:213px;
    border-radius:26px;
    padding:4px;
    margin:0 auto;
    transform:translateY(-4px);
  }

  .iphone-hero img{
    border-radius:21px;
  }

  .iphone-island{
    width:35px;
    height:10px;
    top:8px;
  }

  .hero-sitter{
    width:104px;
    left:calc(50% + 8px);
    bottom:6px;
  }

  .how-section{
    margin-top:28px;
  }

  .how-section h2{
    margin-bottom:10px;
  }

  .how-grid{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
  }

  .how-step{
    width:150px;
  }

  .rounded-screen{
    width:135px;
    border-radius:14px;
    padding:4px;
  }

  .small-phone,
  .alarm-phone{
    width:118px;
    height:212px;
    border-radius:24px;
    padding:4px;
  }

  .how-step p{
    max-width:135px;
    font-size:10px;
    line-height:1.04;
    margin-top:4px;
  }

  .decor-walter{
    width:75px;
    left:8px;
    top:120px;
  }

  .decor-tom{
    width:78px;
    right:10px;
    top:560px;
  }

  .decor-finn{
    width:82px;
    left:8px;
    bottom:82px;
  }

  .why-section{
    margin-top:30px;
  }

  .why-section h2{
    margin-bottom:8px;
  }

  .compare-card{
    width:100%;
    min-height:160px;
    padding:12px 12px 10px;
    border-radius:16px;
  }

  .compare-col h3{
    font-size:12px;
    margin-bottom:6px;
  }

  .check-list li{
    font-size:9px;
    line-height:1.25;
    gap:4px;
    margin:2px 0;
  }

  .compare-col img{
    height:52px;
  }

  .squad-section{
    margin-top:32px;
  }

  .squad-section h2{
    font-size:18px;
    white-space:nowrap;
  }

  .section-subtitle{
    font-size:11px;
  }

  .squad-layout{
    display:block;
    margin-top:10px;
  }

  .squad-group{
    width:236px;
    margin:0 auto 12px;
  }

  .buddy-carousel h3{
    font-size:13px;
    margin-bottom:5px;
  }

  .buddy-controls{
    width:170px;
    margin:0 auto;
  }

  .buddy-controls img{
    height:100px;
  }

  .icon-arrow{
    font-size:24px;
  }

  .buddy-carousel p{
    font-size:10px;
  }

  .tools-section{
    margin-top:34px;
    padding-bottom:14px;
  }

  .tools-section h2{
    font-size:17px;
  }

  .tool-carousel{
    margin-top:22px;
    grid-template-columns:66px 180px 66px;
    gap:10px;
    min-height:220px;
  }

  .tool-neighbor{
    width:66px;
    height:66px;
    border-radius:10px;
    background-size:34px 34px;
    background-position:center 10px;
  }

  .tool-neighbor::after{
    font-size:10px;
    bottom:7px;
  }

  .tool-card{
    width:180px;
    min-height:212px;
    border-radius:16px;
    padding:0 11px 12px;
  }

  .tool-card-top{
    height:48px;
    border-radius:14px;
    transform:translateY(-13px);
  }

  .tool-card-top img{
    width:40px;
    height:40px;
  }

  .tool-card h3{
    font-size:13px;
    margin-top:-10px;
    margin-bottom:6px;
  }

  .tool-card h4{
    font-size:9px;
    margin:7px 0 1px;
  }

  .tool-card p,
  .tool-card li{
    font-size:9px;
    line-height:1.12;
  }

  .tool-card ul{
    padding-left:12px;
  }

  .testimonials-section{
    margin-top:28px;
  }

  .testimonials-section h2{
    font-size:14px;
    margin-bottom:12px;
  }

  .testimonial-track{
    justify-content:flex-start;
    gap:16px;
    padding:0 20px;
  }

  .testimonial-card{
    flex-basis:220px;
    min-height:84px;
    border-radius:14px;
    padding:9px 12px 8px;
  }

  .testimonial-card .stars{
    font-size:15px;
  }

  .testimonial-card p{
    font-size:9px;
  }

  .testimonial-person img{
    width:22px;
    height:22px;
  }

  .testimonial-person span{
    font-size:9px;
  }

  .testimonial-dots button{
    width:7px;
    height:7px;
  }

  .download-section{
    margin-top:24px;
    gap:14px;
  }

  .large-badge img{
    height:38px;
  }

  .footer{
    margin-top:34px;
  }

  .contact-row{
    gap:14px;
  }

  .contact-row img{
    width:88px;
  }

  .contact-row h2{
    font-size:16px;
  }

  .contact-row a{
    font-size:11px;
  }

  .social-row{
    margin-top:26px;
    gap:9px;
  }

  .social-row a{
    width:24px;
    height:24px;
    border-radius:7px;
    font-size:12px;
  }

  .copyright{
    margin-top:14px;
    font-size:9px;
  }
}

@media (max-width: 360px){
  .site-shell{padding-left:20px;padding-right:20px}
  .tool-carousel{grid-template-columns:58px 176px 58px;gap:8px}
  .tool-neighbor{width:58px;height:58px}
}
