/* tapestracker.com — one stylesheet for every page. Colors match the app (src/ui/theme). */
:root {
  --bg: #0b0b0f;
  --surface: #16161d;
  --text: #f2ede4;
  --muted: #a39d93;
  --accent: #c74d1e;
  --line: #2a2a33;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

a {
  color: var(--accent);
}

.stripes {
  height: 10px;
  background: linear-gradient(
    to bottom,
    #e8a33d 0 20%,
    #d9732a 20% 40%,
    #c74d1e 40% 60%,
    #8f2f1a 60% 80%,
    #4a1d17 80% 100%
  );
}

header,
main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
  font-size: 15px;
}

main {
  padding-bottom: 48px;
}

h1 {
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.1;
  margin: 32px 0 16px;
}

h2 {
  font-size: 22px;
  margin: 36px 0 8px;
}

.lead {
  font-size: 20px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
  font-size: 15px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin: 24px 0;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.button[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}

ul {
  padding-left: 22px;
}

footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
}

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