/* Diddits site. Palette and type from docs/BRANDING.md in the app repo. */
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url("/assets/fonts/baloo-2-700.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url("/assets/fonts/baloo-2-800.woff2") format("woff2"); }
:root {
  --night: #2b2d5b; --sun: #ffd54a; --sunrise: #ff9f43; --twilight: #b79cf2;
  --check: #3cc48a; --cream: #fff8ec; --card: #ffffff; --sub: #4c4e7a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--night); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--night); text-decoration-color: var(--sunrise); text-underline-offset: 3px; }
h1, h2, h3, .display { font-family: "Baloo 2", system-ui, sans-serif; font-weight: 800; line-height: 1.1; margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { padding: 18px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.top img { height: 62px; width: auto; display: block; }
/* The lockup: the wordmark with the tagline under it (Mark, 2026-11-06) */
header.top .brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--night); }
header.top .brand span { font: 700 18px/1 "Baloo 2", system-ui, sans-serif; margin-top: 4px; white-space: nowrap; }
header.top nav a { margin-left: 18px; font-weight: 600; text-decoration: none; }
.hero { background: linear-gradient(180deg, #ffd54a 0%, #ffc15a 55%, #ff9f43 100%); padding: 48px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: end; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); }
.hero p.sub { font-size: 20px; margin: 14px 0 22px; max-width: 34em; }
.badge { display: inline-block; background: var(--night); color: var(--cream); border-radius: 999px; padding: 10px 18px; font-weight: 700; }
.hero p.get { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 28px -16px; }
.hero .store img { display: block; height: 72px; width: auto; }
.hero .soon { font-weight: 600; opacity: .8; }
.hero .pets { display: flex; align-items: flex-end; justify-content: center; }
.hero .pets img { height: 240px; width: auto; margin: 0 -18px; filter: drop-shadow(0 6px 0 rgba(43,45,91,.18)); }
.hero .pets img.small { height: 180px; }
section { padding: 56px 0; }
section h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 10px; }
section p.lead { font-size: 19px; color: var(--sub); max-width: 40em; margin: 0 0 28px; }
.screens { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; }
.screens img { width: 220px; height: auto; border-radius: 22px; box-shadow: 0 6px 0 rgba(43,45,91,.15); scroll-snap-align: start; flex: none; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: 0 4px 0 rgba(43,45,91,.08); }
.card h3 { font-size: 22px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--sub); }
.note { background: var(--night); color: var(--cream); }
.note h2 { color: var(--sun); }
.note p.lead { color: #e6e3f7; }
footer { padding: 32px 0 48px; color: var(--sub); font-size: 15px; }
footer a { margin-right: 14px; }
/* Plain text pages: support, privacy, delete-account */
main.page { max-width: 760px; margin: 0 auto; padding: 8px 20px 40px; }
main.page h1 { font-size: 40px; margin: 10px 0 6px; }
main.page .lede { color: var(--sub); margin: 0 0 22px; font-size: 19px; }
main.page article { background: var(--card); border-radius: 22px; padding: 10px 24px 20px; }
main.page h3 { font-size: 21px; margin: 22px 0 6px; }
main.page li { margin: 4px 0; color: var(--sub); }
main.page p { margin: 6px 0; }
.updated { color: var(--sub); font-size: 15px; margin-top: 18px; }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .pets img { height: 170px; } .hero .pets img.small { height: 130px; }
  .grid { grid-template-columns: 1fr; }
  header.top nav a { margin-left: 12px; font-size: 15px; }
}
footer p a { margin-right: 0; }
/* Support page section headings; the redeem page's sign-in, field and button */
main.page article h2 { font-size: 26px; margin: 26px 0 4px; }
.nojs { color: var(--sub); }
.redeem { margin: 18px 0 8px; max-width: 420px; }
.redeem-providers, .redeem-row { display: flex; flex-direction: column; gap: 10px; }
.btn { display: block; width: 100%; min-height: 50px; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--night); color: var(--cream); font: 700 18px/1.2 "Baloo 2", system-ui, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: default; }
.btn.ghost { background: transparent; color: var(--night); box-shadow: inset 0 0 0 2px var(--night); }
.btn:focus-visible, .redeem input:focus-visible, .linkish:focus-visible { outline: 3px solid var(--sunrise); outline-offset: 2px; }
.redeem label { display: block; font-weight: 700; margin: 14px 0 6px; }
.redeem input { display: block; width: 100%; min-height: 52px; padding: 10px 14px; margin-bottom: 12px; border: 2px solid var(--night); border-radius: 14px; background: var(--card); color: var(--night); font: 700 22px/1.2 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.redeem-who { color: var(--sub); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--night); text-decoration: underline; text-decoration-color: var(--sunrise); text-underline-offset: 3px; cursor: pointer; }
.redeem-result { margin: 18px 0 8px; max-width: 420px; }
.redeem-result p { font-weight: 700; margin-bottom: 12px; }
.redeem-result.ok p { color: #1f7a52; }
.redeem-links { margin-top: 14px; }
[hidden] { display: none !important; }
.redeem-who { margin-top: 18px; }
.redeem-note { font-weight: 700; color: var(--night); background: #fff3c4; border-radius: 12px; padding: 10px 14px; }
