/* gethomebuzz.com. The app's Honey look (apps/mobile/src/lib/themeTokens.ts, HONEY), on the album's
   warmer page. Fonts are the app's own, served from here (no other company's servers). */

@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("../fonts/Fredoka_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("../fonts/Fredoka_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("../fonts/Fredoka_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 500; font-display: swap; src: url("../fonts/Nunito_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/Nunito_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/Nunito_800ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("../fonts/Caveat_700Bold.ttf") format("truetype"); }

:root {
  --page: #FFF8E1;
  --screen: #FFFCF2;
  --card: #FFFFFF;
  --ink: #2B2118;
  --muted: #6B5E4B;
  --honey: #F5B700;
  --honey-text: #8A5A00;
  --soft: #FFF1C2;
  --soft-2: #FFE08A;
  --line: #F2E6C4;
  --on-ink: #FFF8E1;
  --on-ink-soft: #E9DFC9;
  --sky: #CFEAFB;
  --display: "Fredoka", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --shadow: 0 14px 30px rgba(43, 33, 24, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: var(--honey-text); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
h2 { font-size: clamp(34px, 4.5vw, 54px); line-height: 1.06; }
h3 { font-size: 23px; }
p { margin: 0; }
b { font-weight: 800; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 1000px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-wide { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.muted { color: var(--muted); }
.small-muted { margin: 0; font-size: 16px; font-weight: 700; color: var(--muted); }
.tiny-muted { font-size: 12px; font-weight: 800; color: var(--muted); }
.hand { font-family: var(--hand); font-weight: 700; }
.hand-big { font-size: 30px; color: var(--honey-text); }
.honey { color: var(--honey); }

/* ---- Buttons ---------------------------------------------------------------- */

.button { display: inline-block; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 12px 22px; text-align: center; }
.button-big { padding: 16px 28px; font-size: 18px; }
.button-ink { background: var(--ink); color: var(--on-ink); }
.button-ink:hover { background: #46372A; color: var(--on-ink); }
.button-outline { background: var(--card); border: 2px solid var(--ink); color: var(--ink); padding: 10px 20px; }
.button-big.button-outline { padding: 14px 26px; }
.button-outline:hover { background: var(--soft); color: var(--ink); }

/* ---- Top and bottom ------------------------------------------------------------ */

.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 27px; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-weight: 800; font-size: 16px; }
.nav-links a:not(.button) { color: var(--ink); text-decoration: none; }
.nav-links a:not(.button):hover { text-decoration: underline; }
/* On a phone the page's own links wait in the footer; Sign in and the button stay. */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links .nav-section { display: none; }
  .nav-links .button { padding: 10px 16px; }
}
/* Too narrow for both on the brand's line: the hero's own button starts a hive just below. */
@media (max-width: 420px) {
  .nav { flex-wrap: nowrap; }
  .nav-links .nav-start { display: none; }
}

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 48px; font-size: 15px; font-weight: 700; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }

/* ---- Hero ----------------------------------------------------------------------- */

.hero { padding-top: 56px; padding-bottom: 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pill { background: var(--card); border: 2px solid var(--line); color: var(--honey-text); font-weight: 800; font-size: 15px; padding: 8px 16px; border-radius: 999px; }
.hero h1 { font-size: clamp(44px, 6.5vw, 84px); line-height: 1.02; letter-spacing: -0.015em; }
.highlight { display: inline-block; background: var(--honey); padding: 0 14px; border-radius: 18px; transform: rotate(-1.5deg); }
.tagline { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.lede { font-size: 20px; color: var(--muted); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- The phone and its collage ----------------------------------------------------- */

.see { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; padding-top: 40px; padding-bottom: 72px; }
.side { flex: 0 1 270px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
@media (max-width: 960px) { .side { display: none; } }

.tilt-left { transform: rotate(-4deg); }
.tilt-left-soft { transform: rotate(-1.5deg); }
.tilt-right-soft { transform: rotate(1.2deg); }

.polaroid { margin: 0; width: 270px; background: var(--card); padding: 14px 14px 18px; border-radius: 6px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.polaroid-photo { height: 230px; border-radius: 3px; overflow: hidden; }
.polaroid-photo svg { width: 100%; height: 100%; display: block; }
.polaroid figcaption { font-size: 26px; text-align: center; }

.voice { background: var(--card); border-radius: 999px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.voice-play { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--honey); display: flex; align-items: center; justify-content: center; }
.voice-play-small { width: 28px; height: 28px; }
.voice-time { font-size: 13px; font-weight: 800; color: var(--muted); }
.hand-note { font-size: 24px; color: var(--honey-text); }

.poll { width: 250px; background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.poll-question { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.15; }
.poll-option { position: relative; border-radius: 10px; overflow: hidden; background: var(--page); font-size: 14px; font-weight: 800; }
.poll-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--honey); }
.poll-fill-light { background: var(--soft-2); }
.poll-row { position: relative; padding: 8px 12px; display: flex; justify-content: space-between; }
.fill-24 { width: 24%; }
.fill-40 { width: 40%; }
.fill-60 { width: 60%; }

.phone-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone { width: 300px; height: 612px; border-radius: 46px; background: var(--ink); padding: 11px; box-shadow: 0 30px 60px rgba(43, 33, 24, 0.22); }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; background: var(--screen); overflow: hidden; position: relative; font-size: 14px; }

.phone-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; background: var(--card); border: 2px solid var(--line); border-radius: 999px; padding: 5px; }
.phone-tab { position: relative; overflow: hidden; border: 0; cursor: pointer; font: 800 15px var(--body); padding: 10px 16px; border-radius: 999px; background: transparent; color: var(--ink); }
.phone-tab:hover { background: var(--soft); }
.phone-tab.is-on { background: var(--ink); color: var(--on-ink); }
.phone-tab-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--honey); }
.phone-tab.is-on.is-playing .phone-tab-bar { animation: fill-bar 5s linear forwards; }
@keyframes fill-bar { from { width: 0; } to { width: 100%; } }
@media (max-width: 420px) {
  .phone-tabs { gap: 2px; padding: 4px; }
  .phone-tab { font-size: 14px; padding: 9px 10px; }
}
.phone-caption { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--muted); text-align: center; max-width: 420px; min-height: 54px; }

/* The recordings inside the phone. */
.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--screen); }
.scene[hidden] { display: none; }
.scene.is-entering { animation: scene-in 0.35s ease-out; }
@keyframes scene-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .phone-tab.is-on.is-playing .phone-tab-bar { animation: none; width: 100%; }
  .scene.is-entering { animation: none; }
}

/* ---- Features --------------------------------------------------------------------- */

.features { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.section-head p { font-size: 19px; color: var(--muted); }
.section-head-center { align-items: center; text-align: center; max-width: none; gap: 10px; }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 320px; background: var(--card); border: 2px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--muted); }
.card-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--soft); display: flex; align-items: center; justify-content: center; }

/* ---- Family only ---------------------------------------------------------------------- */

.safety { padding-top: 24px; padding-bottom: 40px; }
.safety-box { background: var(--ink); color: var(--on-ink); border-radius: 36px; padding: clamp(32px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.safety-words { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.safety-words h2 { font-size: clamp(34px, 4vw, 52px); }
.safety-words p { font-size: 19px; color: var(--on-ink-soft); }
.checks { flex: 1 1 380px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; font-size: 18px; font-weight: 700; }
.checks li { position: relative; padding-left: 40px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 18px; height: 10px; border-left: 3px solid var(--honey); border-bottom: 3px solid var(--honey); transform: rotate(-45deg); }

/* ---- A day in the hive --------------------------------------------------------------------- */

.day { background: var(--card); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); margin-top: 56px; }
.day-inner { max-width: 1100px; padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; }
.day-head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.day-head p { font-size: 18px; color: var(--muted); }
.timeline { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; border-left: 3px dashed var(--line); }
.timeline li { position: relative; padding: 0 0 30px 28px; display: flex; flex-direction: column; gap: 6px; font-size: 18px; line-height: 1.45; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--honey); border: 3px solid var(--card); }
.time { font-size: 14px; font-weight: 800; color: var(--honey-text); }

/* ---- Pricing ----------------------------------------------------------------------------- */

.pricing { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; align-items: center; }
.billing { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.billing-switch { display: inline-flex; gap: 4px; padding: 5px; background: var(--card); border: 2px solid var(--line); border-radius: 999px; }
.billing-switch button { border: 0; cursor: pointer; font: 800 17px var(--body); padding: 12px 22px; border-radius: 999px; background: transparent; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.billing-switch button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.billing-tag { font-size: 13px; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--honey-text); white-space: nowrap; }
@media (max-width: 420px) {
  .billing-switch button { font-size: 16px; padding: 10px 14px; }
}
.billing-switch button[aria-pressed="true"] .billing-tag { background: var(--honey); color: var(--ink); }
.plans { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; width: 100%; }
.plan { flex: 1 1 320px; max-width: 400px; min-width: 0; background: var(--card); border-radius: 6px; padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.plan-hot { background: var(--honey); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-head h3 { font-size: 26px; }
.plan-badge { font-size: 24px; }
.price { font-family: var(--display); font-weight: 700; font-size: 52px; }
.price-note { font-weight: 700; color: var(--muted); }
.plan-hot .price-note { color: var(--ink); }
.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.plan .button { margin-top: 8px; }
.pricing[data-billing="yearly"] .price-monthly,
.pricing[data-billing="monthly"] .price-yearly { display: none; }

/* ---- Closing -------------------------------------------------------------------------------- */

.closing { background: var(--soft); border-top: 2px solid var(--line); }
.closing-inner { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.closing h2 { font-size: clamp(36px, 5vw, 58px); }

/* ---- Not found -------------------------------------------------------------------------------- */

.lost { padding-top: 96px; padding-bottom: 120px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.lost h1 { font-size: clamp(40px, 5vw, 64px); }
.lost p { font-size: 19px; color: var(--muted); }
