/* ===========================================================
   TailCover — Coming Soon (interim page)
   Framework-free HTML/CSS/JS. Drop into any site.
   =========================================================== */

:root {
  --cream: #fbf1e0;
  --cream-soft: #fdf4e7;
  --white: #ffffff;
  --brown: #8a3a12;
  --brown-deep: #7a3007;
  --rust: #a64a1c;
  --orange: #f0954c;
  --amber: #dfa900;
  --amber-deep: #c79400;
  --ink: #2a241d;
  --muted: #6f6151;

  --maxw: 1120px;
  --font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--brown);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--amber);
  color: #fff;
}

.inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Paw marks ---------- */
.pawmark {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}
.paw-badge {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c, #8b3600);
  line-height: 0;
}
.paw-badge .pg {
  width: 58%;
  height: 58%;
  fill: #fff;
}

/* ---------- Header ---------- */
.bar {
  padding: 22px 0 6px;
}
.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  width: 150px;
  height: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(240, 149, 76, 0.8);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding-top: 40px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 3;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--rust);
  background: #fbe4cf;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin: 0 0 22px;
}
.headline {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 700;
  max-width: 18ch;
  margin: 0 auto;
}
.amber-word {
  color: var(--amber);
}
.sub {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  color: var(--muted);
  font-weight: 600;
  margin: 22px auto 26px;
  max-width: 46ch;
}
.cta-ghost {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--rust);
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 3px solid var(--amber);
  padding-bottom: 2px;
}

/* floating paws */
.float {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.18));
}
.p1 {
  top: -6px;
  left: 4%;
  transform: rotate(-16deg);
}
.p2 {
  top: 64px;
  right: 6%;
  transform: rotate(14deg);
}
.p3 {
  top: -10px;
  right: 22%;
  transform: rotate(-6deg);
}
.p4 {
  top: 118px;
  left: 17%;
  transform: rotate(20deg);
}

.hero-art {
  position: relative;
  margin-top: 26px;
  width: 100%;
}
.wave-bg {
  display: block;
  width: 100%;
  height: auto;
}
.pets {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, 86%);
  height: auto;
  z-index: 1;
}

/* ---------- Promise ---------- */
.promise {
  background: var(--white);
  text-align: center;
  padding: 70px 0 64px;
}
.promise-title {
  font-size: clamp(1.8rem, 4.2vw, 2.9rem);
  color: var(--rust);
  font-weight: 700;
  max-width: 20ch;
  margin: 0 auto;
}
.promise-text {
  color: var(--muted);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 50ch;
  margin: 22px auto 18px;
  line-height: 1.6;
}
.promise-accent {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 46px;
  border-radius: 999px;
  box-shadow: 0 14px 26px -12px rgba(223, 169, 0, 0.9);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
}

/* ---------- Join / form ---------- */
.join {
  background: var(--cream);
  padding: 64px 0 72px;
  text-align: center;
}
.join-title {
  font-size: clamp(2rem, 4.6vw, 3rem);
  color: var(--rust);
  font-weight: 700;
}
.join-sub {
  color: var(--muted);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 12px auto 36px;
}
.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 30px 60px -34px rgba(122, 48, 7, 0.4);
  text-align: left;
}
.field {
  margin-bottom: 20px;
}
label,
.label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown);
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.req {
  color: var(--amber-deep);
}
input[type='text'],
input[type='email'],
input[type='tel'],
select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #ecdfce;
  border-radius: 14px;
  background: #fdfaf4;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
input:focus,
select:focus {
  outline: none;
  border-color: var(--amber);
  background: #fff;
}
input.invalid {
  border-color: #d2502f;
  background: #fdf0ec;
}
.error {
  color: #c0392b;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 6px 0 0;
  min-height: 0;
}
.error:empty {
  display: none;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

/* radio pills (toggle via :has, no JS needed) */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid #ecdfce;
  border-radius: 999px;
  background: #fdfaf4;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.pill input {
  display: none;
}
.pill:has(input:checked) {
  border-color: var(--amber);
  background: #fff6df;
  color: var(--brown);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  margin: 6px 0 0;
}
.check-row input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--amber);
  flex-shrink: 0;
}
.check-row span {
  margin-top: 1px;
}

.ambassador {
  background: #fbe9d3;
  border-radius: 20px;
  padding: 24px;
  margin: 26px 0 8px;
}
.amb-title {
  color: var(--rust);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.amb-text {
  color: #6a5947;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.55;
  margin: 0 0 12px;
}

.submit {
  width: 100%;
  margin-top: 26px;
}
.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 16px 0 0;
}

/* ---------- Thank you ---------- */
.thanks {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.thanks-paws {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}
.thanks-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--amber);
  font-weight: 700;
}
.thanks-lead {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown);
  font-size: 1.4rem;
  margin: 14px 0 22px;
}
.thanks-body {
  color: var(--muted);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 auto 16px;
  max-width: 52ch;
}

/* ---------- Footer ---------- */
.foot {
  background: var(--brown-deep);
  text-align: center;
  padding: 44px 24px 48px;
}
.foot-logo {
  width: 130px;
  height: auto;
  margin: 0 auto 14px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.foot-note {
  color: #f4d8bf;
  font-weight: 700;
  margin: 0 0 6px;
}
.foot-note a {
  color: #fff;
}
.foot-copy {
  color: #d9b290;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .float {
    transform: scale(0.62);
  }
  .p1 {
    top: -6px;
    left: -10px;
  }
  .p2 {
    top: -6px;
    right: -10px;
  }
  .p3,
  .p4 {
    display: none;
  }
  .pets {
    width: 94%;
  }
  .row,
  .row.three {
    grid-template-columns: 1fr;
  }
  .badge {
    font-size: 0.85rem;
    padding: 9px 16px;
  }
}
