/* OutChew: a dog-park palette. Tennis-ball chartreuse, leash navy, plush pink.
   System fonts only (no third-party font requests). */
:root {
  --ball: #d4ec4a;      /* tennis ball */
  --ball-deep: #b9d22f;
  --leash: #1e2a52;     /* outlines and text */
  --plush: #ff86a8;     /* the toy that didn't make it */
  --paper: #fffef8;
  --fluff: #ffffff;
  --muted: #4a5478;
  --ok: #1f7a43;
  --err: #b3261e;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-fun: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Varela Round", "Nunito", "Trebuchet MS", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--leash); font-family: var(--font); line-height: 1.6; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--leash); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--plush); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--fluff); padding: 8px 12px; border-radius: 8px; z-index: 10; }
h1, h2, h3, .brand, .nametag, button, .tag, .offer { font-family: var(--font-fun); }

/* header sits on the ball-yellow band */
header.site { background: var(--ball); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 24px; color: var(--leash); text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
header.site nav a { color: var(--leash); text-decoration: none; margin-left: 18px; font-weight: 700; font-size: 15px; }
header.site nav a:hover { text-decoration: underline; }

/* hero band, with a bite taken out of its bottom edge */
.band { position: relative; background: var(--ball); padding-bottom: 56px; }
.band::after {
  content: ""; position: absolute; right: 9%; bottom: -1px; width: 196px; height: 44px;
  background:
    radial-gradient(circle at 30px 44px, var(--paper) 33px, transparent 34px),
    radial-gradient(circle at 98px 44px, var(--paper) 40px, transparent 41px),
    radial-gradient(circle at 166px 44px, var(--paper) 33px, transparent 34px);
}
.hero { display: grid; gap: 24px; align-items: center; padding-top: 16px; }
.tag { display: inline-block; margin: 0; padding: 4px 14px; background: var(--fluff); border: 3px solid var(--leash); border-radius: 999px; font-weight: 800; font-size: 14px; transform: rotate(-2deg); }
h1 { font-size: clamp(48px, 12vw, 96px); line-height: .95; font-weight: 900; margin: 18px 0 18px; letter-spacing: -2px; }
.lede { font-size: clamp(17px, 2.3vw, 20px); max-width: 34em; margin: 0 0 18px; }
.offer { display: inline-block; margin: 0 0 18px; padding: 8px 16px; background: var(--plush); border: 3px solid var(--leash); border-radius: 14px; font-weight: 800; font-size: 17px; box-shadow: 4px 4px 0 var(--leash); transform: rotate(1deg); }
.offer strong { font-weight: 900; }

form.signup { display: grid; gap: 10px; max-width: 30em; }
form.signup label.small { font-size: 14px; font-weight: 700; }
form.signup input[type=email], form.signup select {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 3px solid var(--leash);
  background: var(--fluff); color: var(--leash); font-size: 16px; font-family: inherit;
}
form.signup button {
  padding: 14px 22px; border-radius: 14px; border: 3px solid var(--leash); background: var(--leash); color: var(--ball);
  font-weight: 900; font-size: 19px; cursor: pointer; box-shadow: 4px 4px 0 var(--plush);
}
form.signup button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--plush); }
form.signup button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--plush); }
form.signup button:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; max-width: 34em; }
.msg { margin-top: 2px; font-size: 15px; min-height: 1.4em; font-weight: 700; }
.msg.ok { color: var(--ok); } .msg.err { color: var(--err); }

.hero > *, .split > *, .pups > * { min-width: 0; }
.hero-art { position: relative; max-width: 520px; width: 100%; margin: 0 auto; }

/* dog-tag name labels for the mascots */
.nametag { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 4px 0 0 12px; padding: 6px 16px 8px 30px; position: relative;
  background: var(--fluff); border: 3px solid var(--leash); border-radius: 999px; font-weight: 900; font-size: 20px; line-height: 1.2; transform: rotate(-3deg); }
.nametag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border: 3px solid var(--leash); border-radius: 50%; background: var(--ball); }
.nametag span { font-family: var(--font); font-weight: 600; font-size: 13px; color: var(--muted); }

/* sections */
section { padding: 56px 0; }
h2 { font-size: clamp(30px, 6vw, 46px); line-height: 1.05; font-weight: 900; margin: 0 0 10px; letter-spacing: -1px; }
.sub { margin: 0 0 28px; font-size: 18px; color: var(--muted); max-width: 36em; }

.pups { display: grid; gap: 32px; }
.pups figure { max-width: 420px; }

.tuck { background: var(--fluff); border-top: 3px dashed var(--leash); border-bottom: 3px dashed var(--leash); }
.split { display: grid; gap: 28px; align-items: center; }
.split p { max-width: 36em; font-size: 17px; }
.tuck-art { max-width: 440px; }
.tuck-art figcaption { font-size: 14px; color: var(--muted); margin-top: 4px; }
.status { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.status .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--ball); border: 3px solid var(--leash); }

.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 40px; }
.perks li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.perks svg { width: 44px; height: 44px; }
.perks h3 { margin: 0 0 4px; font-size: 21px; font-weight: 900; }
.perks p { margin: 0; color: var(--muted); }
.notice { display: inline-block; margin: 28px 0 0; padding: 8px 14px; background: var(--ball); border: 3px solid var(--leash); border-radius: 12px; font-weight: 800; }

/* FAQ on leash navy */
.faq { background: var(--leash); color: var(--fluff); }
.faq h2 { color: var(--ball); }
.faq details { border-bottom: 2px dashed rgba(255,255,255,.3); padding: 14px 0; max-width: 48em; }
.faq summary { cursor: pointer; font-family: var(--font-fun); font-weight: 800; font-size: 20px; list-style: none; display: flex; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ball); box-shadow: inset 3px 0 0 -1px var(--leash); transition: transform .2s; }
.faq details[open] summary::before { transform: rotate(180deg); }
.faq details p { margin: 10px 0 0 30px; color: #dfe4f5; }
.faq a { color: var(--ball); }
.faq .notice { color: var(--leash); border-color: var(--ball); }

footer.site { padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site a { color: var(--muted); margin-left: 14px; }

/* simple pages: confirmed, privacy, 404 */
.prose { max-width: 720px; padding: 48px 16px 64px; }
.prose h1 { font-size: clamp(36px, 8vw, 56px); }
.prose h2 { font-size: 24px; margin-top: 28px; letter-spacing: 0; }
.prose p, .prose li { color: var(--muted); }
.prose button { padding: 12px 20px; border-radius: 14px; border: 3px solid var(--leash); background: var(--leash); color: var(--ball); font-weight: 900; font-size: 16px; cursor: pointer; }

@media (min-width: 760px) {
  .wrap { padding: 0 28px; }
  .hero { grid-template-columns: 1.1fr 1fr; padding-top: 24px; }
  .pups { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1.1fr 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  section { padding: 72px 0; }
}

/* ---------- Shredrick's Wall (homepage teaser + wall.html) ---------- */
.btn { display: inline-block; padding: 13px 22px; border-radius: 14px; border: 3px solid var(--leash); background: var(--leash); color: var(--ball);
  font-family: var(--font-fun); font-weight: 900; font-size: 18px; line-height: 1.2; text-decoration: none; box-shadow: 4px 4px 0 var(--plush); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--plush); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--plush); }

/* Shredrick talking: a speech-bubble sticker */
.bubble { position: relative; max-width: 40em; margin: 0 0 28px; padding: 16px 20px 6px; background: var(--fluff);
  border: 3px solid var(--leash); border-radius: 22px; box-shadow: 6px 6px 0 var(--plush); }
.bubble p { margin: 0 0 12px; font-size: 17px; }
.bubble::after { content: ""; position: absolute; left: 34px; bottom: -17px; width: 26px; height: 26px; background: var(--fluff);
  border-right: 3px solid var(--leash); border-bottom: 3px solid var(--leash); transform: skewY(40deg) rotate(10deg); }
.bubble-by { font-family: var(--font-fun); font-weight: 900; text-align: right; }
.bubble-by::before { content: "\2014\00a0"; }

.wall-teaser { padding-top: 8px; }
.wall-cta { margin: 24px 0 0; }

.wall-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.wall-card figure { height: 100%; display: flex; flex-direction: column; background: var(--fluff); border: 3px solid var(--leash);
  border-radius: 18px; overflow: hidden; box-shadow: 4px 4px 0 var(--leash); }
.wall-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; border-bottom: 3px solid var(--leash); background: var(--paper); }
.wall-link { display: grid; place-items: center; gap: 10px; aspect-ratio: 4 / 5; padding: 16px; background: var(--ball);
  border-bottom: 3px solid var(--leash); color: var(--leash); text-decoration: none; text-align: center; }
.wall-link svg { width: 72px; height: 72px; }
.wall-link:hover svg { transform: scale(1.06); }
.wall-host { font-family: var(--font-fun); font-weight: 800; font-size: 16px; overflow-wrap: anywhere; }
.wall-card figcaption { padding: 12px 16px 14px; display: grid; gap: 2px; }
.wall-name { font-family: var(--font-fun); font-size: 20px; font-weight: 900; }
.wall-caption { color: var(--muted); }

.wall-empty { display: grid; justify-items: center; gap: 4px; max-width: 34em; margin: 8px auto 0; padding: 24px 18px 28px; text-align: center;
  background: var(--fluff); border: 3px dashed var(--leash); border-radius: 22px; }
.wall-empty svg { width: 200px; }
.wall-empty h3 { margin: 6px 0 0; font-size: 24px; font-weight: 900; }
.wall-empty p { margin: 0 0 12px; color: var(--muted); }
[hidden] { display: none !important; }

/* wall.html */
.wall-hero h1 { font-size: clamp(40px, 9vw, 72px); }
.wall-hero .bubble { margin-top: 4px; }
.wall-hero .fine { margin-top: 18px; }
.wall-gallery { padding-top: 40px; }
.wall-share { background: var(--fluff); border-top: 3px dashed var(--leash); border-bottom: 3px dashed var(--leash); }
.wall-share .split { align-items: start; }
form.share { display: grid; gap: 8px; max-width: 32em; }
form.share label { font-weight: 800; font-size: 15px; margin-top: 6px; }
form.share label span { font-weight: 600; color: var(--muted); }
form.share input[type=url], form.share input[type=text], form.share input[type=email], form.share textarea {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 3px solid var(--leash); background: var(--fluff);
  color: var(--leash); font-size: 16px; font-family: inherit; }
form.share textarea { resize: vertical; }
form.share textarea:focus-visible { outline: 3px solid var(--plush); outline-offset: 2px; }
form.share .hint { margin: 0; font-size: 13px; color: var(--muted); }
form.share label.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-weight: 600; font-size: 15px; margin-top: 10px; }
form.share label.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--leash); }
form.share label.check input:focus-visible { outline: 3px solid var(--plush); outline-offset: 2px; }
form.share button { margin-top: 12px; padding: 14px 22px; border-radius: 14px; border: 3px solid var(--leash); background: var(--leash);
  color: var(--ball); font-weight: 900; font-size: 19px; cursor: pointer; box-shadow: 4px 4px 0 var(--plush); }
form.share button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--plush); }
form.share button:disabled { opacity: .6; cursor: wait; }
.or-email { padding: 18px 20px; background: var(--paper); border: 3px solid var(--leash); border-radius: 18px; transform: rotate(-1deg); }
.or-email h3 { margin: 0 0 6px; font-size: 22px; font-weight: 900; }
.or-email p { margin: 0 0 10px; }
.or-email a { font-weight: 800; overflow-wrap: anywhere; }
.or-email .notice { margin-top: 6px; font-size: 15px; }
.terms ul { max-width: 46em; padding-left: 22px; }
.terms li { margin: 0 0 10px; }
.terms li::marker { color: var(--plush); }
.disclose { font-weight: 800; }

/* the private status link, shown once after sharing */
.keep-link { margin-top: 14px; padding: 16px 18px; background: var(--ball); border: 3px solid var(--leash); border-radius: 18px;
  box-shadow: 4px 4px 0 var(--leash); }
.keep-link h3 { margin: 0 0 4px; font-size: 21px; font-weight: 900; }
.keep-link p { margin: 0 0 10px; font-size: 15px; }
.keep-link .row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.keep-link input { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 3px solid var(--leash);
  background: var(--fluff); color: var(--leash); font: 600 14px/1.2 ui-monospace, Consolas, monospace; }
.keep-link button, .code-box button { padding: 10px 14px; border-radius: 12px; border: 3px solid var(--leash); background: var(--leash);
  color: var(--ball); font-weight: 900; cursor: pointer; }

/* wall/status.html */
.status-card { max-width: 40em; margin: 8px 0 28px; padding: 18px 22px 8px; background: var(--fluff); border: 3px solid var(--leash);
  border-radius: 22px; box-shadow: 6px 6px 0 var(--plush); }
.status-card h2 { margin: 0 0 8px; font-size: clamp(26px, 5vw, 34px); }
.status-card p { margin: 0 0 12px; }
.status-card a { font-weight: 800; }
.code-box { display: grid; gap: 8px; margin: 14px 0 16px; padding: 14px 16px; background: var(--ball); border: 3px dashed var(--leash);
  border-radius: 16px; }
.code-box .code { font: 900 clamp(22px, 6vw, 30px)/1.1 ui-monospace, Consolas, monospace; letter-spacing: .04em; overflow-wrap: anywhere; }
.code-box .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.status-media { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.status-media li { background: var(--fluff); border: 3px solid var(--leash); border-radius: 16px; overflow: hidden; }
.status-media img, .status-media video { display: block; width: 100%; max-height: 360px; object-fit: contain; background: var(--paper); }
.status-media .wall-link { aspect-ratio: auto; min-height: 140px; border-bottom: 0; }

@media (max-width: 520px) {
  header.site nav a.nav-extra { display: none; }
  header.site nav a { margin-left: 12px; }
}

/* the one moment of motion: airborne stuffing drifts */
@media (prefers-reduced-motion: no-preference) {
  .hero-dog .air { animation: drift 3.2s ease-in-out infinite; }
  .hero-dog .air + .air { animation-delay: -1.6s; }
  @keyframes drift { 50% { transform: translateY(-8px); } }
}
