/* ===========================================================================
   Custody Hero — marketing site
   Warm "editorial" palette mirrored from the app (mobile/src/shared/theme.ts):
   cream paper, terracotta ink, Averia Serif Libre titles, soft floating cards,
   near-black floating bands, supporting green + gold accents.
   =========================================================================== */

:root {
  --bg: #efe9e0;          /* warm cream paper */
  --bg-deep: #e7dfd1;     /* slightly deeper cream for banding */
  --card: #ffffff;        /* floating white surfaces */
  --card-alt: #f5f0e8;    /* inset / input surfaces */
  --border: #e6ded1;      /* barely-there warm hairline */
  --ink: #26211b;         /* warm near-black */
  --dim: #6e6557;         /* soft warm grey — AA on cream */
  --accent: #da5a2a;      /* terracotta — the signature */
  --accent-deep: #c14a1e; /* AA-safe terracotta for white text */
  --accent-press: #a83f17;
  --accent-text: #a83e16; /* terracotta for small text on cream (AA) */
  --accent-soft: #f4cdb6; /* peachy tint */
  --hero: #1c1a16;        /* near-black hero */
  --hero-text: #f3ede3;   /* light ink on hero */
  --good: #4f9d69;

  --green: #4f9d69;
  --green-deep: #3f8557;  /* AA-safe green for white text */
  --green-soft: #d8ecdd;
  --gold: #e0a33e;
  --gold-soft: #f7e4c2;
  --berry: #c0617f;
  --berry-soft: #f1d6df;

  --serif: "Averia Serif Libre", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    Helvetica, Arial, sans-serif;

  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow: 0 18px 40px -18px rgba(90, 74, 56, 0.4),
    0 4px 12px -6px rgba(90, 74, 56, 0.2);
  --shadow-sm: 0 8px 20px -10px rgba(90, 74, 56, 0.35);

  --maxw: 1120px;
}

/* ------------------------------------------------------------------ reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* sticky nav clearance for anchor jumps */
  -webkit-text-size-adjust: 100%;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.08;
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

/* ------------------------------------------------------------------ a11y */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--hero-text);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 0 0 14px 14px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}
:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
  border-radius: 4px;
}
.band-dark :focus-visible,
.photo-band :focus-visible {
  outline-color: var(--gold);
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(0) scale(0.97);
}
.btn-primary {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(218, 90, 42, 0.7);
}
.btn-primary:hover {
  background: var(--accent-press);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(218, 90, 42, 0.8);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--card);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-ghost.on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}
.btn-ghost.on-dark:hover {
  background: rgba(255, 255, 255, 0.18);
}
.btn-dark {
  background: var(--hero);
  color: var(--hero-text);
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn .apple {
  font-size: 19px;
  line-height: 1;
  margin-top: -2px;
}
.cta-note {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--dim);
  text-align: center;
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 233, 224, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
}
.brand img {
  width: 30px;
  height: 30px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  position: relative;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.78;
  padding: 6px 0;
  transition: opacity 0.18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* hamburger (shown ≤620px) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 24px calc(20px + env(safe-area-inset-bottom));
  border-bottom: 1px solid var(--border);
  background: rgba(239, 233, 224, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a:not(.btn) {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn {
  margin-top: 16px;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .spark {
  width: 14px;
  height: 14px;
}
.hero h1 {
  font-size: clamp(34px, 6.2vw, 68px);
  margin-bottom: 22px;
}
.hero h1 .accent {
  color: var(--accent);
}
.hero .lede {
  font-size: 19px;
  color: #5a5147;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.photo-band .hero-actions {
  justify-content: center;
}
.hero-meta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--dim);
}
.hero-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(79, 157, 105, 0.18);
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-art img {
  position: relative;
  z-index: 2;
  width: min(420px, 90%);
  filter: drop-shadow(0 30px 50px rgba(90, 74, 56, 0.35));
  animation: float 6s ease-in-out infinite;
}
.hero-halo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(500px, 110%);
  aspect-ratio: 1;
  height: auto;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(244, 205, 182, 0.95),
    rgba(224, 163, 62, 0.28) 42%,
    rgba(239, 233, 224, 0) 70%
  );
  z-index: 1;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ------------------------------------------------------------------ trust strip (marquee) */
.strip {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 22px 0;
  animation: marquee 32s linear infinite;
}
.strip:hover .strip-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 56px;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
}
.strip-item img {
  width: 26px;
  height: 26px;
}

/* shared inline icon (custom thumbprint glyphs) */
.ic {
  flex: none;
  display: inline-block;
  object-fit: contain;
}

/* ------------------------------------------------------------------ section scaffold */
section {
  position: relative;
}
.band {
  padding: 96px 0;
}
.band-deep {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.band-deep::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -70px;
  width: 280px;
  height: 280px;
  background: url("assets/logo.png") center / contain no-repeat;
  opacity: 0.05;
  transform: rotate(-10deg);
  pointer-events: none;
}
.band-deep > .wrap {
  position: relative;
  z-index: 1;
}
.section-head {
  max-width: 660px;
  margin: 0 auto 56px;
  text-align: center;
}
.kicker {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin-bottom: 16px;
}
.section-head p {
  font-size: 18px;
  color: #5a5147;
  margin: 0;
}

/* ------------------------------------------------------------------ feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature .ficon {
  width: 60px;
  height: 60px;
  padding: 11px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}
.feature:nth-child(2) .ficon {
  background: var(--green-soft);
}
.feature:nth-child(3) .ficon {
  background: var(--gold-soft);
}
.feature:nth-child(4) .ficon {
  background: var(--berry-soft);
}
.feature:nth-child(5) .ficon {
  background: var(--gold-soft);
}
.feature:nth-child(6) .ficon {
  background: var(--green-soft);
}
.feature h3 {
  font-size: 21px;
  margin-bottom: 9px;
}
.feature p {
  margin: 0;
  font-size: 15.5px;
  color: #5a5147;
}

/* ------------------------------------------------------------------ split feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.rev .split-text {
  order: 2;
}
.split-text .kicker {
  margin-bottom: 14px;
}
.split-text h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  margin-bottom: 18px;
}
.split-text p {
  font-size: 17.5px;
  color: #5a5147;
  margin: 0 0 22px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 13px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
}
.checklist .ic {
  width: 26px;
  height: 26px;
}

/* ------------------------------------------------------------------ compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.compare-col {
  border-radius: var(--radius);
  padding: 32px 30px;
}
.compare-col.old {
  background: var(--card-alt);
  border: 1px dashed #d8ccb8;
}
.compare-col.new {
  background: var(--hero);
  color: var(--hero-text);
  box-shadow: var(--shadow);
}
.compare-col h3 {
  font-size: 22px;
  margin-bottom: 20px;
}
.compare-col.new h3 {
  color: #fff;
}
.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.compare-col li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15.5px;
}
.compare-col .ic {
  width: 26px;
  height: 26px;
}
.compare-col.old .ic {
  filter: grayscale(0.9) opacity(0.55);
}
.compare-col.old li {
  color: #6f6759;
}

/* ------------------------------------------------------------------ testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.quote::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 0.4;
  color: var(--accent-soft);
  margin-bottom: 10px;
}
.quote .stars {
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: 15px;
}
.quote p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 20px;
  color: var(--ink);
}
.quote .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
}
.quote .who .name {
  font-weight: 600;
  font-size: 15px;
}
.quote .who .role {
  font-size: 13px;
  color: var(--dim);
}

/* ------------------------------------------------------------------ FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item[open] {
  box-shadow: var(--shadow);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18.5px;
  padding: 20px 24px;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  flex: none;
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--accent-text);
  border-radius: 2px;
}
.faq-icon::before {
  width: 12px;
  height: 2px;
}
.faq-icon::after {
  width: 2px;
  height: 12px;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: #fff;
}
.faq-body {
  padding: 0 24px 22px;
  font-size: 16px;
  color: #5a5147;
  max-width: 64ch;
}

/* ------------------------------------------------------------------ pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  align-items: start;
}
.pricing.solo {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
  justify-items: center;
  max-width: 460px;
}
.pricing.solo .plan.featured {
  width: 100%;
  transform: none;
}
.pricing.solo .plan.featured:hover {
  transform: translateY(-5px);
}
.price .price-from {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-soft);
  margin-right: 8px;
  vertical-align: middle;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.plan.featured {
  background: var(--hero);
  color: var(--hero-text);
  box-shadow: var(--shadow);
  position: relative;
  transform: scale(1.03);
}
.plan.featured:hover {
  transform: scale(1.03) translateY(-5px);
}
.plan .tag {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  animation: tag-pulse 3s ease-in-out infinite;
}
@keyframes tag-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(218, 90, 42, 0.45);
  }
  55% {
    box-shadow: 0 0 0 9px rgba(218, 90, 42, 0);
  }
}
.plan h3 {
  font-size: 23px;
  margin-bottom: 6px;
}
.plan .price {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  margin: 10px 0 2px;
}
.plan .price small {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--dim);
}
.plan.featured .price small {
  color: var(--accent-soft);
}
.plan .desc {
  font-size: 15px;
  color: #5a5147;
  margin-bottom: 22px;
}
.plan.featured .desc {
  color: rgba(243, 237, 227, 0.78);
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
  flex: 1;
}
.plan li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  align-items: center;
}
.plan .ic {
  width: 24px;
  height: 24px;
}
.plan .btn-ghost {
  border-color: #d8ccb8;
  background: var(--card-alt);
}
.plan .btn-ghost:hover {
  background: var(--bg-deep);
}
.plan.featured .cta-note {
  color: rgba(243, 237, 227, 0.6);
}

/* ------------------------------------------------------------------ footer */
.footer {
  padding: 64px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer .brand {
  margin-bottom: 14px;
}
.footer-blurb {
  font-size: 14.5px;
  color: var(--dim);
  max-width: 280px;
}
.footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
}
.footer-col a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 14.5px;
  color: var(--dim);
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--accent-text);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 13.5px;
  color: var(--dim);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .signoff {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent-text);
}
.footer-disclaim {
  max-width: 640px;
  font-size: 13px;
  color: var(--dim);
  margin-top: 18px;
  line-height: 1.55;
}

/* ==================================================================
   DYNAMIC LAYER — dark floating bands, tilted phones, callout pills,
   stat cards, squiggle, marquee.
   ================================================================== */

/* ---- dark floating-card band ------------------------------------- */
.band-dark {
  position: relative;
  background: var(--hero);
  color: var(--hero-text);
  margin: 30px clamp(12px, 2.4vw, 26px);
  border-radius: clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.band-dark::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 360px;
  height: 360px;
  background: url("assets/logo.png") center / contain no-repeat;
  opacity: 0.06;
  transform: rotate(12deg);
  pointer-events: none;
}
.band-dark .section-head h2 {
  color: #fff;
}
.band-dark .section-head p {
  color: rgba(243, 237, 227, 0.72);
}
.band-dark .kicker {
  color: var(--gold);
}
.band-dark .band-caption {
  color: rgba(243, 237, 227, 0.6);
}
.band-dark .phone {
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}

/* ---- phone mockups ------------------------------------------------ */
.phone {
  width: min(300px, 84%);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 32px 54px rgba(90, 74, 56, 0.34));
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.showcase-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-band {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.phone-band .phone {
  width: min(252px, 28%);
  margin: 0;
}
.phone-band .phone:first-of-type {
  transform: rotate(-6deg) translateY(10px);
}
.phone-band .phone:last-of-type {
  transform: rotate(6deg) translateY(10px);
}
.phone-band .phone.raise {
  transform: translateY(-16px) scale(1.04);
  z-index: 3;
  position: relative;
  margin-bottom: 38px;
}
.phone-band:hover .phone {
  transform: rotate(0deg) translateY(0);
}
.showcase-art .phone {
  transform: rotate(-3deg);
}
.split.rev .showcase-art .phone {
  transform: rotate(3deg);
}
.showcase-art:hover .phone,
.split.rev .showcase-art:hover .phone {
  transform: rotate(0deg);
}
.phone-duo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
}
.phone-duo .phone {
  width: min(228px, 47%);
  margin: 0;
}
.phone-duo .phone.raise {
  transform: translateY(-14px) rotate(-3deg);
  margin-bottom: 28px;
}
.phone-duo .phone:last-of-type {
  transform: rotate(4deg);
}
.phone-duo:hover .phone {
  transform: rotate(0) translateY(0);
}
.band-caption {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--dim);
  margin-top: 30px;
}

/* ---- floating callout pills --------------------------------------- */
.callout {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 10px 15px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 26px -10px rgba(90, 74, 56, 0.55);
  white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.band-dark .callout {
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.5);
}
.callout::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.callout.terra {
  background: var(--accent-deep);
  color: #fff;
}
.callout.terra::before {
  background: #fff;
}
.callout.green {
  background: var(--green-deep);
  color: #fff;
}
.callout.green::before {
  background: #fff;
}
.callout.gold {
  background: var(--gold);
  color: #3a2c12;
}
.callout.gold::before {
  background: #3a2c12;
}
.callout:nth-of-type(2) {
  animation-delay: 1.4s;
}
.callout:nth-of-type(3) {
  animation-delay: 2.6s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* ---- hand-drawn connector squiggle -------------------------------- */
.squiggle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.squiggle path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 12;
  opacity: 0.35;
  stroke-dashoffset: 0;
  animation: dash 22s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -400;
  }
}
.hero-squiggle {
  bottom: 8%;
  left: 36%;
  width: 300px;
  height: 200px;
}

/* ---- stat band ----------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}
.stat {
  border-radius: var(--radius);
  padding: 38px 26px;
  text-align: center;
}
.stat .num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .lbl {
  margin-top: 12px;
  font-size: 15.5px;
  color: #5a5147;
}
.stat.terra {
  background: var(--accent-soft);
}
.stat.terra .num {
  color: var(--accent-text);
}
.stat.green {
  background: var(--green-soft);
}
.stat.green .num {
  color: #2f7a48;
}
.stat.gold {
  background: var(--gold-soft);
}
.stat.gold .num {
  color: #8f6516;
}

/* ---- testimonials on dark ------------------------------------------ */
.band-dark .quote {
  background: rgba(243, 237, 227, 0.06);
  border-color: rgba(243, 237, 227, 0.12);
}
.band-dark .quote p {
  color: var(--hero-text);
}
.band-dark .quote .role {
  color: rgba(243, 237, 227, 0.6);
}
.band-dark .quotes .quote:nth-child(1) {
  transform: rotate(-1.8deg);
}
.band-dark .quotes .quote:nth-child(3) {
  transform: rotate(1.8deg);
}
.band-dark .quotes .quote:hover {
  transform: rotate(0) translateY(-5px);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.55);
}

/* ==================================================================
   EMOTIONAL PHOTOGRAPHY — full-bleed parallax bands + framed photos
   ================================================================== */
.photo-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 64vh, 660px);
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 48px);
  margin: 30px clamp(12px, 2.4vw, 26px);
  isolation: isolate;
}
.photo-band .parallax-img {
  position: absolute;
  left: 0;
  top: -14%;
  width: 100%;
  height: 128%;
  object-fit: cover;
  object-position: center 38%;
  z-index: -2;
  will-change: transform;
}
.photo-band .photo-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.photo-band.center .photo-overlay {
  background: radial-gradient(
      120% 90% at 50% 50%,
      rgba(28, 26, 22, 0.35),
      rgba(28, 26, 22, 0.78) 100%
    ),
    linear-gradient(rgba(28, 26, 22, 0.3), rgba(28, 26, 22, 0.55));
}
.photo-band .photo-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 56px 0;
}
.photo-band.center .photo-inner {
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
}
.photo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.photo-eyebrow img {
  width: 16px;
  height: 16px;
}
.photo-band h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  color: #fff;
  margin: 0 0 18px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.photo-band h2 .accent {
  color: var(--accent-soft);
}
.photo-band .photo-sub {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: rgba(243, 237, 227, 0.88);
  margin: 0 0 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* framed photo inside a split (the "human" beat) */
.photo-frame {
  position: relative;
  display: flex;
  justify-content: center;
}
.photo-frame img {
  width: min(420px, 92%);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 60px -22px rgba(90, 74, 56, 0.55);
  transform: rotate(-2.5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.photo-frame:hover img {
  transform: rotate(0);
}
.photo-frame .frame-tag {
  position: absolute;
  bottom: 8%;
  right: 4%;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: bob 5s ease-in-out infinite;
}
.photo-frame .frame-tag img {
  width: 18px;
  height: 18px;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

/* ------------------------------------------------------------------ mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(239, 233, 224, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mobile-cta .btn {
  width: 100%;
}
.mobile-cta.show {
  transform: translateY(0);
}

/* ==================================================================
   LEGAL PAGES (privacy / terms)
   ================================================================== */
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 233, 224, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.legal-nav .nav-inner {
  height: 68px;
}
.legal-nav .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dim);
}
.legal-nav .back:hover {
  color: var(--accent-text);
}
.legal-main {
  padding: 56px 0 40px;
}
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
}
.legal-doc h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
  margin: 0 0 12px;
}
.legal-updated {
  font-size: 14.5px;
  color: var(--dim);
  margin-bottom: 22px;
}
.legal-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #5a5147;
  margin: 0 0 14px;
}
.legal-disclaimer {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #5a3a28;
  margin: 26px 0 8px;
}
.legal-toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 32px 0 44px;
  box-shadow: var(--shadow-sm);
}
.legal-toc h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 14px;
}
.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 36px;
}
.legal-toc li {
  counter-increment: toc;
  margin-bottom: 9px;
  font-size: 15px;
  break-inside: avoid;
}
.legal-toc a {
  color: var(--ink);
  opacity: 0.85;
}
.legal-toc a::before {
  content: counter(toc) ". ";
  color: var(--accent);
  font-weight: 700;
}
.legal-toc a:hover {
  color: var(--accent-text);
  opacity: 1;
}
.legal-section {
  margin-bottom: 36px;
  scroll-margin-top: 88px;
}
.legal-section h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 28px);
  line-height: 1.15;
  margin: 0 0 14px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.legal-section h2 .num {
  font-size: 17px;
  color: var(--accent);
  flex: none;
}
.legal-section p {
  font-size: 16.5px;
  line-height: 1.65;
  color: #463f37;
  margin: 0 0 14px;
}
.legal-section ul {
  margin: 0 0 14px;
  padding-left: 4px;
  list-style: none;
}
.legal-section li {
  position: relative;
  padding-left: 22px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #463f37;
  margin-bottom: 9px;
}
.legal-section li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
}
.legal-ph {
  background: #fde7b3;
  color: #6b4e09;
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95em;
}
.legal-contact {
  color: var(--accent-text);
  font-weight: 600;
}
.legal-foot {
  max-width: 820px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--dim);
}
.legal-foot a {
  color: var(--dim);
}
.legal-foot a:hover {
  color: var(--accent-text);
}
@media (max-width: 620px) {
  .legal-toc ol {
    columns: 1;
  }
  .legal-main {
    padding: 36px 0 32px;
  }
}

/* ------------------------------------------------------------------ reveal anim */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-left {
  transform: translateX(-70px);
}
.reveal-right {
  transform: translateX(70px);
}
.reveal-scale {
  transform: scale(0.9);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
  .hero .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .hero-meta {
    justify-content: center;
  }
  .hero-art {
    order: -1;
    margin-bottom: 20px;
  }
  .features,
  .quotes {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .compare,
  .pricing {
    grid-template-columns: 1fr;
  }
  .split.rev .split-text {
    order: 0;
  }
  .showcase-art {
    order: -1;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
  }
  /* callout pills become static chips beneath the art */
  .callout {
    position: static !important;
    order: 9;
    animation: none;
  }
  .phone-band .phone {
    width: min(240px, 44%);
  }
  .phone-band .phone.raise {
    margin-bottom: 0;
  }
  .phone-duo .phone.raise {
    margin-bottom: 0;
  }
  .phone-band .phone:first-of-type,
  .phone-band .phone:last-of-type,
  .phone-band .phone.raise,
  .phone-duo .phone.raise,
  .phone-duo .phone:last-of-type,
  .showcase-art .phone,
  .split.rev .showcase-art .phone {
    transform: none;
  }
  .phone-band {
    gap: 14px 10px;
  }
  .stats {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-squiggle {
    display: none;
  }
  .photo-frame {
    order: -1;
    margin-bottom: 8px;
  }
  .photo-frame img {
    transform: rotate(0);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  html {
    scroll-padding-top: 76px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta .btn-ghost,
  .nav-cta .btn-primary {
    display: none; /* hamburger menu + sticky bottom bar carry the CTA */
  }
  .nav-inner {
    height: 64px;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .nav-toggle {
    display: inline-flex;
  }

  /* tighter rhythm */
  .band {
    padding: 56px 0;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .stats {
    margin-bottom: 40px;
  }
  .band-caption {
    margin-top: 18px;
  }

  /* hero: copy first, art after, everything closer to the fold */
  .hero {
    padding: 36px 0 64px;
  }
  .hero-art {
    order: 0;
    margin: 26px 0 0;
  }
  .hero-art img {
    width: min(300px, 78%);
  }

  .features,
  .quotes {
    grid-template-columns: 1fr;
  }

  /* phone clusters + testimonials become swipeable scroll-snap carousels */
  .phone-band,
  .phone-duo {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin: 0 -24px;
    padding: 8px 24px 16px;
    scrollbar-width: none;
  }
  .phone-band::-webkit-scrollbar,
  .phone-duo::-webkit-scrollbar {
    display: none;
  }
  .phone-band .phone,
  .phone-duo .phone {
    flex: 0 0 68%;
    width: 68%;
    max-width: 270px;
    scroll-snap-align: center;
  }
  .phone-band .callout {
    display: none;
  }
  .quotes {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin: 0 -24px;
    padding: 4px 24px 16px;
    scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar {
    display: none;
  }
  .quote {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
  .band-dark .quotes .quote:nth-child(1),
  .band-dark .quotes .quote:nth-child(3) {
    transform: none;
  }

  /* pricing: featured plan leads on mobile */
  .plan.featured {
    order: -1;
    transform: none;
  }
  .plan.featured:hover {
    transform: translateY(-5px);
  }

  .photo-band {
    min-height: 380px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer {
    padding-bottom: calc(40px + 76px + env(safe-area-inset-bottom));
  }
  .mobile-cta {
    display: block;
  }
}

@media (max-width: 400px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
  .hero-actions .btn,
  .photo-inner .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    transition-duration: 0.01ms;
    transform: none;
  }
  .hero-art img,
  .callout,
  .frame-tag,
  .strip-track,
  .plan .tag,
  .squiggle path {
    animation: none !important;
  }
  .phone,
  .quote,
  .photo-frame img,
  .btn,
  .feature,
  .plan,
  .mobile-cta {
    transition: none;
  }
  .photo-band .parallax-img {
    will-change: auto;
  }
}
