:root {
  --paper: #f8f3e8;
  --ink: #1f2d22;
  --muted: #64705e;
  --forest: #244f36;
  --clay: #b75b3b;
  --border: #d8cbb7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #e7e0d3;
  color: var(--ink);
}

.poster {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.poster-card {
  width: min(100%, 760px);
  aspect-ratio: 210 / 297;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 48px 42px;
  text-align: center;
}

.draft {
  margin: 0 0 10px;
  color: #7c321d;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 42px;
  text-align: left;
}

.mark {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
}

.mark svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.brand-row p {
  margin: 0 0 3px;
  color: var(--clay);
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  line-height: 0.98;
}

.intro {
  max-width: 52ch;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 1.2rem;
}

.qr {
  width: min(68%, 420px);
  height: auto;
  border: 14px solid #fff;
  background: #fff;
}

.url {
  margin: 22px 0 28px;
  font-size: 1.15rem;
  font-weight: 850;
}

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.notes p {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--forest);
  font-weight: 850;
  padding: 12px 10px;
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  html,
  body {
    width: 210mm;
    height: 297mm;
    background: #fff;
  }

  .poster {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .poster-card {
    width: 210mm;
    height: 297mm;
    border: 0;
    box-shadow: none;
  }

  .draft {
    display: none;
  }
}
