/* ========================================================================
   Sovereign Sundays — The Belonging Index
   Brand tokens locked to the existing Sovereign Sundays system.
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #0d0d0d;
  --card: #161616;
  --warm-grid: #1f1610;
  --gold: #c9a84c;
  --clay: #b41e1e;
  --text: #f0ede8;
  --text-dim: #a8a49e;
  --link: #c4372a;

  --border: rgba(240, 237, 232, 0.08);
  --border-strong: rgba(201, 168, 76, 0.35);

  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 3px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   Background texture — topographic contour lines, an existing
   Sovereign Sundays motif, used here as a faint ambient wash.
   --------------------------------------------------------------------- */

.topo-wash {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23c9a84c' stroke-width='1'%3E%3Cpath d='M20,300 Q150,180 300,300 T580,300'/%3E%3Cpath d='M20,340 Q150,220 300,340 T580,340'/%3E%3Cpath d='M20,380 Q150,260 300,380 T580,380'/%3E%3Cpath d='M20,260 Q150,140 300,260 T580,260'/%3E%3Cpath d='M20,220 Q150,100 300,220 T580,220'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 900px;
  background-repeat: repeat;
}

/* ---------------------------------------------------------------------
   Layout shell
   --------------------------------------------------------------------- */

.shell {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */

header.masthead {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.masthead-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.masthead-mark .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}

.masthead-mark .eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

h1.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.subtitle {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 620px;
  margin: 0;
}

/* ---------------------------------------------------------------------
   Top nav (Countries / Compare)
   --------------------------------------------------------------------- */

.top-nav {
  display: flex;
  gap: 4px;
  margin-top: 24px;
}

.top-nav-tab {
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.top-nav-tab:hover { color: var(--text); border-color: var(--border-strong); }
.top-nav-tab.active {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--text);
}

/* ---------------------------------------------------------------------
   Flag images (not emoji — Windows renders flag emoji as plain 2-letter
   text, so this uses real flag images from flagcdn.com instead, which
   render identically on every OS/browser)
   --------------------------------------------------------------------- */

.flag-img {
  height: 14px;
  width: auto;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.flag-img.flag-big { height: 22px; }
.flag-img.flag-card { height: 16px; }

/* ---------------------------------------------------------------------
   Filter bar
   --------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
}

.filter-bar select,
.filter-bar input[type="search"] {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  padding: 9px 14px;
  border-radius: var(--radius);
  appearance: none;
  cursor: pointer;
}

.filter-bar select:focus,
.filter-bar input:focus {
  border-color: var(--border-strong);
  outline: none;
}

.filter-bar input[type="search"] {
  cursor: text;
  min-width: 200px;
  flex-grow: 1;
  max-width: 280px;
}

.filter-bar .reset {
  font-size: 12px;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
}
.filter-bar .reset:hover { color: var(--gold); }

.result-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.7;
}

/* ---------------------------------------------------------------------
   Card grid (browse view)
   --------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.country-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: var(--sans);
}
.country-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.country-card-photo-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--warm-grid);
}
.country-card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.country-card-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px 10px;
  font-size: 10px;
  color: rgba(240,237,232,0.75);
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.country-card-flag-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.country-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.country-card-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.country-card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 6px;
  color: var(--text);
}

.country-card-tagline {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0 0 14px;
  flex-grow: 1;
}

.country-card-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.country-card-stat {
  font-size: 11.5px;
}
.country-card-stat .stat-label {
  display: block;
  color: var(--text-dim);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
}
.country-card-stat .stat-value {
  color: var(--text);
  font-weight: 600;
}
.country-card-stat .stat-value.concern { color: #e07a7a; }
.country-card-stat .stat-value.strong { color: var(--gold); }

/* ---------------------------------------------------------------------
   Compare page
   --------------------------------------------------------------------- */

.compare-intro {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.compare-intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 4px;
}
.compare-intro p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}
.compare-intro .meta {
  font-size: 11px;
  color: var(--text-dim);
  opacity: 0.7;
  white-space: nowrap;
}

.compare-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.compare-tab {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.compare-tab:hover { color: var(--text); }
.compare-tab.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  font-weight: 700;
}

.compare-panel { display: none; }
.compare-panel.active { display: block; animation: fade-in 0.2s ease; }

.compare-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 780px) {
  .compare-cols { grid-template-columns: 1fr; }
}

.compare-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.compare-block h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 16px;
  display: flex;
  justify-content: space-between;
  color: var(--text);
}
.compare-block h3 .sub {
  font-size: 10.5px;
  color: var(--text-dim);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bar-row {
  margin-bottom: 14px;
}
.bar-row:last-child { margin-bottom: 0; }
.bar-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 5px;
}
.bar-row-label .country-name {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}
.bar-row-label .range { color: var(--text-dim); }
.bar-track {
  height: 6px;
  background: rgba(240,237,232,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--clay);
  border-radius: 3px;
}

.cost-group {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.cost-group:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.cost-group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.cost-group-head .name { font-size: 14px; font-weight: 600; color: var(--text); }
.cost-group-head .range { font-size: 12px; color: var(--gold); }
.cost-group-meta { font-size: 11.5px; color: var(--text-dim); margin-bottom: 4px; }
.cost-group-countries { font-size: 12px; color: var(--text-dim); }

.matrix-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 640px;
}
table.matrix th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}
table.matrix td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table.matrix tr:last-child td { border-bottom: none; }
table.matrix tr:hover td { background: rgba(240,237,232,0.02); }

.matrix-country-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.matrix-country-cell:hover { color: var(--gold); }

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.badge.strong { background: rgba(201, 168, 76, 0.15); color: var(--gold); }
.badge.mixed { background: rgba(168, 164, 158, 0.15); color: var(--text-dim); }
.badge.concern { background: rgba(180, 30, 30, 0.18); color: #e07a7a; }

/* ---------------------------------------------------------------------
   Country tab strip
   --------------------------------------------------------------------- */

.country-strip-wrap {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  padding: 14px 0;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.country-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.country-strip::-webkit-scrollbar { height: 4px; }
.country-strip::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }

.country-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.country-tab:hover {
  background: var(--card);
  color: var(--text);
}

.country-tab.active {
  background: var(--card);
  color: var(--gold);
  border-color: var(--border-strong);
}

.country-tab .flag { font-size: 15px; }

.tier-flag {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clay);
  border: 1px solid rgba(180, 30, 30, 0.4);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 2px;
}

/* ---------------------------------------------------------------------
   Country detail
   --------------------------------------------------------------------- */

.country-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 820px) {
  .country-detail { grid-template-columns: 1fr; }
}

.country-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.photo-credit {
  font-size: 11px;
  color: var(--text-dim);
  opacity: 0.6;
  margin-top: 6px;
}

.country-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.country-heading h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.country-heading .flag-big { font-size: 1.6rem; }

.tier-badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  border: 1px solid rgba(180, 30, 30, 0.4);
  border-radius: 3px;
  padding: 3px 8px;
}

.tagline {
  color: var(--text-dim);
  font-style: italic;
  font-size: 15.5px;
  margin: 0 0 20px;
}

.verdict-card {
  position: relative;
  background: var(--warm-grid);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px 20px 28px;
  margin-bottom: 28px;
}

.verdict-card::before {
  content: '"';
  position: absolute;
  top: -6px;
  left: 6px;
  font-family: var(--serif);
  font-size: 3.2rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
}

.verdict-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.verdict-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

/* ---------------------------------------------------------------------
   Lens tabs (the 7-lens compounding framework)
   --------------------------------------------------------------------- */

.lens-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.lens-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 12px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lens-tab:hover { color: var(--text); }

.lens-tab.active {
  color: var(--text);
  border-bottom-color: var(--gold);
}

.score-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.score-dot.strong { background: var(--gold); }
.score-dot.mixed { background: var(--text-dim); }
.score-dot.concern { background: var(--clay); }

.lens-panel { display: none; }
.lens-panel.active { display: block; animation: fade-in 0.2s ease; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

.lens-panel h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lens-score-label {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lens-score-label.strong { background: rgba(201, 168, 76, 0.15); color: var(--gold); }
.lens-score-label.mixed { background: rgba(168, 164, 158, 0.15); color: var(--text-dim); }
.lens-score-label.concern { background: rgba(180, 30, 30, 0.18); color: #e07a7a; }

.lens-panel p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 8px 0 0;
}

/* ---------------------------------------------------------------------
   Practical info grid
   --------------------------------------------------------------------- */

.practical {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.practical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.practical-block h4 {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.practical-block p,
.practical-block li {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

.practical-block p { margin: 0; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pill-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12.5px;
  color: var(--text);
}

.meta-table {
  font-size: 14px;
  color: var(--text-dim);
}
.meta-table div {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.meta-table span:first-child { color: var(--text-dim); }
.meta-table span:last-child { color: var(--text); text-align: right; }

.verify-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------------------------------------------------------------------
   Sources
   --------------------------------------------------------------------- */

.sources-block {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.sources-block h4 {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 10px;
}

.sources-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sources-block a {
  font-size: 12px;
  color: var(--text-dim);
  word-break: break-all;
}
.sources-block a:hover { color: var(--gold); }

.sources-missing {
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
  opacity: 0.7;
}

/* ---------------------------------------------------------------------
   States: loading / empty / error
   --------------------------------------------------------------------- */

.state-message {
  padding: 80px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

.state-message strong {
  display: block;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 400;
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */

footer.site-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

footer.site-footer a { color: var(--gold); }

/* ---------------------------------------------------------------------
   Email gate
   --------------------------------------------------------------------- */

#content-wrap.gated {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  max-height: 100vh;
  overflow: hidden;
}

#content-wrap.unlocked {
  filter: none;
  user-select: auto;
  pointer-events: auto;
  max-height: none;
  overflow: visible;
  animation: unlock-reveal 0.4s ease;
}

@keyframes unlock-reveal {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13, 13, 13, 0.55);
}

.gate-overlay.hidden { display: none; }

.gate-card {
  max-width: 440px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.gate-card .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
  margin-bottom: 18px;
}

.gate-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0 0 14px;
  line-height: 1.15;
}

.gate-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 22px;
}

#gate-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#gate-email {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
}
#gate-email:focus {
  outline: none;
  border-color: var(--gold);
}

#gate-form button {
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s ease;
}
#gate-form button:hover { opacity: 0.88; }
#gate-form button:disabled { opacity: 0.5; cursor: not-allowed; }

.gate-error {
  color: #e07a7a;
  font-size: 13px;
  margin: 12px 0 0;
  min-height: 16px;
}

.gate-fineprint {
  font-size: 11.5px;
  color: var(--text-dim);
  opacity: 0.7;
  margin: 16px 0 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
