/* ============================================================
   Switcheroo — landing + blog
   Real brand palette: golden yellow + mint + retro green,
   red/rose accents. Real cursive logo used as images.
   Font: Poppins.
   ============================================================ */

:root {
  --yellow:      #e6b950;
  --yellow-deep: #d6a531;
  --yellow-soft: #f7e7b8;
  --mint:        #b4d9b9;
  --mint-deep:   #8fc79a;
  --mint-soft:   #dcede0;
  --forest:      #3e7d52;   /* primary action (app buttons) */
  --forest-deep: #2f5f3f;
  --forest-ink:  #223a29;   /* dark sections */
  --red:         #e0384a;   /* logo accent */
  --rose:        #e08a8a;
  --rose-soft:   #f6dede;
  --cream:       #fdecc2;

  --ink:         #23201c;
  --text:        #26241f;
  --muted:       #7c7563;
  --line:        #ece4d1;
  --bg:          #fbf6e9;
  --card:        #ffffff;

  --radius:      26px;
  --radius-sm:   16px;
  --pill:        999px;
  --shadow-sm:   0 2px 12px rgba(35,32,28,.06);
  --shadow:      0 20px 55px -14px rgba(35,32,28,.22);
  --shadow-green:0 16px 34px -12px rgba(62,125,82,.5);

  --maxw:        1160px;
  --font-body:   'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); color: var(--text); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
section { position: relative; }
.section-pad { padding: clamp(60px, 8.5vw, 118px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--forest-deep); background: var(--mint-soft);
  padding: 8px 15px; border-radius: var(--pill);
}
.eyebrow.yellow { color: #8a6a12; background: var(--yellow-soft); }
.eyebrow.on-dark { color: #cfe6d2; background: rgba(255,255,255,.12); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -.015em; color: var(--ink); }
h2.section-title { font-size: clamp(29px, 4.6vw, 48px); }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); font-weight: 400; }
.center { text-align: center; }
.center .lead { max-width: 620px; margin: 16px auto 0; }

/* buttons — pill like the app */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15.5px; padding: 13px 28px; border-radius: var(--pill);
  cursor: pointer; border: 0; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--forest); color: #fff; box-shadow: var(--shadow-green); }
.btn-green:hover { background: var(--forest-deep); transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: #4a3707; }
.btn-yellow:hover { background: var(--yellow-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest-deep); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.stores { display: flex; flex-wrap: wrap; gap: 13px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: #fff;
  padding: 11px 20px 11px 18px; border-radius: 15px; transition: transform .18s ease, box-shadow .18s ease;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge .lbl { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .lbl small { font-size: 10px; opacity: .85; letter-spacing: .03em; }
.store-badge .lbl b { font-size: 16px; font-weight: 600; }

/* ================= TOP ANNOUNCEMENT BAR ================= */
.topbar {
  display: block; background: linear-gradient(90deg, #05432e, #0a7d54); color: #fff;
  font-size: 13.5px; font-weight: 500; text-align: center; padding: 9px 16px; line-height: 1.4;
}
.topbar b { font-weight: 700; }
.topbar .gift { margin-right: 4px; }
.topbar .see { text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; margin-left: 6px; }
.topbar:hover .see { opacity: .85; }
@media (max-width: 560px) { .topbar { font-size: 12px; } .topbar .see { display: block; margin: 3px 0 0; } }

/* ================= NAV ================= */
.nav {
  position: sticky; top: 0; z-index: 60; backdrop-filter: saturate(160%) blur(14px);
  background: rgba(251,246,233,.8); border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(251,246,233,.94); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--muted); transition: color .15s ease; }
.nav-links a:hover { color: var(--forest-deep); }
.nav-links .m-cta { display: none; }
.nav-cta { display: flex; align-items: center; gap: 13px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span + span { margin-top: 5px; }

/* ================= HERO ================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 70% at 90% 12%, var(--mint-soft) 0%, rgba(220,237,224,0) 55%),
    radial-gradient(60% 60% at 6% 92%, var(--yellow-soft) 0%, rgba(247,231,184,0) 55%),
    var(--bg);
  padding: clamp(48px, 7vw, 84px) 0 clamp(52px, 7vw, 90px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1.05; }
.hero h1 .u { color: var(--forest); position: relative; white-space: nowrap; }
.hero h1 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: var(--yellow); opacity: .55; border-radius: 4px; z-index: -1; }
.hero .sub { margin: 22px 0 30px; font-size: clamp(16px, 2.1vw, 20px); color: #5c5647; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { margin-top: 26px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.avatars { display: flex; }
.avatars span { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--bg); margin-left: -12px; display: grid; place-items: center; font-size: 15px; }
.avatars span:first-child { margin-left: 0; }

/* real app screenshot */
.hero-shot { position: relative; display: grid; place-items: center; }
.hero-shot .frame {
  position: relative; width: min(360px, 82%); border-radius: 30px; overflow: hidden;
  box-shadow: 0 40px 80px -22px rgba(35,32,28,.45); animation: float 6.5s ease-in-out infinite;
}
.hero-shot .frame img { width: 100%; display: block; }
.chip {
  position: absolute; background: #fff; color: var(--text); border-radius: 15px; padding: 10px 14px;
  box-shadow: var(--shadow); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
  animation: float 5s ease-in-out infinite; z-index: 3;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.chip.one { top: 10px; left: -6px; animation-delay: .6s; }
.chip.two { top: 41%; right: -8px; animation-delay: 1.4s; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

/* intro video */
.video { max-width: 760px; margin: 42px auto 0; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-facade { position: relative; display: block; width: 100%; height: 100%; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-facade::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); transition: background .2s ease; }
.video-facade:hover::after { background: rgba(0,0,0,.28); }
.video-facade .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 78px; height: 78px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 30px; padding-left: 5px; z-index: 2;
  box-shadow: 0 12px 34px rgba(0,0,0,.4); transition: transform .2s ease;
}
.video-facade:hover .play { transform: translate(-50%,-50%) scale(1.09); }

/* trust strip */
.trustbar { background: var(--forest-ink); color: #d3e2d5; padding: 22px 0; }
.trustbar .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(18px,4vw,50px); flex-wrap: wrap; font-size: 14px; }
.trustbar b { color: #fff; font-weight: 600; }

/* ================= STEPS ================= */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 50px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .num { font-weight: 700; font-size: 16px; color: #fff; background: var(--forest); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; }
.step:nth-child(2) .num { background: var(--yellow); color: #4a3707; }
.step:nth-child(3) .num { background: var(--rose); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ================= FEATURES ================= */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 50px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--mint-deep); }
.feature .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 25px; margin-bottom: 18px; background: var(--mint-soft); }
.feature:nth-child(2) .ic { background: var(--yellow-soft); }
.feature:nth-child(3) .ic { background: var(--rose-soft); }
.feature:nth-child(4) .ic { background: var(--mint-soft); }
.feature:nth-child(5) .ic { background: var(--yellow-soft); }
.feature:nth-child(6) .ic { background: var(--rose-soft); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ================= PROMO (Starbucks) ================= */
.promo { background: linear-gradient(120deg, #05432e, #0a7d54); color: #fff; border-radius: 32px; overflow: hidden; position: relative; }
.promo::before { content: ""; position: absolute; width: 320px; height: 320px; background: rgba(255,255,255,.10); border-radius: 50%; top: -120px; right: -50px; }
.promo-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; padding: clamp(34px,5vw,56px); position: relative; z-index: 2; }
.promo h2 { color: #fff; font-size: clamp(27px,4vw,42px); }
.promo p { color: #d9efe4; margin-top: 12px; font-size: 17px; }
.promo .gift { font-size: clamp(90px,13vw,140px); text-align: center; line-height: 1; }
.promo .fine { font-size: 12.5px; color: #b9dccb; margin-top: 14px; }

/* ================= WAITLIST (brand diagonal) ================= */
.waitlist {
  border-radius: 32px; padding: clamp(40px,6vw,68px); text-align: center; position: relative; overflow: hidden;
  color: var(--ink);
  background: linear-gradient(114deg, var(--yellow) 0%, var(--yellow) 46%, var(--mint) 46%, var(--mint) 100%);
}
.waitlist h2 { color: var(--ink); font-size: clamp(27px,4vw,44px); position: relative; }
.waitlist p { color: #3f3a2e; margin: 14px auto 26px; max-width: 480px; position: relative; }
.wl-form { display: flex; gap: 10px; max-width: 460px; margin-inline: auto; position: relative; }
.wl-form input { flex: 1; padding: 15px 20px; border-radius: var(--pill); border: 1.5px solid rgba(35,32,28,.16); background: rgba(255,255,255,.72); color: var(--ink); font-size: 15px; font-family: var(--font-body); }
.wl-form input::placeholder { color: #6f6a5b; }
.wl-form input:focus { outline: none; border-color: var(--forest); background: #fff; }
.wl-note { font-size: 13px; color: #4f4a3d; margin-top: 14px; position: relative; }
.wl-ok { color: var(--forest-deep); font-weight: 600; margin-top: 16px; display: none; position: relative; }

/* ================= FOOTER ================= */
.footer { background: var(--forest-ink); color: #b4c4b6; padding: 62px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer .brand img { height: 40px; margin-bottom: 14px; }
.footer .about { font-size: 14px; max-width: 260px; }
.footer h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 14px; transition: color .15s; }
.footer li a:hover { color: var(--yellow); }
.socials { display: flex; gap: 11px; margin-top: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: .18s; }
.socials a:hover { background: var(--yellow); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 10px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-shot .frame, .chip { animation: none; } html { scroll-behavior: auto; } }

/* ================= BLOG ================= */
.page-hero { background: linear-gradient(180deg, var(--mint-soft), var(--bg)); color: var(--ink); padding: clamp(74px,10vw,120px) 0 clamp(46px,6vw,74px); text-align: center; }
.page-hero h1 { font-size: clamp(36px,5.5vw,60px); }
.page-hero p { color: var(--muted); max-width: 560px; margin: 16px auto 0; font-size: 17px; }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--forest), var(--forest-deep)); position: relative; }
.post-card:nth-child(3n+2) .thumb { background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); }
.post-card:nth-child(3n) .thumb { background: linear-gradient(135deg, var(--mint-deep), var(--forest)); }
.post-card .thumb .emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 52px; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .tag { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--forest-deep); }
.post-card h3 { font-size: 20px; margin: 10px 0; line-height: 1.25; }
.post-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.post-card .meta { margin-top: 16px; font-size: 13px; color: var(--muted); }
.post-card .readmore { margin-top: 14px; font-weight: 600; color: var(--forest-deep); font-size: 14.5px; }

.article { max-width: 760px; margin-inline: auto; padding: clamp(40px,6vw,70px) 24px; }
.article .kicker { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.article h1 { font-size: clamp(30px,4.6vw,50px); line-height: 1.12; margin-bottom: 18px; }
.article .hero-img { aspect-ratio: 16/8; border-radius: var(--radius); background: linear-gradient(135deg, var(--forest), var(--forest-deep)); margin: 30px 0; display: grid; place-items: center; font-size: 66px; }
.article-body { font-size: 17.5px; line-height: 1.8; color: #35322a; }
.article-body h2 { font-size: 27px; margin: 40px 0 14px; }
.article-body h3 { font-size: 21px; margin: 30px 0 10px; }
.article-body p { margin-bottom: 20px; }
.article-body ul.dot { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.article-body ul.dot li { margin-bottom: 8px; }
.article-body a { color: var(--forest-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { border-left: 4px solid var(--yellow); padding: 6px 0 6px 22px; margin: 26px 0; font-size: 20px; font-style: italic; color: var(--ink); }
.article .back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.article .back:hover { color: var(--forest-deep); }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-green { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 22px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open .nav-links a { font-size: 18px; color: var(--text); }
  .nav.open .nav-links .m-cta { display: block; background: var(--forest); color: #fff; text-align: center; font-weight: 600; padding: 13px; border-radius: var(--pill); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-shot { margin-top: 26px; }
  .steps, .features, .post-grid { grid-template-columns: 1fr; }
  .promo-inner { grid-template-columns: 1fr; text-align: center; }
  .promo .gift { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .wl-form { flex-direction: column; }
  .wl-form .btn { width: 100%; }
}
