:root {
  --bg: #0a1020;
  --bg-alt: #0d1530;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #eaf0ff;
  --muted: #a9b4d0;
  --blue: #2f80ed;
  --blue-soft: #8cc1ff;
  --green: #36c98f;
  --radius: 20px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.cursor-icon {
  position: fixed; top: 0; left: 0; z-index: 1000;
  width: 32px; height: 32px; object-fit: contain;
  pointer-events: none; user-select: none;
}
.cursor-icon[hidden] { display: none; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-icon { display: none; }
}
a { color: var(--blue-soft); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
@supports (padding: max(0px)) {
  .wrap { width: min(100% - max(40px, env(safe-area-inset-left) + env(safe-area-inset-right) + 32px), var(--max)); }
  .footer-bottom { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 32, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand img { height: 34px; width: auto; }
.nav-inner.wrap { width: min(100% - max(40px, env(safe-area-inset-left) + env(safe-area-inset-right) + 32px), 1360px); }
.brand { flex-shrink: 0; }
.menu { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 24px); }
.menu a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; opacity: .85; white-space: nowrap; }
.menu a:hover { opacity: 1; }
.menu a.btn { opacity: 1; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, .burger:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, #2f80ed, #1e5fcf); color: #fff; box-shadow: 0 10px 30px rgba(47, 128, 237, .35); }
.btn-ghost { color: var(--text); border-color: var(--card-border); background: var(--card); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 70px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,16,32,.55) 0%, rgba(10,16,32,.85) 70%, var(--bg) 100%),
    url('../assets/hero.jpg') center/cover no-repeat;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--blue-soft); margin-bottom: 14px; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 900; }
.grad { background: linear-gradient(90deg, #36c98f, #2f80ed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: #d3dcf2; max-width: 56ch; margin: 18px 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.cta.center { justify-content: center; margin-top: 34px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-border); font-size: .85rem; color: var(--muted); }
.hero-art-visual { position: relative; width: min(100%, 440px); margin-inline: auto; animation: float 6s ease-in-out infinite; }
.hero-art-visual:hover, .hero-art-visual:focus-within { animation-play-state: paused; }
.hero-art img { width: 100%; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.hero-likes {
  position: absolute; z-index: 2; top: 18%; left: 82%; transform: translateX(-50%);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px;
  background: rgba(10,16,32,.86); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: inherit; font-size: 1rem; font-weight: 800;
  line-height: 1; appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.hero-likes[hidden] { display: none; }
.hero-likes:not(:disabled):hover { transform: translate(-50%, -2px); }
.hero-likes:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; }
.hero-likes[aria-pressed="true"] { border-color: rgba(255,91,121,.72); }
.hero-likes-heart { color: var(--muted); font-size: 1.35rem; line-height: 1; }
.hero-likes[aria-pressed="true"] .hero-likes-heart { color: #ff5b79; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Chiffres */
.stats { border-block: 1px solid var(--card-border); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; text-align: center; }
.stat strong { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; color: #fff; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2, .split-copy h2, .about-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
.sub { color: var(--muted); font-size: 1.08rem; }

/* Catégories */
.cards-cat { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
@media (min-width: 1000px) { .cards-cat { grid-template-columns: repeat(5, 1fr); } }
.cat {
  position: relative; min-height: 260px; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  background: linear-gradient(180deg, rgba(10,16,32,0) 25%, rgba(10,16,32,.92) 100%), var(--img) center/cover no-repeat;
  border: 1px solid var(--card-border);
  transition: transform .25s ease;
}
.cat:hover { transform: translateY(-6px); }
.cat h3 { font-size: 1.35rem; margin-bottom: 6px; }
.cat p { margin: 0; color: #d3dcf2; font-size: .93rem; }

/* Fonctionnalités */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feat {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 26px; transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.feat:hover { transform: translateY(-5px); border-color: rgba(140, 193, 255, .5); background: rgba(255,255,255,.07); }
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem; margin-bottom: 16px; background: linear-gradient(135deg, rgba(47,128,237,.35), rgba(54,201,143,.25)); }
.feat h3 { font-size: 1.15rem; }
.feat p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Split / Spoty */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.split-art img { width: min(100%, 420px); margin-inline: auto; filter: drop-shadow(0 24px 36px rgba(0,0,0,.4)); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: #d3dcf2; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%230a1020' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ticks li strong { color: #fff; }

/* Offres */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; max-width: 800px; margin-inline: auto; }
.plan { position: relative; background: var(--card); border: 1px solid var(--card-border); border-radius: 24px; padding: 34px; }
.plan h3 { font-size: 1.3rem; }
.price { font-size: 2.6rem; font-weight: 900; margin: 6px 0 4px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
.price-alt { color: var(--muted); font-size: .92rem; }
.plan-pro { border-color: rgba(140, 193, 255, .6); background: linear-gradient(180deg, rgba(47,128,237,.22), rgba(255,255,255,.04)); box-shadow: 0 20px 60px rgba(47, 128, 237, .2); }
.badge { position: absolute; top: -13px; left: 28px; background: linear-gradient(135deg, #ffd980, #ffb347); color: #3a2a00; font-weight: 800; font-size: .78rem; padding: 6px 14px; border-radius: 999px; }
.note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 24px; }
/* 4 offres sur une seule ligne ; défilement horizontal sur écran étroit. */
.plans-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; gap: 16px; align-items: stretch; padding-top: 14px; }
.plans-tiers .plan { padding: 26px 20px 24px; border-radius: 20px; display: flex; flex-direction: column; border-top-width: 4px; }
.plans-tiers .plan h3 { font-size: 1.12rem; }
.plans-tiers .price { font-size: 2.1rem; margin: 4px 0 2px; }
.plans-tiers .price small { font-size: .9rem; margin-left: 4px; }
.plans-tiers .price-alt { font-size: .82rem; line-height: 1.4; min-height: 2.8em; }
.plans-tiers .ticks { margin-top: 16px; gap: 9px; }
.plans-tiers .ticks li { font-size: .9rem; line-height: 1.45; padding-left: 28px; }
.plans-tiers .ticks li::before { width: 18px; height: 18px; top: .15em; }
.plans-tiers .badge { left: 20px; font-size: .72rem; padding: 5px 12px; }
@media (max-width: 1000px) {
  .plans-tiers {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: minmax(250px, 72%);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
    margin-inline: -20px; padding: 14px 20px 18px;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  .plans-tiers .plan { scroll-snap-align: start; }
}
@media (min-width: 640px) and (max-width: 1000px) {
  .plans-tiers { grid-auto-columns: minmax(250px, 42%); }
}
.plan-tier { --tier: #b0703c; border-top: 4px solid var(--tier); }
.plan-tier h3 { color: var(--tier); }
.plan-bronze { --tier: #c98a52; }
.plan-silver { --tier: #b4bccb; }
.plan-gold { --tier: #f2c94c; border-color: rgba(242, 201, 76, .55); background: linear-gradient(180deg, rgba(242,201,76,.16), rgba(255,255,255,.04)); box-shadow: 0 20px 60px rgba(242, 201, 76, .14); }
.ticks li.tick-off { color: var(--muted); }
.ticks li.tick-off::before {
  background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' fill='none' stroke='%23c9d3ea' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* À propos */
.about { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: start; }
.about-copy p { color: #d3dcf2; }
.about-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px; }
.about-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.about-card dl { margin: 0; display: grid; gap: 14px; }
.about-card dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-soft); font-weight: 800; }
.about-card dd { margin: 2px 0 0; color: #d3dcf2; }

/* Timeline */
.beta-steps { counter-reset: beta-step; list-style: none; padding: 0; margin: 0 auto; max-width: 780px; }
.beta-steps li { counter-increment: beta-step; position: relative; padding: 0 0 26px 56px; }
.beta-steps li::before { content: counter(beta-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-weight: 800; }
.beta-steps h3, .beta-iphone h3 { font-size: 1.15rem; letter-spacing: 0; }
.beta-steps p, .beta-iphone p { color: var(--muted); overflow-wrap: anywhere; }
.beta-iphone { max-width: 780px; margin: 8px auto 0; padding-top: 24px; border-top: 1px solid var(--card-border); }
.beta-progress { text-align: center; margin: 64px 0 24px; letter-spacing: 0; }
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 780px; display: grid; gap: 18px; }
.timeline li { background: var(--card); border: 1px solid var(--card-border); border-left: 4px solid var(--muted); border-radius: 14px; padding: 20px 24px; }
.timeline li.done { border-left-color: var(--green); }
.timeline li.now { border-left-color: var(--blue); }
.timeline h3 { font-size: 1.1rem; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 4px 22px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-soft); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* CTA final */
.final { padding: 90px 0; background: radial-gradient(60% 120% at 50% 0%, rgba(47,128,237,.35), transparent 70%), var(--bg); text-align: center; }
.final h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.final p { color: var(--muted); max-width: 52ch; margin: 0 auto; }

/* Footer */
.footer { border-top: 1px solid var(--card-border); background: #070c19; padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-soft); }
.footer nav a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.footer nav a:hover { color: #fff; }
.muted { color: var(--muted); font-size: .92rem; margin-top: 14px; max-width: 36ch; }
.footer-bottom { margin-top: 36px; padding: 20px 0 28px; border-top: 1px solid var(--card-border); color: var(--muted); font-size: .84rem; }

/* Pages légales */
.doc { padding: 56px 0 90px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2em; color: #fff; }
.doc p, .doc li { color: #d3dcf2; }
.doc ul { padding-left: 1.2em; }
.doc .back { display: inline-block; margin-bottom: 22px; text-decoration: none; font-weight: 600; }

/* Animations d'apparition */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art-visual { animation: none; }
  .btn, .feat, .cat, .hero-likes, .back-to-top { transition: none; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .about { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art-visual { width: min(60%, 280px); }
  .hero-likes {
    top: 9%; left: calc(80% + 8px); min-height: 38px; gap: 6px; padding: 5px 9px;
    border-color: rgba(255,255,255,.3); box-shadow: 0 5px 16px rgba(0,0,0,.25);
  }
  .hero-likes-heart { font-size: 1.2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}

@media (max-width: 1200px) {
  .burger { display: block; }
  .menu {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 20px 20px; background: #0a1020; box-shadow: 0 24px 40px rgba(0,0,0,.5); border-bottom: 1px solid var(--card-border);
    display: none;
  }
  .menu.open { display: flex; }
  .menu a { padding: 13px 4px; }
  .menu a.btn { margin-top: 10px; }
}

.vision { color: #fff; font-weight: 600; border-left: 3px solid var(--green); padding-left: 14px; max-width: 56ch; margin: 0 0 28px; }

/* Mobile : zones tactiles confortables et boutons pleine largeur */
@media (max-width: 1200px) {
  .menu { max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); overflow-y: auto; }
  .menu a:not(.btn) { min-height: 46px; display: flex; align-items: center; }
  .footer nav a { min-height: 44px; display: flex; align-items: center; }
  .brand { display: inline-flex; align-items: center; min-height: 44px; }
  .btn-sm { min-height: 44px; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 0 48px; }
  .lead { font-size: 1.04rem; }
  .cta { flex-direction: column; align-items: stretch; }
  .cta .btn { width: 100%; }
  .chips li { font-size: .8rem; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .stats-grid { gap: 14px; padding: 26px 0; }
  .cat { min-height: 200px; }
  .feat { padding: 22px; }
  .plan { padding: 26px; }
  .about-card { padding: 22px; }
  .final { padding: 64px 0; }
  details { padding: 2px 16px; }
  .vision { font-size: .98rem; }
  .doc { padding: 32px 0 64px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  h1 { font-size: 2.1rem; }
}

.back-to-top {
  position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--card-border); border-radius: 50%; background: rgba(13,21,48,.92);
  color: var(--text); box-shadow: 0 8px 24px rgba(0,0,0,.3); backdrop-filter: blur(10px);
  font: 700 1.45rem/1 var(--font); cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { transform: translateY(-3px); border-color: rgba(140,193,255,.7); background: #152343; }
.back-to-top:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; }

/* Communauté et demandes de partenariat */
.community-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 48px 0 14px; }
.community-heading h3 { margin: 0; font-size: 1.6rem; }
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.contributors-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 178px), 1fr)); gap: 10px; max-height: min(372px, 60vh); overflow-y: auto; overscroll-behavior: contain; padding: 2px 6px 2px 2px; scrollbar-width: thin; scrollbar-color: var(--card-border) transparent; }
.community-card { min-width: 0; padding: 24px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); overflow-wrap: anywhere; }
.community-card h4 { font-size: 1.2rem; margin: 14px 0 8px; }
.community-card p { white-space: pre-wrap; }
.community-card .community-badge { display: inline-block; font-size: .85rem; color: var(--blue-soft); margin-bottom: 14px; }
.community-image { display: grid; place-items: center; width: 72px; height: 72px; padding: 6px; background: #fff; color: #0a1020; border-radius: 14px; font-size: 1.8rem; font-weight: 800; }
.community-image img { width: 100%; height: 100%; object-fit: contain; }
.contributor-card { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 999px; overflow-wrap: normal; }
.contributor-card > div { min-width: 0; }
.contributor-card .community-image { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; padding: 0; overflow: hidden; font-size: .95rem; }
.contributor-card img { object-fit: cover; }
.contributor-card h4 { margin: 0; font-size: .92rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contributor-card .community-badge { display: block; margin: 0; font-size: .74rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#contributors-more { margin-top: 16px; }
.community-error { color: #ffb9b9; }
.partnership-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; margin-top: 60px; padding: 32px; border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--bg-alt); scroll-margin-top: 80px; }
.partnership-panel > * { min-width: 0; }
.partnership-panel h3 { font-size: 1.8rem; }
.partnership-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.partnership-form label { font-size: .95rem; font-weight: 600; min-width: 0; }
.partnership-form input:not([type="checkbox"]), .partnership-form select, .partnership-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--card-border);
  border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; font-size: 1rem;
}
.partnership-form input:focus-visible, .partnership-form select:focus-visible, .partnership-form textarea:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.partnership-form textarea { resize: vertical; }
.partnership-message-field, .partnership-consent, #partnership-submit, #partnership-status { grid-column: 1 / -1; }
.partnership-consent { display: flex; gap: 10px; align-items: flex-start; }
.partnership-consent input { width: 20px; height: 20px; flex-shrink: 0; }
.partnership-trap { position: absolute; left: -10000px; }
.partnership-form[hidden], #contributors-more[hidden], .community-heading button[hidden] { display: none; }
.partnership-form button:disabled, .community-heading button:disabled, #contributors-more:disabled { opacity: .6; cursor: wait; }
@media (max-width: 900px) { .partnership-panel { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) {
  .partnership-panel { padding: 20px; }
  .partnership-form { grid-template-columns: 1fr; }
  .community-card { padding: 20px; }
  .contributor-card { padding: 8px 12px; }
  .contributors-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
}
