/* page-specific styles appended by page-building agents */

/* ==========================================================================
   Section background helpers
   ========================================================================== */

.section-ink,
[data-section="ink"] {
  background: var(--ink);
  color: var(--text-on-ink);
}

.section-paper,
[data-section="paper"] {
  background: var(--paper);
  color: var(--text-on-paper);
}

.section-ink .eyebrow,
[data-section="ink"] .eyebrow {
  color: var(--marker);
}

section {
  padding-block: var(--section-pad);
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.nav--solid {
  border-bottom-color: var(--rule);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
  flex-wrap: wrap;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.nav-logo-mark {
  color: var(--marker);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ash);
  transition: color 150ms var(--ease-out);
}

.nav-links a:hover {
  color: var(--paper);
}

.nav-cta {
  padding: 0.6em 1.3em;
  font-size: 0.88rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 3rem);
}

.hero-headline {
  max-width: 14ch;
}

.marker-wrap {
  color: var(--paper);
}

.hero-subhead {
  max-width: 46ch;
  color: var(--ash);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.proof-grid {
  position: relative;
  height: 100%;
  min-height: 320px;
}

.proof-card {
  position: absolute;
  width: 42%;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.proof-card-image {
  flex: 1;
  border-radius: 8px;
  background: var(--ash);
  opacity: 0.35;
}

.proof-card-line {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--ash);
  opacity: 0.5;
}

.proof-card-line--short {
  width: 60%;
}

.proof-card--1 { top: 2%; left: 4%; transform: rotate(-6deg); z-index: 1; }
.proof-card--2 { top: 4%; left: 44%; transform: rotate(-2deg); z-index: 2; }
.proof-card--3 { top: 30%; left: 22%; transform: rotate(3deg); z-index: 4; }
.proof-card--4 { top: 34%; left: 56%; transform: rotate(-3deg); z-index: 3; }
.proof-card--5 { top: 58%; left: 6%; transform: rotate(2deg); z-index: 2; }
.proof-card--6 { top: 60%; left: 46%; transform: rotate(5deg); z-index: 1; }

.proof-card--circled {
  border-color: var(--marker);
}

/* ==========================================================================
   How it works
   ========================================================================== */

.how-it-works h2 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.step-number {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--clay);
  margin-bottom: 0.75rem;
}

.step p {
  color: var(--ash);
}

/* ==========================================================================
   Services
   ========================================================================== */

.services h2 {
  max-width: 20ch;
  margin-bottom: 1.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.service-card p:not(.eyebrow) {
  color: var(--ash);
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing h2 {
  max-width: 18ch;
}

.pricing-note {
  color: var(--ash);
  max-width: 48ch;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

.price-card {
  position: relative;
  background: var(--ink);
  color: var(--text-on-ink);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price-card .eyebrow {
  color: var(--marker);
}

.price-figure {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0.25rem 0 1rem;
}

.price-figure span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ash);
}

.price-features {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-features li {
  padding-left: 1.1em;
  position: relative;
  color: var(--ash);
  font-size: 0.95rem;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

.price-card .cadence-dots {
  margin: 0.75rem 0 1.5rem;
}

.price-cta {
  margin-top: auto;
  width: 100%;
}

.price-card--recommended {
  border: 1.5px solid transparent;
  padding-top: 2.75rem;
}

.cadence-dot.is-boosted .cadence-mark {
  box-shadow: 0 0 0 3px var(--marker);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq h2 {
  margin-bottom: 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  padding-block: 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--marker);
  flex-shrink: 0;
  transition: transform 200ms var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--ash);
  margin-top: 0.85rem;
  max-width: 60ch;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #0d0f15;
  color: var(--paper);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.footer-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand p {
  color: var(--ash);
  max-width: 32ch;
  margin-top: 0.5rem;
}

.footer-inner nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-inner nav a {
  color: var(--ash);
  font-size: 0.9rem;
}

.footer-inner nav a:hover {
  color: var(--paper);
}

.footer-copy {
  width: 100%;
  color: var(--ash);
  font-size: 0.8rem;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}

/* ==========================================================================
   Page hero (privacy policy header band)
   ========================================================================== */

.page-hero {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.page-hero-meta {
  color: var(--ash);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ==========================================================================
   Policy content (privacy policy)
   ========================================================================== */

.policy-content {
  max-width: 720px;
}

.policy-content h2 {
  font-size: var(--step-h3);
  margin-top: 2.25rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
  list-style: disc;
}

.policy-content li {
  margin-bottom: 0.5em;
}

.policy-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-address-placeholder {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(227, 87, 47, 0.12);
  border: 1px dashed var(--clay);
  border-radius: 8px;
  padding: 0.75em 1em;
  color: var(--clay);
}

/* ==========================================================================
   Booking page
   ========================================================================== */

.booking-inner {
  max-width: 760px;
}

.booking-intro {
  color: var(--ash);
  max-width: 56ch;
  margin-bottom: 2rem;
}

.booking-fallback {
  margin-top: 1.5rem;
  color: var(--ash);
}

.booking-fallback a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--text-on-paper);
}

/* ==========================================================================
   Responsive — single column below ~760px
   ========================================================================== */

@media (max-width: 760px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-headline {
    max-width: none;
  }

  .steps,
  .service-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 0.5rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}
