:root {
  --yellow: #FFE14D; --ink: #14110F; --ink-soft: #3a3530; --cream: #FFF8E7;
  --red: #F2483C; --cobalt: #1D4ED8; --pink: #FF3D8B;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--yellow); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, p, dl, dd, ul { margin: 0; padding: 0; }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(16px, env(safe-area-inset-top)) 0 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.brand img { border-radius: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 500; font-size: .85rem; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9BE3AE; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; padding: 28px 0 56px; min-height: min(78vh, 760px); }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.02em; }
.scribble { position: relative; white-space: nowrap; z-index: 0; }
.scribble::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.1em; height: .3em; z-index: -1; background: var(--red);
  clip-path: polygon(0 55%, 8% 20%, 20% 60%, 35% 25%, 50% 62%, 66% 22%, 82% 58%, 100% 30%, 100% 75%, 84% 100%, 66% 62%, 50% 100%, 34% 66%, 20% 100%, 8% 66%, 0 90%); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 32em; margin-top: 20px; color: var(--ink-soft); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; text-decoration: none; background: #fff; border: 2.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn.primary { background: var(--ink); color: #fff; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.small { margin-top: 16px; font-size: .9rem; color: var(--ink-soft); }

.pic { position: relative; justify-self: center; width: min(480px, 100%); }
.dog { width: 100%; transform: rotate(3deg); filter: drop-shadow(0 18px 24px rgba(20, 17, 15, .22)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(1deg) translateY(-8px); } }
.bubble { position: absolute; z-index: 2; top: 2%; left: -4%; max-width: 15em; background: #fff; border: 2.5px solid var(--ink); border-radius: 22px 22px 22px 6px; padding: 12px 16px; font-family: var(--display); font-weight: 500; font-size: 1rem; line-height: 1.25; box-shadow: 0 4px 0 var(--ink); transform: rotate(-3deg); }

h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.01em; margin-bottom: 20px; }
.about, .next { padding: 24px 0 40px; }
.card { background: var(--cream); border: 2.5px solid var(--ink); border-radius: 28px; padding: 8px 28px; box-shadow: 0 6px 0 var(--ink); max-width: 640px; }
.card div { display: flex; gap: 16px; padding: 14px 0; border-bottom: 2px dashed rgba(20, 17, 15, .2); }
.card div:last-child { border-bottom: 0; }
.card dt { flex: 0 0 5.5em; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; padding-top: .3em; color: var(--ink-soft); }
.card dd { font-weight: 700; }

.three { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.three li { background: #fff; border: 2.5px solid var(--ink); border-radius: 24px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.three b { font-family: var(--display); font-size: 1.3rem; }
.three span { color: var(--ink-soft); }
.three li:nth-child(2) { background: var(--pink); color: #fff; }
.three li:nth-child(2) span { color: #fff; }
.three li:nth-child(3) { background: var(--cobalt); color: #fff; }
.three li:nth-child(3) span { color: #fff; }

.foot { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 max(32px, env(safe-area-inset-bottom)); font-size: .95rem; }
.paws { font-size: 1.4rem; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 12px; min-height: 0; }
  .pic { order: -1; width: min(340px, 82%); }
  .bubble { left: -6%; font-size: .9rem; }
  .three { grid-template-columns: 1fr; }
  .brand span { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .dog, .dot { animation: none; } .btn { transition: none; } }
