@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@500;700&family=Space+Grotesk:wght@400;600&display=swap");
:root {
  color-scheme: light;
  --bg: #f5e7d6;
  --text: #1c1a1f;
  --accent: #ff7a1a;
  /* Focus rings and the current-page mark: at least 4.4:1 on every background of the page (3:1 needed). */
  --focus: #a63d00;
  --card: #fff7ee;
  --shadow: rgba(28, 26, 31, 0.15);
}
body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica", sans-serif;
  background:
    radial-gradient(circle at top, #fff4e6 0%, var(--bg) 45%, #f3d3b8 100%),
    linear-gradient(120deg, #f7e2cb 0%, #fcebd8 60%, #f5d0ae 100%);
  color: var(--text);
}
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.hero {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.badge span {
  background: var(--accent);
  color: var(--text);
  padding: 2px 8px;
  border-radius: 999px;
}
h1 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
  margin: 16px 0 8px;
}
p {
  line-height: 1.6;
  font-size: 1.05rem;
}
.card {
  background: var(--card);
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 18px 40px var(--shadow);
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 32px;
}
.pill {
  border: 1px solid rgba(27, 27, 27, 0.12);
  border-radius: 999px;
  padding: 10px 16px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
  background: white;
}
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cta-primary {
  background: #1c1a1f;
  color: #fff;
}
.cta-secondary {
  border: 1px solid rgba(27, 27, 27, 0.18);
  color: var(--text);
  background: #fff2e4;
}
.cta:hover {
  cursor: pointer;
}
.cta-primary:hover {
  background: #3a373f;
}
.cta-primary:focus,
.cta-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #1c1a1f;
}
.cta-secondary:hover {
  background: #ffe4c9;
  border-color: rgba(27, 27, 27, 0.35);
}
.cta-secondary:focus,
.cta-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--focus);
}
.qr-box {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 3px solid rgba(28, 26, 31, 0.14);
  background: radial-gradient(circle at 30% 30%, #fff7ef, #f3d7bd);
  padding: 18px;
}
.icon {
  width: min(240px, 60vw);
  animation: float 3.6s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}
/* The cocode.dk frame lines up with the .wrap column. .wrap has no box-sizing reset, so its
   max-width (960px) caps the content box only and its 24px padding adds to that -- the
   frame's own bar is border-box, so --cocode-max needs the full rendered width (960 + 2*24). */
cocode-head, cocode-foot { --cocode-max: 1008px; --cocode-gutter: 24px; }
