/* Answers pages only. Loaded after base.css, which holds the tokens,
   reset and base type. */

body {
  background: linear-gradient(var(--bg), var(--bg-mid));
  min-height: 100vh;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.answer-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.whale-home img {
  width: 3.5rem;
  height: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.whale-home:hover img { opacity: 1; }

.breadcrumb {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.breadcrumb a:hover { text-decoration: underline; }

h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.answer {
  border-left: 3px solid var(--accent);
  background: var(--panel);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

h2 {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin: 2.5rem 0 0.75rem;
}

p { margin-bottom: 1rem; }

ul, ol { margin: 0 0 1rem 1.25rem; }

li { margin-bottom: 0.4rem; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

th, td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; color: var(--muted); }

.cta {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 1.5rem;
  margin-top: 3rem;
}

.cta a {
  font-family: var(--mono);
  /* The <wbr /> after the @ is the intended break; this only catches a
     viewport too narrow for "cyberspaceroad.com" on a line of its own. */
  overflow-wrap: break-word;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
}

footer a { color: var(--muted); }

.more-answers {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
}

.more-answers h2 { margin-top: 0; }

.more-answers ul { list-style: none; margin-left: 0; }

.more-answers li { margin-bottom: 0.75rem; }

.home-return {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 3.5rem;
  padding: 1.5rem 1rem;
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.home-return:hover { opacity: 1; }

.home-return img { width: 6rem; height: auto; }

.home-return-title {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1.1;
}

.home-return-sub {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
