/* VoucherTools: edit the colours and fonts here first.
   --tint is the pale background of alternate sections, --accent is the single highlight colour.
   If you change --accent, also change the colour inside logo.svg. */
:root {
  --paper: #ffffff;
  --tint: #eef4f3;
  --ink: #10201f;
  --muted: #44524f;
  --rule: #cdd9d7;
  --accent: #0f6b62;
  --accent-dark: #0a524b;
  --accent-soft: #dcebe9;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap { width: min(100% - 2.5rem, 66rem); margin-inline: auto; }
.narrow { max-width: 40rem; }

a { color: var(--accent); text-underline-offset: 0.2em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.9rem;
  z-index: 10;
}
.skip:focus { top: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 2rem;
  padding-block: 0.9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.brand img { display: block; }
nav { display: flex; gap: 1.5rem; }
nav a { color: var(--ink); text-decoration: none; padding-block: 0.25rem; }
nav a:hover { text-decoration: underline; }

/* Hero: everything centred */
.hero {
  text-align: center;
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem);
}
h1 {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 auto 1.5rem;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 38rem;
  margin: 0 auto 2.25rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent); }

/* Download button. For now it is a disabled placeholder (see index.html comment). */
.button {
  display: block;
  margin: 0 auto;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
a.button { display: inline-block; }
.button:hover { background: var(--accent-dark); }
.button:disabled {
  background: #e4eae9;
  color: var(--muted);
  outline: 1px dashed var(--muted);
  outline-offset: -1px;
  cursor: not-allowed;
}
.small { margin: 0.9rem auto 0; color: var(--muted); font-size: 0.95rem; max-width: 26rem; }

/* Sections */
.band { padding-block: clamp(3rem, 7vw, 5rem); text-align: center; }
.tint { background: var(--tint); }
.band .narrow { margin-inline: auto; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 2.25rem; }
h3 { font-size: 1.1rem; line-height: 1.3; margin: 0 0 0.4rem; }
.band p { margin: 0; }
.band p + p { margin-top: 1rem; }
#about h2 { margin-bottom: 1.25rem; }

/* Workflow: three open columns with a rule on top */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  text-align: left;
}
.steps li { counter-increment: step; border-top: 3px solid var(--accent); padding-top: 0.9rem; }
.steps li::before {
  content: counter(step);
  display: block;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

/* Tutorial video */
.video { margin: 0 auto; max-width: 46rem; }
.video-slot {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--paper);
  border: 1px dashed var(--muted);
  border-radius: 8px;
  color: var(--muted);
}
.video-slot p { max-width: 22rem; }
.video video, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--rule); border-radius: 8px; }
.video figcaption, .shot figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 0.6rem; }
.shot { margin: 2.5rem auto 0; max-width: 46rem; }
.shot img { max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 8px; }

/* Status panels */
.panels { display: grid; gap: 1.25rem; max-width: 46rem; margin-inline: auto; text-align: left; }
.panel { background: var(--paper); border-radius: 8px; padding: 1.4rem 1.5rem; }
.panel.now { border: 1px solid var(--rule); border-left: 5px solid var(--accent); }
.panel.later { border: 1px dashed var(--muted); }
.panel h3 { display: flex; align-items: center; gap: 0.6rem; }
.marker { flex: none; width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 2px solid var(--accent); }
.marker.filled { background: var(--accent); }
.panel ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }

/* Footer */
.site-footer { padding-block: 2rem 3rem; color: var(--muted); font-size: 0.95rem; text-align: center; }
.site-footer p { margin: 0 auto; max-width: 34rem; }

@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .panels { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
