/*
 * Merlot — Partnership deck + Brand Collaboration form.
 * Self-contained design-system stylesheet (Sky Postcard palette).
 * Shared by partnership-en-*.html, partnership-tr-*.html and collaborate.html.
 * Not linked from the homepage — independent so these private pages always
 * render correctly regardless of the marketing site's own stylesheet state.
 */

@font-face {
  font-family: 'DM Serif Display';
  src: url('../assets/fonts/dm-serif-display.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dm-sans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F4FAFF;
  --sky: #7EC8F2;
  --sunny: #FFD44D;
  --coral: #FF7B54;
  --navy: #1D3A5F;

  --sky-tint: #EAF5FE;
  --sunny-tint: #FFF6DC;
  --coral-tint: #FFEAE2;
  --white: #FFFFFF;
  --ink-soft: #4B647E;   /* navy, softened, for body copy */
  --line: #D9E9F8;       /* hairline borders on --bg/--white */

  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(29,58,95,0.06), 0 10px 28px rgba(29,58,95,0.08);
  --shadow-lift: 0 18px 44px rgba(29,58,95,0.14);
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(255,123,84,0.32); }
.btn-primary:hover { background: #ff6a3c; box-shadow: 0 14px 30px rgba(255,123,84,0.4); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--sky); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(29,58,95,0.18); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sky); outline-offset: 2px;
}

/* ---------- Mini nav ---------- */
.pnav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244,250,255,0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.pnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: var(--container); margin: 0 auto; }
.pnav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.pnav-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--sunny); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex: none; }
.pnav-word { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.pnav-actions { display: flex; align-items: center; gap: 14px; }
.pnav-lang { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); text-decoration: none; padding: 6px 10px; border-radius: 999px; }
.pnav-lang:hover { color: var(--navy); background: var(--sky-tint); }
.pnav-cta { padding: 11px 22px; font-size: 0.92rem; }
@media (max-width: 560px) {
  .pnav-word { font-size: 1.1rem; }
  /* Collapse the CTA to icon-only on narrow screens. The full label lives
     in .pnav-cta span (hidden here); any arrow glyph typed directly in the
     HTML must live INSIDE that span too, or it survives this rule and
     stacks with the pseudo-element arrow below (two arrows, real bug
     caught in QC screenshots). */
  .pnav-cta span { display: none; }
  .pnav-cta::after { content: '\2192'; }
}

/* ---------- Hero ---------- */
.phero { padding: 64px 0 40px; }
.phero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.phero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sunny-tint); border: 1.5px solid var(--sunny);
  color: #8a6400; font-weight: 700; font-size: 0.85rem;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 18px;
}
.phero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--navy); margin-bottom: 18px; }
.phero h1 em { font-style: normal; color: var(--coral); background: linear-gradient(transparent 62%, var(--sunny-tint) 62%); padding: 0 2px; }
.phero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 14px; }
.phero-sub strong { color: var(--navy); }
.phero-quote { font-family: var(--serif); font-size: 1.25rem; color: var(--coral); margin-bottom: 26px; }
.phero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.phero-media { position: relative; }
.photo-frame {
  position: relative; /* anchors .photo-badge to THIS box, not the whole column */
  border-radius: var(--radius-lg); overflow: visible; box-shadow: var(--shadow-lift);
  border: 6px solid var(--white); background: var(--white);
}
.photo-frame > picture { display: block; border-radius: calc(var(--radius-lg) - 6px); overflow: hidden; }
.photo-frame img { width: 100%; height: auto; object-fit: cover; }
.photo-frame.ratio-16-10 img { aspect-ratio: 16/10; object-fit: cover; }
.photo-caption {
  background: var(--navy); color: #fff; text-align: center; padding: 14px 18px;
  font-family: var(--serif); font-size: 1.05rem;
  border-radius: 0 0 calc(var(--radius-lg) - 6px) calc(var(--radius-lg) - 6px);
}
/* Badge hangs off the photo's own bottom-right corner — must live INSIDE
   .photo-frame (not as a sibling in .phero-media) or it anchors to the
   wrong box and drifts down over the stat cards below. */
.photo-badge {
  position: absolute; right: -14px; bottom: -16px; z-index: 2;
  background: var(--coral); color: #fff; font-weight: 800; font-family: var(--sans);
  padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-card);
  border: 3px solid var(--white); font-size: 0.95rem;
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.stat-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  text-align: center; padding: 16px 10px; box-shadow: var(--shadow-card);
}
.stat-card b { display: block; font-family: var(--serif); font-size: 1.55rem; color: var(--navy); }
.stat-card span { display: block; font-size: 0.76rem; color: var(--ink-soft); margin-top: 4px; font-weight: 600; }

.bio-strip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.bio-pill {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 13px; font-size: 0.76rem; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-card);
}
.bio-pill b { color: var(--coral); margin-right: 4px; font-family: var(--serif); font-weight: 400; }

/* ---------- Breather / transition strips ---------- */
.breather {
  padding: 46px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.breather-icon {
  width: 34px; height: 34px; color: var(--sky);
}
.breather p { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); line-height: 1.35; }

/* ---------- Section shells ---------- */
.psection { padding: 68px 0; }
.psection.tint-sky { background: linear-gradient(180deg, var(--sky-tint), var(--bg)); }
.psection.tint-sunny { background: linear-gradient(180deg, var(--sunny-tint), var(--bg)); }
.psection.tint-coral { background: linear-gradient(180deg, var(--coral-tint), var(--bg)); }
.psection.tint-navy { background: var(--navy); color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--navy); }
.tint-navy .section-head h2 { color: #fff; }
.section-head .eyebrow { display: block; }
.section-head p.section-sub { margin-top: 14px; font-size: 1.05rem; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ---------- Feature / differentiator grid ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 20px; box-shadow: var(--shadow-card); text-align: left;
}
.feature-card .ico { font-size: 1.7rem; margin-bottom: 10px; display: block; }
.feature-card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 6px; }
.feature-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }
.feature-card ul { margin-top: 10px; }
.feature-card li { font-size: 0.85rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; }
.feature-card li::before { content: '\2022'; color: var(--coral); font-weight: 700; }

/* ---------- Case-study / reel cards ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 22px; }
.case-card .case-kicker { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--coral); margin-bottom: 8px; }
.case-card p.quote { font-size: 0.88rem; color: var(--ink-soft); font-style: italic; margin-bottom: 14px; min-height: 3em; }
.case-card .case-views { font-family: var(--serif); font-size: 1.7rem; color: var(--navy); display: block; }
.case-card .case-likes { font-size: 0.82rem; color: var(--coral); font-weight: 700; }
.case-card .case-label { margin-top: 10px; font-size: 0.72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.platform-card { border-radius: var(--radius-md); padding: 22px; border: 1.5px solid var(--line); background: var(--white); box-shadow: var(--shadow-card); }
.platform-card .ph-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.platform-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.platform-stats div { text-align: center; }
.platform-stats b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--coral); }
.platform-stats span { font-size: 0.74rem; color: var(--ink-soft); }

.summary-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.summary-pill { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm); text-align: center; padding: 18px 10px; }
.summary-pill b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--coral); }
.summary-pill span { font-size: 0.75rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Audience tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag-pill { background: var(--sky-tint); border: 1px solid var(--sky); color: var(--navy); font-size: 0.78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.mini-photo-card { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-card); }
.mini-photo-card img { width: 84px; height: 100px; object-fit: contain; background: var(--bg); border-radius: var(--radius-sm); flex: none; }
.mini-photo-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.price-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 26px 22px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.price-card .ico { font-size: 2.2rem; margin-bottom: 8px; }
.price-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 4px; }
.price-card .price { font-family: var(--serif); font-size: 2.2rem; color: var(--coral); margin-bottom: 10px; }
.price-card p.desc { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.55; }
.price-card ul { margin-top: auto; }
.price-card li { font-size: 0.85rem; color: var(--ink-soft); display: flex; gap: 8px; padding: 4px 0; align-items: flex-start; }
.price-card li::before { content: '\2713'; color: #3aa66a; font-weight: 800; }

.feature-package {
  position: relative; border-radius: var(--radius-lg);
  border: 3px solid var(--coral); background: linear-gradient(135deg, var(--coral-tint), var(--sunny-tint));
  padding: 44px 34px 34px; box-shadow: var(--shadow-lift); margin-bottom: 30px;
}
.feature-package .badge-pop {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff; font-weight: 800; font-size: 0.85rem;
  padding: 8px 22px; border-radius: 999px; box-shadow: var(--shadow-card); white-space: nowrap;
}
.feature-package .fp-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.feature-package h3 { font-size: 1.9rem; color: var(--navy); }
.feature-package .fp-sub { color: var(--coral); font-weight: 700; font-size: 0.92rem; margin-top: 2px; }
.feature-package p.fp-copy { margin: 14px 0 18px; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.feature-package li { font-size: 0.92rem; color: var(--navy); font-weight: 600; display: flex; gap: 8px; padding: 5px 0; align-items: flex-start; }
.feature-package li::before { content: '\2713'; color: var(--coral); font-weight: 800; }
.fp-price-box { text-align: center; background: var(--white); border: 3px solid var(--sunny); border-radius: var(--radius-md); padding: 26px 20px; box-shadow: var(--shadow-card); }
.fp-was { text-decoration: line-through; color: #9AA9B8; font-weight: 700; font-size: 1.1rem; }
.fp-now { font-family: var(--serif); font-size: 3.4rem; color: var(--coral); line-height: 1.1; }
.fp-off { color: #8a6400; font-weight: 700; font-size: 0.9rem; margin-top: 4px; }
.fp-note { font-size: 0.84rem; color: var(--ink-soft); margin-top: 14px; }
.fp-note2 { font-size: 0.76rem; color: #9AA9B8; margin-top: 2px; }

.terms-card { display: flex; gap: 22px; align-items: flex-start; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-card); flex-wrap: wrap; }
.terms-card img { width: 80px; height: 80px; object-fit: contain; background: var(--bg); border-radius: var(--radius-sm); flex: none; }
.terms-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 14px; }
.terms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; min-width: 260px; }
.terms-item { display: flex; gap: 10px; background: var(--sky-tint); border-radius: var(--radius-sm); padding: 12px 14px; align-items: flex-start; }
.terms-item .ico { font-size: 1.2rem; }
.terms-item b { display: block; font-size: 0.86rem; color: var(--navy); }
.terms-item span { font-size: 0.76rem; color: var(--ink-soft); }

/* ---------- Process steps ---------- */
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { text-align: center; position: relative; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem;
  margin: 0 auto 12px; box-shadow: var(--shadow-card);
}
.step h3 { font-size: 0.98rem; color: var(--navy); margin-bottom: 4px; }
.step p { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 78px 0; }
.final-cta .split { align-items: center; }
.final-cta h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--navy); margin-bottom: 12px; }
.final-cta .fc-tag { font-family: var(--serif); color: var(--coral); font-size: 1.2rem; margin-bottom: 20px; }
.fc-price-card { display: inline-block; background: var(--white); border: 3px solid var(--sunny); border-radius: var(--radius-md); padding: 18px 28px; box-shadow: var(--shadow-card); margin-bottom: 20px; }
.fc-price-card .was { text-decoration: line-through; color: #9AA9B8; font-size: 0.95rem; font-weight: 700; }
.fc-price-card .now { font-family: var(--serif); font-size: 2rem; color: var(--coral); }
.fc-price-card .off { font-size: 0.82rem; color: #8a6400; font-weight: 700; }
.fc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.fc-badge { background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.fc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fc-contact { margin-top: 18px; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.pfooter { border-top: 1px solid var(--line); padding: 28px 0 40px; text-align: center; }
.pfooter p { font-size: 0.82rem; color: #8497AC; }
.pfooter a.back { display: inline-block; margin-bottom: 10px; font-size: 0.85rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.pfooter a.back:hover { color: var(--coral); }
.pfooter .lang-line { margin-top: 6px; }
.pfooter .lang-line a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* =========================================================
   Collaboration form (collaborate.html)
   ========================================================= */
.collab-shell { padding: 56px 0 90px; }
.collab-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.collab-head h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); color: var(--navy); margin-bottom: 14px; }
.collab-head p { color: var(--ink-soft); font-size: 1.05rem; }

.collab-card {
  max-width: 640px; margin: 0 auto; background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift); padding: 40px 36px;
}
@media (max-width: 560px) { .collab-card { padding: 28px 20px; border-radius: var(--radius-md); } }

.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 8px; }
.field .req { color: var(--coral); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--navy);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(126,200,242,0.25); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field-hint { font-size: 0.78rem; color: #8497AC; margin-top: 6px; }
.field-error { font-size: 0.8rem; color: #C23A3A; margin-top: 6px; display: none; font-weight: 600; }
.field.has-error input, .field.has-error textarea { border-color: #C23A3A; box-shadow: 0 0 0 4px rgba(194,58,58,0.12); }
.field.has-error .field-error { display: block; }

.type-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .type-options { grid-template-columns: 1fr; } }
.type-option { position: relative; }
.type-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-option span {
  display: block; text-align: center; padding: 14px 10px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--bg); font-size: 0.86rem; font-weight: 700; color: var(--ink-soft);
  transition: all .15s ease; cursor: pointer;
}
.type-option input:checked + span { border-color: var(--coral); background: var(--coral-tint); color: var(--navy); box-shadow: 0 0 0 3px rgba(255,123,84,0.16); }
.type-option input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Honeypot — visually hidden, still in the tab/DOM for bots that fill blindly */
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.form-banner { display: none; align-items: flex-start; gap: 12px; border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 22px; font-size: 0.92rem; line-height: 1.5; }
.form-banner.is-visible { display: flex; }
.form-banner .b-ico { font-size: 1.2rem; flex: none; }
.form-banner.success { background: #E7F6EC; border: 1.5px solid #8FD4A8; color: #1C5A32; }
.form-banner.error { background: #FDECEC; border: 1.5px solid #F0A8A8; color: #7A1F1F; }

.collab-submit { margin-top: 6px; }
.collab-submit .btn { width: 100%; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: #fff; display: none; animation: pspin .7s linear infinite;
}
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label-text { opacity: .85; }
@keyframes pspin { to { transform: rotate(360deg); } }

.success-state { display: none; text-align: center; padding: 20px 0 6px; }
.success-state.is-visible { display: block; }
.success-state .s-ico {
  width: 64px; height: 64px; border-radius: 50%; background: #E7F6EC; color: #1C5A32;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.8rem;
}
.success-state h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 10px; }
.success-state p { color: var(--ink-soft); margin-bottom: 22px; }
.collab-form.is-hidden { display: none; }

/* =========================================================
   Responsive — mobile breakpoint mirrors the main site's 860px
   ========================================================= */
@media (max-width: 860px) {
  .phero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .phero-media { order: -1; }
  .feature-grid, .platform-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .fp-grid { grid-template-columns: 1fr !important; }
  .fp-grid > div:last-child { text-align: center; }
}
@media (max-width: 640px) {
  .psection { padding: 52px 0; }
  .phero { padding: 40px 0 28px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-card { padding: 12px 6px; }
  .stat-card b { font-size: 1.2rem; }
  .feature-grid, .platform-grid, .price-grid, .summary-row { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .phero-actions .btn, .fc-actions .btn { width: 100%; }
  .phero-actions, .fc-actions { flex-direction: column; }
  .terms-card { flex-direction: column; }
  .final-cta .split > div:first-child { order: 2; }
  .photo-badge { right: 8px; bottom: -14px; font-size: 0.8rem; padding: 9px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .type-option span { transition: none; }
  .spinner { animation: none; }
}
