/* ============================================================
   AdoptMeTV — Design System
   Brand: Teal (#0F766E) + Warm Orange (#F97316) on warm cream
   Type: Bricolage Grotesque (display) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand */
  --teal:        #0F766E;
  --teal-700:    #115E59;
  --teal-800:    #134E4A;
  --teal-400:    #2DD4BF;
  --teal-soft:   #E6F2F0;

  --orange:      #F97316;
  --orange-600:  #EA580C;
  --orange-400:  #FB923C;
  --orange-soft: #FFF1E6;

  /* Neutrals — warm */
  --ink:         #1C1410;   /* near-black, warm */
  --stone:       #57534E;   /* body */
  --stone-soft:  #78716C;   /* muted */
  --cream:       #FBF6EF;   /* page background */
  --cream-2:     #F4ECE1;   /* alt band */
  --card:        #FFFFFF;
  --line:        #EAE0D3;

  /* Effects */
  --shadow-sm:   0 1px 2px rgba(28,20,16,.06), 0 2px 6px rgba(28,20,16,.05);
  --shadow-md:   0 10px 30px -12px rgba(28,20,16,.22);
  --shadow-lg:   0 30px 60px -22px rgba(28,20,16,.30);
  --radius:      18px;
  --radius-lg:   28px;
  --maxw:        1180px;

  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--stone);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.01em; }
p  { color: var(--stone); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--stone); line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px;
}
.eyebrow.center { justify-content: center; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band-teal  { background: var(--teal); color: #fff; }
.band-teal h1, .band-teal h2, .band-teal h3 { color: #fff; }
.band-teal p { color: rgba(255,255,255,.86); }
.band-cream { background: var(--cream-2); }
.center { text-align: center; }
.measure { max-width: 720px; margin-inline: auto; }
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(249,115,22,.6); }
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 14px 28px -10px rgba(249,115,22,.65); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -8px rgba(15,118,110,.55); }
.btn-teal:hover { background: var(--teal-700); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(28,20,16,.18); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost-light { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background:#fff; color: var(--teal); }
.btn-white { background:#fff; color: var(--teal); }
.btn-white:hover { background: var(--orange); color:#fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row.center { justify-content: center; }

/* ---------- Header / Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,239,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(251,246,239,.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family:'Bricolage Grotesque'; font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.brand .logo { width: 42px; height: 42px; flex: none; }
.brand b { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-weight: 500; font-size: .98rem; color: var(--stone); position: relative; padding: .25rem 0; transition: color .15s; }
.nav-links a::after { content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px; background: var(--orange); transition: right .25s var(--ease); border-radius:2px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-cta .btn { padding: .62rem 1.2rem; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Mobile nav panel */
.mobile-menu { display: none; }
@media (max-width: 940px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: block; position: fixed; inset: 76px 0 auto 0; z-index: 99;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .35s var(--ease);
    padding: 1.25rem 1.5rem 1.75rem;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a { display: block; padding: .9rem 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { display: flex; width: 100%; margin-top: 1.1rem; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d8cfc4; padding-block: 3.5rem 2rem; }
.footer a { color: #d8cfc4; transition: color .15s; }
.footer a:hover { color: var(--orange-400); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2.5rem 1.5rem; }
.footer .brand { color: #fff; }
.footer .brand b { color: var(--orange-400); }
.footer-blurb { margin-top: 1rem; max-width: 30ch; color: #a89e92; font-size: .95rem; }
.footer h4 { color: #fff; font-family:'Inter'; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: .65rem; font-size: .95rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display:flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .85rem; color: #a89e92; }
.fiscal-note { background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 1rem 1.2rem; margin-top: 2rem; font-size: .85rem; color:#a89e92; }
.fiscal-note b { color:#fff; font-weight:600; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem,5vw,3.5rem); text-align: center; }
.page-hero .lead { margin-top: 1rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px){ .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #e3d6c4; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .98rem; }

.card-icon { width: 54px; height: 54px; border-radius: 14px; display:grid; place-items:center; margin-bottom: 1.2rem; background: var(--teal-soft); color: var(--teal); }
.card-icon.orange { background: var(--orange-soft); color: var(--orange-600); }
.card-icon svg { width: 26px; height: 26px; }

/* step number badge */
.step-num { font-family:'Bricolage Grotesque'; font-weight: 800; font-size: 1.05rem; width: 40px; height: 40px; border-radius: 50%; display:grid; place-items:center; background: var(--orange); color:#fff; margin-bottom: 1.1rem; }

/* pill list / checklist */
.checklist { list-style: none; display: grid; gap: .7rem; }
.checklist li { display:flex; gap:.7rem; align-items:flex-start; }
.checklist li::before {
  content:""; flex:none; width:22px; height:22px; margin-top:2px; border-radius:50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.tag-grid { display:flex; flex-wrap:wrap; gap:.6rem; }
.tag { background:#fff; border:1px solid var(--line); border-radius:999px; padding:.5rem 1rem; font-size:.92rem; font-weight:500; color:var(--ink); box-shadow: var(--shadow-sm); }
.band-teal .tag { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color:#fff; }

/* two-column split */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items:center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* stat */
.stat-row { display:grid; grid-template-columns: repeat(3,1fr); gap:1.5rem; text-align:center; }
.stat .num { font-family:'Bricolage Grotesque'; font-weight:800; font-size: clamp(2.2rem,4vw,3rem); color: var(--orange); line-height:1; }
.stat .label { margin-top:.4rem; font-size:.95rem; color: var(--stone); }
.band-teal .stat .num { color: var(--orange-400); }
.band-teal .stat .label { color: rgba(255,255,255,.8); }
@media (max-width:620px){ .stat-row { grid-template-columns:1fr; gap:2rem; } }

/* CTA band */
.cta-band { text-align:center; }
.cta-band .btn-row { margin-top: 1.75rem; }

/* ============================================================
   TV / SCREEN COMPONENT  (the product, on display)
   ============================================================ */
.tv-scene { position: relative; }
.tv {
  position: relative; background: #161210; border-radius: 22px;
  padding: 14px; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.04);
  border: 1px solid #2a221d;
}
.tv::after { /* glossy reflection */
  content:""; position:absolute; inset:14px; border-radius: 12px; pointer-events:none;
  background: linear-gradient(135deg, rgba(255,255,255,.10), transparent 40%);
}
.tv-screen {
  position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
  background: #0c0a09; display: grid; grid-template-columns: 1.05fr 1fr;
}
.tv-stand { width: 120px; height: 14px; margin: 0 auto; background:#161210; border-radius: 0 0 8px 8px; }
.tv-stand-neck { width: 16px; height: 18px; margin: 0 auto; background:#161210; }

/* a single pet "slide" */
.slide { position:absolute; inset:0; display:grid; grid-template-columns: 1.05fr 1fr; opacity:0; transition: opacity .9s var(--ease); }
.slide.active { opacity: 1; }
.slide-photo { position: relative; overflow:hidden; }
.slide-photo .ph { position:absolute; inset:0; display:grid; place-items:end center; }
.slide-info { background:#0c0a09; color:#fff; padding: clamp(.6rem,2.2cqw,1.4rem); display:flex; flex-direction:column; }
.slide-org { font-size: clamp(.45rem,1.5cqw,.72rem); letter-spacing:.12em; text-transform:uppercase; color:#9b948c; }
.slide-name { font-family:'Bricolage Grotesque'; font-weight:800; font-size: clamp(1.1rem,5cqw,2.6rem); line-height:1; margin:.2rem 0 .5rem; color:#fff; }
.slide-traits { list-style:none; display:grid; gap: clamp(.1rem,.8cqw,.4rem); font-size: clamp(.5rem,1.9cqw,.95rem); color:#e7e2dc; }
.slide-traits li { display:flex; gap:.4rem; align-items:center; }
.slide-traits li::before { content:""; width:5px; height:5px; border-radius:50%; background: var(--orange-400); flex:none; }
.slide-bottom { margin-top:auto; display:flex; align-items:flex-end; justify-content:space-between; gap:.5rem; padding-top:.6rem; }
.slide-qr { width: clamp(34px,16cqw,72px); height: clamp(34px,16cqw,72px); background:#fff; border-radius:6px; padding:4px; }
.slide-logo { width: clamp(38px,18cqw,78px); }
.tv-screen { container-type: inline-size; }

/* "now showing" badge */
.now-showing { position:absolute; top:-14px; left:24px; z-index:3; background: var(--orange); color:#fff; font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:.45rem .9rem; border-radius:999px; box-shadow: var(--shadow-md); display:flex; align-items:center; gap:.45rem; }
.now-showing .dot { width:8px; height:8px; border-radius:50%; background:#fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* dots */
.tv-dots { display:flex; gap:.5rem; justify-content:center; margin-top:1.1rem; }
.tv-dots button { width:9px; height:9px; border-radius:50%; border:0; background:#d8cabb; transition: all .2s; padding:0; }
.tv-dots button.active { background: var(--teal); width:26px; border-radius:999px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin-inline:auto; display:grid; gap: .85rem; }
.faq-item { background:#fff; border:1px solid var(--line); border-radius: 16px; overflow:hidden; box-shadow: var(--shadow-sm); }
.faq-q { width:100%; text-align:left; background:none; border:0; padding: 1.25rem 1.4rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; font-family:'Bricolage Grotesque'; font-weight:700; font-size:1.1rem; color:var(--ink); }
.faq-q .chev { flex:none; width:24px; height:24px; border-radius:50%; background:var(--teal-soft); color:var(--teal); display:grid; place-items:center; transition: transform .3s var(--ease), background .2s; }
.faq-q .chev svg { width:14px; height:14px; }
.faq-item.open .chev { transform: rotate(180deg); background: var(--orange); color:#fff; }
.faq-a { max-height:0; overflow:hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--stone); }

/* ---------- Form ---------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem,4vw,2.75rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display:block; font-weight:600; font-size:.9rem; color:var(--ink); margin-bottom:.4rem; }
.field input, .field select, .field textarea {
  width:100%; padding:.85rem 1rem; border:1px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--cream); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,.12); background:#fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; }
@media (max-width:560px){ .field-row { grid-template-columns:1fr; } }
.form-note { font-size:.85rem; color: var(--stone-soft); margin-top:.5rem; }
.form-success { display:none; background: var(--teal-soft); border:1px solid var(--teal-400); color: var(--teal-800); padding:1rem 1.2rem; border-radius:12px; margin-bottom:1.2rem; font-weight:500; }
.form-success.show { display:block; }

/* contact aside */
.contact-grid { display:grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem,5vw,3.5rem); align-items:start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns:1fr; } }
.contact-line { display:flex; gap:.85rem; align-items:flex-start; margin-bottom:1.5rem; }
.contact-line .ci { width:44px; height:44px; flex:none; border-radius:12px; background:var(--teal-soft); color:var(--teal); display:grid; place-items:center; }
.contact-line .ci svg { width:20px; height:20px; }
.contact-line a, .contact-line span { color: var(--ink); }
.contact-line small { color: var(--stone-soft); display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; font-weight:600; }

/* tier card */
.tier { display:flex; flex-direction:column; position:relative; overflow:hidden; }
.tier.featured { border-color: var(--teal); box-shadow: 0 24px 50px -20px rgba(15,118,110,.35); }
.tier .ribbon { position:absolute; top:18px; right:-34px; transform:rotate(45deg); background:var(--orange); color:#fff; font-size:.7rem; font-weight:700; letter-spacing:.08em; padding:.3rem 2.6rem; }
.tier-role { font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; color:var(--orange-600); }
.tier h3 { margin:.3rem 0 .2rem; }
.tier .tier-icon { width:56px; height:56px; border-radius:16px; display:grid; place-items:center; background:var(--teal-soft); color:var(--teal); margin-bottom:1.1rem; }
.tier.featured .tier-icon { background: var(--teal); color:#fff; }
.tier p { font-size:.98rem; flex:1; }
.tier .btn { margin-top:1.5rem; width:100%; }

/* reveal-on-scroll */
.reveal { opacity:0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1 { transition-delay:.08s; } .reveal.d2 { transition-delay:.16s; } .reveal.d3 { transition-delay:.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity:1; transform:none; }
}

/* ============================================================
   FOUNDING NETWORK CTA  (redesigned — editorial serif + sunburst)
   ============================================================ */
.founding-cta {
  text-align: center;
  background:
    radial-gradient(120% 140% at 50% -10%, rgba(45,212,191,.16), transparent 55%),
    linear-gradient(180deg, var(--teal-700), var(--teal-800));
  position: relative;
  overflow: hidden;
}
.founding-cta::before { /* faint paw/texture glow */
  content:""; position:absolute; inset:0;
  background: radial-gradient(60% 80% at 50% 120%, rgba(249,115,22,.10), transparent 60%);
  pointer-events:none;
}
.founding-cta .wrap { position: relative; }

.sunburst-row { display:flex; align-items:center; justify-content:center; gap:1.25rem; margin-bottom: 1.75rem; }
.sunburst-row .rule { height:2px; width:min(120px, 18vw); background: linear-gradient(90deg, transparent, var(--orange-400)); border-radius:2px; }
.sunburst-row .rule:last-child { background: linear-gradient(90deg, var(--orange-400), transparent); }
.sunburst { width: 64px; height: 64px; flex:none; animation: spin-slow 26s linear infinite; transform-origin:center; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.founding-head {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; font-optical-sizing: auto;
  color: var(--cream);
  letter-spacing: -0.01em; line-height: 1.08;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  max-width: 18ch; margin-inline:auto;
}
.founding-sub {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700; color: #fff;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.1; margin-top: .45rem;
  letter-spacing: -0.01em;
}
.founding-cta .lead { color: rgba(255,255,255,.9); max-width: 56ch; margin-inline:auto; }
.founding-cta .btn-row { margin-top: 2rem; }

/* ---------- Footer brand mark (orange icon, per new structure) ---------- */
.footer-logo { display:inline-flex; }
.footer-mark { width: 86px; height: 86px; }
@media (prefers-reduced-motion: reduce) { .sunburst { animation: none; } }
