/* The landing layout's own CSS, loaded before Tailwind (everything else on the landing pages is tw: classes).
   The layout skips application_sass: its global element rules, some !important, override the landing design. */

@font-face { font-family: "Fredoka"; src: url(//www.tuggs.uk/assets/Fredoka-Regular-07ca9fde49b8d6ceed0d32875a72af1e77737cd9089eaa20be416b33f829f446.ttf) format("truetype"); font-weight: 300 400; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url(//www.tuggs.uk/assets/Fredoka-Medium-28c8b99a54653e858ad03b2c80453a0708c2018c631c9153f61265c54b81b66b.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url(//www.tuggs.uk/assets/Fredoka-SemiBold-1a524735bf232264dc6a4f821ed7e3433bf53a6b3cffce1a4ef669ac6269fa37.ttf) format("truetype"); font-weight: 600 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Fredoka", sans-serif; }
.d-none { display: none !important; }

/* The page: a size container, so tw: values in cqi follow the page's width. */
.lp {
  container-type: inline-size;
  width: 100%; min-height: 400px;
  background: #fff; color: hsl(219 100% 14%);
  font-family: "Fredoka", system-ui, sans-serif; font-weight: 400; font-size: 18px; line-height: 1.6;
}
.lp a { color: inherit; }
.lp img { max-width: 100%; }
.lp h1, .lp h2, .lp h3, .lp h4 { text-wrap: balance; }
.lp p, .lp li { text-wrap: pretty; }
.lp :focus-visible { outline: 3px solid hsl(219 100% 14%); outline-offset: 3px; border-radius: 4px; }
.lp .on-dark :focus-visible { outline-color: hsl(43 100% 60%); }
.on-dark { color: #fff; }

/* Shared landing helpers, used across the templates (see app/views/landing_pages/CLAUDE.md). */
.lp-run { position: relative; } /* the stretch the sticky trial bar shows in */
.lp-wave { position: absolute; left: 0; top: -31px; z-index: 2; display: block; width: 100%; height: 32px; pointer-events: none; }
.lp-swash {
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 15c40-6 92-10 150-9 52 1 98 5 142 1' stroke='%23FFC533' stroke-width='9' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") left 92% / 100% .34em no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .lp-rv { animation: lprv linear forwards; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .lp-swash { animation: lpdraw linear forwards; animation-timeline: view(); animation-range: entry 40% cover 40%; }
  }
}
@keyframes lprv { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lpdraw { from { background-size: 0% .34em; } to { background-size: 100% .34em; } }

/* Breed hub: a letter with no live breeds disappears. */
.lp .lp-blist-group:not(:has(a)) { display: none; }

/* shared/_cookie_banner */
.cookies {
  position: fixed; bottom: 20px; left: 20px; z-index: 10002;
  width: min(400px, calc(100vw - 40px)); padding: 20px;
  background: #fff; color: hsl(219 100% 14%);
  border: 2px solid hsl(0 17% 86%); border-radius: 8px;
  box-shadow: 5px 5px 10px 0 rgba(20, 36, 66, 0.05);
  text-align: center;
}
.cookies p { margin: 0 0 8px; }
.cookies a { color: inherit; }
.cookies .button-wrapper { display: flex; justify-content: center; gap: 16px; margin-top: 12px; }
.cookies .pill { padding: 8px 16px; border-radius: 4px; text-decoration: none; color: #fff; background: hsl(219 100% 14%); }
.cookies .pill.secondary { color: hsl(219 100% 14%); background: hsl(0 17% 86%); }

.lp-draft-banner {
  padding: 8px 16px; text-align: center;
  background: hsl(43 100% 60%); color: hsl(219 100% 14%); font-weight: 600;
}
