/* Typography:
 *   wordmark + headings = IBM Plex Serif (editorial / classical feel)
 *   body                = Inter (clean modern sans)
 *   mono blocks         = IBM Plex Mono (loaded inline where needed)
 * Fonts loaded via Google Fonts in the layout <head>.
 */

:root {
  --font-serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:  'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --color-text:    #1f1f23;
  --color-mute:    #777;
  --color-accent:  #0f62fe;          /* IBM Carbon blue 60 — headings + accent rules */
  --color-accent-soft: #edf5ff;       /* tinted background for callout */
  --color-link:    #0043ce;           /* IBM Carbon blue 70 — link/hover */
  --color-rule:    #ececec;

  --measure: 720px;
}

body {
  font-family: var(--font-sans);
  max-width: var(--measure);
  margin: 3rem auto 5rem;
  padding: 0 1.25rem;
  line-height: 1.65;
  color: var(--color-text);
  font-size: 17px;
}

/* ---------- header / brand ---------- */

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}
.brand {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-accent);
  text-decoration: none;
}
.tagline {
  color: var(--color-mute);
  margin: 0.15rem 0 0 0;
  font-style: italic;
  font-size: 0.9rem;
}

nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  padding-bottom: 0.25rem;
}
nav a {
  color: var(--color-mute);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav a:hover {
  color: var(--color-text);
}
nav a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
nav a.nav-cta {
  color: var(--color-accent);
  font-weight: 500;
}
nav a.nav-cta:hover {
  color: var(--color-link);
}

/* hamburger toggle (CSS-only via hidden checkbox) — desktop hides it */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
}

@media (max-width: 600px) {
  header {
    align-items: center;
  }
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    cursor: pointer;
    padding: 0;
  }
  .nav-toggle-label span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }
  nav {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    order: 99;            /* push below brand+hamburger row when shown */
    margin-top: 1rem;
    padding-top: 1rem;
    padding-bottom: 0;
    border-top: 1px solid var(--color-rule);
  }
  .nav-toggle:checked ~ nav {
    display: flex;
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ---------- main typography ---------- */

main h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--color-accent);
  letter-spacing: -0.005em;
}
main h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-rule);
  color: var(--color-text);
}
main h3 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-mute);
  margin: 0 0 0.6rem;
  font-weight: 600;
}
main p, main ul {
  margin: 1rem 0;
}
main ul {
  padding-left: 1.25rem;
}
main li {
  margin: 0.4rem 0;
}
main a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-color: rgba(15, 98, 254, 0.3);
  text-underline-offset: 0.2em;
}
main a:hover {
  text-decoration-color: var(--color-accent);
}
main strong {
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------- before/after diff block ---------- */

.diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  font-size: 0.825rem;
}
.diff-col {
  border: 1px solid var(--color-rule);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  background: #fafafa;
}
.diff-after {
  border-color: rgba(15, 98, 254, 0.35);
  background: var(--color-accent-soft);
}
.diff pre {
  font-family: var(--font-mono);
  white-space: pre;
  overflow-x: auto;
  margin: 0;
  line-height: 1.5;
  color: var(--color-text);
}

/* Player screenshots on the home page — three across on desktop,
   stacked on mobile. Each thumbnail is a click target that opens
   the full-size PNG in a new tab. */
.player-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 0.5rem;
}
.player-shots img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-rule);
  border-radius: 4px;
  display: block;
  transition: transform 0.15s, box-shadow 0.15s;
}
.player-shots a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
@media (max-width: 600px) {
  .player-shots { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 600px) {
  .diff {
    grid-template-columns: 1fr;
  }
}

/* ---------- callout (dry-run pull-out) ---------- */

.callout {
  background: var(--color-accent-soft);
  border-left: 3px solid var(--color-accent);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
}
.callout h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  color: var(--color-accent);
}
.callout p:last-child {
  margin-bottom: 0;
}

/* ---------- callout warn variant (validation errors) ---------- */

.callout-warn {
  background: #fff7ed;
  border-left-color: #c2410c;
}
.callout-warn strong {
  color: #c2410c;
}
.callout-warn ul {
  margin: 0.5rem 0 0;
}

/* ---------- intake form ---------- */

.intake-form {
  margin: 2rem 0;
}

.intake-form label:not(.check):not(.radio) {
  display: block;
  margin: 1.25rem 0 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.intake-form .req {
  color: var(--color-accent);
  margin-left: 0.15em;
}
.intake-form .opt {
  color: var(--color-mute);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.15em;
}

.intake-form input[type="email"],
.intake-form input[type="text"],
.intake-form input[type="number"],
.intake-form textarea {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-rule);
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.intake-form input:focus,
.intake-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.12);
}
.intake-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.intake-form fieldset {
  margin: 1.5rem 0 0;
  padding: 0;
  border: none;
}
.intake-form fieldset legend {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  padding: 0;
}

.intake-form .check,
.intake-form .radio {
  display: block;
  margin: 0.4rem 0;
  font-weight: 400;
  cursor: pointer;
  padding: 0.15rem 0;
}
.intake-form .check input,
.intake-form .radio input {
  margin-right: 0.55rem;
  vertical-align: middle;
}
/* standalone checkbox row (e.g. Idagio/Apple) gets the same spacing as a label */
.intake-form > label.check {
  margin-top: 1.5rem;
}

.intake-form button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}
.intake-form button:hover {
  background: var(--color-link);
}

/* Compact variant for the admin login (just two fields). */
.login-form {
  max-width: 22rem;
}

/* Free-dry-run pill in the admin quote header. */
.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.5rem;
  letter-spacing: 0.02em;
}
.badge-dryrun {
  background: #edf5ff;
  color: #0043ce;
  border: 1px solid #a6c8ff;
}

/* Disabled price fieldset on dry-run quotes — no border, just visually muted. */
.pricing-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.pricing-fieldset.is-disabled {
  opacity: 0.55;
}
.pricing-fieldset.is-disabled input {
  background: #f5f5f5;
  cursor: not-allowed;
}

/* ---------- admin chrome + tables ---------- */

body.admin {
  max-width: 1100px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.admin-table th,
.admin-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--color-rule);
}
.admin-table th {
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-mute);
  background: #fafafa;
  border-bottom: 1px solid var(--color-rule);
}
.admin-table td.num,
.admin-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.admin-table tbody tr {
  cursor: pointer;
  transition: background 0.1s;
}
.admin-table tbody tr:hover {
  background: var(--color-accent-soft);
}
main .admin-table a {
  color: var(--color-text);
  text-decoration: none;
}
main .admin-table tbody tr:hover a {
  color: var(--color-accent);
}



.admin-tag {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* ---------- admin form extras ---------- */

.admin-form select {
  display: block;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-rule);
  border-radius: 4px;
  min-width: 220px;
}
.admin-form select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.12);
}

.field-help {
  font-size: 0.85rem;
  color: var(--color-mute);
  margin: 0.4rem 0 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.intake-form.admin-form .form-actions button {
  margin-top: 0;
}
main a.btn-secondary {
  color: var(--color-mute);
  text-decoration: none;
  font-size: 0.95rem;
}
main a.btn-secondary:hover {
  color: var(--color-text);
}

.notes-block {
  white-space: pre-line;
  background: #fafafa;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--color-rule);
  font-size: 0.92rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- primary CTA button (home, callout) ---------- */

main a.cta-button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1.05rem;
  transition: background 0.15s;
}
main a.cta-button:hover {
  background: var(--color-link);
  color: #fff;
}

/* ---------- quote dashboard ---------- */

.quote-meta,
.quote-figures {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
  align-items: baseline;
}
.quote-meta dt,
.quote-figures dt {
  color: var(--color-mute);
  font-weight: 500;
}
.quote-meta dd,
.quote-figures dd {
  margin: 0;
  color: var(--color-text);
}
.quote-meta code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: #fafafa;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  border: 1px solid var(--color-rule);
}

.status-badge {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 99px;
  background: #f0f0f0;
  color: var(--color-text);
}
.status-badge.status-waitlisted    { background: #fef3c7; color: #92400e; }
.status-badge.status-quoted        { background: #fff7ed; color: #c2410c; }
.status-badge.status-accepted      { background: #ecfdf5; color: #065f46; }
.status-badge.status-deposit_paid  { background: #d1fae5; color: #065f46; }
.status-badge.status-in_progress   { background: #eef2ff; color: #3730a3; }
.status-badge.status-preview_sent  { background: #f0f9ff; color: #075985; }
.status-badge.status-balance_due   { background: #fef9c3; color: #854d0e; }
.status-badge.status-balance_paid  { background: #d1fae5; color: #065f46; }
.status-badge.status-delivered     { background: #f5f3ff; color: #6d28d9; }
.status-badge.status-closed        { background: #e5e7eb; color: #374151; }
.status-badge.status-paid          { background: #ecfdf5; color: #065f46; }
.status-badge.status-cancelled     { background: #f3f4f6; color: #6b7280; text-decoration: line-through; }
.status-badge.status-overdue       { background: #fee2e2; color: #b91c1c; margin-left: 0.4rem; }

/* Cancellation-reason dialog — opens when admin picks status=cancelled. */
.cancel-dialog {
  max-width: 28rem;
  width: 90%;
  border: none;
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.cancel-dialog::backdrop {
  background: rgba(0,0,0,0.45);
}
.cancel-dialog h3 {
  margin-top: 0;
}
.cancel-dialog textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-rule);
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}
.cancel-dialog .form-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}

/* FAQ accordion — each H2 wrapped in <details><summary> by Page.pm. */
.accordion-item {
  border-top: 1px solid var(--color-rule);
  padding: 0.85rem 0;
}
.accordion-item:last-child {
  border-bottom: 1px solid var(--color-rule);
}
.accordion-item > summary {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;        /* remove default disclosure triangle */
  padding-right: 1.5rem;
  position: relative;
  color: var(--color-text);
}
.accordion-item > summary::-webkit-details-marker { display: none; }
.accordion-item > summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-mute);
  transition: transform 0.15s;
}
.accordion-item[open] > summary::after {
  content: '−';
  color: var(--color-accent);
}
.accordion-item[open] > summary {
  color: var(--color-accent);
}
.accordion-item > :not(summary) {
  margin-top: 0.5rem;
}

/* Workflow stepper on the customer dashboard. Horizontal row on desktop,
   vertical column below 600px. Past steps filled with the accent colour;
   current step has a glow ring; future steps are muted outlines. */
.workflow {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  align-items: flex-start;
  font-size: 0.78rem;
}
.workflow-step {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  text-align: center;
  color: var(--color-mute);
  padding: 0 0.25rem;
}
.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0.45rem;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--color-rule);
  z-index: 0;
}
.workflow-step.workflow-done:not(:last-child)::after {
  background: var(--color-accent);
}
.workflow-dot {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-rule);
  position: relative;
  z-index: 1;
}
.workflow-done .workflow-dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.workflow-current .workflow-dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.25);
}
.workflow-current .workflow-label {
  color: var(--color-accent);
  font-weight: 600;
}
.workflow-done .workflow-label {
  color: var(--color-text);
}
.workflow-label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .workflow {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-left: 0.4rem;
  }
  .workflow-step {
    flex: 0 0 auto;
    text-align: left;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
  }
  .workflow-step:not(:last-child)::after {
    top: 1.4rem;
    left: 0.45rem;
    width: 2px;
    height: 100%;
  }
  .workflow-dot {
    margin: 0;
    flex: 0 0 auto;
  }
  .workflow-label {
    white-space: normal;
  }
}

/* Communication timeline — used on both the customer dashboard and
   the admin quote view. Reverse-chronological list of events. */
.timeline {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  border-left: 2px solid var(--color-rule);
}
.timeline-event {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin-left: -1px;
}
.timeline-event::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0.85rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid #fff;
}
.timeline-event.timeline-system::before { background: var(--color-mute); }
.timeline-event.timeline-status_change::before { background: var(--color-link); }
.timeline-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-mute);
  margin-bottom: 0.15rem;
}
.timeline-body {
  display: block;
  white-space: pre-line;
}
.timeline-body.timeline-system {
  color: var(--color-mute);
  font-style: italic;
}
.timeline-from {
  color: var(--color-mute);
  font-size: 0.85rem;
  margin-left: 0.4rem;
}

/* Refund-acknowledged checkbox shown only when current status is 'paid' —
   visually warn the admin this is a destructive transition. */
.intake-form .check.refund-ack {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 4px;
  font-weight: 500;
}

.quoted-message {
  background: var(--color-accent-soft);
  border-left: 3px solid var(--color-accent);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  white-space: pre-line;
}

.pay-options {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.pay-options li {
  margin: 0.85rem 0;
}
main a.pay-button {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid var(--color-rule);
  border-left: 5px solid var(--color-rule);
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.15s, transform 0.05s, box-shadow 0.15s;
}
main a.pay-button:hover {
  color: var(--color-text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
main a.pay-button .pay-icon {
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
}
main a.pay-button .pay-sub {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-muted, #666);
  margin-top: 0.15rem;
}
main a.pay-button .pay-arrow {
  color: var(--color-muted, #999);
  font-size: 1.2rem;
}

/* Per-provider accents — left border + tinted hover background. */
main a.pay-button.pay-stripe    { border-left-color: #635bff; }
main a.pay-button.pay-stripe:hover    { background: #f3f1ff; }
main a.pay-button.pay-etransfer { border-left-color: #FFD200; }
main a.pay-button.pay-etransfer:hover { background: #fff9e0; }
main a.pay-button.pay-wise      { border-left-color: #9fe870; }
main a.pay-button.pay-wise:hover      { background: #f0fbe5; }

.etransfer-block {
  font-family: var(--font-mono);
  background: #fafafa;
  border: 1px solid var(--color-rule);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
  white-space: pre-wrap;
}

.quote-foot {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-rule);
  font-size: 0.9rem;
  color: var(--color-mute);
}

/* ---------- footer ---------- */

footer {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-rule);
  font-size: 0.85rem;
  color: var(--color-mute);
}
footer a {
  color: var(--color-link);
}
.mb-credit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.mb-credit a {
  display: inline-flex;
  align-items: center;
  line-height: 0;          /* avoid extra vertical space around the SVG */
}
.mb-logo {
  height: 1.5rem;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.mb-credit a:hover .mb-logo {
  opacity: 1;
}
.mb-counter {
  margin-top: 0.5rem;
  color: var(--color-mute);
}
.mb-counter strong {
  color: var(--color-text);
}

/* Inline delete button on the contributions admin table. */
.btn-link {
  background: none;
  border: none;
  color: var(--color-mute);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 0.3rem;
}
.btn-link:hover { color: #b91c1c; }

/* Hero sub-tagline directly below the home-page H1. Three trust
   signals separated by middle dots. Restrained — accent color but
   not a callout box. */
.hero-sub {
  margin: -0.5rem 0 2rem;
  font-size: 0.95rem;
  color: var(--color-accent);
  font-style: italic;
}

/* Public contributions table at /contributions. */
.contrib-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.contrib-table th, .contrib-table td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--color-rule);
  vertical-align: top;
}
.contrib-table th {
  font-weight: 500;
  color: var(--color-mute);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contrib-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-mute);
  white-space: nowrap;
}

/* ---------- pre-launch banner ---------- */

.pre-launch-banner {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #78350f;
  padding: 0.6rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  text-align: center;
  font-size: 0.9rem;
}

.pre-launch-banner a {
  color: #78350f;
  text-decoration: underline;
  font-weight: 500;
}
