/* tatertotkidsclub.com — rebuilt from the WebStarts site (inventory: docs/inventory/INVENTORY.md). */
@font-face {
  font-family: "BoldenVan";
  src: url("fonts/boldenvan-WOFF.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Futura Cyrillic Demi";
  src: url("fonts/futuracyrillicdemi-WOFF2.woff2") format("woff2");
  font-display: swap;
}

:root {
  --sky: #d7f6f9;        /* page band colour on the live site */
  --orange: #f49519;     /* headline + icon orange */
  --brown: #36261c;      /* button */
  --ink: #000;
  --white: #fff;
  --display: "BoldenVan", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --futura: "Futura Cyrillic Demi", Futura, "Century Gothic", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--white); color: var(--ink); font-family: var(--body); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Header: white bar with the peeking TaterTot logo, top left (centred on phones). */
.site-header { background: var(--white); height: 144px; padding: 0 64px; display: flex; align-items: flex-end; }
.site-header a { display: block; width: 112px; }
.site-header img { width: 112px; height: 112px; object-fit: cover; object-position: top; }

/* Hero: the sky-and-hills backdrop used on every page. */
.hero {
  background: url("img/tt-web-bg.jpg") center / cover no-repeat;
  min-height: 756px;
  position: relative;
}

/* Home */
.home-hero { display: flex; justify-content: center; }
.home-cloud { position: relative; width: min(1012px, 96vw); margin-top: 0; margin-bottom: -130px; }
.home-cloud img { width: 100%; }


/* The TaterTot Kids Club headline, centred in the white of the cloud, below the characters. */
.home-cloud .title { position: absolute; left: 18%; right: 18%; top: 59%; text-align: center; color: var(--orange); }
.home-cloud h1 { font: 64px/1 var(--display); margin: 0; font-weight: normal; }
.home-cloud h2 { font: 32px/1.08 var(--futura); margin: 10px auto 0; font-weight: normal; text-wrap: balance; }  /* lines broken as in her original graphic */

.btn {
  display: inline-block; min-width: 320px; padding: 6px 36px 8px;
  background: var(--brown); color: var(--white); border-radius: 40px; border: 0;
  font: 30px/1.3 var(--display); text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.btn:hover, .btn:focus-visible { background: var(--orange); }

/* Adapt Instantly page */
body.white { background: var(--white); }
.ac-hero { display: flex; flex-direction: column; align-items: center; padding-top: 160px; }
.ac-badge { width: 312px; height: 312px; border-radius: 50%; overflow: hidden; border: 1px solid #333; background: var(--white); animation: pulse 1s ease-in-out 1; }
@keyframes pulse { 50% { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .ac-badge { animation: none; } }
.prompts { max-width: 980px; margin: -210px auto 0; padding: 0 16px 160px; position: relative; }
.prompt h4 { font: 27px/1.2 var(--display); margin: 32px 0 4px 4px; font-weight: normal; }
.prompt .card { background: #f8f8f8; padding: 16px; border-radius: 12px; border: 1px solid #e0e0e0; }
.prompt pre { font: 14px/1.5 ui-monospace, Menlo, monospace; white-space: pre-wrap; margin: 0 0 12px; color: #333; }
.prompt button { background: #000; color: #fff; border: 0; padding: 10px 16px; border-radius: 8px; font: 600 16px/1.2 system-ui, -apple-system, sans-serif; cursor: pointer; }

/* Footer: orange icon row (Instagram, Facebook, email, music). */
.site-footer { flex: 1; background: var(--white); padding: 16px 32px 96px; display: flex; gap: 18px; }
.site-footer a { color: var(--orange); display: block; width: 36px; height: 36px; }
.site-footer svg { width: 100%; height: 100%; }
.site-footer a:hover { color: var(--brown); }

/* Plain pages (404) */
.plain { background: var(--white); text-align: center; padding: 96px 16px 160px; }
.plain h1 { font: 60px/1 var(--display); color: var(--orange); margin: 0 0 16px; font-weight: normal; }
.plain p { font-size: 20px; margin: 0 0 32px; }

@media (max-width: 760px) {
  .site-header { height: 150px; padding: 0 16px; justify-content: center; }
  .site-header a, .site-header img { width: 118px; height: 118px; }
  .hero { min-height: 462px; }
  .home-cloud { margin-bottom: 0; width: 100%; }
  .home-cloud .title { left: 8%; right: 8%; top: 47%; }
  .home-cloud h1 { font-size: clamp(22px, 7.4vw, 40px); }
  .home-cloud h2 { font-size: clamp(11px, 3.4vw, 20px); margin-top: 3px; }
  .btn { min-width: 0; width: 100%; max-width: 300px; font-size: 26px; }
  .ac-hero { padding-top: 60px; }
  .ac-badge { width: 220px; height: 220px; }
  .prompts { margin-top: -160px; }
  .site-footer { justify-content: center; padding-bottom: 48px; }
}
