:root {
  --bg: #ECEAE5;
  --bg-subtle: #E2DED7;
  --surface: #FAF9F7;
  --surface-2: #F2EFE9;
  --border: #D0CAC1;
  --border-light: #DDD9D0;
  --text: #272220;
  --text-2: #565049;
  --text-muted: #98928A;
  --accent: #3D3530;
  --accent-2: #4E4438;
  --accent-light: #E5E0D8;
  --accent-text: #FFFFFF;
  --brand-blue: #143072;
  --brand-sky: #73B9E7;
  --brand-teal: #1388B1;
  --brand-mint: #31B99F;
  --ok-bg: #EAF3EC;
  --ok: #2A6844;
  --warn-bg: #F5EFE0;
  --warn: #8A6318;
  --err-bg: #F4E8E7;
  --err: #A5302A;
  --font-d: "Playfair Display", Georgia, serif;
  --font-b: "DM Sans", system-ui, sans-serif;
  --r: 8px;
  --r2: 16px;
  --sh: 0 8px 24px rgba(39, 34, 32, 0.06), 0 2px 6px rgba(39, 34, 32, 0.05);
  --sh2: 0 16px 32px rgba(39, 34, 32, 0.1), 0 6px 14px rgba(39, 34, 32, 0.08);
  --mw: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

main {
  animation: fadeUp 0.3s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 52px 0;
}

.sh {
  margin: 0 0 8px;
  font-family: var(--font-d);
  font-size: 1.65rem;
  font-weight: 700;
}

.sh-s {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.tc {
  text-align: center;
}

.mb4 {
  margin-bottom: 16px;
}

.mb8 {
  margin-bottom: 32px;
}

.mt4 {
  margin-top: 16px;
}

.mt8 {
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--r);
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
  color: var(--accent-text);
  box-shadow: var(--sh);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #10265C, #10789D);
  box-shadow: var(--sh2);
}

.btn-ghost {
  background: rgba(19, 136, 177, 0.08);
  color: var(--brand-blue);
  border: 1.5px solid rgba(19, 136, 177, 0.22);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.98rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  box-shadow: var(--sh);
}

.card-head,
.card-body {
  padding: 22px 24px;
}

.card-head {
  border-bottom: 1px solid var(--border-light);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-pending {
  background: var(--warn-bg);
  color: var(--warn);
}

.badge-published {
  background: var(--ok-bg);
  color: var(--ok);
}

.banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: var(--r);
  padding: 14px 18px;
  font-size: 0.875rem;
}

.banner-warn {
  background: var(--warn-bg);
  border: 1px solid #D4B96A;
}

.banner-info {
  background: var(--accent-light);
  border: 1px solid var(--border);
}

.banner-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 62px;
  background: rgba(250, 249, 247, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(39, 34, 32, 0.04);
  backdrop-filter: blur(10px);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-brand-text,
.nav-brand-sub {
  display: block;
  line-height: 1.1;
}

.nav-brand-text {
  font-weight: 700;
  color: var(--brand-blue);
}

.nav-brand-sub {
  font-size: 0.74rem;
  color: var(--brand-teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-2);
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-links a.active {
  color: var(--brand-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 24px 80px;
  background:
    radial-gradient(circle at top right, rgba(115, 185, 231, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(49, 185, 159, 0.15), transparent 28%),
    linear-gradient(180deg, #F8F6F2 0%, #EEE9E1 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -12%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -55%;
  left: -8%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--mw);
  margin: 0 auto;
}

.hero-eye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(20, 48, 114, 0.55);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-eye::before {
  content: "";
  width: 28px;
  height: 2px;
  background: rgba(20, 48, 114, 0.3);
}

.hero h1 {
  max-width: 580px;
  margin: 0 0 22px;
  color: var(--accent);
  font-family: var(--font-d);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.13;
}

.hero-sub {
  max-width: 520px;
  margin: 0 0 44px;
  color: rgba(39, 34, 32, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.how-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  box-shadow: var(--sh);
}

.how-num {
  margin-bottom: 16px;
  color: var(--border);
  font-family: var(--font-d);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.how-card h3 {
  margin: 0 0 8px;
  font-size: 0.9375rem;
}

.how-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.65;
}

.stepper {
  display: flex;
  margin-bottom: 36px;
  padding-top: 36px;
}

.step-item {
  position: relative;
  flex: 1;
  text-align: center;
}

.step-item::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-item:last-child::after {
  display: none;
}

.step-circle {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: all 0.3s;
}

.step-item.active .step-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.step-item.done .step-circle {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

.step-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.step-item.active .step-label {
  color: var(--accent);
  font-weight: 600;
}

.sel-counter {
  position: sticky;
  top: 74px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 13px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh);
}

.sel-count {
  color: var(--accent);
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
}

.pri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 11px;
  margin-bottom: 28px;
}

.pri-card {
  position: relative;
  padding: 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--r);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.18s;
}

.pri-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.pri-card.picked {
  border-color: var(--accent);
  background: var(--accent-light);
}

.pri-card.picked .pri-icon {
  background: var(--accent);
}

.pri-card.picked .pri-name {
  color: var(--accent);
}

.pri-tick {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
}

.pri-card.picked .pri-tick {
  border-color: var(--accent);
  background: var(--accent);
}

.pri-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  border-radius: 9px;
  background: var(--bg-subtle);
  font-size: 1.2rem;
}

.pri-card.picked .pri-icon {
  color: #fff;
}

.pri-name {
  margin-bottom: 3px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pri-desc {
  color: var(--text-2);
  font-size: 0.755rem;
  line-height: 1.4;
}

.pos-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.pos-row:last-child {
  border-bottom: none;
}

.pos-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.pos-desc {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.dir-btns {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.dir-btn {
  flex: 1;
  padding: 10px;
  border: 2px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.18s;
}

.dir-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dir-btn.d-sup {
  background: var(--ok-bg);
  border-color: var(--ok);
  color: var(--ok);
}

.dir-btn.d-neut {
  background: var(--ok-bg);
  border-color: var(--ok);
  color: var(--ok);
}

.dir-btn.d-opp {
  background: var(--ok-bg);
  border-color: var(--ok);
  color: var(--ok);
}

.str-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.str-label {
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.str-dots {
  display: flex;
  gap: 5px;
}

.str-dot {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
}

.str-dot:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.str-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.res-head {
  padding: 44px 0 32px;
  text-align: center;
}

.res-card {
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  box-shadow: var(--sh);
  transition: box-shadow 0.2s;
}

.res-card:hover {
  box-shadow: var(--sh2);
}

.res-card.gold {
  border-color: #B89830;
  box-shadow: 0 2px 14px rgba(184, 152, 48, 0.15);
}

.res-card.silver {
  border-color: #9A9A9A;
}

.res-card.bronze {
  border-color: #A07840;
}

.res-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.res-rank {
  min-width: 44px;
  color: var(--text-muted);
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.res-card.gold .res-rank {
  color: #B89830;
}

.res-card.silver .res-rank {
  color: #888;
}

.res-card.bronze .res-rank {
  color: #A07840;
}

.res-party {
  flex: 1;
}

.res-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
}

.res-lead {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.res-score-box {
  text-align: right;
}

.res-score {
  color: var(--accent);
  font-family: var(--font-d);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}

.res-score-lbl {
  color: var(--text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.res-bar {
  height: 5px;
  background: var(--bg-subtle);
}

.res-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.res-card.gold .res-fill {
  background: linear-gradient(90deg, #3D3530, #6B5C50);
}

.res-detail {
  display: none;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--border-light);
}

.res-detail.open {
  display: block;
}

.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.source-manifesto {
  background: var(--ok-bg);
  color: var(--ok);
}

.source-website {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.discrepancy-block {
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid #E8D48B;
  border-radius: var(--r);
  background: #FDF8EC;
}

.discrepancy-block .disc-title {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  color: #8A6318;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.disc-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.disc-topic {
  min-width: 140px;
  font-weight: 600;
}

.disc-detail {
  color: var(--text-2);
  font-size: 0.775rem;
}

.disc-arrow {
  margin: 0 3px;
  color: var(--text-muted);
}

.expand-btn {
  display: block;
  width: 100%;
  padding: 11px 24px;
  background: none;
  border: none;
  border-top: 1px solid var(--border-light);
  color: var(--accent);
  cursor: pointer;
  font-family: var(--font-b);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
}

.expand-btn:hover {
  background: var(--accent-light);
}

.detail-section-title {
  margin: 16px 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 0.875rem;
}

.detail-row .dr-name {
  flex: 1;
  font-weight: 500;
}

.detail-row .dr-meta {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.pty-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  border-collapse: collapse;
  background: var(--surface);
  box-shadow: var(--sh);
}

.pty-table th {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.pty-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  font-size: 0.875rem;
}

.pty-table tr:last-child td {
  border-bottom: none;
}

.pty-table tbody tr:hover td {
  background: var(--bg-subtle);
}

.meth-card {
  margin-bottom: 14px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
}

.meth-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-d);
  font-size: 1.1rem;
}

.meth-card p {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.75;
}

.formula {
  margin: 13px 0;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-subtle);
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 2.1;
  white-space: pre-wrap;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.9375rem;
  transition: border 0.18s ease, box-shadow 0.18s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer {
  margin-top: 40px;
  padding: 36px 0 44px;
  background: var(--accent);
  color: rgba(255, 255, 255, 0.88);
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-title {
  font-family: var(--font-d);
  font-size: 1.15rem;
}

.footer-copy {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  text-align: center;
}

.party-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.party-card {
  padding: 20px;
}

.party-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.party-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(39, 34, 32, 0.06);
}

.party-logo-box-lg {
  width: 72px;
  height: 48px;
  padding: 6px;
}

.party-logo-box-sm {
  width: 52px;
  height: 34px;
  padding: 4px;
  border-radius: 8px;
}

.party-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.party-logo-lg {
  max-width: 60px;
  max-height: 36px;
}

.party-logo-sm {
  max-width: 44px;
  max-height: 24px;
}

.party-card-name {
  font-weight: 700;
}

.party-card-meta {
  color: var(--text-2);
  font-size: 0.84rem;
}

.page-intro {
  padding: 36px 0 10px;
}

.page-title {
  margin: 0 0 8px;
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-sub {
  max-width: 680px;
  margin: 0;
  color: var(--text-2);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-side-stack {
  display: grid;
  gap: 20px;
}

.reason-list {
  display: grid;
  gap: 14px;
}

.reason-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mono-link {
  word-break: break-all;
}

.page-tools {
  display: flex;
  justify-content: flex-end;
  margin: 10px 0 20px;
}

.page-share-link {
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.share-panel {
  margin-top: 28px;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-label {
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--sh);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.share-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: var(--sh2);
  text-decoration: none;
}

.copy-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 400;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--sh2);
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .split-grid,
  .contact-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .res-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .res-score-box {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .how-grid {
    grid-template-columns: 1fr;
  }

  .pri-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links,
  .btn-ghost {
    display: none;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .res-score {
    font-size: 1.6rem;
  }

  .dir-btns {
    flex-direction: column;
  }

  .sel-counter {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
