/* ============================================================================
   Haven — marketing stylesheet (LIGHT, warm & rounded)
   Mirrors the app: warm ivory base, charcoal ink, coral accent, soft shadows,
   generous radii. Brand accents come from CSS custom properties injected by the
   layout from site settings, so a white-label rebrand stays a colour change.
   ============================================================================ */

:root {
  /* Warm light base (fixed) */
  --paper: #F7F4EF;       /* page background */
  --paper-2: #F1ECE4;     /* alternating / band background */
  --surface: #FFFFFF;     /* cards */
  --surface-2: #FBF8F3;   /* muted card / inputs */
  --ink: #262019;         /* headings — warm charcoal */
  --ink-soft: #574F43;    /* body text */
  --muted: #938A7C;       /* secondary text */
  --line: #EAE3D7;        /* hairline */
  --line-2: #E0D8CA;

  /* Brandable accents (overridden inline from settings) */
  --c-primary: #F06A3F;   /* coral — CTAs, brand */
  --c-accent: #17C3A2;    /* seafoam — safe / positive */
  --c-signal: #F04438;

  --shadow-sm: 0 2px 8px -2px rgba(38,32,25,.10);
  --shadow: 0 14px 34px -16px rgba(38,32,25,.20);
  --shadow-lg: 0 30px 60px -24px rgba(38,32,25,.28);

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --maxw: 1160px;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;
  --font-mono: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--c-primary);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--c-primary); opacity: .6; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--c-primary) 80%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px color-mix(in srgb, var(--c-primary) 78%, transparent); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Header / topbar ---- */
.topbar {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em;
  text-align: center; color: var(--muted);
  background: var(--paper-2); border-bottom: 1px solid var(--line);
  padding: 8px 16px;
}
.topbar b { color: var(--c-primary); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--ink);
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-sm);
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--c-primary); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero { position: relative; padding: 92px 0 84px; overflow: hidden; }
/* soft warm glows behind the hero */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; }
.hero::before { width: 460px; height: 460px; background: color-mix(in srgb, var(--c-primary) 22%, transparent); top: -120px; right: -80px; }
.hero::after { width: 380px; height: 380px; background: color-mix(in srgb, var(--c-accent) 18%, transparent); bottom: -140px; left: -100px; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin: 18px 0 20px; }
.hero h1 .hl { color: var(--c-primary); }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 30em; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); font-family: var(--font-mono); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 22%, transparent); }
/* little avatar stack + rating as social proof */
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.av-stack { display: flex; }
.av-stack span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--paper); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; margin-left: -10px; font-family: var(--font-display); }
.av-stack span:first-child { margin-left: 0; }
.hero-proof .rate b { color: var(--ink); } .hero-proof .rate { font-size: 13.5px; color: var(--muted); }
.hero-proof .stars { color: #F5A623; letter-spacing: 1px; }

/* ---- App phone mock (mirrors the real app) ---- */
.app-visual { position: relative; justify-self: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 9/19; border-radius: 42px;
  background: var(--paper); border: 10px solid var(--ink);
  box-shadow: var(--shadow-lg); overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: var(--ink); border-radius: 0 0 14px 14px; z-index: 5; }
.phone video, .phone > img { width: 100%; height: 100%; object-fit: cover; }
/* CSS map fallback inside the phone */
.pmap { position: absolute; inset: 0; background:
    radial-gradient(120% 90% at 30% 10%, #FBF8F2 0%, #EFE9DE 60%, #E7E0D2 100%); }
.pmap .road { position: absolute; background: #E0D8C6; border-radius: 6px; }
.pmap .road.a { top: 30%; left: -10%; width: 130%; height: 12px; transform: rotate(-9deg); }
.pmap .road.b { top: -5%; left: 55%; width: 12px; height: 80%; transform: rotate(7deg); }
.pmap .place { position: absolute; width: 130px; height: 130px; border-radius: 50%;
  left: 16%; top: 30%; background: color-mix(in srgb, var(--c-accent) 12%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--c-accent) 45%, transparent); }
.pchip { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 5px; z-index: 3; }
.pchip .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5.5px currentColor, var(--shadow-sm); }
.pchip .tag { font-size: 10.5px; font-family: var(--font-mono); color: var(--ink); background: var(--surface); padding: 2px 8px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.pchip.p1 { left: 24%; top: 30%; color: var(--c-primary); }
.pchip.p2 { left: 58%; top: 15%; color: var(--c-accent); }
.pchip.p3 { left: 60%; top: 52%; color: #4FB0E0; }
/* bottom sheet inside phone */
.psheet { position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--surface);
  border-radius: 20px; padding: 12px 12px 14px; box-shadow: var(--shadow); z-index: 4; }
.psheet .grab { width: 34px; height: 4px; border-radius: 3px; background: var(--line-2); margin: 0 auto 10px; }
.psheet .prow { display: flex; align-items: center; gap: 10px; padding: 6px 4px; }
.psheet .prow + .prow { border-top: 1px solid var(--line); }
.psheet .pav { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; font-family: var(--font-display); }
.psheet .pn { font-size: 12.5px; color: var(--ink); font-weight: 600; }
.psheet .pm { font-size: 10.5px; color: var(--muted); font-family: var(--font-mono); }
.psheet .pdot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; }
/* floating notification toast beside the phone */
.float-toast { position: absolute; z-index: 6; background: var(--surface); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 11px; width: 236px; }
.float-toast .fi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-toast .ft { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.float-toast .fs { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }
.float-toast.t-top { top: 8%; left: -46px; animation: floaty 6s ease-in-out infinite .8s; }
.float-toast.t-bot { bottom: 12%; right: -40px; animation: floaty 6.6s ease-in-out infinite .2s; }

/* ---- Trust marquee ---- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust .container { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; padding: 20px 24px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }

/* ---- Sections ---- */
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 56px; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 14px; }
.section-head p { color: var(--ink-soft); margin-top: 16px; font-size: 18px; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: color-mix(in srgb, var(--c-primary) 12%, transparent);
  color: var(--c-primary);
}
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15.5px; }
.features.rich { grid-template-columns: repeat(3, 1fr); }
.feature.big { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 0; overflow: hidden; }
.feature.big .fb-text { padding: 40px; }
.feature.big .fb-art { background: var(--paper-2); align-self: stretch; display: grid; place-items: center; padding: 30px; }
.feature.big .fb-art img { width: 82%; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.step { position: relative; text-align: center; }
.step .num {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 18px;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }
.step .art { height: 120px; margin: 0 auto 12px; }
.step .art img { height: 100%; margin: 0 auto; }

/* Screenshots gallery */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: end; }
.shot { border-radius: 32px; overflow: hidden; border: 8px solid var(--ink); box-shadow: var(--shadow-lg); aspect-ratio: 9/19; background: var(--paper); }
.shot.mid { transform: translateY(-22px) scale(1.02); }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote p { font-size: 17px; color: var(--ink); line-height: 1.5; }
.quote .who { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.quote .who .qav { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); font-size: 14px; }
.quote .who b { color: var(--ink); display: block; font-weight: 600; }
.stars { color: #F5A623; letter-spacing: 2px; margin-bottom: 14px; font-size: 15px; }

/* Value band */
.band { background: var(--ink); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: color-mix(in srgb, var(--c-primary) 24%, transparent); filter: blur(80px); top: -160px; right: -60px; }
.band .container { position: relative; padding: 88px 24px; text-align: center; }
.band .eyebrow { color: color-mix(in srgb, var(--c-primary) 88%, #fff); justify-content: center; }
.band .eyebrow::before { background: currentColor; }
.band h2 { color: #fff; font-size: clamp(30px, 3.8vw, 44px); max-width: 22ch; margin: 14px auto 0; }
.band p { color: rgba(255,255,255,.72); margin: 16px auto 0; max-width: 46ch; font-size: 18px; }
.honesty {
  margin: 30px auto 0; max-width: 660px; text-align: left;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm); padding: 18px 20px; font-size: 14.5px; color: rgba(255,255,255,.72);
}
.honesty b { color: #fff; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { border-color: color-mix(in srgb, var(--c-primary) 55%, transparent); box-shadow: 0 30px 60px -26px color-mix(in srgb, var(--c-primary) 60%, transparent); position: relative; transform: scale(1.02); }
.plan.featured:hover { transform: scale(1.02) translateY(-4px); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--c-primary); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 22px; }
.plan .blurb { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; min-height: 42px; }
.plan .price { font-family: var(--font-display); font-size: 44px; color: var(--ink); font-weight: 700; }
.plan .price .per { font-family: var(--font-body); font-size: 15px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--c-accent); }
.plan .btn { margin-top: auto; }

/* App band */
.appband .container { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.appband h2 { font-size: clamp(28px, 3.6vw, 44px); }
.appband p { color: var(--ink-soft); margin-top: 14px; font-size: 18px; }
.store-badges { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow); transition: transform .15s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge small { display: block; font-size: 10px; font-weight: 500; opacity: .7; line-height: 1; }
.store-badge span { font-size: 16px; line-height: 1.1; }
.store-badge svg { width: 22px; height: 22px; }

/* Newsletter */
.newsletter { background: var(--c-primary); color: #fff; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.14); filter: blur(50px); top: -160px; left: 10%; }
.newsletter .container { position: relative; padding: 68px 24px; text-align: center; }
.newsletter h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.newsletter p { color: rgba(255,255,255,.86); margin-top: 10px; }
.nl-form { display: flex; gap: 10px; max-width: 480px; margin: 26px auto 0; }
.nl-form input { flex: 1; padding: 15px 18px; border-radius: 999px; border: none; font-size: 15px; background: rgba(255,255,255,.18); color: #fff; }
.nl-form input::placeholder { color: rgba(255,255,255,.75); }
.nl-form button { background: #fff; color: var(--c-primary); border: none; box-shadow: none; }
.nl-form button:hover { transform: translateY(-2px); }
.nl-ok { margin-top: 16px; font-weight: 600; color: #fff; background: rgba(0,0,0,.16); display: inline-block; padding: 9px 18px; border-radius: 999px; }
.nl-err { margin-top: 12px; color: #fff; font-weight: 600; }

/* Footer */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 68px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer .brand { margin-bottom: 14px; color: var(--ink); }
.footer .brand-mark { background: var(--ink); }
.footer .tagline { color: var(--muted); font-size: 14.5px; max-width: 26ch; }
.footer h4 { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-soft); font-size: 14.5px; }
.footer a:hover { color: var(--c-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; gap: 16px; flex-wrap: wrap; }
.socials { display: flex; gap: 12px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-soft); background: var(--surface); }
.socials a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.socials svg { width: 17px; height: 17px; }

/* ---- Legal / prose page ---- */
.page-hero { padding: 68px 0 26px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero .lead { color: var(--muted); margin-top: 12px; }
.prose { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p { color: var(--ink-soft); margin: 0 0 16px; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 22px; margin: 0 0 18px; display: grid; gap: 8px; }
.prose a { color: var(--c-primary); text-decoration: underline; }
.prose blockquote { border: 1px solid var(--line); background: var(--surface-2); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 20px; color: var(--muted); }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--font-mono); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero .container, .appband .container { grid-template-columns: 1fr; }
  .app-visual { margin-top: 20px; }
  .float-toast.t-top { left: 0; } .float-toast.t-bot { right: 0; }
  .features, .features.rich, .steps, .quotes, .pricing, .shots { grid-template-columns: 1fr; }
  .feature.big { grid-column: span 1; grid-template-columns: 1fr; }
  .shot.mid { transform: none; }
  .plan.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; box-shadow: var(--shadow); }
  .nav-toggle { display: inline-grid; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .nl-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .shots { max-width: 300px; margin: 0 auto; }
}

/* ---- Coply co-parenting marketing refresh ---- */
.brand-mark {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  font-size: 17px;
}
.coply-hero .keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.keyword-chips span {
  padding: 7px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
}
.listing-phone {
  width: min(420px, 100%);
  aspect-ratio: 510 / 1116;
  border: 0;
  border-radius: 30px;
  background: transparent;
}
.listing-phone > img { object-fit: cover; }
.feature-nine { grid-template-columns: repeat(3, 1fr); }
.tone-mint .icon { color: var(--c-accent); background: color-mix(in srgb, var(--c-accent) 13%, transparent); }
.tone-violet .icon { color: #7568C7; background: #F0EDFF; }
.tone-amber .icon { color: #D98A20; background: #FFF3DF; }
.screens-section { background: var(--paper-2); }
.all-screens { grid-template-columns: repeat(4, 1fr); align-items: start; gap: 36px 22px; }
.all-screens .shot {
  aspect-ratio: auto;
  border: 0;
  border-radius: 28px;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}
.all-screens .shot img {
  aspect-ratio: 510 / 1116;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.all-screens figcaption {
  margin-top: 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
  text-align: center;
}
.market-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.market-links a { display: grid; gap: 6px; }
.market-links b { color: var(--ink); font-size: 18px; }
.market-links span { color: var(--ink-soft); font-size: 14px; }
.narrow { max-width: 820px; }
.faq-section details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.faq-section summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 650;
  padding: 18px 32px 18px 0;
}
.faq-section details p { padding: 0 0 18px; color: var(--ink-soft); }
.market-hero {
  padding: 100px 0 84px;
  text-align: center;
  background:
    radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--c-primary) 18%, transparent), transparent 35%),
    radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--c-accent) 16%, transparent), transparent 35%);
}
.market-hero h1 { font-size: clamp(38px, 6vw, 66px); margin: 18px auto; max-width: 18ch; }
.market-hero p { max-width: 52rem; margin: 0 auto; font-size: 19px; }
.market-hero .hero-cta { justify-content: center; }
.capability-card { margin-top: 24px; }
.capability-card h2 { font-size: 28px; margin-bottom: 18px; }
.capability-card ul { columns: 2; padding-left: 22px; }
.capability-card li { margin: 0 0 10px; break-inside: avoid; }
.capability-card p { margin-top: 20px; color: var(--muted); font-size: 14px; }
.appband .app-visual > img { max-height: 700px; width: auto; margin: 0 auto; border-radius: 28px; box-shadow: var(--shadow-lg); }

@media (max-width: 960px) {
  .feature-nine, .market-links { grid-template-columns: repeat(2, 1fr); }
  .all-screens { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .feature-nine, .market-links { grid-template-columns: 1fr; }
  .all-screens { grid-template-columns: repeat(2, 1fr); max-width: none; gap: 28px 14px; }
  .capability-card ul { columns: 1; }
  .market-hero { padding: 72px 0 60px; }
}
