/* Doughy — btngroup.eu/doughy. Same palette, type and stickers as the app. */
:root {
  --tomato: #E5402F; --cobalt: #2E5CF0; --basil: #159A57; --mustard: #F29B0C; --night: #22346A;
  --ink: #2A1A10; --cream: #FFF4E2; --paper: #FFFBF3; --dough: #F6D8A8; --muted: #6B5444;
  --display: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --bg: var(--tomato);
  --w: min(225vw, 1500px, 128vh);   /* Doughy image width; the ball is 58% of it */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--display); font-weight: 600; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.45;
}
/* Film grain over everything, like the app */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .3; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--cream); padding: 8px 14px; border-radius: 99px; border: 3px solid var(--ink); }
.skip:focus { left: 8px; }

/* ---------- Poster: title, huge Doughy, sticker card ---------- */
.poster { position: relative; overflow: hidden; background: var(--bg); isolation: isolate; padding-bottom: 28px; }
.poster::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(130% 60% at 50% 0%, rgba(255,255,255,.24), transparent 70%);
}
.bar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1120px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.brand span { font: 800 13px/1 var(--mono); letter-spacing: .08em; color: var(--cream); }
.round { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--cream);
  border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); text-decoration: none; font-size: 20px; font-weight: 900; }
.links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 99px; background: #fff;
  border: 3px solid var(--ink); font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }
.chip[aria-current="page"] { background: var(--ink); color: var(--cream); }
.step { font: 800 13px/1 var(--mono); color: var(--cream); letter-spacing: .06em; }

.title { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 26px 18px 0; }
.title h1 {
  font: 900 clamp(54px, 17vw, 150px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.02em;
  color: var(--cream); text-shadow: .045em .045em 0 var(--ink); overflow-wrap: anywhere;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--cream); border: 2.5px solid var(--ink);
  font-weight: 800; font-size: 14px; }

/* Doughy: one ball, huge, only ever cropped by the screen edges. Face stays above the card. */
.stage { position: relative; z-index: 1; height: calc(var(--w) * .45); pointer-events: none; }
.stage img { position: absolute; left: 50%; top: calc(var(--w) * -.24); width: var(--w); max-width: none; transform: translateX(-50%);
  animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -1.2%); } }
@media (prefers-reduced-motion: reduce) { .stage img { animation: none; } }

.card { position: relative; z-index: 2; width: calc(100% - 28px); max-width: 780px; margin: 0 auto; background: var(--cream);
  border: 3px solid var(--ink); border-radius: 30px; box-shadow: 6px 6px 0 var(--ink); padding: 22px; }
.card.wide { max-width: 1060px; }
.eyebrow { font: 800 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(17px, 2.2vw, 21px); font-weight: 600; margin-top: 8px; }

.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 60px; padding: 0 22px;
  border-radius: 99px; background: var(--ink); color: var(--cream); font: 900 18px/1 var(--display); letter-spacing: .02em;
  text-transform: uppercase; text-decoration: none; border: 0; }
.btn svg { width: 20px; height: 20px; }
.btn.soon { background: transparent; color: var(--ink); border: 3px solid var(--ink); }
.btn-row { display: grid; gap: 10px; margin-top: 18px; }
.note { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.tile { background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 3px 3px 0 var(--ink);
  padding: 12px 6px; text-align: center; }
.tile:last-child { background: var(--dough); }
.tile b { display: block; font: 900 clamp(24px, 6vw, 34px)/1.05 var(--display); }
.tile span { font-size: 13px; font-weight: 700; }

/* ---------- Feature bands ---------- */
.band { position: relative; background: var(--c, var(--cobalt)); padding: clamp(56px, 9vw, 110px) 0; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 30% 0%, rgba(255,255,255,.2), transparent 70%); }
.band .in { max-width: 1060px; margin: 0 auto; padding: 0 18px; display: grid; gap: 34px; align-items: center; grid-template-columns: 1fr; }
.band h2 { font: 900 clamp(44px, 11vw, 96px)/.92 var(--display); text-transform: uppercase; color: var(--cream);
  text-shadow: .045em .045em 0 var(--ink); letter-spacing: -.02em; }
.band .card { width: 100%; margin: 22px 0 0; }
.band ul { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.band li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; }
.band li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--cobalt)); border: 2.5px solid var(--ink); transform: translateY(1px); }
.phone { justify-self: center; width: min(310px, 74vw); border-radius: 46px; border: 5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; background: var(--ink); }
.phone img { width: 100%; }
@media (min-width: 860px) {
  .band .in { grid-template-columns: 1.1fr .9fr; gap: 60px; }
  .band.flip .in > .phone { order: -1; }
}

/* ---------- Legal and support prose ---------- */
.prose { max-width: 66ch; }
.prose h2 { font: 900 24px/1.15 var(--display); margin: 30px 0 8px; }
.prose h2:first-child { margin-top: 6px; }
.prose h3 { font: 800 18px/1.2 var(--display); margin: 20px 0 6px; }
.prose p, .prose li { font-size: 17px; font-weight: 500; }
.prose p + p { margin-top: 10px; }
.prose ul { margin: 8px 0 0 1.1em; display: grid; gap: 6px; }
.prose strong { font-weight: 800; }
.prose a { font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.updated { margin-bottom: 14px; }
.callout { margin-top: 14px; padding: 14px 16px; background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 3px 3px 0 var(--ink); }
.callout p { font-weight: 700; }

.faq { display: grid; gap: 10px; margin-top: 16px; }
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 3px 3px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 50px 15px 16px; position: relative; font: 800 17px/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--cream); font: 900 18px/1 var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 16px 16px; }
.faq .a p { font-size: 16px; font-weight: 500; }
.faq .a p + p { margin-top: 8px; }
.mail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 16px;
  background: var(--ink); color: var(--cream); border-radius: 22px; }
.mail b { font: 900 20px/1.1 var(--display); }
.mail a { color: var(--ink); background: var(--cream); padding: 10px 16px; border-radius: 99px; text-decoration: none; font-weight: 900; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--cream); padding: 34px 18px calc(34px + env(safe-area-inset-bottom)); }
.foot .in { max-width: 1060px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { text-decoration: none; font-weight: 800; }
.foot a:hover { text-decoration: underline; }
.foot small { font: 700 12px/1.4 var(--mono); opacity: .75; letter-spacing: .04em; }

a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; border-radius: 14px; }

@media (max-width: 560px) {
  .links .chip.opt { display: none; }
  .tiles { gap: 6px; }
  .tile { border-radius: 16px; padding: 10px 2px; }
  .tile span { font-size: 12px; }
}
@media (min-width: 860px) {
  .title { padding-top: 34px; }
  .card { padding: 30px; }
}
