:root {
  --ink: #17233c;
  --ink-2: #2c3850;
  --muted: #6d7686;
  --paper: #fffdfa;
  --canvas: #f5f3ee;
  --line: #e3dfd7;
  --line-strong: #cbc5bb;
  --accent: #e65f3c;
  --accent-dark: #c94728;
  --accent-soft: #fff0e9;
  --sun: #ffc857;
  --yes: #23856d;
  --yes-soft: #e7f6f1;
  --maybe: #b87513;
  --maybe-soft: #fff4da;
  --no: #8c4a58;
  --no-soft: #fae9ed;
  --danger: #b63838;
  --danger-soft: #ffeded;
  --shadow: 0 16px 48px rgba(23, 35, 60, .09);
  --shadow-sm: 0 8px 24px rgba(23, 35, 60, .07);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
a { color: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(227, 223, 215, .88);
  background: rgba(245, 243, 238, .92);
  backdrop-filter: blur(16px);
}
.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 780;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-logo {
  width: 46px;
  height: 46px;
  display: block;
  flex: 0 0 46px;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.nav-link:hover { background: rgba(255, 255, 255, .72); }
.nav-toggle { display: none; }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.page { min-height: calc(100vh - 144px); padding: 48px 0 72px; }
.page-head { margin-bottom: 30px; }
.page-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.eyebrow {
  margin: 0 0 9px;
  color: var(--accent-dark);
  font-size: .79rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}
h1, h2, h3 { line-height: 1.14; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 3vw, 2.15rem); }
h3 { margin: 0 0 10px; font-size: 1.1rem; }
p { margin: 0 0 1rem; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.24rem); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.text-link { color: var(--accent-dark); font-weight: 700; }

.hero { padding: 76px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.hero h1 { max-width: 720px; font-size: clamp(3rem, 7vw, 6rem); }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy { margin-top: 24px; max-width: 650px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 15px; color: var(--muted); font-size: .88rem; }
.hero-art { position: relative; min-height: 440px; }
.hero-blob {
  position: absolute;
  inset: 28px 10px 0 26px;
  border-radius: 43% 57% 48% 52% / 50% 36% 64% 50%;
  background: linear-gradient(145deg, var(--accent-soft), #fff9dc);
  transform: rotate(-5deg);
}
.demo-card {
  position: absolute;
  width: min(430px, 92%);
  top: 34px;
  right: 0;
  padding: 24px;
  border: 1px solid rgba(203, 197, 187, .72);
  border-radius: 24px;
  background: rgba(255, 253, 250, .96);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.demo-card-title { font-weight: 800; font-size: 1.25rem; }
.demo-card-sub { color: var(--muted); font-size: .88rem; margin: 4px 0 18px; }
.demo-slot { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.demo-choice { display: flex; gap: 5px; }
.demo-choice span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 900; font-size: .8rem; }
.demo-choice .yes { background: var(--yes-soft); color: var(--yes); }
.demo-choice .maybe { background: var(--maybe-soft); color: var(--maybe); }
.demo-choice .no { background: var(--no-soft); color: var(--no); }
.float-pill {
  position: absolute;
  left: 0;
  bottom: 46px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  font-weight: 750;
  transform: rotate(-4deg);
}

.section { padding: 76px 0; }
.section.white { background: var(--paper); border-block: 1px solid var(--line); }
.section-title { max-width: 720px; margin-bottom: 34px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.feature-number { color: var(--accent); font-size: .82rem; font-weight: 900; letter-spacing: .08em; }
.feature h3 { margin-top: 25px; }
.feature p { color: var(--muted); margin: 0; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.value-list { display: grid; gap: 12px; }
.value-item { display: flex; gap: 12px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); }
.value-check { flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--yes-soft); color: var(--yes); font-weight: 900; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { color: #fff; background: var(--accent); box-shadow: 0 8px 20px rgba(230, 95, 60, .2); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { color: var(--ink); background: #fff; border-color: var(--line-strong); }
.btn-secondary:hover { box-shadow: var(--shadow-sm); }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-danger { color: var(--danger); background: var(--danger-soft); border-color: #efc4c4; }
.btn-small { min-height: 36px; padding: 7px 11px; font-size: .86rem; border-radius: 9px; }
.btn-icon { width: 42px; padding: 0; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 28px; }
.card + .card { margin-top: 18px; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-head h2, .panel-head h3 { margin-bottom: 3px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stack { display: grid; gap: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.actions.end { justify-content: flex-end; }
.divider { height: 1px; background: var(--line); margin: 24px 0; }

.form-card { padding: 30px; }
.form-section + .form-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.form-section-head { margin-bottom: 20px; }
.form-section-head p { margin: -8px 0 0; color: var(--muted); }
.field { display: grid; gap: 7px; }
.field + .field { margin-top: 17px; }
.field label, .field-label { font-weight: 730; font-size: .94rem; }
.required::after { content: " *"; color: var(--accent); }
input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="time"], input[type="datetime-local"], textarea, select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
textarea { min-height: 112px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230, 95, 60, .12); }
.help { color: var(--muted); font-size: .82rem; }
.check-row { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; }
.check-row input { margin-top: 4px; accent-color: var(--accent); }
.check-row strong { display: block; }
.check-row small { display: block; color: var(--muted); }
.honeypot { position: absolute !important; left: -10000px !important; opacity: 0 !important; }

.slot-list { display: grid; gap: 12px; }
.slot-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) minmax(110px, .7fr) 26px minmax(110px, .7fr) auto;
  align-items: end;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.slot-row .field { gap: 4px; }
.slot-row .field label { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.slot-arrow { padding-bottom: 13px; color: var(--muted); text-align: center; }

.notice { padding: 14px 16px; border-radius: 12px; border: 1px solid; margin: 0 0 18px; }
.notice-info { color: #36556d; background: #edf7ff; border-color: #cbe2f3; }
.notice-success { color: #176750; background: var(--yes-soft); border-color: #bfe4d9; }
.notice-warning { color: #8a5d12; background: var(--maybe-soft); border-color: #ecd8a3; }
.notice-error { color: #8e3333; background: var(--danger-soft); border-color: #efc5c5; }
.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 100; display: grid; gap: 10px; width: min(380px, calc(100% - 36px)); }
.toast { padding: 14px 16px; border-radius: 12px; color: #fff; background: var(--ink); box-shadow: var(--shadow); animation: toast-in .2s ease-out; }
.toast.error { background: var(--danger); }
.toast.success { background: var(--yes); }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

.auth-shell { min-height: calc(100vh - 144px); display: grid; place-items: center; padding: 46px 16px; }
.auth-card { width: min(480px, 100%); padding: 30px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 22px 0; border-radius: 12px; background: var(--canvas); }
.auth-tab { border: 0; border-radius: 9px; padding: 10px; background: transparent; color: var(--muted); font-weight: 750; cursor: pointer; }
.auth-tab.active { color: var(--ink); background: #fff; box-shadow: 0 3px 12px rgba(23, 35, 60, .08); }
.auth-card .btn { width: 100%; margin-top: 18px; }

.dashboard-list { display: grid; gap: 12px; }
.poll-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.poll-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.poll-title { margin-bottom: 5px; font-size: 1.05rem; font-weight: 790; }
.poll-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: .86rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 9px; border-radius: 999px; font-size: .77rem; font-weight: 780; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-open { color: var(--yes); background: var(--yes-soft); }
.badge-closed { color: var(--muted); background: #eeece7; }
.badge-finalized { color: var(--accent-dark); background: var(--accent-soft); }
.badge-suspended { color: var(--danger); background: var(--danger-soft); }
.empty-state { padding: 52px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(255, 255, 255, .45); }
.empty-state h2 { font-size: 1.5rem; }

.share-box { display: flex; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.share-box input { min-height: 38px; border: 0; box-shadow: none; background: transparent; }
.share-box .btn { flex: 0 0 auto; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.metric-value { display: block; font-size: 2rem; line-height: 1; font-weight: 850; letter-spacing: -.04em; }
.metric-label { display: block; margin-top: 7px; color: var(--muted); font-size: .82rem; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); background: #faf9f6; font-size: .77rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.matrix th:first-child, .matrix td:first-child { position: sticky; left: 0; z-index: 2; background: #fff; min-width: 180px; }
.matrix th:first-child { background: #faf9f6; }
.matrix-cell { text-align: center; min-width: 92px; }
.choice-dot { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; font-size: .8rem; font-weight: 900; }
.choice-dot.yes { color: var(--yes); background: var(--yes-soft); }
.choice-dot.maybe { color: var(--maybe); background: var(--maybe-soft); }
.choice-dot.no { color: var(--no); background: var(--no-soft); }
.choice-dot.blank { color: var(--muted); background: #eee; }
.recommended { outline: 2px solid var(--accent); outline-offset: -2px; }

.poll-public { width: min(920px, calc(100% - 28px)); margin: 38px auto 76px; }
.public-head { position: relative; padding: 32px; overflow: hidden; color: #fff; background: var(--ink); border-radius: 24px 24px 0 0; }
.public-head::after { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -100px; border-radius: 50%; background: var(--accent); opacity: .18; }
.public-brand { color: var(--sun); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.public-head h1 { position: relative; z-index: 1; margin-top: 8px; font-size: clamp(2rem, 6vw, 3.3rem); }
.public-body { padding: 28px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 24px 24px; background: var(--paper); box-shadow: var(--shadow); }
.public-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 24px; }
.meta-chip { padding: 7px 11px; border-radius: 999px; color: var(--ink-2); background: #efede8; font-size: .85rem; }
.final-banner { padding: 20px; margin: 0 0 24px; border-radius: 16px; border: 1px solid #f0c7b9; background: var(--accent-soft); }
.final-banner-label { color: var(--accent-dark); font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.final-banner-time { margin: 5px 0 14px; font-size: 1.15rem; font-weight: 820; }
.instructions { padding: 14px 16px; margin: 20px 0; border-radius: 12px; background: #f0eee9; color: var(--ink-2); }
.day-group + .day-group { margin-top: 24px; }
.day-title { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.day-title strong { font-size: 1.15rem; }
.day-title span { color: var(--muted); font-size: .86rem; }
.public-slot { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); background: #fff; }
.public-slot:first-of-type { border-radius: 14px 14px 0 0; }
.public-slot:last-of-type { border-radius: 0 0 14px 14px; }
.public-slot + .public-slot { border-top: 0; }
.slot-time { font-weight: 780; }
.slot-count { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem; }
.choice-group { display: grid; grid-template-columns: repeat(3, 42px); gap: 5px; }
.choice-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); cursor: pointer; font-weight: 900; }
.choice-btn:hover { border-color: var(--line-strong); }
.choice-btn.yes.selected { color: var(--yes); background: var(--yes-soft); border-color: #a7d8ca; }
.choice-btn.maybe.selected { color: var(--maybe); background: var(--maybe-soft); border-color: #e4c987; }
.choice-btn.no.selected { color: var(--no); background: var(--no-soft); border-color: #dfb4bd; }
.choice-btn:disabled { cursor: default; opacity: .72; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 20px; color: var(--muted); font-size: .82rem; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.legend .yes { background: var(--yes); }
.legend .maybe { background: var(--maybe); }
.legend .no { background: var(--no); }
.response-form { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }

.admin-tabs { display: flex; gap: 6px; margin: 24px 0; padding: 5px; overflow-x: auto; border-radius: 13px; background: #ebe8e1; }
.admin-tab { border: 0; padding: 10px 14px; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 750; white-space: nowrap; cursor: pointer; }
.admin-tab.active { color: var(--ink); background: #fff; box-shadow: 0 2px 10px rgba(23, 35, 60, .08); }
.admin-section { display: none; }
.admin-section.active { display: block; }
.search-input { max-width: 330px; }
.log-error { max-width: 340px; color: var(--danger); font-size: .78rem; white-space: normal; }

.loader { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.4); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }
.loader.dark { border-color: rgba(23,35,60,.18); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { min-height: 96px; border-radius: 14px; background: linear-gradient(90deg, #ece9e3 25%, #f5f3ef 40%, #ece9e3 60%); background-size: 400% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -100% 0; } }


.support-section { padding: 22px 0 0; }
.support-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 250, .72);
}
.support-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  font-size: 1.2rem;
}
.support-copy { display: grid; gap: 2px; }
.support-copy strong { font-size: .96rem; }
.support-copy span { color: var(--muted); font-size: .84rem; }
.btn-support {
  min-height: 38px;
  padding: 7px 13px;
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
  font-size: .84rem;
  box-shadow: none;
}
.btn-support:hover { background: #fff; box-shadow: var(--shadow-sm); }
.footer-support-link { display: inline-flex; align-items: center; gap: 5px; }

.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { width: min(var(--max), calc(100% - 32px)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .84rem; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid, .value-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .hero-art { min-height: 390px; }
  .feature-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .slot-row { grid-template-columns: 1fr 1fr auto; }
  .slot-row .date-field { grid-column: 1 / -1; }
  .slot-arrow { display: none; }
}

@media (max-width: 680px) {
  .nav { min-height: 64px; }
  .brand-text { display: none; }
  .nav-links { gap: 2px; }
  .nav-link { padding: 9px 8px; font-size: .87rem; }
  .nav .btn { min-height: 38px; padding: 7px 10px; font-size: .84rem; }
  .page { padding-top: 30px; }
  .page-head-row, .panel-head, .footer-inner { align-items: stretch; flex-direction: column; }
  .hero h1 { font-size: clamp(2.65rem, 17vw, 4.5rem); }
  .hero-art { min-height: 340px; }
  .demo-card { width: 96%; padding: 18px; }
  .float-pill { bottom: 16px; }
  .grid-2, .grid-3, .metrics { grid-template-columns: 1fr; }
  .poll-card { grid-template-columns: 1fr; }
  .poll-card .actions { justify-content: flex-start; }
  .form-card, .card-pad, .public-body, .public-head { padding: 21px; }
  .slot-row { grid-template-columns: 1fr 1fr auto; padding: 12px; }
  .public-slot { grid-template-columns: 1fr; }
  .choice-group { grid-template-columns: repeat(3, 1fr); }
  .choice-btn { width: 100%; }
  .footer-inner { padding: 20px 0; }
  .support-card { grid-template-columns: auto 1fr; }
  .support-card .btn-support { grid-column: 1 / -1; width: 100%; }
}

.section-lead { max-width: 840px; }

.enhanced-steps { align-items: stretch; }
.feature-rich {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.feature-kicker { color: var(--accent-dark); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.feature-rich p { margin-bottom: 18px; }
.feature-visual { margin-top: auto; }
.mini-screen {
  position: relative;
  min-height: 220px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbf8f3);
  border: 1px solid var(--line);
  overflow: hidden;
}
.mini-screen::after {
  content: '';
  position: absolute;
  inset: auto -20px -30px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255, 200, 87, .18);
}
.mini-window-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mini-window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #d5d0c7; }
.mini-form-line { height: 12px; border-radius: 999px; background: #ece7df; margin-bottom: 10px; }
.mini-form-line.w70 { width: 70%; }
.mini-form-line.w100 { width: 100%; }
.mini-form-line.w55 { width: 55%; }
.mini-slot-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mini-slot-pill { padding: 8px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: .82rem; font-weight: 700; }
.mini-cta { margin-top: 18px; display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 700; position: relative; z-index: 1; }
.mini-link-row { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.mini-link-text { flex: 1; font-size: .79rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-copy-btn { flex: 0 0 auto; padding: 8px 10px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; }
.mini-votes { display: grid; gap: 10px; margin-top: 14px; }
.mini-vote-row, .mini-result-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); position: relative; z-index: 1; }
.vote-set { display: inline-flex; gap: 6px; }
.vote-set b, .demo-choice span { font-style: normal; width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 8px; }
.vote-set .yes, .demo-choice .yes { background: var(--yes-soft); color: var(--yes); }
.vote-set .maybe, .demo-choice .maybe { background: var(--maybe-soft); color: var(--maybe); }
.vote-set .no, .demo-choice .no { background: var(--no-soft); color: var(--no); }
.mini-badge, .mini-reco { position: absolute; left: 16px; bottom: 58px; z-index: 2; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.mini-result-row.active { border-color: rgba(35,133,109,.28); background: #fcfffe; }
.mini-result-row.active strong { color: var(--yes); }
.reveal-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.mini-form-screen .mini-cta { animation: pulseSoft 3s ease-in-out infinite; }
.mini-share-screen .mini-copy-btn { animation: nudge 2.8s ease-in-out infinite; }
.mini-result-screen .mini-reco { animation: floatTag 3.2s ease-in-out infinite; }
@keyframes pulseSoft { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes floatTag { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

.brand-text { font-weight: 800; }
.legal-list { margin: 0 0 1.1rem 1.2rem; padding: 0; color: var(--ink-2); }
.legal-list li { margin: 0 0 .55rem; }
.slot-help { margin: 10px 0 0; }
.slot-row { grid-template-columns: minmax(170px, 1.2fr) minmax(128px, .85fr) 26px minmax(128px, .85fr) auto; }
.slot-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.feature-shot { display: block; width: 100%; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.feature-rich { overflow: hidden; }
.feature-rich p { min-height: 70px; }
.feature-rich .feature-shot { transform: translateY(0); transition: transform .3s ease; }
.feature-rich:hover .feature-shot { transform: translateY(-2px); }
@media (max-width: 820px) { .feature-rich p { min-height: 0; } }

/* Alignement des champs côte à côte dans les grilles. */
.grid-2 > .field + .field, .grid-3 > .field + .field { margin-top: 0; }
.response-identity-grid { align-items: start; }
.response-identity-grid .help { min-height: 1.3em; }
.help-placeholder { visibility: hidden; }


.btn-block { width: 100%; }
.panel-elevated { box-shadow: var(--shadow-sm); background: linear-gradient(180deg, var(--paper), #fff); }
.results-head { margin-bottom: 20px; }
.results-head-actions { justify-content: flex-end; }
.results-share { margin-bottom: 18px; }
.metrics-inline { margin-top: 18px; }
.metrics-inline .metric { background: #fff; }
.metric-text { font-size: 1.3rem; line-height: 1.15; }
.results-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .95fr); gap: 18px; align-items: start; }
.results-primary { min-width: 0; }
.results-sidebar { position: sticky; top: 92px; }
.results-table-wrap { margin-top: 18px; }
.participant-block { display: grid; gap: 6px; min-width: 220px; }
.participant-block .btn { justify-self: start; margin-top: 4px; }
.matrix th { text-align: center; font-size: .76rem; letter-spacing: .07em; }
.matrix th:first-child { text-align: left; }
.matrix td:first-child { background: #fffdfa; }
.matrix-cell { min-width: 110px; }
.recommended-col { background: rgba(230,95,60,.06); }
.matrix thead .recommended-col { background: rgba(230,95,60,.1); color: var(--accent-dark); }
.totals-row td { background: #fbfaf7; }
.recommended { outline: none; }
.compact-notice { display: grid; gap: 2px; margin-bottom: 0; }
.compact-notice strong { font-size: .95rem; }
.compact-notice small { color: inherit; opacity: .85; }
.compact-stack { gap: 12px; }
.slot-choice-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.slot-choice-card:hover { border-color: #e5b09e; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.slot-choice-card input { margin-top: 4px; accent-color: var(--accent); }
.slot-choice-card .slot-choice-copy { display: grid; gap: 4px; }
.slot-choice-card .slot-choice-copy strong { display: block; }
.slot-choice-card .slot-choice-copy small { color: var(--muted); }
.slot-choice-card.recommended { border-color: #ef8a6f; background: #fff8f5; }
.slot-choice-card input:checked + .slot-choice-copy strong { color: var(--accent-dark); }
.slot-choice-card input:checked + .slot-choice-copy small { color: var(--ink-2); }
@media (max-width: 980px) { .results-layout { grid-template-columns: 1fr; } .results-sidebar { position: static; } }
@media (max-width: 640px) { .metrics-inline { grid-template-columns: 1fr 1fr; } .share-box { flex-wrap: wrap; } .share-box input { width: 100%; } }
