/* The 14-Day Puppy House Plan — 2026 consumer product page */
:root {
  --paper: #f4eee4;
  --paper-2: #efe6d8;
  --paper-3: #e6d9c6;
  --ink: #1c2418;
  --olive: #3a4632;
  --olive-deep: #2a3424;
  --muted: #5e6658;
  --rule: #d3c4ae;
  --rust: #8f4e36;
  --btn: #2f3b28;
  --btn-text: #f6f0e6;
  --halo: rgba(143, 78, 54, 0.12);
  --night: #141910;
  --max: 72rem;
  --narrow: 40rem;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-paper:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 18px 40px rgba(28, 36, 24, 0.16),
    0 4px 12px rgba(28, 36, 24, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--paper-2), transparent 60%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--olive-deep); }
a:hover { color: var(--rust); }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.narrow { width: min(100% - 2.5rem, var(--narrow)); margin-inline: auto; }

/* Sticky nav */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.15) blur(14px);
  -webkit-backdrop-filter: saturate(1.15) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}
.brand {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.brand span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-family: var(--sans);
}
.nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--olive-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.1rem;
  white-space: nowrap;
}
.nav-cta:hover { color: var(--rust); border-color: var(--rust); }

/* Hero */
.hero {
  padding: 2.75rem 0 3.25rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 3rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 1.1rem;
}
.hero h1 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1.15rem;
  max-width: 16ch;
}
.lede {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.5;
  color: var(--olive);
  max-width: 38ch;
  margin: 0 0 0;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.35rem;
}
.price {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.price-note { color: var(--muted); font-size: 1rem; }
.price-relief {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.98rem;
  font-style: italic;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.fine { font-size: 0.95rem; color: var(--muted); margin: 1.15rem 0 0; }

.limit {
  margin: 1.35rem 0 0;
  padding: 0.85rem 0 0.15rem 1rem;
  border-left: 2px solid var(--rust);
  color: var(--olive);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 46ch;
}
.limit strong {
  display: block;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

/* Paper stack — grabable product pages */
.paper-stack {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 34rem;
  width: 100%;
  margin-inline: auto;
  isolation: isolate;
}
.sheet {
  position: absolute;
  margin: 0;
  background: #fffdf8;
  padding: 0.38rem;
  border: 1px solid rgba(28, 36, 24, 0.08);
  box-shadow: var(--shadow-paper);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.sheet-day {
  width: 70%;
  top: 3%;
  left: 8%;
  z-index: 3;
  transform: rotate(-2.4deg);
}
.sheet-daily {
  width: 58%;
  top: 8%;
  right: 0;
  left: auto;
  z-index: 2;
  transform: rotate(3.5deg);
}
.sheet-clock {
  width: 44%;
  bottom: 2%;
  left: 0;
  z-index: 1;
  transform: rotate(-3.2deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn);
  color: var(--btn-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--olive-deep); color: var(--btn-text); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.btn-ghost {
  background: transparent;
  color: var(--olive-deep);
  box-shadow: none;
  border: 1px solid var(--rule);
  padding: 0.9rem 1.4rem;
}
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); }

/* Tonight path strip */
.path-strip {
  padding: 0;
  border-block: 1px solid var(--rule);
  background: var(--paper-2);
}
.path-steps {
  list-style: none;
  margin: 0;
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
}
.path-steps li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  align-items: baseline;
}
.path-num {
  grid-row: 1 / span 2;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--rust);
  line-height: 1;
}
.path-steps strong {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.path-steps li > span:last-child {
  color: var(--olive);
  font-size: 0.98rem;
}

/* 2 a.m. night band */
.night {
  background: var(--night);
  color: var(--paper);
  padding: 0;
}
.night-layout {
  display: grid;
  grid-template-columns: 1fr;
}
.night-photo {
  margin: 0;
  min-height: 16rem;
  max-height: 22rem;
  overflow: hidden;
}
.night-photo img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: center 40%;
}
.night-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.35rem 3rem;
  width: min(100%, 36rem);
  margin-inline: auto;
}
.night .section-kicker { color: #e8b09a; }
.night-lead {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 1.5rem;
  color: #f4eee4;
  max-width: 22ch;
}
.night-card {
  background: #f7f1e6;
  color: var(--ink);
  padding: 1.6rem 1.5rem 1.45rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
  transform: rotate(-1.4deg);
  max-width: 24rem;
}
.night-card-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}
.night-card h2 {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  line-height: 1;
}
.night-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.night-card li {
  font-size: 1.12rem;
  line-height: 1.45;
  padding: 0.2rem 0;
  color: var(--olive-deep);
}
.night-card-end {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 1rem 0 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
}
.night-card-next {
  margin: 0;
  font-size: 0.95rem;
  color: var(--olive);
  line-height: 1.5;
}

/* Sections */
section { padding: 4.5rem 0; }
.section-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.section-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 0.75rem;
}
.prose p { margin: 0 0 1rem; color: var(--olive); max-width: 58ch; }
.prose p:last-child { margin-bottom: 0; }

/* Mess */
.mess { background: var(--paper-2); border-block: 1px solid var(--rule); }
.mess-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.45rem 1.4rem 1.4rem;
  border-radius: 4px;
}
.card-label {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}
.card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}
.card p { margin: 0; color: var(--olive); font-size: 1.05rem; }

/* What you'll hold */
.hold-grid {
  list-style: none;
  margin: 2rem 0 0.5rem;
  padding: 0;
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.4rem;
}
.hold-grid li {
  flex: 0 0 42%;
  scroll-snap-align: start;
}
.hold-grid img {
  width: 100%;
  height: 14.5rem;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 10px 24px rgba(28, 36, 24, 0.1);
}
.hold-grid span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--olive);
  letter-spacing: 0.01em;
}

/* Inside */
.inside-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.inside-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}
.inside-list strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}
.inside-list span { color: var(--olive); }

/* For / not for */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.col {
  padding: 1.75rem 1.6rem;
  border-radius: 4px;
}
.col-yes { background: var(--paper-2); border: 1px solid var(--rule); }
.col-no { background: transparent; border: 1px dashed var(--rule); }
.col h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin: 0 0 1rem;
}
.col ul { margin: 0; padding: 0 0 0 1.1rem; color: var(--olive); }
.col li { margin: 0 0 0.55rem; }

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.steps li { position: relative; padding-top: 3.25rem; min-width: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--rust);
  line-height: 1;
}
.steps h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}
.steps p { margin: 0; color: var(--olive); }
.step-shot {
  margin: 1.1rem 0 0;
  width: 11.5rem;
  max-width: 100%;
  background: #fffdf8;
  padding: 0.35rem;
  border: 1px solid rgba(28, 36, 24, 0.08);
  box-shadow: var(--shadow-paper);
  transform: rotate(2.4deg);
}
.step-shot img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  object-position: top center;
}

/* Guarantee */
.guarantee {
  background: var(--olive-deep);
  color: var(--paper);
}
.guarantee .section-kicker { color: #e8b09a; }
.guarantee .section-title { color: var(--paper); }
.guarantee p { color: #d9d3c6; max-width: 48ch; }
.guarantee .wrap { padding-block: 0.5rem; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 1.1rem 0;
}
.faq summary {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rust); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.75rem 0 0.25rem; color: var(--olive); max-width: 58ch; }

/* Final CTA */
.final {
  text-align: left;
  padding-bottom: 5rem;
}
.final .lede { max-width: 40ch; margin-bottom: 1rem; }
.final-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.final-cover {
  margin: 0;
  max-width: 16rem;
  background: #fffdf8;
  padding: 0.4rem;
  border: 1px solid rgba(28, 36, 24, 0.08);
  box-shadow: var(--shadow-paper);
  transform: rotate(-2.2deg);
}
.final-cover img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  object-position: top center;
}

/* Sticky mobile buy bar */
.mobile-buy {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
  box-shadow: 0 -8px 24px rgba(28, 36, 24, 0.08);
}
.mobile-buy-meta {
  font-size: 0.95rem;
  color: var(--olive);
}
.mobile-buy-meta strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-right: 0.4rem;
}
.mobile-buy .btn {
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 6.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.foot-links a { color: var(--olive); text-decoration: none; }
.foot-links a:hover { color: var(--rust); text-decoration: underline; }
.legal-note { max-width: 62ch; margin: 0 0 0.75rem; font-size: 0.88rem; line-height: 1.55; }

/* Desktop */
@media (min-width: 900px) {
  .hero {
    padding: 3.25rem 0 4rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-rows: auto auto;
    column-gap: 3.25rem;
    row-gap: 1.5rem;
    align-items: start;
  }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .paper-stack {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: none;
    align-self: center;
    min-height: 32rem;
  }
  .hero-cta { grid-column: 1; grid-row: 2; }
  .hero h1 { margin-bottom: 1.25rem; }
  .lede { margin-bottom: 0; }

  .path-steps {
    grid-template-columns: repeat(3, 1fr);
    padding: 1.6rem 0;
    gap: 1.5rem;
  }

  .night-layout {
    grid-template-columns: 1.15fr 0.95fr;
    min-height: 34rem;
  }
  .night-photo {
    max-height: none;
    min-height: 100%;
  }
  .night-photo img {
    min-height: 34rem;
    height: 100%;
  }
  .night-copy {
    padding: 3.5rem 3.25rem 3.5rem 2.5rem;
    width: auto;
    margin: 0;
  }
  .night-card {
    transform: rotate(-1.6deg);
    padding: 1.85rem 1.7rem 1.6rem;
  }

  .mess-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .hold-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
    gap: 1rem;
  }
  .hold-grid li { flex: none; }
  .inside-list li {
    grid-template-columns: 7rem 1fr;
    gap: 1.25rem;
  }
  .split { grid-template-columns: 1fr 1fr; }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .final-grid {
    grid-template-columns: 1.2fr 0.6fr;
    gap: 3rem;
  }
  .final-cover { max-width: 18rem; justify-self: end; }
  .mobile-buy { display: none; }
  footer { padding-bottom: 3.5rem; }
}

@media (max-width: 899px) {
  .wrap, .narrow { width: min(100% - 1.75rem, var(--max)); }
  .hero { padding: 1.75rem 0 2.25rem; }
  section { padding: 3.25rem 0; }
  .nav { padding: 0.8rem 0; }
  .nav-cta { display: none; }
  .hero h1 { max-width: 12ch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .sheet-day, .sheet-daily, .sheet-clock,
  .night-card, .step-shot, .final-cover {
    transform: none;
  }
}
