/* bobbet.app shared styles. System fonts only, no external assets. */
:root {
  --ink: #2e2529;
  --muted: #65585d;
  --plum: #6f1f4d;
  --plum-dark: #4e1536;
  --plum-soft: #f7e4ec;
  --butter: #ffe8a0;
  --butter-soft: #fff4cf;
  --cream: #fffaf0;
  --paper: #ffffff;
  --line: rgba(46, 37, 41, .12);
  --shadow: 0 16px 36px rgba(78, 52, 20, .11);
  --radius: 24px;
  --container: 1120px;
  --gutter: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--plum); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 5vw, 2.9rem); font-weight: 900; }
ul[role="list"] { list-style: none; padding: 0; }
/* Plum focus ring (about 10:1 on cream); white inside the plum closing block. */
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: .7rem 1rem; border-radius: 12px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: .75rem; }

/* Header: sticky, so "Get it free" is always one tap away, including in in-app browsers. */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255, 250, 240, .95); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.header-inner { max-width: var(--container); height: 56px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-size: 1.25rem; font-weight: 900; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: none; margin-left: auto; gap: 1.5rem; }
.site-nav a { color: var(--muted); font-weight: 750; text-decoration: none; }
.site-nav a:hover { color: var(--plum); }
.header-cta { margin-left: auto; padding: .55rem 1rem; border-radius: 999px; background: var(--plum); color: #fff; font-size: .95rem; font-weight: 850; text-decoration: none; white-space: nowrap; }
.header-cta:hover { background: var(--plum-dark); }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .8rem 1.35rem; border-radius: 999px; background: var(--plum); color: #fff; font-size: 1.05rem; font-weight: 850; text-decoration: none; box-shadow: 0 10px 22px rgba(111, 31, 77, .22); }
.button:hover { background: var(--plum-dark); }
.button-quiet { background: var(--paper); color: var(--plum); box-shadow: inset 0 0 0 1.5px rgba(111, 31, 77, .3); }
.button-quiet:hover { background: var(--plum-soft); }
.eyebrow { color: var(--plum); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.chip { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: var(--plum-soft); color: var(--plum-dark); font-size: .86rem; font-weight: 850; }

/* Hero: what, where and how to get it, in one phone screen. */
.hero { max-width: var(--container); margin: 0 auto; padding: 1rem var(--gutter) 2.25rem; display: grid; gap: .85rem; grid-template-areas: "copy" "chat" "pitch"; }
.hero-copy { grid-area: copy; }
.hero h1 { margin-top: .3rem; font-size: clamp(1.9rem, 10vw, 4.2rem); font-weight: 900; }
.hero h1 span { color: var(--plum); }
.hero-chat { grid-area: chat; position: relative; height: 250px; padding: 14px; overflow: hidden; border-radius: var(--radius); background: linear-gradient(160deg, var(--butter-soft), var(--butter)); }
.bubble { width: fit-content; max-width: 62%; padding: .55rem .85rem; border-radius: 18px; background: #e9e9eb; color: #1c1c1e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .95rem; line-height: 1.3; }
.hero-duck { position: absolute; right: 8px; bottom: 4px; width: 206px; filter: drop-shadow(0 10px 14px rgba(78, 52, 20, .18)); }
.peek { position: absolute; width: 76px; filter: drop-shadow(0 6px 8px rgba(78, 52, 20, .14)); }
.peek-lmao { left: -6px; bottom: 58px; transform: rotate(-9deg); }
.peek-win { left: 62px; bottom: 2px; width: 64px; transform: rotate(8deg); }
.hero-chat figcaption { position: absolute; right: 14px; top: 16px; color: #6b5a3e; font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
/* Phones: the App Store button sits right under Sunny, above the fold even with Safari's Smart App Banner. */
.hero-pitch { grid-area: pitch; display: flex; flex-direction: column; }
.hero-pitch .cta-row { order: 1; margin-top: 0; }
.hero-pitch .microline { order: 2; }
.hero-pitch .lede { order: 3; margin-top: .9rem; }
.lede { color: var(--muted); font-size: 1rem; }
.cta-row { margin-top: .85rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .8rem; }
.microline { margin-top: .6rem; color: var(--muted); font-size: .84rem; }

/* Sections */
.section { max-width: var(--container); margin: 0 auto; padding: 3rem var(--gutter); }
.section-head { max-width: 46rem; }
.section-head h2 { margin-top: .4rem; }
.section-head p:not(.eyebrow) { margin-top: .75rem; color: var(--muted); font-size: 1.05rem; }

/* Sunny's greatest hits (also the /duck-stickers grid) */
.hit-grid { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.hit { padding: .5rem .45rem .75rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); text-align: center; }
.hit img { width: 100%; max-width: 170px; margin: 0 auto; }
.hit-mood { margin-top: .15rem; color: var(--plum); font-size: .95rem; font-weight: 900; }
.hit-line { margin-top: .15rem; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.hit-group { margin-top: 1.6rem; font-size: 1.1rem; }
.more-link { margin-top: 1.2rem; font-weight: 850; }

/* How to send */
.how-steps { margin-top: 1.4rem; padding: 0; list-style: none; display: grid; gap: .65rem; counter-reset: how; }
.how-steps li { counter-increment: how; display: grid; grid-template-columns: 92px 1fr; gap: .9rem; align-items: center; padding: .65rem; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.how-steps p::before { content: counter(how) ". "; color: var(--plum); font-weight: 900; }
.how-art { position: relative; height: 80px; display: flex; align-items: center; justify-content: center; gap: .3rem; overflow: hidden; border-radius: 14px; background: var(--butter-soft); }
.mini-bubble { padding: .3rem .5rem; border-radius: 11px; background: #e9e9eb; color: #1c1c1e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .6rem; line-height: 1.2; }
.plus { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e9e9eb; color: #3a3a3c; font-size: 1.15rem; font-weight: 700; }
.how-art .app-icon { width: 32px; height: 32px; border-radius: 8px; }
.how-art .app-name { color: var(--ink); font-size: .68rem; font-weight: 800; }
.how-art-send .mini-bubble { position: absolute; left: 7px; top: 10px; }
.how-art-send img { position: absolute; right: 2px; bottom: 0; width: 54px; }
.how-note { margin-top: 1rem; color: var(--muted); }
.how-help { margin-top: .85rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.how-help summary { cursor: pointer; color: var(--plum); font-weight: 850; }
.how-help p { margin-top: .6rem; color: var(--muted); }

/* Sunny brought friends */
.friends { border-block: 1px solid var(--line); background: var(--butter-soft); }
.friends-inner { max-width: var(--container); margin: 0 auto; padding: 2.75rem var(--gutter); }
.friends-inner > p { max-width: 44rem; margin-top: .7rem; color: var(--muted); }
.friend-strip { margin: 1.2rem calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) .4rem; display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x proximity; }
.friend-strip li { flex: 0 0 92px; scroll-snap-align: start; text-align: center; }
.friend-strip img { width: 92px; height: 92px; }
.friend-strip span { display: block; margin-top: .15rem; font-size: .72rem; font-weight: 800; line-height: 1.2; }

/* Price */
.price-card { display: grid; grid-template-columns: 84px 1fr; gap: 0 1rem; align-items: center; padding: 1.25rem; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.price-card > div { display: contents; }
.price-card p, .price-card .button { grid-column: 1 / -1; }
.price-card p { margin-top: .75rem; color: var(--muted); }
.price-card .button { margin-top: 1rem; justify-self: start; }

/* Trust */
.trust-head { display: flex; align-items: center; gap: 1rem; }
.trust-head img { width: 84px; flex: none; }
.trust-grid { margin-top: 1.2rem; display: grid; gap: .55rem; }
.trust-grid li { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--muted); }
.trust-grid strong { display: block; color: var(--ink); }
.maker { margin-top: 1rem; color: var(--muted); }

/* What should Sunny feel next? */
.ask { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: center; }
.ask p { margin-top: .5rem; color: var(--muted); }

/* Final call to action */
.final { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); margin: .5rem auto 3rem; padding: 1.75rem 1.25rem 2rem; display: grid; justify-items: center; gap: .9rem; border-radius: 32px; background: var(--plum); color: #fff; text-align: center; }
.final img { width: 150px; }
.final p { margin: .6rem 0 1.1rem; color: #f8e4ee; }
.final .button { background: #fff; color: var(--plum); box-shadow: none; }
.final .button:hover { background: var(--butter-soft); }
.final :focus-visible { outline-color: #fff; }

/* Footer, the same on every page */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 1.75rem var(--gutter) 2.25rem; display: grid; gap: .9rem; color: var(--muted); font-size: .92rem; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; }
.footer-brand .brand { font-size: 1.05rem; }
.footer-brand .brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer nav a { color: var(--ink); font-weight: 750; text-decoration: none; }
.site-footer nav a:hover { color: var(--plum); }
.legal { color: #75686c; font-size: .75rem; }

@media (min-width: 700px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .ask { grid-template-columns: 150px 1fr; }
  .price-card { grid-template-columns: 180px 1fr; gap: 1.5rem; padding: 1.75rem 2rem; }
  .price-card > div { display: block; }
  .price-card p, .price-card .button { grid-column: auto; }
}

@media (min-width: 900px) {
  :root { --gutter: 24px; }
  .header-inner { height: 64px; }
  .site-nav { display: flex; }
  .header-cta { margin-left: 0; }
  .hero { padding: 3.5rem var(--gutter) 4.5rem; grid-template-columns: 1.08fr .92fr; grid-template-areas: "copy chat" "pitch chat"; column-gap: 3.5rem; row-gap: 1.4rem; align-items: end; }
  .hero h1 { font-size: min(4.2rem, 5.2vw); }
  .hero-pitch { align-self: start; }
  .hero-pitch .cta-row, .hero-pitch .microline, .hero-pitch .lede { order: 0; }
  .hero-pitch .lede { margin-top: 0; }
  .hero-pitch .cta-row { margin-top: .85rem; }
  .hero-chat { height: 470px; padding: 26px; border-radius: 36px; }
  .bubble { font-size: 1.05rem; }
  .hero-duck { right: 22px; bottom: 14px; width: 330px; }
  .peek { width: 116px; }
  .peek-lmao { left: 6px; bottom: 132px; }
  .peek-win { left: 104px; bottom: 22px; width: 96px; }
  .lede { max-width: 34rem; font-size: 1.2rem; }
  .section { padding: 4.5rem var(--gutter); }
  .hit-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; }
  .hit-line { font-size: .88rem; }
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .how-steps li { grid-template-columns: 1fr; padding: .9rem; }
  .how-art { height: 132px; gap: .5rem; }
  .mini-bubble { font-size: .8rem; }
  .plus { width: 40px; height: 40px; font-size: 1.5rem; }
  .how-art .app-icon { width: 48px; height: 48px; border-radius: 11px; }
  .how-art .app-name { font-size: .9rem; }
  .how-art-send img { width: 92px; right: 10px; }
  .friends-inner { padding: 4rem var(--gutter); }
  .friend-strip { margin-inline: 0; padding-inline: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 1.1rem .8rem; overflow: visible; }
  .friend-strip li { justify-self: center; }
  .final { margin-bottom: 4.5rem; padding: 2.5rem 3.5rem; grid-template-columns: 220px 1fr; justify-items: start; column-gap: 2.5rem; text-align: left; }
  .final img { width: 220px; }
}
