/**
 * Dark studio palette — personal site with Acolight kinship.
 * Bridge: portrait black/cyan rim + Acolight deep navy / mid-blue / white mark.
 * Not a full Acolight clone (no low-poly wallpaper); navy base + cool blue accent
 * so a white Acolight logo / “via Acolight” feels at home.
 */
:root {
  /* Deep navy family (Acolight LinkedIn / tech-card territory) */
  --bg: #0a1422;
  --bg-mid: #0f1a2c;
  --bg-elev: #152338;
  --bg-surface: #1a2c44;

  /* Near-white like Acolight wordmark on dark */
  --text: #d9e6f2;
  --text-bright: #eef6fc;
  --muted: #8fa3b8;
  --faint: #5e7288;

  /* Cool blue-teal — rim-light + Acolight mid tones, not SaaS mint */
  --accent: #5aa8c4;
  --accent-bright: #7ec4db;
  --accent-dim: #2f6f86;
  --accent-soft: rgba(90, 168, 196, 0.14);
  --accent-glow: rgba(90, 168, 196, 0.24);

  --border: rgba(242, 245, 250, 0.09);
  --border-strong: rgba(90, 168, 196, 0.32);

  --danger: #e07a7a;
  --warn-bg: rgba(232, 184, 74, 0.08);
  --warn-border: rgba(232, 184, 74, 0.28);
  --warn-text: #d4b56a;

  --radius: 10px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Sora", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-bright);
  font-weight: 600;
  text-underline-offset: 3px;
}
a:hover { color: var(--text); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 20, 34, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-bright);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-brand span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text-bright); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
  margin-left: 4px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  cursor: pointer;
}
.lang-btn.is-active {
  background: var(--accent);
  color: #0a1422;
}
.lang-btn:not(.is-active):hover {
  color: var(--text);
  background: var(--accent-soft);
}

/* Hero */
.hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(90, 168, 196, 0.11), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(30, 60, 100, 0.35), transparent 50%),
    var(--bg);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 14px;
  max-width: 18ch;
  color: var(--text-bright);
}
.hero h1::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 14px;
}
.hero-lead {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 24px;
  font-size: 1.08rem;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid var(--border-strong);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 6px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #0a1422;
}
.btn-primary:hover {
  background: var(--accent-bright);
  color: #0a1422;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hero--tight {
  padding: 40px 0 12px;
}
.hero--tight h1 {
  max-width: 20ch;
}

/* Soft one-liner under hero — no competing cards */
.hero-nudge {
  margin: 0;
  max-width: 36rem;
  font-size: 0.92rem;
  color: var(--accent-bright);
  font-weight: 600;
}

/* Skim-friendly 1-2-3 (unused — kept minimal if re-enabled) */
.howto {
  display: none;
}

/* Studio layout */
.studio {
  display: grid;
  grid-template-columns: 1.35fr minmax(240px, 280px);
  gap: 18px;
  padding: 8px 0 48px;
  align-items: start;
  transition: max-width 0.25s ease;
}
@media (max-width: 860px) {
  .studio { grid-template-columns: 1fr; }
}

/* Compact first paint — composer only */
.studio--compact {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.studio--compact .panel-head--chat,
.studio--compact .messages,
.studio--compact .side-stack {
  display: none !important;
}
.studio--expanded .compact-intro {
  display: none !important;
}

.compact-intro {
  padding: 20px 18px 8px;
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
}
.compact-welcome {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-bright);
  white-space: pre-wrap;
}
.examples-panel--inline {
  border: none;
  background: transparent;
  padding: 0;
}

.studio--expanded {
  max-width: none;
}
.studio--expanded .panel--chat {
  animation: chat-expand 0.35s ease-out;
}
@keyframes chat-expand {
  from { opacity: 0.85; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Chat pops */
.panel--chat {
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(90, 168, 196, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(90, 168, 196, 0.12);
  animation: chat-arrive 0.55s ease-out;
}
@keyframes chat-arrive {
  from {
    opacity: 0.4;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-mid);
}
.panel-head--chat {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-mid) 100%);
  border-bottom-color: var(--border-strong);
}
.chat-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5ddea0;
  box-shadow: 0 0 0 0 rgba(93, 222, 160, 0.55);
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(93, 222, 160, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(93, 222, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(93, 222, 160, 0); }
}
.panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--display);
  color: var(--text-bright);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.chat-head-hint {
  margin: 6px 0 0 20px;
  font-size: 0.82rem;
  color: var(--accent-bright);
}
.panel-head p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.examples-wrap {
  display: none; /* unused — examples live in the side stack */
}

.examples-panel {
  padding: 10px 12px;
  background: var(--bg-elev);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.examples-toggle {
  border: none;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(143, 163, 184, 0.4);
  padding: 2px 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.examples-toggle:hover {
  color: var(--accent-bright);
  text-decoration-color: var(--accent);
}
.examples-toggle[aria-expanded="true"] {
  color: var(--muted);
  margin-bottom: 8px;
}
.examples-list[hidden] {
  display: none !important;
}
.examples-hint {
  margin: 0 0 8px;
  font-size: 0.75rem;
  color: var(--muted);
}
.chips--stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}
.chips--stack .chip {
  width: 100%;
  text-align: left;
}

.chat-prompt-label {
  margin: 0;
  padding: 12px 16px 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}
.chip {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 6px;
  padding: 7px 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.chip:hover {
  border-color: var(--border-strong);
  color: var(--text-bright);
  background: var(--accent-soft);
}

.messages {
  height: min(380px, 48vh);
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(90, 168, 196, 0.06), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.bubble {
  max-width: 92%;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 0.95rem;
  white-space: pre-wrap;
  line-height: 1.45;
}
.bubble-user {
  align-self: flex-end;
  background: var(--accent-dim);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-bottom-right-radius: 3px;
}
.bubble-assistant {
  align-self: flex-start;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-bottom-left-radius: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.bubble-system {
  align-self: center;
  font-size: 0.78rem;
  color: var(--faint);
  background: transparent;
  text-align: center;
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px 16px;
  background: var(--bg-surface);
}
.chat-form--loud {
  border-top: 2px solid var(--accent);
}
.chat-input-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.chat-form-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-form textarea {
  flex: 1;
  resize: vertical;
  min-height: 52px;
  max-height: 140px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
}
.chat-form textarea::placeholder { color: var(--faint); }
.chat-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.btn-send {
  flex-shrink: 0;
  min-height: 52px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 1rem;
  animation: send-glow 2.4s ease-in-out infinite;
}
@keyframes send-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(90, 168, 196, 0); }
  50% { box-shadow: 0 0 20px rgba(90, 168, 196, 0.35); }
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.estimate-card {
  padding: 14px 16px;
}
.estimate-card.is-empty {
  opacity: 0.72;
  border-style: dashed;
}
.estimate-card h3 {
  margin: 0 0 6px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
}
.estimate-value {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}
#estimate-ops .estimate-value {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}
.estimate-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.estimate-card.is-empty .estimate-value {
  color: var(--faint);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: 0;
}
.disclaimer {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--warn-text);
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 6px;
}

.book-box {
  padding: 14px 16px;
  display: none;
}
.book-box.is-visible { display: block; }
.book-box h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: var(--display);
  color: var(--text);
  font-weight: 700;
}
.book-box label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 10px 0 4px;
}
.book-box input,
.book-box textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 10px;
  font: inherit;
  background: var(--bg-mid);
  color: var(--text);
}
.book-box input:focus,
.book-box textarea:focus {
  outline: none;
  border-color: var(--border-strong);
}
.book-status {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.book-status.ok { color: var(--accent-bright); }
.book-status.err { color: var(--danger); }

/* Sections */
.section {
  padding: 48px 0;
}
.section h2 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-bright);
}
.section-lead {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 38rem;
  font-family: var(--serif);
  font-weight: 500;
}
.section--band {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.package {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease;
}
.package:hover { border-color: var(--border-strong); }
.package h3 {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-bright);
}
.package .price {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}
.package p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
}

.how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  counter-reset: step;
}
.how-step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.how-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.how-step h3 {
  margin: 0 0 4px;
  font-size: 0.92rem;
}
.how-step p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.proof-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.proof-card h3 {
  margin: 0 0 6px;
  font-size: 0.92rem;
}
.proof-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--bg);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  padding: 48px 0;
}
@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: #000;
  display: block;
}
.about-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg-elev);
}
.about-body h1 {
  font-family: var(--display);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-bright);
}
.about-body .role {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 18px;
  font-size: 0.95rem;
}
.about-body p { color: var(--muted); }
.about-body strong { color: var(--text); }
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-links { font-size: 0.9rem; }

.book-lead {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Brand marks — lower right (Snake owns lower left) */
.brand-corner {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(10, 20, 34, 0.88);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.brand-au img {
  display: block;
  width: 72px;
  height: auto;
  opacity: 0.95;
}
.brand-au:hover img { opacity: 1; }
.brand-divider {
  width: 1px;
  height: 36px;
  background: var(--border-strong);
}
.brand-aco {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-decoration: none;
}
.brand-aco img {
  display: block;
  width: 96px;
  height: auto;
  opacity: 0.88;
}
.brand-aco:hover img { opacity: 1; }
.brand-aco-caption {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}

@media (max-width: 640px) {
  .brand-corner {
    right: 10px;
    bottom: 58px; /* sit above snake tab on small screens */
    padding: 8px 10px;
    gap: 8px;
  }
  .brand-au img { width: 56px; }
  .brand-aco img { width: 72px; }
  .brand-aco-caption { display: none; }
}

/* Snake dock — lower left signature */
.snake-dock {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.snake-tab {
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--accent-bright);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.snake-tab:hover {
  background: var(--accent-soft);
  color: var(--text);
}
.snake-panel {
  width: 200px;
  padding: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.snake-panel[hidden] { display: none !important; }
.snake-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.snake-panel-head strong {
  font-family: var(--display);
  font-size: 0.9rem;
}
.snake-close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}
.snake-close:hover {
  color: var(--text);
  background: var(--accent-soft);
}
.snake-canvas {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid var(--border);
  outline: none;
}
.snake-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}
.snake-meta strong { color: var(--text); }
.snake-restart {
  border: 1px solid var(--border);
  background: var(--bg-mid);
  color: var(--text);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.snake-restart:hover { border-color: var(--border-strong); }
.snake-hint {
  margin: 6px 0 0;
  font-size: 0.7rem;
  color: var(--faint);
  line-height: 1.35;
}

@media (max-width: 640px) {
  .snake-dock {
    left: 10px;
    bottom: 10px;
  }
  .snake-tab {
    font-size: 0.7rem;
    padding: 8px 12px;
  }
}
