/* =========================================================
   Public / marketing styles (Module 11)
   Builds on the app.css design tokens (Rose & Ink).
   ========================================================= */
.pub { background: var(--bg); color: var(--text); }
.btn-ghost { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn-light { background: #fff; color: var(--plum); border: none; }
.btn-light:hover { background: #fff; opacity: .92; color: var(--plum); }
.u-sub { color: var(--text-muted); }

/* Nav */
.pub-nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.pub-nav.is-scrolled { border-color: var(--border); }
.pub-nav__inner { max-width: 1160px; margin: 0 auto; padding: .8rem 1.25rem; display: flex; align-items: center; gap: 1.5rem; }
.pub-brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); font-weight: 700; }
.pub-brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.pub-brand__name { font-family: var(--font-display); font-size: 1.15rem; }
.pub-links { display: flex; gap: 1.4rem; margin-left: 1rem; }
.pub-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: .92rem; transition: color .15s; }
.pub-links a:hover { color: var(--rose); }
.pub-cta { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.pub-burger { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text); cursor: pointer; }
.icon-btn { background: none; border: none; color: var(--text); font-size: 1.15rem; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.icon-btn:hover { background: var(--bg-soft); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__glow { position: absolute; inset: -30% 0 auto 0; height: 600px; background: radial-gradient(60% 60% at 70% 20%, color-mix(in srgb, var(--rose) 22%, transparent), transparent); pointer-events: none; }
.hero__inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 4rem 1.25rem 3rem; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--rose); background: color-mix(in srgb, var(--rose) 10%, transparent); padding: .35rem .8rem; border-radius: 999px; }
.hero__title { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; margin: 1rem 0; font-weight: 600; }
.hero__title em { font-style: italic; color: var(--rose); }
.hero__lead { font-size: 1.12rem; color: var(--text-muted); max-width: 34ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-lg { padding: .75rem 1.5rem; font-size: 1rem; }
.hero__trust { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero__trust span { font-size: .84rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: .35rem; }
.hero__trust i { color: var(--rose); }

/* Hero collage */
.hero__collage { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 108px; gap: .75rem; }
.collage__tile { border-radius: 18px; overflow: hidden; background: var(--grad-brand); display: block; box-shadow: var(--shadow); }
.collage__tile img { width: 100%; height: 100%; object-fit: cover; }
.collage__tile.is-f { background: linear-gradient(120deg,#c026d3,#f0abfc); }
.collage__tile--1 { grid-row: span 2; }
.collage__tile--2 { grid-column: span 2; }
.collage__tile--5 { grid-row: span 2; }
.hero__collage--empty { place-items: center; }
.hero__collage--empty .collage__tile { width: 160px; height: 160px; display: grid; place-items: center; color: #fff; font-size: 3rem; grid-row: auto; }

/* Stats */
.stats { border-block: 1px solid var(--border); background: var(--bg-soft); }
.stats__inner { max-width: 1000px; margin: 0 auto; padding: 2rem 1.25rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.stat__n { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--rose); }
.stat__l { font-size: .86rem; color: var(--text-muted); }

/* Sections */
.section { max-width: 1160px; margin: 0 auto; padding: 4rem 1.25rem; }
.section--tint { max-width: none; background: var(--bg-soft); }
.section--tint > * { max-width: 1160px; margin-inline: auto; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__title { font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.4rem); font-weight: 600; }
.section__sub { color: var(--text-muted); margin-top: .5rem; }
.section__cta { text-align: center; margin-top: 2rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; }
.step__num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.step__icon { font-size: 2.2rem; color: var(--rose); }
.step h3 { font-family: var(--font-display); font-size: 1.25rem; margin: .75rem 0 .5rem; }
.step p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* Member strip */
.member-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.mini { text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini__photo { display: block; aspect-ratio: 1; background: var(--grad-brand); }
.mini.is-f .mini__photo { background: linear-gradient(120deg,#c026d3,#f0abfc); }
.mini__photo img { width: 100%; height: 100%; object-fit: cover; }
.mini__name { display: block; font-weight: 600; padding: .6rem .75rem 0; }
.mini__city { display: block; font-size: .8rem; color: var(--text-muted); padding: 0 .75rem .75rem; }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.story { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.story__img { aspect-ratio: 16/10; background: var(--bg-soft); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__body { padding: 1.25rem; }
.story__names { font-family: var(--font-display); font-size: 1.2rem; display: flex; align-items: center; gap: .4rem; }
.story__names i { color: var(--rose); }
.story__meta { font-size: .82rem; color: var(--text-muted); margin: .25rem 0 .5rem; }
.story__text { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin: 0; }
.quote__stars { color: var(--gold); margin-bottom: .5rem; }
.quote blockquote { font-size: .95rem; margin: 0 0 1rem; }
.quote figcaption { font-weight: 600; }
.quote figcaption span { display: block; font-weight: 400; font-size: .82rem; color: var(--text-muted); }

/* Plan grid (public) */
.plan-grid--public { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.25rem; }

/* City chips */
.city-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.city-chip { text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .5rem 1rem; font-size: .9rem; color: var(--text); display: inline-flex; align-items: center; gap: .4rem; }
.city-chip:hover { border-color: var(--rose); color: var(--rose); }
.city-chip span { background: var(--bg-soft); border-radius: 999px; padding: 0 .5rem; font-size: .78rem; color: var(--text-muted); }

/* CTA band */
.cta-band { background: var(--grad-brand); color: #fff; }
.cta-band__inner { max-width: 800px; margin: 0 auto; padding: 4rem 1.25rem; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 600; }
.cta-band p { opacity: .92; margin: .75rem 0 1.75rem; font-size: 1.05rem; }

/* Docs / CMS page */
.doc { max-width: 780px; margin: 0 auto; padding: 3.5rem 1.25rem; }
.doc__title { font-family: var(--font-display); font-size: clamp(2rem,4vw,2.8rem); font-weight: 600; margin-bottom: 1.5rem; }
.doc__body { font-size: 1.02rem; line-height: 1.8; color: var(--text); }
.doc__body h2 { font-family: var(--font-display); margin: 2rem 0 .75rem; }
.doc__body p { margin-bottom: 1rem; }
.doc__updated { margin-top: 2.5rem; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: .85rem; }
.contact__list li { display: flex; align-items: center; gap: .6rem; }
.contact__list i { color: var(--rose); font-size: 1.15rem; }
.contact__list a { color: var(--text); text-decoration: none; }
.contact__card { padding: 1.75rem; }
.card-soft { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.field-error { color: #dc2626; font-size: .82rem; margin-top: .25rem; }
.contact__sent { text-align: center; padding: 2rem 1rem; }
.contact__sent i { font-size: 3rem; color: #16a34a; }
.contact__sent h3 { font-family: var(--font-display); margin: .75rem 0 .25rem; }

/* Footer */
.pub-foot { background: var(--bg-soft); border-top: 1px solid var(--border); }
.pub-foot__inner { max-width: 1160px; margin: 0 auto; padding: 3rem 1.25rem 2rem; display: grid; grid-template-columns: 1.4fr 2fr; gap: 2rem; }
.pub-foot__brand .u-sub { margin-top: .75rem; max-width: 32ch; font-size: .9rem; }
.pub-foot__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.pub-foot__cols h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: .85rem; }
.pub-foot__cols a { display: block; text-decoration: none; color: var(--text); font-size: .92rem; margin-bottom: .55rem; }
.pub-foot__cols a:hover { color: var(--rose); }
.pub-foot__bar { max-width: 1160px; margin: 0 auto; padding: 1.25rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .84rem; color: var(--text-muted); }
.pub-foot__bar a { color: var(--rose); text-decoration: none; }

/* Responsive */
@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__art { order: -1; }
    .stats__inner { grid-template-columns: repeat(2,1fr); }
    .steps, .stories, .quotes { grid-template-columns: 1fr; }
    .member-strip { grid-template-columns: repeat(2,1fr); }
    .contact__grid { grid-template-columns: 1fr; }
    .pub-foot__inner { grid-template-columns: 1fr; }
    .pub-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 1rem 1.25rem; gap: .5rem; }
    .pub-links.is-open { display: flex; }
    .pub-burger { display: block; }
}
