/* Furday marketing site — design tokens and shared styles.
   Motion ships "calm": every loop duration is multiplied by --spd. */

/* Baloo 2, self-hosted. Loading this from fonts.googleapis.com sent every
   visitor's IP to Google before they did anything — the site's only third-party
   request. Self-hosted it makes none, which is what the privacy page claims.
   One variable file (wght 400-800) covers all five weights the design uses.
   unicode-range is Google's own "latin" subset; the copy uses nothing outside it
   except "→" (U+2192), which falls back to a system glyph here exactly as it
   already did through Google. Re-download from the URL in site-v2-docs/README.md
   if it ever needs replacing. */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/baloo2-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F4F4F4;
  --ink: #352F31;
  --lime: #C1E458;
  --grass: #C5E468;
  --leaf: #75A431;
  --link: #5E8A1F;
  --shadow-green: #93B07A;
  --footer-ink: #2F3A12;
  --card: #FFFFFF;
  --soft: #E6E6E6;
  --light-shadow: #DADADA;
  --hover-green: #76A231;

  --pad-x: clamp(20px, 6vw, 96px);
  --nav-pad-x: clamp(20px, 5vw, 64px);

  /* calm = 1.6; still = paused (see prefers-reduced-motion below) */
  --spd: 1.6;
  --play: running;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Baloo 2', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--ink); }

img, svg { display: block; }
input, textarea, button { font-family: inherit; }

.page { min-height: 100vh; overflow-x: hidden; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- nav */

.nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 16px;
  padding: 22px var(--nav-pad-x);
  flex-wrap: wrap;
  font-size: 17px; font-weight: 600;
}
.nav--home { justify-content: flex-end; }
.nav--inner { justify-content: space-between; }

.nav-links { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); }
.nav-links a { color: var(--ink); }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.nav-brand img { width: 40px; height: 40px; border-radius: 10px; }

/* Scoped to .nav-links so it outranks `.nav-links a { color: var(--ink) }` —
   otherwise the label renders ink on ink and disappears. */
.nav-links .nav-cta {
  background: var(--ink); color: #fff;
  padding: 10px 20px; border-radius: 999px;
  transition: transform .2s, background .2s;
}
.nav-links .nav-cta:hover { transform: translateY(-2px); background: var(--hover-green); color: #fff; }

/* -------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: max(680px, min(88vh, 900px));
  background: var(--bg);
  overflow: hidden;
  display: flex; flex-direction: column;
}

.hero-copy {
  position: relative; z-index: 4;
  padding: 0 clamp(20px, 8vw, 120px);
  margin-top: -28px;
  max-width: 900px;
}
.hero-badge { margin-bottom: 28px; }
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.02; font-weight: 700;
  letter-spacing: -.015em; text-wrap: balance;
}
.hero-sub {
  margin: 20px 0 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35; font-weight: 500;
  max-width: 520px; text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.btn {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 18px;
  padding: 14px 26px; border-radius: 18px;
  color: var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.btn-lime { background: var(--lime); box-shadow: 0 6px 0 var(--shadow-green); }
.btn-lime:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--shadow-green); color: var(--ink); }
.btn-lime:active { transform: translateY(6px); box-shadow: 0 0 0 var(--shadow-green); }
.btn-white { background: #fff; box-shadow: 0 6px 0 var(--light-shadow); }
.btn-white:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--light-shadow); color: var(--ink); }
.btn-white:active { transform: translateY(6px); box-shadow: 0 0 0 var(--light-shadow); }

/* welcome arc */
.arc-wrap { display: inline-block; animation: badgeIn .7s cubic-bezier(.3,1.5,.5,1) both; }
.arc-spin {
  transform-origin: 50% 100%;
  animation: wobble calc(5s * var(--spd)) ease-in-out 2s infinite;
  animation-play-state: var(--play);
}
.arc-svg { width: min(300px, 68vw); overflow: visible; }
.arc-stroke { animation: drawArc 1.1s cubic-bezier(.6,0,.3,1) .2s both; }
.arc-svg text tspan { opacity: 0; animation: popLetter .3s forwards; }

/* sun */
.sun {
  position: absolute;
  right: clamp(40px, 12vw, 220px);
  top: clamp(110px, 15vh, 180px);
  width: clamp(64px, 7vw, 110px);
  aspect-ratio: 242/260;
  z-index: 1;
}
.sun-glow {
  position: absolute; inset: -45%; border-radius: 50%;
  background: radial-gradient(circle, rgba(250,201,93,.55) 0%, rgba(250,201,93,.18) 40%, rgba(250,201,93,0) 68%);
  animation: sunGlow calc(4s * var(--spd)) ease-in-out infinite;
  animation-play-state: var(--play);
}
.sun-pulse {
  position: absolute; inset: 0;
  animation: sunPulse calc(3s * var(--spd)) ease-in-out infinite;
  animation-play-state: var(--play);
}
.sun-pulse img {
  width: 100%; height: 100%;
  animation: spin calc(40s * var(--spd)) linear infinite;
  animation-play-state: var(--play);
}

/* leaves */
.leaves { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.leaf {
  position: absolute; left: 0;
  border-radius: 0 100% 0 100%;
  animation-name: leafDrift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: var(--play);
}

/* hills, paws, plants */
.scene { position: relative; flex: 1; min-height: 300px; margin-top: 40px; }
.hill { position: absolute; left: 0; width: 100%; bottom: 0; }
.hill--back { height: 300px; }
.hill--front { height: 190px; transform: scaleX(-1); }

.paws { position: absolute; left: 2%; right: 3%; bottom: 168px; height: 30px; pointer-events: none; }
.paw {
  position: absolute; opacity: 0;
  animation: pawStep calc(13s * var(--spd)) ease-out infinite;
  animation-play-state: var(--play);
}
.paw svg { transform: rotate(90deg); }

.plant {
  position: absolute;
  aspect-ratio: 108/161;
  transform-origin: 50% 100%;
  animation-name: sway;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-play-state: var(--play);
}
.plant img { width: 100%; height: auto; }
/* Back plants sit over the paw trail, so they must stay opaque —
   the paler look comes from a filter, never from opacity. */
.plant--back-1 { left: 14%; bottom: 150px; width: clamp(50px, 5vw, 72px);
  animation-duration: calc(3.6s * var(--spd)); filter: saturate(.75) brightness(1.12); }
.plant--back-2 { right: 30%; bottom: 170px; width: clamp(44px, 4vw, 60px);
  animation-duration: calc(4.3s * var(--spd)); animation-delay: -1.2s; filter: saturate(.7) brightness(1.16); }
.plant--front-1 { right: clamp(90px, 12vw, 230px); bottom: 70px; width: clamp(56px, 5.5vw, 80px);
  animation-duration: calc(3.1s * var(--spd)); animation-delay: -.6s; }
.plant--front-2 { left: 44%; bottom: 18px; width: clamp(40px, 3.5vw, 54px);
  animation-duration: calc(3.8s * var(--spd)); animation-delay: -2s; }

/* ---------------------------------------------------------- sections */

.section {
  padding: clamp(72px, 10vw, 128px) var(--pad-x) 40px;
  max-width: 1360px; margin: 0 auto;
  display: grid; gap: clamp(48px, 6vw, 96px);
}
.section--features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: center; }
.section--faq {
  padding: clamp(72px, 9vw, 120px) var(--pad-x) 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.section--contact {
  padding: clamp(72px, 9vw, 120px) var(--pad-x);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 6vw, 96px); align-items: start;
}

.pill {
  display: inline-block; background: var(--lime);
  border-radius: 18px; padding: 6px 22px 4px;
  box-shadow: 0 8px 0 var(--shadow-green);
  font-size: clamp(28px, 2.6vw, 36px); font-weight: 700;
}
.pill--small { font-size: clamp(20px, 2vw, 24px); }

.section h2 {
  margin: 32px 0 0;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05; font-weight: 700; text-wrap: balance;
}
.section--features h2 { max-width: 560px; }
.section-lead { margin: 18px 0 0; font-size: 20px; line-height: 1.45; max-width: 460px; text-wrap: pretty; }

/* features */
.feature-list { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.feature-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 0; border: 0; border-bottom: 2px solid var(--soft);
  background: none; text-align: left; cursor: pointer;
  color: var(--ink); font: inherit;
}
.feature-row:hover { color: var(--link); }
.feature-tag {
  flex: none; min-width: 150px;
  font-size: 20px; font-weight: 700;
  padding: 4px 16px 2px;
  color: var(--link);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px;
}
.feature-row[aria-selected="true"] .feature-tag {
  background: var(--lime); border-radius: 14px;
  box-shadow: 0 5px 0 var(--shadow-green);
  color: var(--ink); text-decoration: none;
}
.feature-line { flex: 1; min-width: 200px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3; font-weight: 500; }

.phone-col { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.phone { position: relative; width: clamp(250px, 27vw, 340px); aspect-ratio: 900/1840; }
.phone-screen {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .45s ease;
}
.phone-screen[data-active] { opacity: 1; pointer-events: auto; }
.phone-screen > picture > img, .phone-screen > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.phone-scroll {
  position: absolute; left: 5.33%; right: 5.33%; top: 2.5%; bottom: 2.45%;
  border-radius: 12.4% / 5.7%;
  overflow-x: hidden; overflow-y: auto;
  scrollbar-width: none; background: var(--bg);
  padding-top: 14%;
}
.phone-scroll::-webkit-scrollbar { display: none; }
/* height:auto is required. The img carries width/height attributes for CLS, and
   without an explicit height those attributes act as a presentational hint that
   pins the element to its full natural height (4386px) instead of scaling. */
.phone-scroll img { width: 100%; height: auto; }
.phone-bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border-radius: 24px; box-shadow: 0 6px 0 var(--soft); }
.faq-q {
  width: 100%; border: 0; background: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 24px;
  font-size: 20px; font-weight: 700; color: var(--ink);
  text-align: left; cursor: pointer; line-height: 1.25;
}
.faq-sign {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--lime); display: grid; place-items: center;
  font-size: 22px; line-height: 1;
}
.faq-a { margin: 0; padding: 0 24px 22px; font-size: 18px; line-height: 1.45; text-wrap: pretty; }
.faq-a[hidden] { display: none; }

.link-strong { display: inline-block; margin-top: 14px; font-size: 18px; font-weight: 700; }

/* contact form */
.form-card {
  background: #fff; border-radius: 32px;
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 10px 0 var(--soft);
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 600; }
.field input, .field textarea {
  border: 2px solid transparent; background: var(--bg);
  border-radius: 16px; padding: 14px 16px;
  font-size: 18px; color: var(--ink); outline: none;
}
.field textarea { resize: vertical; line-height: 1.4; }
.field input:focus, .field textarea:focus { border-color: var(--lime); background: #fff; }

.btn-submit {
  margin-top: 6px; border: 0;
  background: var(--ink); color: #fff;
  font-size: 19px; font-weight: 700;
  padding: 16px 26px; border-radius: 18px; cursor: pointer;
  box-shadow: 0 6px 0 #1E1A1B;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn-submit:hover { background: var(--hover-green); box-shadow: 0 6px 0 #4F7417; }
.btn-submit:active { transform: translateY(5px); box-shadow: 0 1px 0 #4F7417; }

.form-thanks { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 0; }
.form-thanks h3 { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.1; }
.form-thanks p { margin: 0; font-size: 18px; line-height: 1.45; }
.btn-plain {
  margin-top: 8px; border: 0; background: var(--bg); color: var(--ink);
  font-size: 17px; font-weight: 700; padding: 12px 22px; border-radius: 14px; cursor: pointer;
}
.form-error { margin: 0; font-size: 17px; font-weight: 600; color: #A23B2F; }
[hidden] { display: none !important; }

/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------ legal pages */

.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 40px) 40px; }
.legal h1 { margin: 32px 0 0; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; font-weight: 700; }
.legal-lead { margin: 20px 0 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.4; font-weight: 600; text-wrap: pretty; }
.legal-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 48px; }
.legal-card { background: #fff; border-radius: 24px; padding: 24px 28px; box-shadow: 0 6px 0 var(--soft); }
.legal-card h2 { margin: 0; font-size: 24px; font-weight: 700; }
.legal-card p { margin: 8px 0 0; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.legal-card p + p { margin-top: 12px; }
.legal-card ul { margin: 10px 0 0; padding-left: 22px; font-size: 18px; line-height: 1.5; }
.legal-card li + li { margin-top: 6px; }

/* ----------------------------------------------------------- footer */
/* Completely static — no animation anywhere in here. */

.site-footer { position: relative; margin-top: 40px; color: var(--ink); }
.footer-hills { position: relative; height: 160px; }
.footer-hills .hill--back { height: 160px; }
.footer-hills .hill--front { height: 100px; bottom: -1px; }
/* Same reason as .phone-scroll img: each critter's width comes from its own
   rule below, so height must be auto or the height attribute squashes it. */
.footer-critter { position: absolute; z-index: 2; height: auto; }
.footer-plant { right: clamp(70px, 14vw, 260px); bottom: 4px; width: clamp(64px, 6vw, 110px); opacity: .85; }
.footer-dog { right: clamp(12px, 4vw, 64px); bottom: 0; width: clamp(36px, 3.4vw, 48px); }
.footer-cat { left: clamp(12px, 4vw, 64px); bottom: 0; width: clamp(44px, 4vw, 60px); }

.footer-band { position: relative; background: var(--grass); padding: 24px var(--pad-x) 32px; }
.footer-card {
  max-width: 1168px; margin: 0 auto;
  background: #fff; border-radius: 32px;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  box-shadow: 0 10px 0 var(--shadow-green);
}
.footer-id { display: flex; align-items: center; gap: 18px; }
.footer-id img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.footer-id-text { display: flex; flex-direction: column; }
.footer-title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.15; }
.footer-sub { font-size: 18px; line-height: 1.3; }
.footer-store { margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--link); }
.footer-qr { padding: 10px; border-radius: 18px; background: #fff; border: 2px solid #F0F0F0; }
.footer-qr img { width: clamp(110px, 11vw, 140px); height: auto; aspect-ratio: 1; }

.footer-bottom {
  max-width: 1168px; margin: 28px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 16px; font-weight: 500; color: var(--footer-ink);
}
.footer-bottom a { color: var(--footer-ink); }
.footer-bottom a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 700; }

/* ------------------------------------------------------ scroll reveal */

.reveal { opacity: 0; transform: translateY(40px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s ease, transform .9s cubic-bezier(.2,1.3,.4,1);
}
/* Without JS nothing should stay invisible. */
.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------- keyframes */

@keyframes drawArc { from { stroke-dashoffset: 410; } to { stroke-dashoffset: 0; } }
@keyframes popLetter { from { opacity: 0; } to { opacity: 1; } }
@keyframes badgeIn {
  0% { transform: scale(.6) translateY(20px); opacity: 0; }
  60% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes wobble { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-2.5deg); } 75% { transform: rotate(2.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sunGlow { 0%,100% { transform: scale(.85); opacity: .55; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes sunPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes sway {
  0%,100% { transform: rotate(-3deg) skewX(2deg); }
  40% { transform: rotate(4deg) skewX(-3deg); }
  70% { transform: rotate(-1deg) skewX(1deg); }
}
@keyframes leafDrift {
  0% { transform: translate(-8vw, 0) rotate(0); opacity: 0; }
  6% { opacity: 1; }
  25% { transform: translate(22vw, 40px) rotate(140deg); }
  50% { transform: translate(52vw, -20px) rotate(280deg); }
  75% { transform: translate(82vw, 50px) rotate(420deg); }
  94% { opacity: 1; }
  100% { transform: translate(112vw, 10px) rotate(560deg); opacity: 0; }
}
@keyframes pawStep {
  0% { opacity: 0; transform: scale(.6); }
  6% { opacity: .55; transform: scale(1); }
  45% { opacity: .55; }
  60%,100% { opacity: 0; }
}

/* -------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  :root { --play: paused; }
  .arc-wrap, .arc-stroke, .arc-svg text tspan { animation: none; opacity: 1; }
  .arc-stroke { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-screen { transition: none; }
}
