/* Flockline LP - Phase 2.6 structure
   V1 brand · approved mockup layout · no assets/v2/
*/

:root {
  --burnt: #D96B3B;
  --burnt-deep: #BD5A2E;
  --burnt-hover: #BD5A2E;
  --yolk: #E8B04B;
  --eggshell: #FFF6EC;
  --roost: #4B2F28;
  --sage: #A7B96E;
  --sage-deep: #7E944A;
  --cream: #F2E6D6;
  --cream-deep: #EADBC4;
  --white: #ffffff;
  --border: rgba(75, 47, 40, 0.10);
  --border-strong: rgba(75, 47, 40, 0.18);
  --muted: rgba(75, 47, 40, 0.62);
  --muted-soft: rgba(75, 47, 40, 0.48);
  --shadow-soft: 0 12px 36px rgba(75, 47, 40, 0.10);
  --shadow-card: 0 6px 20px rgba(75, 47, 40, 0.08);
  --radius-pill: 999px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --font-display: "Satoshi", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --max: 1180px;
  --gutter: clamp(1.1rem, 3.2vw, 1.75rem);
  --section-y: clamp(2.75rem, 5.5vw, 4.25rem);
  --section-y-tight: clamp(2.25rem, 4.5vw, 3.25rem);
  --section-y-loose: clamp(3.25rem, 6.5vw, 5rem);
  --stack: clamp(0.85rem, 1.6vw, 1.15rem);
  --header-h: 68px;
  --sticky-cta-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--roost);
  background: var(--eggshell);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--burnt); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
  min-width: 0;
}

.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.h1 { font-size: clamp(2.05rem, 4.4vw, 3.25rem); }
.h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.h3 { font-size: clamp(1.05rem, 1.6vw, 1.2rem); letter-spacing: -0.01em; }

.lede {
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  color: var(--muted);
  max-width: 34rem;
  margin: 0;
  line-height: 1.5;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--burnt);
  margin-bottom: 0.45rem;
}

.section { padding: var(--section-y) 0; }
.section--tight { padding: var(--section-y-tight) 0; }
.section--loose { padding: var(--section-y-loose) 0; }

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(1.35rem, 2.8vw, 2rem);
}
.section-head .lede { margin-top: 0.55rem; }
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .lede { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 46px; padding: 0.7rem 1.35rem; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-align: center; white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--burnt); color: var(--white);
  box-shadow: 0 4px 14px rgba(217, 107, 59, 0.28);
}
.btn-primary:hover { background: var(--burnt-hover); }
.btn-secondary {
  background: var(--white); color: var(--roost);
  border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--cream); }
.btn-yolk { background: var(--yolk); color: var(--roost); }
.btn-yolk:hover { filter: brightness(0.96); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0.5rem 1.05rem; font-size: 0.84rem; }


.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
@media (max-width: 767px) { .asset-req--hero { aspect-ratio: 4 / 5; } }
@media (min-width: 768px) { .asset-req--hero { aspect-ratio: 3 / 2; } }

.icon-temp { width: 36px; height: 36px; color: var(--burnt); flex-shrink: 0; }
.icon-temp svg {
  width: 100%; height: 100%; stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.temp-label {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted-soft);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 246, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 0.75rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; letter-spacing: -0.02em; flex-shrink: 0;
}
.brand img { width: 30px; height: 30px; }
.nav-desktop { display: none; align-items: center; gap: 1.4rem; }
.nav-desktop a { font-size: 0.88rem; font-weight: 500; color: var(--muted); }
.nav-desktop a:hover { color: var(--roost); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.nav-toggle {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--white); flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 16px; height: 2px; background: var(--roost); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--roost);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-mobile {
  display: none; border-top: 1px solid var(--border);
  padding: 0.75rem 0 1rem; flex-direction: column; gap: 0.55rem;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: 0.4rem 0; font-weight: 500; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .header-actions .btn-nav-mobile { display: none; }
}
@media (max-width: 899px) {
  .header-actions .btn-nav-desktop { display: none; }
  .header-actions .btn-nav-mobile {
    max-width: min(42vw, 10.5rem);
    white-space: normal; line-height: 1.15; font-size: 0.7rem;
    padding: 0.4rem 0.65rem; text-align: center;
  }
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.25rem) 0 clamp(1.85rem, 4vw, 3rem);
  overflow: hidden;
}
.hero__grid {
  display: grid; gap: 1.15rem; align-items: center;
  position: relative;
}
@media (min-width: 960px) {
  .hero {
    padding: clamp(1.75rem, 3vw, 2.75rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  }
  .hero__grid {
    display: block;
    min-height: clamp(540px, 58vh, 640px);
  }
}
.hero__copy { position: relative; z-index: 3; min-width: 0; }
@media (min-width: 960px) {
  .hero__copy {
    width: min(100%, 32rem);
    max-width: 42%;
    padding: 0.85rem 0 1rem;
  }
}
.hero__copy .h1 { margin: 0.75rem 0 0.7rem; max-width: 13ch; }
.hero__copy .lede { margin-bottom: 1.05rem; }

/* Rating pill - matches live V1 treatment */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--roost);
  max-width: 100%;
}
.trust-avatars {
  display: flex;
  flex-shrink: 0;
}
.trust-avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-deep);
}
.trust-avatars span:first-child { margin-left: 0; }
.trust-pill__text {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 390px) {
  .trust-pill { font-size: 0.78rem; padding-right: 0.65rem; }
  .trust-avatars span { width: 26px; height: 26px; }
}
.rating-num {
  font-weight: 800;
  color: var(--burnt-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.7rem; }
.btn__icon {
  width: 18px; height: 18px; flex-shrink: 0;
  display: block;
  color: currentColor;
}

.icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  color: var(--roost);
}
.icon-svg--star {
  width: 14px;
  height: 14px;
  color: var(--burnt);
}

.hero__reassure {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: flex; flex-wrap: nowrap; align-items: center;
  gap: 0;
  font-size: 0.8rem; color: var(--muted); font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}
.hero__reassure li {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding-right: 0.7rem;
  margin-right: 0.7rem;
  border-right: 1px solid var(--border-strong);
  min-width: 0;
}
.hero__reassure li:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}
.hero__reassure .icon-svg {
  width: 17px;
  height: 17px;
  color: var(--roost);
  opacity: 0.88;
}
@media (max-width: 420px) {
  .hero__reassure {
    font-size: 0.72rem;
    margin-bottom: 1.65rem;
  }
  .hero__reassure li {
    gap: 0.22rem;
    padding-right: 0.45rem;
    margin-right: 0.45rem;
  }
  .hero__reassure .icon-svg {
    width: 15px;
    height: 15px;
  }
}

/* Credibility strip - compact horizontal icon+text row */
.hero__trust-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.35rem 0.25rem;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(75, 47, 40, 0.06);
  padding: 0.65rem 0.75rem;
  position: relative;
  z-index: 4;
}
.hero__trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  text-align: left;
  padding: 0.1rem 0.55rem;
  color: var(--roost);
  border-right: 1px solid var(--border);
  flex: 1 1 0;
  min-width: 0;
}
.hero__trust-item:first-child { padding-left: 0; }
.hero__trust-item:last-child { border-right: none; padding-right: 0; }
.hero__trust-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  min-width: 0;
  flex: 1 1 auto;
}
.hero__trust-eyebrow {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.2;
}
.hero__trust-label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.22;
  color: var(--roost);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.hero__trust-icon {
  width: 32px;
  height: 32px;
  color: var(--roost);
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.hero__trust-icon--svg { padding: 1px; box-sizing: border-box; }
.hero__trust-flag {
  width: 32px;
  height: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(75, 47, 40, 0.08);
  margin: 0;
}
@media (max-width: 959px) {
  .hero__trust-panel {
    display: block;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0.15rem 0 0;
    border-left: 2px solid rgba(75, 47, 40, 0.12);
    padding-left: 0.7rem;
  }
  .hero__trust-item {
    flex: none;
    width: 100%;
    justify-content: flex-start;
    padding: 0.22rem 0;
    border-right: none;
  }
  .hero__trust-copy {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
  }
  .hero__trust-eyebrow { display: none; }
  .hero__trust-label {
    font-size: 0.8rem;
    font-weight: 700;
    white-space: normal;
  }
  .hero__trust-icon {
    width: 26px;
    height: 26px;
  }
  .hero__trust-flag {
    width: 30px;
    box-shadow: none;
  }
}

/* Media - mobile card; desktop photographic fade */
.hero__media {
  position: relative;
  min-width: 0;
  z-index: 1;
}
.hero__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 2;
  background: var(--cream-deep);
  position: relative;
}
@media (max-width: 767px) {
  .hero__photo { aspect-ratio: 5 / 6; }
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
  display: block;
}
@media (max-width: 767px) {
  .hero__img { object-position: center 22%; }
}

@media (min-width: 960px) {
  .hero__media {
    position: absolute;
    inset: 0 0 0 46%;
    z-index: 1;
    min-height: 100%;
  }
  .hero__photo {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    height: 100%;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    box-shadow: none;
    background: transparent;
  }
  .hero__photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(
        90deg,
        var(--eggshell) 0%,
        rgba(255, 246, 236, 0.96) 7%,
        rgba(255, 246, 236, 0.58) 20%,
        rgba(255, 246, 236, 0.14) 38%,
        transparent 54%
      ),
      linear-gradient(
        180deg,
        transparent 82%,
        rgba(255, 246, 236, 0.28) 100%
      );
  }
  .hero__img {
    object-position: 54% 20%;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.28) 12%,
      #000 32%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.28) 12%,
      #000 32%
    );
  }
  .hero__testimonial {
    left: 24%;
    right: auto;
    bottom: calc(1.5rem + 88px);
    width: min(268px, 68%);
  }
}

.hero__testimonial {
  position: absolute;
  z-index: 4;
  left: 0.75rem;
  bottom: 0.85rem;
  width: min(calc(100% - 1.5rem), 300px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 960px) {
  /* desktop placement set above with media rules */
}
.hero__testimonial > p {
  margin: 0 0 0.65rem; font-size: 0.88rem; line-height: 1.4;
}
.hero__stars {
  display: flex; gap: 0.12rem; margin-bottom: 0.35rem;
  color: var(--burnt);
}
.hero__stars .icon-svg--star {
  width: 12px;
  height: 12px;
}
.hero__who {
  display: flex; align-items: center; gap: 0.6rem;
}
.hero__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
  background: var(--cream-deep);
}
@media (max-width: 767px) {
  .hero__avatar { width: 36px; height: 36px; }
}
.hero__who strong {
  display: block; font-size: 0.84rem; font-weight: 700;
}
.hero__who span {
  display: block; font-size: 0.74rem; color: var(--muted); font-weight: 500;
}

/* Concerns */
.concerns { background: var(--cream); }
.concern-grid {
  display: grid; gap: 0.85rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .concern-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .concern-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.concern-tile {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 1px 2px rgba(75, 47, 40, 0.04);
}
.concern-tile__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-deep);
}
.concern-tile__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.concern-tile__num {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(75, 47, 40, 0.55);
  backdrop-filter: blur(2px);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}
.concern-tile__copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 1rem 1.1rem 1.15rem;
}
.concern-tile h3 { margin: 0; font-size: 1rem; }
.concern-tile p { margin: 0; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 639px) {
  .concern-tile__copy {
    padding: 0.85rem 1rem 1rem;
    gap: 0.3rem;
  }
  .concern-tile h3 { font-size: 0.95rem; }
  .concern-tile p { font-size: 0.82rem; }
}

/* Expertise */
.expertise__panel {
  display: grid; gap: 0; background: var(--roost); color: #f5efe6;
  border-radius: var(--radius-lg); overflow: hidden;
}
@media (min-width: 900px) { .expertise__panel { grid-template-columns: 1.1fr 0.9fr; } }
.expertise__copy { padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.expertise__copy .section-eyebrow { color: var(--yolk); }
.expertise__copy .h2 { color: #fff; margin-bottom: 0.65rem; }
.expertise__copy .lede { color: rgba(245, 239, 230, 0.78); margin-bottom: 1.15rem; }
/* Certification badge row - institutional credibility marks, not feature bullets */
.expertise__badges {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
}
.expertise__badges li {
  flex: 1 1 0;
  min-width: 0;
  max-width: 96px;
  display: flex;
  justify-content: center;
}
.expertise__badges picture,
.expertise__badges img {
  display: block;
  width: 100%;
  height: auto;
}
.expertise__badges img {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.expertise__badges img:hover,
.expertise__badges img:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}
@media (min-width: 641px) {
  .expertise__badges {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.75rem;
  }
  .expertise__badges li {
    flex: 0 1 130px;
    max-width: 150px;
  }
}
.expertise__media {
  min-height: 240px;
  background: #3a2418;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) {
  .expertise__media { min-height: 100%; }
}
.expertise__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: 48% 22%;
  display: block;
}
@media (max-width: 899px) {
  .expertise__img { aspect-ratio: 16 / 10; min-height: 200px; }
}

/* Steps - simplified icon flow (icon -> icon -> icon, arrows between) */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
@media (min-width: 900px) {
  .steps { flex-direction: row; align-items: flex-start; gap: 0; }
}
.step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.3rem 1.15rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}
@media (min-width: 900px) {
  .step { flex: 1 1 0; min-width: 0; }
}
.step-icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--burnt);
  margin-bottom: 0.3rem;
  flex-shrink: 0;
}
.step-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-icon__num {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--roost);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.step .h3 { margin: 0; }
.step p { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 26ch; }
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-soft);
  padding: 0.05rem 0;
}
.step-arrow svg { width: 18px; height: 18px; display: block; transform: rotate(90deg); }
@media (min-width: 900px) {
  .step-arrow {
    flex: 0 0 auto;
    width: 36px;
    align-self: flex-start;
    margin-top: 1.6rem;
  }
  .step-arrow svg { width: 20px; height: 20px; transform: none; }
}

/* Comparison - contain wide table without page overflow */
.compare { background: var(--cream); }
.compare-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
  min-width: 0;
}
.compare-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  /* isolate scrollable overflow from document */
  contain: inline-size;
}
.compare-scroll-inner {
  width: max(100%, 720px);
}
.compare-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.55rem;
  border-top: 1px solid var(--border);
  background: var(--eggshell);
}
@media (min-width: 1100px) {
  .compare-hint { display: none; }
  .compare-scroll-inner { width: 100%; }
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  table-layout: fixed;
}
.compare-table th,
.compare-table td {
  padding: 0.7rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  word-wrap: break-word;
}
.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  background: var(--eggshell);
}
.compare-table thead th:nth-child(2) {
  background: rgba(217, 107, 59, 0.12);
  color: var(--burnt);
}
.compare-table tbody th {
  background: var(--white);
  font-weight: 600;
  position: sticky;
  left: 0;
  z-index: 1;
  width: 22%;
  box-shadow: 3px 0 6px rgba(75, 47, 40, 0.04);
}
.compare-table tbody td:nth-child(2) {
  background: rgba(217, 107, 59, 0.04);
  font-weight: 600;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.platform-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.platform-mark__logos {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.platform-mark svg,
.platform-mark img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.platform-mark img { border-radius: 3px; }
.platform-mark__line {
  color: var(--roost);
  border-radius: 0 !important;
}
.platform-mark--pair .platform-mark__logos img {
  width: 14px;
  height: 14px;
}
/* Features + phone overlap */
.features__layout {
  display: grid; gap: 1.75rem; align-items: start; min-width: 0;
}
.features__layout > * { min-width: 0; }
@media (min-width: 960px) {
  .features__layout { grid-template-columns: 0.98fr 1.02fr; gap: 2.25rem; align-items: center; }
}
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.feature-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list h3 { margin: 0 0 0.2rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.features-visual {
  position: relative;
  min-width: 0;
  margin-bottom: 2.75rem;
  overflow: visible;
}
.features-visual__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  max-height: 460px;
  background: var(--cream-deep);
}
@media (min-width: 960px) {
  .features-visual__photo {
    aspect-ratio: 6 / 5;
    max-height: 560px;
  }
}
.features-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  display: block;
}
@media (min-width: 960px) {
  .features-visual__img {
    object-position: 72% 45%;
  }
}

/* Phone mockup overlaps the background card, breaking out at the bottom
   for a layered, premium product-shot depth rather than floating below it. */
.phone-frame {
  position: absolute;
  z-index: 3;
  left: auto;
  right: 4%;
  bottom: -1.35rem;
  transform: none;
  width: min(40%, 180px);
  background: var(--roost);
  border-radius: 30px;
  padding: 8px;
  box-shadow:
    0 24px 46px rgba(75, 47, 40, 0.34),
    0 8px 18px rgba(75, 47, 40, 0.2);
}
@media (min-width: 960px) {
  .phone-frame {
    left: -6%;
    right: auto;
    bottom: -2.25rem;
    width: min(38%, 220px);
  }
}
.phone-frame__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 16px; background: #1a0f0a; border-radius: 10px; z-index: 2;
}
.phone-frame__screen {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #1a0f0a;
  aspect-ratio: 9 / 19.5;
}
.phone-frame__screen picture {
  display: block;
  width: 100%;
  height: 100%;
}
.phone-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Testimonials - V1 carousel adapted to LP spacing */
.social { background: var(--cream); }

.reviews {
  background: var(--eggshell);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.35rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  /* Avoid clipping the trailing carousel card */
  overflow: visible;
}
@media (min-width: 900px) {
  .reviews {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 2rem;
  }
}
.reviews__intro,
.reviews .carousel { min-width: 0; }
.reviews__intro .h2 {
  margin: 0 0 0.65rem;
  max-width: 12ch;
}
.reviews__intro .lede {
  margin: 0 0 1.1rem;
}
.reviews__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--roost);
}
.reviews__stars {
  display: inline-flex;
  gap: 0.15rem;
  color: var(--burnt);
}
.reviews__stars .icon-svg { color: var(--burnt); }

.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.25rem 0.25rem 0.85rem;
  margin: -0.25rem -0.25rem 0;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }

.reviews .review-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 0;
}
@media (max-width: 1100px) {
  .reviews .review-card { flex-basis: 230px; }
}
@media (max-width: 640px) {
  .reviews .review-card { flex-basis: min(72vw, 260px); }
}

.reviews .review-photo {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-deep);
  position: relative;
  width: 100%;
}
.reviews .review-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 600ms var(--ease);
}
.reviews .review-card:hover .review-photo img { transform: scale(1.04); }

.reviews .review-quote {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--roost);
  flex: 1;
}
.reviews .review-who {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
  gap: 1rem;
}
.carousel-dots { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(75, 47, 40, 0.18);
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease, width 200ms ease, border-radius 200ms ease;
}
.carousel-dot.is-active {
  background: var(--burnt);
  width: 22px;
  border-radius: 999px;
}
.carousel-arrows { display: flex; gap: 0.45rem; }
.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-strong);
  color: var(--roost);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.carousel-arrow:hover {
  background: var(--burnt);
  color: #fff;
  border-color: var(--burnt);
}
.carousel-arrow:active { transform: scale(0.94); }
.carousel-arrow:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
  background: var(--white);
  color: var(--roost);
  border-color: var(--border);
}
.carousel-arrow svg { width: 18px; height: 18px; }

/* Pricing - split premium panel */
.pricing-panel {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 1080px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .pricing-panel { grid-template-columns: 1.05fr 0.95fr; }
}
.pricing-panel__copy {
  padding: clamp(1.65rem, 3.8vw, 2.85rem);
}
.pricing-panel__copy .h2 { margin-bottom: 0.55rem; }
.pricing-panel__copy .lede { margin-bottom: 1.1rem; }
.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.25rem;
}
.price-amount small {
  font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0;
}
.price-trial { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.9rem; }
.price-trial--accent { font-weight: 700; color: var(--burnt); }
.price-list {
  list-style: none; margin: 0 0 1.35rem; padding: 0; display: grid; gap: 0.55rem;
}
.price-list li {
  display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.92rem;
}
.price-list__check {
  width: 17px; height: 17px; margin-top: 0.15rem; color: var(--burnt); flex-shrink: 0;
}

/* Payment trust row - compact, muted, sits below the pricing CTA */
.payment-trust {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.payment-trust__secure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.payment-trust__lock {
  color: var(--muted);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.payment-trust__copy {
  font-size: 0.82rem;
  color: var(--muted);
  flex: 1 1 auto;
  min-width: 0;
}
.payment-trust__copy strong { color: var(--roost); font-weight: 700; }
.payment-trust__stripe {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--roost);
  color: rgba(245, 239, 230, 0.85);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.payment-trust__stripe strong {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}
.payment-trust__marks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.payment-trust__marks img {
  display: block;
  width: 38px;
  height: 24px;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(75, 47, 40, 0.08);
}
@media (max-width: 420px) {
  .payment-trust__marks img { width: 34px; height: 21px; }
}

.pricing-panel__visual {
  position: relative;
  min-height: 520px;
  background: var(--cream);
  min-width: 0;
  overflow: hidden;
}
.pricing-panel__visual picture {
  display: block;
  position: absolute;
  inset: 0;
}
.pricing-panel__photo {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  /* Anchor the image to the bottom so the hen sits higher with less empty sky. */
  object-position: center;
  display: block;
}
@media (max-width: 899px) {
  .pricing-panel__visual {
    min-height: 0;
    aspect-ratio: 5 / 6;
  }
  .pricing-panel__photo { height: 112%; }
}

.cost-card {
  position: absolute;
  z-index: 2;
  right: 0.85rem;
  bottom: 0.85rem;
  left: auto;
  width: min(62%, 250px);
  max-width: 250px;
  margin-left: auto;
  background: var(--eggshell);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.9rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) {
  .cost-card {
    width: min(56%, 240px);
    bottom: 1.15rem;
    right: 1.15rem;
  }
}
.cost-card h3 {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.25;
}
.cost-rows {
  display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none;
  font-size: 0.78rem;
}
.cost-rows li {
  display: flex; justify-content: space-between; gap: 0.65rem;
  padding: 0.28rem 0; border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.cost-rows li:last-of-type { border-bottom: none; font-weight: 700; color: var(--burnt); }
.cost-rows span:first-child { color: var(--muted); }
.cost-rows li:last-of-type span:first-child { color: inherit; }
.cost-rows span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--roost); }
.cost-rows li:last-of-type span:last-child { color: inherit; }
.cost-card__note {
  margin: 0.55rem 0 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--muted-soft);
}
.pricing-disclaimer {
  text-align: center; font-size: 0.78rem; color: var(--muted);
  max-width: 36rem; margin: 0.9rem auto 0;
}

/* FAQ */
.faq-list { max-width: 680px; margin: 0 auto; display: grid; gap: 0.5rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 0.95rem 1.1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  display: flex; justify-content: space-between; gap: 0.85rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 700; color: var(--burnt); font-size: 1.15rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item__body { padding: 0 1.1rem 1.05rem; color: var(--muted); font-size: 0.9rem; }
.faq-item__body p { margin: 0; }

/* Final CTA - centred Deep Roost panel */
.final-cta { padding: var(--section-y-tight) 0; }
.final-cta__panel {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--roost);
  color: #f5efe6;
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  overflow: hidden;
  min-height: clamp(280px, 42vw, 420px);
}
.final-cta__panel::before,
.final-cta__panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.final-cta__panel::before {
  top: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(232, 176, 75, 0.22), transparent 70%);
}
.final-cta__panel::after {
  bottom: -140px;
  right: -90px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(217, 107, 59, 0.26), transparent 70%);
}
.final-cta__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.final-cta__trust-pill {
  margin: 0 auto 1.15rem;
  padding: 0.5rem 0.85rem 0.5rem 0.55rem;
  font-size: clamp(0.78rem, 1.8vw, 0.92rem);
  box-shadow: 0 12px 28px rgba(20, 10, 7, 0.22);
}
.final-cta__inner .h2 {
  color: #fff;
  margin: 0 0 0.7rem;
  max-width: 16ch;
  line-height: 1.12;
  text-wrap: balance;
}
.final-cta__inner .lede {
  color: rgba(245, 239, 230, 0.8);
  margin: 0 0 1.35rem;
  max-width: 34rem;
  font-size: 1.02rem;
}
.final-cta__btn {
  width: min(100%, 360px);
}
@media (max-width: 599px) {
  .final-cta__btn { width: 100%; }
}
.final-cta__reassure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.35rem;
  margin-top: 1.15rem;
  font-size: 0.84rem;
  color: rgba(245, 239, 230, 0.72);
}
.final-cta__reassure > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.final-cta__reassure .icon-svg {
  color: var(--yolk);
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--roost);
  color: rgba(245, 239, 230, 0.78);
  padding: 2.25rem 0 1.5rem;
}
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  gap: 1.5rem;
  max-width: 100%;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
.footer__brand { display: flex; flex-direction: column; gap: 0.55rem; min-width: 0; }
.footer__brand .brand { color: #fff; }
.footer__brand p { margin: 0; font-size: 0.86rem; max-width: 26ch; }
.footer__col { min-width: 0; }
.footer__col h4 {
  font-family: var(--font-display); color: #fff; font-size: 0.8rem;
  margin: 0 0 0.65rem; letter-spacing: 0.02em;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer__col a { font-size: 0.86rem; }
.footer__bottom {
  margin-top: 1.75rem; padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  justify-content: space-between; font-size: 0.78rem;
}

/* Sticky CTA */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 246, 236, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(75, 47, 40, 0.08);
}
.sticky-cta.is-visible { display: block; }
.sticky-cta .btn { white-space: normal; }
@media (min-width: 900px) {
  .sticky-cta, .sticky-cta.is-visible { display: none !important; }
}
body.has-sticky-cta { padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom)); }

.mt-1 { margin-top: 0.45rem; }
.mt-2 { margin-top: 0.85rem; }
.link-accent { font-weight: 700; color: var(--burnt); }
