/* TLD-Platzhalter — geteiltes Stylesheet der Vorstart-Seiten.
   Quelle der Gestaltung: design/boards/tld-platzhalter/ (Boards 1440×900),
   hier responsiv umgesetzt. Tokens folgen docs/01-DESIGN-SYSTEM.md. */

:root {
  --ink: #201e1d;
  --ink-soft: #474238;
  --ink-muted: #645c50;
  --ink-faint: #a19786;
  --sage: #56633f;
  --sage-deep: #3d472b;
  --paper: #f9f4ed;
  --panel: #eee7db;
  --line: rgba(32, 30, 29, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Figtree', system-ui, sans-serif;
}

a {
  color: var(--sage-deep);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sage);
  text-decoration: underline;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px clamp(20px, 4vw, 48px);
}

.wordmark {
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 400;
}

.wordmark b {
  font-weight: 800;
}

.top a {
  font-size: 14px;
  font-weight: 500;
}

main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px clamp(20px, 4vw, 48px);
}

main.doc {
  align-items: flex-start;
}

.stack {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stack.narrow {
  max-width: 640px;
}

h1 {
  margin: 0;
  font-size: clamp(27px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px;
}

.card-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.card-meta {
  font-size: 13px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pipe {
  display: flex;
  align-items: center;
  gap: 12px 14px;
  flex-wrap: wrap;
}

.pipe .file {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 16px;
}

.pipe .target {
  font-weight: 700;
}

.pipe svg {
  flex: none;
}

.progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.progress-label {
  font-size: 15px;
  font-weight: 600;
}

.progress-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.progress-track {
  height: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--sage);
}

.hint {
  font-size: 13px;
  color: var(--ink-muted);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.step.open {
  color: var(--ink-muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: none;
}

.dot.done {
  background: var(--sage);
}

.dot.running {
  border: 1.5px solid var(--sage);
  background: linear-gradient(90deg, var(--sage) 50%, transparent 50%);
  animation: fk-pulse 1.6s ease-in-out infinite;
}

.dot.open {
  border: 1.5px solid var(--ink-faint);
}

.report {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.report-item {
  display: flex;
  gap: 12px;
}

.report-item .dot {
  margin-top: 5px;
}

.report-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.report-main {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.report-main .code {
  font-family: ui-monospace, Menlo, monospace;
  font-weight: 600;
}

.report-main .path {
  font-family: ui-monospace, Menlo, monospace;
}

.report-rec {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.aside {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.aside a {
  font-weight: 600;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  flex-wrap: wrap;
  padding: 20px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-muted);
}

footer nav {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
}

footer a {
  color: var(--sage-deep);
}

.prose {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.prose h1 {
  margin-bottom: 12px;
}

.prose h2 {
  margin: 28px 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.prose p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.prose strong {
  color: var(--ink);
}

@keyframes fk-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fk-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.fk-reveal {
  animation: fk-fade-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.fk-reveal.d1 {
  animation-delay: 0.05s;
}

.fk-reveal.d2 {
  animation-delay: 0.2s;
}

.fk-reveal.d3 {
  animation-delay: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  .fk-reveal,
  .dot.running {
    animation: none;
  }
}
