/* Shared base for every Turbo Pudding site. A site's theme.css follows it and sets the tokens. */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/fredoka-latin.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/nunito-latin.woff2) format('woff2'); }

:root {
  --head: 'Fredoka', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.6 var(--body); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; margin: 0.2em 0 0.3em; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin: 0 0 0.45em; }
h3 { font-size: 22px; line-height: 1.2; margin: 0.9em 0 0.3em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 18px 20px; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 26px/1 var(--head); text-decoration: none; color: var(--brand, var(--ink)); }
.brand img { width: 34px; height: 34px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.95em 1.7em; border-radius: 999px; border: 0;
  font: 600 19px/1 var(--head); text-decoration: none; cursor: pointer; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 5px 0 var(--accent-shade), 0 12px 24px -10px var(--accent-shade); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--accent-shade), 0 16px 28px -10px var(--accent-shade); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--accent-shade); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 3px; }
.btn.small { padding: 0.62em 1.15em; font-size: 16px; box-shadow: 0 3px 0 var(--accent-shade); }
.btn.soon { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); cursor: default; }
.btn.soon:hover, .btn.soon:active { transform: none; box-shadow: inset 0 0 0 2px var(--line); }

/* hero */
.hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; max-width: 1120px; margin: 0 auto; padding: 12px 20px 72px; position: relative; min-height: min(88vh, 820px); }
.hero > * { min-width: 0; }
.eyebrow { display: inline-block; font: 600 14px/1 var(--head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--eyebrow, var(--muted)); }
.lead { font-size: clamp(18px, 1.9vw, 21px); color: var(--ink-2, var(--ink)); max-width: 32em; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.note { font-size: 15px; color: var(--muted); margin-top: 16px; }

/* screenshot frames */
.phone { justify-self: center; width: min(340px, 78vw); padding: 11px; border-radius: 48px; background: var(--frame, #0e0a24);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.06), 0 40px 80px -30px rgba(0,0,0,0.55); position: relative; }
.phone img { border-radius: 38px; width: 100%; }
.screen { padding: 8px; border-radius: 24px; background: var(--frame, #fff); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.35); }
.screen img { border-radius: 17px; width: 100%; }

/* sections */
.sec { padding: 84px 0; }
.sec.tight { padding: 56px 0; }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 36em; margin: 0 auto 40px; font-size: 19px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--card-shadow, 0 1px 0 rgba(0,0,0,0.04)); }
.card p { color: var(--muted); margin: 0; font-size: 17px; }
.card h3 { margin-top: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 28px 0 0; }
.pills li { padding: 10px 18px; border-radius: 999px; background: var(--card); font: 500 16px/1.2 var(--head); }

/* footer */
.foot { max-width: 1120px; margin: 0 auto; padding: 36px 20px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.tp { display: inline-flex; align-items: center; gap: 10px; font: 500 16px/1 var(--head); color: var(--ink); }
.tp img { width: 30px; height: 30px; transition: transform 0.3s; }
.tp:hover img { transform: rotate(-8deg) scale(1.08); }

/* text pages (privacy, support, 404) */
.page { max-width: 760px; margin: 0 auto; padding: 24px 20px 72px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); }
.page h2 { font-size: 24px; margin-top: 1.6em; }
.page p, .page li { color: var(--ink-2, var(--ink)); }
.page a { color: var(--link, var(--ink)); }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 40px; text-align: center; min-height: 0; padding-top: 4px; }
  .lead { margin-left: auto; margin-right: auto; }
  .ctas { justify-content: center; }
  .grid3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .sec { padding: 60px 0; }
  .foot { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Dilly Delivers: a candy-pink morning in Pudding Town. The palette comes from the game (duck-game/web/style.css). */
:root {
  color-scheme: light;
  --bg: #fff8fb; --ink: #4a2f5a; --ink-2: #553868; --muted: #8a6f99; --line: #f3d3df;
  --card: #ffffff; --accent: #ffd166; --accent-ink: #4a2f5a; --accent-shade: #e0a43a;
  --eyebrow: #e06a8c; --brand: #4a2f5a; --frame: #ffffff; --link: #d4557a; --focus: #ff8fab;
  --card-shadow: 0 2px 0 #f3d3df, 0 18px 40px -26px rgba(74, 47, 90, 0.35);
}
body { background:
  radial-gradient(300px 300px at 90% 8%, rgba(255, 209, 102, 0.5), transparent 70%),
  radial-gradient(420px 320px at 4% 30%, rgba(143, 211, 255, 0.28), transparent 70%),
  linear-gradient(180deg, #ffe9f2 0px, #fff1f6 560px, #fff8fb 1000px, #fff8fb 100%); }
.brand img { border-radius: 50%; }
h1 em { font-style: normal; color: #e06a8c; background: linear-gradient(transparent 62%, rgba(255, 209, 102, 0.7) 62%, rgba(255, 209, 102, 0.7) 92%, transparent 92%); padding: 0 0.06em; }
.hero { grid-template-columns: 0.95fr 1.05fr; }
.tilt { transform: rotate(-1.5deg); transition: transform 0.4s; box-shadow: 0 30px 70px -28px rgba(74, 47, 90, 0.45); }
.tilt:hover { transform: rotate(0deg) scale(1.02); }
.hero::after { content: ''; position: absolute; left: 50%; bottom: -1px; width: 100vw; height: 64px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(22% 54px at 8% 100%, #ffd3e2 98%, transparent), radial-gradient(28% 64px at 34% 100%, #ffc2d6 98%, transparent),
    radial-gradient(26% 52px at 62% 100%, #ffd3e2 98%, transparent), radial-gradient(30% 64px at 90% 100%, #ffc2d6 98%, transparent); }
.grid3 .card { padding: 14px 14px 24px; }
.grid3 .card h3, .grid3 .card p { padding: 0 8px; }
.grid3 .screen { padding: 0; box-shadow: none; }
.grid3 .screen img { border-radius: 16px; }
.pills li { background: #fff0c7; color: #6b4a1e; }
.final { background: linear-gradient(180deg, transparent, #ffe3ee); }
.final .note { margin-top: 18px; }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .tilt { transform: none; }
}
