/* Shared public shell for the desk and its companion pages. */
.desk-companion {
  color-scheme: dark;
  --page: #13110e;
  --ink: #f2e8d7;
  --muted: #bcad9a;
  --placeholder: #baa891;
  --line: #a7855659;
  --input: #1e1913;
  --form-paper: #251e16;
  --input-line: #9a7850;
  --accent: #dfbb82;
  --accent-hover: #f0d7a8;
  --button-ink: #17120d;
  --error: #f29a87;
  --success: #c0cca4;
  --select-fill: #b58e5f;
  --select-ink: #17120d;
  --focus: #f0d7a8;
  --night: #1e1913;
  --night-panel: #2c231a;
  --night-line: #a7855659;
  --night-paper: #f2e8d7;
  --night-text: #dfd0ba;
  --night-accent: #f0d7a8;
  --wash: #2c231a;
  --group-fill: #3a2c1e;
  --group-ink: #f0d7a8;
  --wash-key: #bc965f;
}

.desk-companion .site-header {
  position: relative;
  z-index: 4;
  border-color: #c69d682b;
  background: linear-gradient(180deg, #171410, #13110e);
}

.trial-topbar {
  width: min(100%, 1320px);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 76px);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.trial-topbar .wordmark {
  gap: 11px;
  min-height: 44px;
  color: var(--ink);
  font: 500 24px/1 var(--heading-font);
}

.trial-seal {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #c7a47188;
  color: var(--night-accent);
  background: radial-gradient(circle at 35% 30%, #7d593138, transparent);
  font: 17px/1 "Songti SC", "Noto Serif SC", STSong, SimSun, Georgia, serif;
}

.trial-topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 3vw, 36px);
  font-size: .9rem;
}

.trial-topbar nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.trial-topbar nav a:hover,
.trial-topbar nav .site-language { color: var(--night-accent); }

.desk-companion :is(.site-footer, .method-section, .signup) { background: var(--form-paper); }
.desk-companion .pillar-table thead th { color: var(--muted); }
.desk-companion .secondary:hover { color: var(--button-ink); }
.desk-companion select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23dfbb82' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}

.desk-public-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1rem;
  font-size: .88rem;
}

.desk-companion .desk-public-links {
  justify-content: flex-start;
  margin-block-start: 1.1rem;
}

.desk-companion .desk-public-links a { color: var(--accent); }
.footer > .desk-public-links { flex: 0 0 100%; }

@media (max-width: 630px) {
  .trial-topbar { min-height: 58px; gap: 10px; }
  .trial-topbar .wordmark { gap: 6px; font-size: 20px; }
  .trial-seal { width: 23px; height: 23px; font-size: 14px; }
  .trial-topbar nav { gap: clamp(6px, 2vw, 12px); font-size: .75rem; }
}

@media (max-width: 370px) {
  html[lang="en"] .trial-topbar { flex-wrap: wrap; gap: 0; padding-block: 4px; }
  html[lang="en"] .trial-topbar nav { flex-basis: 100%; justify-content: space-between; }
}
