:root {
  --wpsd-ink: #10100f;
  --wpsd-paper: #f4f0e8;
  --wpsd-line: #cbc4b7;
}

body {
  background: var(--wpsd-paper);
  margin: 0;
  color: var(--wpsd-ink);
}

.wpsd-site-head {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--wpsd-line);
  background: rgba(244, 240, 232, .92);
}

.wpsd-site-head a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wpsd-ink);
  text-decoration: none;
  font: 800 14px/1 Arial, Helvetica, sans-serif;
  letter-spacing: -.02em;
}

.wpsd-site-head small {
  display: block;
  margin-top: 3px;
  font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}

.wpsd-logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wpsd-ink);
  color: white;
}

.wpsd-site-head .wpsd-main-site {
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wpsd-shell {
  box-sizing: border-box;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) 24px 64px;
  color: var(--wpsd-ink);
}

.wpsd-hero {
  max-width: 900px;
  margin-bottom: 56px;
}

.wpsd-eyebrow {
  margin: 0 0 24px;
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .18em;
}

.wpsd-hero h1 {
  margin: 0;
  font: 800 clamp(54px, 9vw, 118px)/.86 Arial, Helvetica, sans-serif;
  letter-spacing: -.075em;
}

.wpsd-hero h1 span {
  color: #f0522d;
}

.wpsd-lead {
  max-width: 700px;
  margin: 34px 0 22px;
  font: 400 clamp(18px, 2vw, 24px)/1.45 Arial, Helvetica, sans-serif;
}

.wpsd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wpsd-meta span {
  border: 1px solid var(--wpsd-line);
  border-radius: 999px;
  padding: 8px 13px;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.wpsd-alert {
  margin: 0 0 24px;
  border: 1px solid #a92b17;
  background: #fff1ed;
  padding: 16px 18px;
  font-weight: 700;
}

.wpsd-active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 36px;
  padding: 28px;
  border: 2px solid var(--wpsd-ink);
  background: #fff;
  box-shadow: 8px 8px 0 var(--wpsd-ink);
}

.wpsd-active .wpsd-eyebrow { margin-bottom: 8px; }
.wpsd-active h2 { margin: 0; font: 800 28px/1.1 Arial, sans-serif; }
.wpsd-countdown { margin: 8px 0 0; color: #f0522d; font: 800 26px/1 ui-monospace, monospace; }
.wpsd-limit { margin: 10px 0 0; color: #68635a; font: 12px/1.4 ui-monospace, monospace; }
.wpsd-active__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.wpsd-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid var(--wpsd-ink);
  background: var(--wpsd-ink);
  color: #fff;
  text-decoration: none;
  font: 700 13px/1 Arial, sans-serif;
}
.wpsd-button--light { background: #fff; color: var(--wpsd-ink); }
.wpsd-button--danger { border-color: #a92b17; background: #a92b17; }
.wpsd-limit-reached { align-self: center; color: #68635a; font: 700 12px/1.3 ui-monospace, monospace; }

.wpsd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--wpsd-line);
  border-left: 1px solid var(--wpsd-line);
}

.wpsd-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-right: 1px solid var(--wpsd-line);
  border-bottom: 1px solid var(--wpsd-line);
  background: rgba(255, 255, 255, .22);
  transition: background .2s ease, transform .2s ease;
}

.wpsd-card:hover {
  background: #fff;
  transform: translateY(-3px);
}

.wpsd-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font: 800 22px/1 Arial, sans-serif;
}

.wpsd-card h2 {
  margin: 0 0 12px;
  font: 800 25px/1.05 Arial, Helvetica, sans-serif;
  letter-spacing: -.035em;
}

.wpsd-card p {
  margin: 0;
  color: #4d4a45;
  font: 400 16px/1.5 Arial, Helvetica, sans-serif;
}

.wpsd-card form {
  margin: 0;
}

.wpsd-card button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border: 0;
  background: var(--wpsd-ink);
  color: #fff;
  padding: 15px 17px;
  cursor: pointer;
  font: 700 14px/1 Arial, Helvetica, sans-serif;
}

.wpsd-card button:hover,
.wpsd-card button:focus-visible {
  background: var(--accent);
}

.wpsd-footnote {
  margin: 24px 0 0;
  color: #68635a;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wpsd-site-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--wpsd-line);
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wpsd-site-foot p {
  margin: 0;
}

@media (max-width: 900px) {
  .wpsd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .wpsd-site-head .wpsd-main-site { display: none; }
  .wpsd-grid { grid-template-columns: 1fr; }
  .wpsd-card { min-height: 280px; }
  .wpsd-site-foot { flex-direction: column; gap: 6px; }
  .wpsd-active { align-items: stretch; flex-direction: column; }
  .wpsd-active__actions { justify-content: stretch; }
  .wpsd-button { justify-content: center; width: 100%; }
}
