/* Paw Hunt website. Colours match marketing/facebook/src/brand.css and the app's PawHuntStyles.uss. */
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-regular.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-bold.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-extrabold.woff2") format("woff2"); }

:root {
  --ink: rgb(15, 17, 28);
  --surface: rgb(27, 31, 48);
  --surface-2: rgb(38, 43, 66);
  --line: rgba(255, 255, 255, 0.08);
  --text: rgb(246, 242, 234);
  --muted: rgb(178, 182, 204);
  --honey: rgb(255, 184, 76);
  --honey-deep: rgb(237, 153, 51);
  --mint: rgb(108, 222, 180);
  --stop: rgb(214, 38, 46);
  --radius: 18px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: break-word;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--honey); text-underline-offset: 0.18em; }
a:hover { color: #ffd08a; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--honey); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 800; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 28, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.3rem; white-space: nowrap; }
.brand img { width: 32px; height: auto; }
.brand:hover { color: var(--text); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 10px; }
.site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current="page"] { color: var(--text); background: var(--surface); }
.site-nav .btn { margin-left: 8px; }
@media (max-width: 860px) {
  .site-nav .nav-optional { display: none; }
}
@media (max-width: 520px) {
  .site-nav a:not(.btn) { display: none; }
  .brand { font-size: 1.15rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 14px;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; border: 0;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(180deg, var(--honey), var(--honey-deep)); color: var(--ink); box-shadow: 0 4px 0 rgba(140, 80, 10, 0.55); }
.btn-primary:hover { color: var(--ink); filter: brightness(1.06); }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { color: var(--text); background: rgb(50, 56, 84); }
.site-nav .btn { min-height: 40px; padding: 8px 16px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 184, 76, 0.14), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.eyebrow { color: var(--honey); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; margin-bottom: 0.6em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }
.lead strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.hero-note { margin-top: 1.2em; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

.video-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 1px var(--line), 0 0 70px 6px rgba(255, 214, 150, 0.12), 0 30px 60px rgba(0, 0, 0, 0.5);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 14px; border-radius: 12px; border: 0;
  background: rgba(15, 17, 28, 0.78); color: var(--text);
  font: inherit; font-weight: 800; font-size: 0.9rem; cursor: pointer;
}
.video-toggle:hover { background: rgba(15, 17, 28, 0.95); }
.video-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.video-caption { margin-top: 10px; font-size: 0.9rem; color: var(--muted); text-align: center; }

/* ---------- fact strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts li { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; text-align: center; }
.facts li span { color: var(--honey); }
@media (max-width: 760px) { .facts ul { grid-template-columns: repeat(2, 1fr); } .facts li { justify-content: flex-start; text-align: left; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(27, 31, 48, 0.55), rgba(27, 31, 48, 0)); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.kicker { display: inline-block; color: var(--mint); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; margin-bottom: 0.8em; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; margin-bottom: 14px;
  background: rgba(255, 184, 76, 0.16); color: var(--honey); font-weight: 800; font-size: 1.2rem;
}
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.game img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.game figcaption { padding: 18px 20px 22px; }
.game figcaption p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .games { grid-template-columns: 1fr; max-width: 560px; } }

.game-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.game-list li { background: var(--surface-2); border-radius: 999px; padding: 8px 16px; font-weight: 700; }
.styles-note { margin-top: 22px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .shot { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 24px 50px rgba(0, 0, 0, 0.45); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(108, 222, 180, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%236CDEB4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; }
.icon-stop { background: var(--stop); }
.icon-time { background: rgba(255, 184, 76, 0.18); color: var(--honey); }
.icon-calm { background: rgba(108, 222, 180, 0.16); color: var(--mint); }
@media (max-width: 860px) { .safety-grid { grid-template-columns: 1fr; } }

.notice {
  border-left: 4px solid var(--honey); background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; color: var(--muted);
}
.notice strong { color: var(--text); }

/* ---------- platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.platform h3 { display: flex; align-items: center; gap: 10px; }
.platform h3 svg { width: 24px; height: 24px; color: var(--honey); flex: none; }
.platform p { color: var(--muted); }
.platform .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .platforms { grid-template-columns: 1fr; } }
.get-note { margin-top: 24px; color: var(--muted); }

/* ---------- inner pages ---------- */
.page { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.page .wrap { max-width: 780px; }
.page h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 1.8em; }
.page h3 { margin-top: 1.4em; }
.page p, .page li { color: rgb(220, 219, 222); }
.page .updated { color: var(--muted); font-size: 0.95rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 800; list-style-position: outside; }
.faq summary::marker { color: var(--honey); }
.faq details > div { padding: 0 20px 6px; }
.faq details[open] summary { color: var(--honey); }

.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 16px 0 8px; }
.press-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.press-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--surface-2); }
.press-item .paw-preview { padding: 24px; }
.press-item.light .paw-preview { background: var(--honey); }
.press-item div { padding: 12px 14px 14px; font-size: 0.95rem; }
.press-item a { font-weight: 800; }
.press-item small { display: block; color: var(--muted); }
.fact-table { width: 100%; border-collapse: collapse; margin: 8px 0 1em; }
.fact-table th, .fact-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.fact-table th { color: var(--muted); font-weight: 700; width: 34%; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 36px 0 44px; font-size: 0.95rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { color: var(--text); text-decoration: none; font-weight: 700; }
.site-footer nav a:hover { color: var(--honey); }
.site-footer p { margin: 0.4em 0 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); font-size: 1.1rem; }
.footer-brand img { width: 26px; }

/* ---------- contact form ---------- */
.contact-form { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.field { margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 800; margin-bottom: 6px; }
.optional { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--ink); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px;
  padding: 11px 14px; min-height: 48px;
}
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgb(130, 134, 156); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid var(--mint); outline-offset: 1px; border-color: transparent; }
.contact-form :user-invalid { border-color: rgb(255, 120, 110); }
.hint { margin: 6px 0 0; font-size: 0.92rem; color: var(--muted); }
.form-note { font-size: 0.95rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
