/* DayDew – a diary spread for the web.
   Palette and tokens mirror the app (src/utils/Colors.ts). */
:root {
  --paper: #fbf7f0;
  --paper-deep: #f5f3ef;
  --card: #fffdf9;
  --ink: #424242;
  --ink-soft: #616161;
  --ink-faint: #9e9e9e;
  --grid: rgba(66, 66, 66, 0.05);

  --aqua: #dff5ff;
  --merino: #feece2;
  --peppermint: #e1f0da;
  --spring: #fdf7c3;
  --almond: #f7ded0;
  --lavender: #e8e1f7;
  --melon: #ffbe98;
  --blush: #ef789f;
  --rose: #eea5a6;
  --salmon: #ee8a63;
  --venice: #116a7b;
  --sky: #86c9e0;
  --sunrise-top: #ffc6a1;
  --sunrise-bottom: #ffb1bc;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --font-logo: "Comfortaa", var(--font-body);

  --radius: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 2px 8px rgba(66, 50, 40, 0.08);
  --shadow-lift: 0 18px 40px -12px rgba(90, 60, 40, 0.28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

picture {
  display: contents;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

em.soft {
  font-style: italic;
  font-weight: 500;
}

.brand {
  color: var(--blush);
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.kicker {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--salmon);
  margin-bottom: 0.35rem;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

:focus-visible {
  outline: 2.5px solid var(--venice);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px dashed rgba(66, 66, 66, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-out);
}

.logo:hover img {
  transform: rotate(-8deg) scale(1.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-weight: 600;
  font-size: 0.98rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links .nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 9px 20px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-out), background 0.2s;
}

.nav-links .nav-cta:hover {
  color: var(--paper);
  background: #333;
  transform: translateY(-1px);
}

/* ---------- Store buttons ---------- */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px 11px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  line-height: 1.15;
  box-shadow: 0 6px 18px -8px rgba(66, 66, 66, 0.6);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.05rem;
}

.store-btn small {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

.store-btn:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 14px 26px -10px rgba(66, 66, 66, 0.55);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.dear-diary {
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  color: var(--venice);
  margin: 0 0 0.6rem;
  transform: rotate(-1.5deg);
  transform-origin: left;
}

.hero h1 .fun {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--blush);
  z-index: 0;
}

.hero h1 .fun svg {
  position: absolute;
  left: -6%;
  bottom: -0.12em;
  width: 112%;
  height: 0.45em;
  z-index: -1;
  overflow: visible;
}

.hero h1 .fun path {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: draw 1.1s 0.7s var(--ease-out) forwards;
}

.hero-lede {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  max-width: 34rem;
}

.hero-actions {
  position: relative;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.margin-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.45rem;
  color: var(--ink-soft);
  transform: rotate(-3deg);
}

.margin-note svg {
  width: 46px;
  height: 30px;
  color: var(--salmon);
  flex-shrink: 0;
}

/* The journal cover – the app icon, grown up */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.02;
  max-width: 540px;
  width: 100%;
  margin-inline: auto;
}

.cover {
  position: absolute;
  top: 6%;
  left: 8%;
  width: 88%;
  height: 90%;
  overflow: visible;
  filter: drop-shadow(0 26px 40px rgba(238, 138, 99, 0.25));
}

.cover .rays {
  transform-origin: 250px 318px;
  animation: spin 90s linear infinite;
}

.hero-phones {
  position: relative;
  justify-self: start;
  width: 60%;
  margin: 16% 0 0 4%;
  filter: drop-shadow(0 28px 36px rgba(60, 40, 40, 0.35));
  z-index: 2;
}

/* Floating snippet stickers */
.sticker {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  animation: pop 0.7s var(--ease-out) both, bob 6s ease-in-out infinite;
}

.sticker small {
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.sticker img {
  width: 42px;
  height: 36px;
}

.sticker-mood {
  background: var(--aqua);
  top: 9%;
  left: -4%;
  --r: -6deg;
  animation-delay: 0.9s, 1.6s;
}

.sticker-streak {
  background: var(--spring);
  top: 50%;
  right: -4%;
  --r: 5deg;
  animation-delay: 1.1s, 0.4s;
}

.sticker-streak .flame {
  font-size: 1.6rem;
  line-height: 1;
}

.sticker-quote {
  background: var(--merino);
  bottom: 10%;
  left: -6%;
  --r: 3deg;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  animation-delay: 1.3s, 2.4s;
}

.sticker-water {
  background: var(--peppermint);
  bottom: 6%;
  right: 8%;
  --r: -4deg;
  animation-delay: 1.5s, 3.1s;
}

.drops {
  display: flex;
  gap: 3px;
  margin-top: 3px;
}

.drops i {
  width: 11px;
  height: 14px;
  background: var(--sky);
  clip-path: polygon(50% 0, 100% 62%, 92% 88%, 70% 100%, 30% 100%, 8% 88%, 0 62%);
}

.drops i.empty {
  background: rgba(134, 201, 224, 0.35);
}

/* Hero load choreography */
.js .hero-copy > * {
  animation: rise 0.9s var(--ease-out) both;
}

.js .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.32s; }

.js .hero-art .cover,
.js .hero-art .hero-phones {
  animation: rise 1.1s 0.15s var(--ease-out) both;
}

/* ---------- Section rhythm ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head p {
  font-size: 1.1rem;
}

/* ---------- Snippet shelf ---------- */
.shelf {
  position: relative;
  background: var(--paper-deep);
  border-block: 1px dashed rgba(66, 66, 66, 0.14);
}

.shelf-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.snippet {
  --tilt: -2deg;
  position: relative;
  width: 162px;
  padding: 20px 14px 18px 16px;
  border-radius: 6px 6px var(--radius) 6px;
  background: var(--c, var(--aqua));
  box-shadow: 0 1px 1px rgba(66, 50, 40, 0.06), 0 10px 22px -14px rgba(66, 50, 40, 0.4);
  transform: rotate(var(--tilt));
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.snippet::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 54px;
  height: 18px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(66, 66, 66, 0.08);
}

.snippet:nth-child(3n + 2) { --tilt: 1.6deg; }
.snippet:nth-child(3n) { --tilt: -0.8deg; }
.snippet:nth-child(4n) { --tilt: 2.4deg; }

.snippet:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.03);
  box-shadow: 0 1px 1px rgba(66, 50, 40, 0.06), 0 22px 30px -14px rgba(66, 50, 40, 0.4);
}

.snippet svg {
  width: 30px;
  height: 30px;
  color: var(--ink);
  margin-bottom: 10px;
}

.snippet h3 {
  font-size: 1.2rem;
  margin: 0 0 2px;
}

.snippet p {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.12rem;
  line-height: 1.2;
  color: var(--ink-soft);
}

.shelf-footnote {
  text-align: center;
  margin: clamp(36px, 4vw, 52px) auto 0;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--ink-soft);
}

/* ---------- Stories (polaroids) ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.story + .story {
  margin-top: clamp(80px, 11vw, 150px);
}

.story.flip .polaroid-wrap {
  order: 2;
}

.polaroid-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 7% 5%;
}

.polaroid-wrap::before {
  content: "";
  position: absolute;
  inset: 0 2% 4% 4%;
  background: var(--blob, var(--merino));
  border-radius: 58% 42% 50% 50% / 46% 55% 45% 54%;
  z-index: 0;
}

.polaroid {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(100%, 430px);
  background: var(--card);
  padding: 14px 14px 0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(66, 50, 40, 0.08), 0 24px 44px -18px rgba(66, 50, 40, 0.45);
  transform: rotate(var(--tilt, -3deg));
  transition: transform 0.6s var(--ease-out);
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.015);
}

.polaroid img {
  width: 100%;
  border-radius: 2px;
  aspect-ratio: 1;
  object-fit: cover;
}

.polaroid figcaption {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 10px 6px 14px;
}

.tape {
  position: absolute;
  z-index: 2;
  width: 110px;
  height: 30px;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  background: repeating-linear-gradient(
    45deg,
    color-mix(in srgb, var(--tape, var(--rose)) 85%, white) 0 8px,
    color-mix(in srgb, var(--tape, var(--rose)) 62%, white) 8px 16px
  );
  opacity: 0.9;
  clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 50%);
}

.story-copy h2 {
  max-width: 14ch;
}

.story-copy p {
  max-width: 34rem;
}

/* ---------- Mood picker ---------- */
.mood-card {
  position: relative;
  text-align: center;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(16px, 5vw, 64px);
  box-shadow: var(--shadow-soft), 0 30px 60px -40px rgba(66, 50, 40, 0.5);
}

.mood-card h2 {
  margin-bottom: 0.4rem;
}

.mood-card > p {
  max-width: 34rem;
  margin-inline: auto;
}

.mood-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(4px, 2vw, 18px);
  margin: 28px 0 8px;
}

.mood-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: transparent;
  border-radius: 20px;
  padding: 10px 10px 6px;
  display: grid;
  justify-items: center;
  gap: 4px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: transform 0.35s var(--ease-out), background 0.25s;
}

.mood-btn img {
  width: clamp(50px, 11vw, 70px);
  height: auto;
  transition: transform 0.35s var(--ease-out);
}

.mood-btn:hover img {
  transform: translateY(-4px) rotate(-6deg);
}

.mood-btn[aria-pressed="true"] {
  background: var(--spring);
  color: var(--ink);
}

.mood-btn[aria-pressed="true"] img {
  transform: scale(1.12) rotate(4deg);
}

.mood-reply {
  min-height: 2.4em;
  margin: 12px auto 0;
  max-width: 30rem;
  font-family: var(--font-hand);
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.8rem);
  line-height: 1.2;
  color: var(--venice);
}

.mood-reply.pop {
  animation: rise 0.5s var(--ease-out);
}

/* ---------- Privacy (lined notebook page) ---------- */
.notebook {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.page {
  position: relative;
  background-color: var(--card);
  background-image: repeating-linear-gradient(
    transparent 0 43px,
    rgba(17, 106, 123, 0.16) 43px 44px
  );
  background-position: 0 30px;
  border-radius: 6px var(--radius-lg) var(--radius-lg) 6px;
  padding: 30px 28px 30px 64px;
  box-shadow: var(--shadow-soft), 0 30px 60px -36px rgba(66, 50, 40, 0.5);
  transform: rotate(1.2deg);
}

.page::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 44px;
  width: 2px;
  background: rgba(239, 120, 159, 0.45);
}

.page ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--font-hand);
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem);
  line-height: 44px;
  color: var(--ink);
}

.page li svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 9px;
  color: var(--venice);
}

/* ---------- Download CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sunrise-top) 0%, var(--sunrise-bottom) 100%);
  padding: clamp(96px, 12vw, 150px) 0 clamp(90px, 12vw, 150px);
  text-align: center;
}

.cta-rays {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 1600px;
  height: 1600px;
  margin-left: -800px;
  opacity: 0.5;
  pointer-events: none;
}

.cta-rays g {
  transform-origin: 800px 800px;
  animation: spin 120s linear infinite;
}

.cta .container {
  position: relative;
}

.cta-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 24px;
  box-shadow: 0 16px 32px -12px rgba(160, 70, 60, 0.45);
  transform: rotate(-6deg);
}

.cta h2 {
  color: #3d3231;
}

.cta p {
  color: #5a4442;
  max-width: 30rem;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
}

.cta .store-buttons {
  justify-content: center;
}

.cta-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 48px;
  color: var(--paper);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 48px;
  font-size: 0.98rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink-soft);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--blush);
}

.footer-links svg {
  width: 19px;
  height: 19px;
}

/* ---------- Legal page ---------- */
.legal {
  padding: clamp(40px, 7vw, 88px) 0 96px;
}

.legal .container {
  max-width: 820px;
}

.legal-sheet {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 64px);
  box-shadow: var(--shadow-soft), 0 30px 60px -44px rgba(66, 50, 40, 0.5);
}

.legal h1 {
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem);
  margin-bottom: 0.3rem;
}

.legal h2 {
  font-size: 1.45rem;
  margin: 2.4rem 0 0.7rem;
}

.legal ul {
  color: var(--ink-soft);
  padding-left: 1.3rem;
  margin: 0 0 1rem;
}

.legal li {
  margin-bottom: 0.45rem;
}

.legal li::marker {
  color: var(--rose);
}

.legal a {
  color: var(--venice);
  text-decoration-color: rgba(17, 106, 123, 0.35);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal .meta {
  font-family: var(--font-hand);
  font-size: 1.45rem;
  color: var(--salmon);
}

.legal .credit {
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-top: 2.5rem;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(var(--r, 0deg));
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(-8px) rotate(calc(var(--r, 0deg) * -0.4));
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .story,
  .notebook {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 440px;
  }

  .story.flip .polaroid-wrap {
    order: 0;
  }

  .story-copy h2 {
    max-width: none;
  }

  .nav-links .hide-sm {
    display: none;
  }

  .page {
    transform: none;
  }
}

@media (max-width: 560px) {
  .sticker {
    font-size: 0.8rem;
    padding: 7px 11px 7px 9px;
    gap: 7px;
  }

  .sticker small {
    font-size: 0.68rem;
  }

  .sticker img {
    width: 32px;
    height: 28px;
  }

  .sticker-streak .flame {
    font-size: 1.25rem;
  }

  .sticker-mood {
    left: -1%;
    top: 3%;
  }

  .sticker-streak {
    right: -2%;
  }

  .sticker-quote {
    display: none;
  }

  .sticker-water {
    right: 0;
  }

  .store-buttons {
    width: 100%;
  }

  .store-btn {
    flex: 1 1 200px;
    justify-content: center;
  }

  .margin-note {
    font-size: 1.3rem;
  }

  .snippet {
    width: calc(50% - 10px);
  }

  .mood-row {
    max-width: 320px;
    margin-inline: auto;
  }

  .mood-btn {
    flex: 0 0 30%;
  }

  .page {
    padding: 24px 16px 24px 50px;
  }

  .page::before {
    left: 34px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
