/* tailend.dev /cities/ : reuses the About column (about.css) */
.ab.ct .ab-hero h1 { margin-bottom: 22px; }
.ab.ct .ab-hero .ab-intro { max-width: 34em; }
.ct-hero { margin: 40px 0 0; }
/* the lit windows bloom one after another, left to right: more votes, more light */
@media (prefers-reduced-motion: no-preference) {
  .js .in .ct-glow { animation: ab-on 1s ease-out calc(1.3s + var(--k) * .16s) forwards, ab-breathe 5s ease-in-out calc(2.6s + var(--k) * .16s) infinite alternate; }
}
.ct-glow { border-radius: 10%; }
.ct .ab-ch { margin-bottom: clamp(40px, 6vw, 64px); }
.ct-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.ct-list .ct { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: grid; gap: 12px; }
.ct-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ct-top b { font: 700 20px/1.2 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.ct-list p { margin: 0; font: 400 16px/1.5 var(--text); color: var(--ink-2); }
.ct-badge { font: 500 12px/1 var(--mono); color: var(--muted); background: var(--soft); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.ct-badge.live { color: #0f6a44; background: #e4f8ee; }
.ct-bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.ct-bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); transition: width 1.1s cubic-bezier(.22, 1, .36, 1); }
.ct-count { font: 500 14px/1.4 var(--mono) !important; color: var(--muted) !important; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-ask { border-style: dashed !important; background: transparent !important; }
.ct-cand.is-scheduling { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.ct-cand.is-scheduling .ct-badge { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.ct-cand.is-loading .ct-bar i, .ct-cand.is-loading .ct-count { background: linear-gradient(100deg, var(--soft) 30%, #fff 50%, var(--soft) 70%); background-size: 220% 100%; color: transparent !important; border-radius: 6px; animation: ct-shimmer 1.4s ease-in-out infinite; width: 100% !important; }
.ct-cand.is-loading .ct-count { min-height: 1.4em; }
@keyframes ct-shimmer { from { background-position: 130% 0; } to { background-position: -90% 0; } }
@media (prefers-reduced-motion: reduce) { .ct-cand.is-loading .ct-bar i, .ct-cand.is-loading .ct-count { animation: none; } .ct-bar i { transition: none; } }
.ct-steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 20px; }
.ct-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; }
.ct-n { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--accent); border-radius: 50%; font: 600 14px/1 var(--mono); color: var(--accent-ink); }
.ct-steps h3 { font: 700 18px/1.25 var(--display); color: var(--ink); margin: 3px 0 4px; letter-spacing: -0.01em; }
.ct-steps p { margin: 0; }
.ct-note { font: 500 14px/1.5 var(--text); color: var(--muted); margin-top: 14px; }
.ct-faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.ct-faq details:last-child { border-bottom: 1px solid var(--line); }
.ct-faq summary { cursor: pointer; font: 600 17px/1.4 var(--display); color: var(--ink); }
.ct-faq p { margin: 10px 0 0; }

/* groundwork: a few quiet check chips (kept vague and true), separate from votes */
.ct-work { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-work li { position: relative; padding: 6px 12px 6px 30px; border-radius: 999px; background: var(--soft); font: 500 13px/1.2 var(--text); color: var(--ink-2); }
.ct-work li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--accent); }
.ct-work li::after { content: ""; position: absolute; left: 13.2px; top: 50%; width: 5px; height: 2.6px; margin-top: -2.6px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg); }

/* inline vote form */
.ct-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.ct-form[hidden], .ct-ok[hidden] { display: none; }
.ct-form input[name=city][type=text] { grid-column: 1 / -1; }
.ct-form input[type=email], .ct-form input[type=text] { width: 100%; box-sizing: border-box; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); font: 400 16px/1 var(--text); color: var(--ink); }
.ct-form input:focus-visible { outline: 2px solid var(--lead); outline-offset: 2px; border-color: transparent; }
.ct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-err { grid-column: 1 / -1; margin: 0; min-height: 0; font: 500 13.5px/1.4 var(--text) !important; color: #b3261e !important; }
.ct-err:empty { display: none; }
.ct-ok { margin: 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, #3ddc97 14%, var(--surface)); color: #0f6a44 !important; font: 500 15px/1.4 var(--text) !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 520px) { .ct-form { grid-template-columns: 1fr; } }

/* tighter vertical rhythm: the generic `section` padding is off on this page */
.ab.ct { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 88px); }
.ab.ct section { padding: 0; }
.ab.ct section.ab-ch { padding: clamp(28px, 4vw, 36px) 0 0; }
.ab.ct .ab-hero { margin-bottom: 28px; }
.ct-hero { margin: 28px 0 0; }
.ab.ct .ab-ch { margin-bottom: clamp(28px, 4vw, 36px); }
.ab.ct .ab-ch h2 { margin-bottom: 14px; }
/* smaller vote buttons and fields */
.ct-list .btn { padding: 8px 15px; font-size: 14.5px; border-radius: 10px; line-height: 1.3; }
.ct-list .btn.primary { box-shadow: none; }
.ct-form input[type=email], .ct-form input[type=text] { min-height: 40px; border-radius: 10px; font-size: 15px; }
.ab-ctas .btn { padding: 9px 17px; font-size: 15px; border-radius: 10px; }
.ab.ct .ct-steps { margin-bottom: 24px; }
.ab.ct .ab-ctas { margin-top: 0; }
.ab.ct .ct-note { margin: 16px 0 0; }
