:root {
  --bg: #fff7d6;
  --bg-2: #ffe9a8;
  --paper: #fffdf4;
  --ink: #1e1b18;
  --muted: #5e5547;
  --red: #d63b2f;
  --blue: #2057d4;
  --green: #177245;
  --gold: #f3b31f;
  --line: #1e1b18;
  --shadow: 8px 8px 0 rgba(30, 27, 24, 0.95);
  --radius: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px; /* space for sticky header so anchor targets aren’t hidden */
}
body {
  margin: 0;
  font-family: "Trebuchet MS", "Verdana", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.35) 0 4%, transparent 4.2%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.35) 0 3%, transparent 3.2%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-size: 140px 140px, 180px 180px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: linear-gradient(rgba(30,27,24,0.6) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 247, 214, 0.92);
  border-bottom: 4px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff8d8;
  border: 3px solid var(--line);
  box-shadow: 3px 3px 0 rgba(30,27,24,1);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  flex-wrap: wrap;
}

.nav-links a:hover { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 3px solid var(--line);
  font-weight: 900;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(30,27,24,1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 rgba(30,27,24,1); }
.btn-primary { background: var(--red); color: #fff7dc; }
.btn-secondary { background: #fffdf4; color: var(--ink); }

.hero { padding: 54px 0 42px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: #fffdf4;
  font-size: 0.88rem;
  margin-bottom: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 4px 4px 0 rgba(30,27,24,1);
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.02;
  font-weight: 900;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  max-width: 10ch;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(255,255,255,0.6);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
  margin: 22px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.proof span {
  padding: 8px 12px;
  border: 2px dashed var(--line);
  border-radius: 999px;
  background: rgba(255,253,244,0.9);
}

.hero-certificate-example {
  width: 100%;
}

.hero-certificate-frame {
  background: #fff8e7;
  border: 4px solid var(--line);
  border-radius: 24px;
  padding: 10px;
  box-shadow: 10px 10px 0 rgba(30,27,24,1);
  position: relative;
  min-height: 260px;
}

.hero-certificate-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 2px solid rgba(30, 27, 24, 0.18);
}

.hero-certificate-fallback {
  display: none;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border: 2px dashed rgba(30, 27, 24, 0.35);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.65);
}

.hero-certificate-example.is-missing .hero-certificate-image {
  display: none;
}

.hero-certificate-example.is-missing .hero-certificate-fallback {
  display: flex;
}

.certificate-wrap { position: relative; }

.certificate {
  position: relative;
  background: repeating-linear-gradient(
    45deg,
    #fffdf4,
    #fffdf4 14px,
    #fff7dd 14px,
    #fff7dd 28px
  );
  border: 4px solid var(--line);
  border-radius: 30px;
  box-shadow: 10px 10px 0 rgba(30,27,24,1);
  padding: 24px;
  overflow: hidden;
}

.certificate::before,
.certificate::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 3px solid var(--blue);
  border-radius: 22px;
  pointer-events: none;
}

.certificate::after {
  inset: 24px;
  border-color: var(--red);
  border-style: dashed;
  border-width: 2px;
  opacity: 0.75;
}

.cert-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cert-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 3px solid var(--line);
  background: #fffdf4;
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(30,27,24,1);
}

.cert-seal {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--line);
  box-shadow: 4px 4px 0 rgba(30,27,24,1);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(10deg);
}

.cert-title {
  text-align: center;
  padding: 10px 10px 14px;
  position: relative;
  z-index: 1;
}

.cert-title .tiny {
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 900;
}

.cert-title h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-top: 12px;
  text-transform: uppercase;
}

.cert-title p { margin: 14px auto 0; max-width: 34ch; color: #524d45; line-height: 1.6; }

.recipient {
  margin: 28px auto 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.recipient-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-size: 0.78rem;
  margin-bottom: 10px;
  font-weight: 900;
}

.recipient-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  padding: 10px 18px;
  border: 3px solid var(--line);
  border-radius: 999px;
  display: inline-block;
  min-width: 280px;
  background: #fffdf4;
  box-shadow: 4px 4px 0 rgba(30,27,24,1);
}

.cert-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.signature-block { flex: 1; }

.sig-line {
  width: 100%;
  max-width: 220px;
  border-bottom: 3px solid rgba(27,27,27,0.65);
  margin-bottom: 6px;
  padding-top: 34px;
}

.sig-label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}

.floating-stamp {
  position: absolute;
  right: -12px;
  bottom: -10px;
  transform: rotate(-8deg);
  padding: 18px 14px;
  border: 4px solid var(--red);
  color: var(--red);
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255,253,244,0.88);
}

/* Certificate add-on section (after signup) */
.certificate-section {
  padding: 40px 0 60px;
}
.certificate-section .section-head {
  margin-bottom: 24px;
}
.certificate-actions {
  margin-bottom: 28px;
}
.certificate-print-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.certificate-print-wrap .certificate {
  margin: 0 auto;
}
.cert-seal-gold {
  background: linear-gradient(145deg, #f5d76e 0%, #d4a017 100%);
  border-width: 5px;
  box-shadow: 5px 5px 0 rgba(30,27,24,1);
}
.cert-tier-catastrophic .cert-badge {
  background: linear-gradient(145deg, #fffdf4 0%, #f5e6b8 100%);
  border-color: var(--gold);
}
.cert-tier-absurd .cert-badge { border-color: var(--blue); }
.cert-tier-pointless .cert-badge { border-color: var(--muted); }

section { padding: 40px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p { color: var(--muted); max-width: 55ch; margin: 0; line-height: 1.7; }
.section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  text-transform: uppercase;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: rgba(255,253,244,0.98);
  border: 4px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.card p { color: var(--muted); line-height: 1.7; margin: 0; }

.icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 900;
  border: 3px solid var(--line);
  background: var(--gold);
  box-shadow: 4px 4px 0 rgba(30,27,24,1);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: #fffdf4;
  border: 4px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 8px 8px 0 rgba(30,27,24,1);
}

.price-card.featured {
  background: #fff2c8;
  transform: translateY(-8px) rotate(-1deg);
}

.ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff7dc;
  border-radius: 999px;
  border: 3px solid var(--line);
  box-shadow: 3px 3px 0 rgba(30,27,24,1);
  font-weight: 900;
}

.plan {
  font-size: 1.45rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  margin: 10px 0 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 700;
  font-family: "Trebuchet MS", "Verdana", Arial, sans-serif;
}

.subtle {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.features {
  display: grid;
  gap: 12px;
  margin: 20px 0 26px;
}

.features span {
  display: flex;
  gap: 10px;
  align-items: start;
  color: #3f3a34;
  font-weight: 700;
}

.features span::before {
  content: "★";
  color: var(--red);
  font-weight: 900;
}

.shop-featured-section {
  padding-top: 10px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.shop-grid .shop-product-card {
  grid-template-columns: 1fr;
  align-content: start;
}

.shop-grid .shop-product-copy {
  justify-content: start;
}

.shop-grid .shop-product-media {
  justify-items: center;
  min-height: 240px;
}

.shop-grid .shop-product-image {
  max-width: min(92%, 280px);
  max-height: 220px;
  object-position: center;
}

.shop-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 20px;
  background: rgba(255,253,244,0.98);
  border: 4px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.shop-product-card-featured {
  background: linear-gradient(140deg, #fff8df 0%, #fff1c6 100%);
}

.shop-product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.shop-product-copy h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin: 10px 0 12px;
  text-transform: uppercase;
}

.shop-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: #fffdf4;
  box-shadow: 3px 3px 0 rgba(30,27,24,1);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
}

.shop-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.shop-disclosure {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.shop-product-media {
  position: relative;
  display: grid;
  justify-items: end;
  align-items: center;
  min-height: 230px;
  border: 4px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.45) 0 16%, transparent 16.5%),
    radial-gradient(circle at 82% 80%, rgba(255,255,255,0.42) 0 13%, transparent 13.5%),
    linear-gradient(170deg, #ffd85a 0%, #f3b31f 100%);
  overflow: hidden;
}

.shop-product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 8px 10px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: #fffdf4;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
}

.shop-product-placeholder {
  border: 3px dashed rgba(30,27,24,0.7);
  border-radius: 16px;
  padding: 22px 18px;
  background: rgba(255,253,244,0.88);
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: min(88%, 280px);
}

.shop-product-image {
  width: auto;
  max-width: min(98%, 390px);
  max-height: 230px;
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(0 6px 10px rgba(30,27,24,0.25));
}

.shop-hero {
  padding: 54px 0 28px;
}

.shop-hero-card {
  background: rgba(255,253,244,0.98);
  border: 4px solid var(--line);
  border-radius: 30px;
  box-shadow: 10px 10px 0 rgba(30,27,24,1);
  padding: clamp(22px, 4vw, 36px);
}

.shop-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  max-width: none;
  margin-top: 16px;
}

.shop-hero p {
  margin: 16px 0 0;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

.certificate-mini {
  background: repeating-linear-gradient(
    -45deg,
    #fffdf4,
    #fffdf4 14px,
    #fff6dc 14px,
    #fff6dc 28px
  );
  border: 4px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 100%;
  position: relative;
}

.certificate-mini::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 3px dashed var(--blue);
  border-radius: 16px;
  pointer-events: none;
}

.mini-name {
  margin: 18px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  border: 3px solid var(--line);
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  min-width: 240px;
  background: #fffdf4;
  box-shadow: 4px 4px 0 rgba(30,27,24,1);
}

.controls { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; }

label {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 3px solid var(--line);
  background: #fffdf4;
  font: inherit;
  color: var(--ink);
  outline: none;
  box-shadow: 4px 4px 0 rgba(30,27,24,1);
}

textarea {
  min-height: 100px;
  padding: 12px 16px;
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 4px 4px 0 rgba(30,27,24,1), 0 0 0 4px rgba(32,87,212,0.14);
}

.field-checkbox {
  gap: 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  box-shadow: none;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Leaderboard + Signup */
.leaderboard-with-signup {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.leaderboard-wrap {
  min-width: 0;
}

.signup-card {
  background: rgba(255,253,244,0.98);
  border: 4px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}

.signup-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.signup-thankyou {
  padding: 0.5rem 0;
}
.signup-thankyou .signup-message {
  margin-bottom: 0.5rem;
}

.signup-message {
  color: var(--green);
  font-weight: 700;
  margin: 0 0 12px;
}

.signup-error {
  color: var(--red);
  font-weight: 700;
  margin: 0 0 12px;
}

.signup-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.signup-form .btn {
  margin-top: 4px;
}

.leaderboard {
  background: rgba(255,253,244,0.98);
  border: 4px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.leaderboard-header {
  display: grid;
  grid-template-columns: 80px 1fr 180px 120px;
  gap: 16px;
  padding: 16px 24px;
  background: var(--bg-2);
  border-bottom: 4px solid var(--line);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 80px 1fr 180px 120px;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 3px solid rgba(30,27,24,0.12);
  font-weight: 700;
  color: var(--ink);
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.leaderboard-row.featured {
  background: #fff2c8;
}

.leaderboard-col.rank {
  display: flex;
  align-items: center;
}

.rank-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 3px solid var(--line);
  box-shadow: 3px 3px 0 rgba(30,27,24,1);
  font-size: 1rem;
  font-weight: 900;
}

.rank-badge.gold {
  background: var(--gold);
  color: var(--ink);
}

.rank-badge.silver {
  background: #c0c0c0;
  color: var(--ink);
}

.rank-badge.bronze {
  background: #cd7f32;
  color: #fffdf4;
}

.leaderboard-col.points {
  color: var(--red);
  font-size: 1.1rem;
}

@media (max-width: 720px) {
  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 60px 1fr 100px;
  }
  .leaderboard-header .leaderboard-col.points,
  .leaderboard-row .leaderboard-col.points {
    display: none;
  }
  .leaderboard-header,
  .leaderboard-row {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
}

blockquote { margin: 0; font-size: 1.08rem; line-height: 1.8; }
.quote-meta { margin-top: 18px; color: var(--muted); font-size: 0.95rem; font-weight: 700; }

.faq { display: grid; gap: 14px; }

details {
  background: rgba(255,253,244,0.98);
  border: 4px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 6px 6px 0 rgba(30,27,24,1);
}

summary {
  cursor: pointer;
  font-weight: 900;
  list-style: none;
  text-transform: uppercase;
}

summary::-webkit-details-marker { display: none; }
details p { margin: 14px 0 2px; color: var(--muted); line-height: 1.7; }

.cta {
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, #2057d4, #14368a);
  color: #fff8df;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  border: 4px solid var(--line);
  box-shadow: 10px 10px 0 rgba(30,27,24,1);
}

.cta p { color: rgba(255,248,223,0.88); line-height: 1.8; }
.cta .btn-primary { background: var(--gold); color: var(--ink); }

footer {
  padding: 36px 0 60px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 4px solid rgba(27,27,27,0.18);
  padding-top: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-grid,
  .showcase,
  .cta,
  .grid-3,
  .pricing,
  .testimonial-wrap,
  .leaderboard-with-signup,
  .shop-product-card {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured { transform: none; }
  .section-head { align-items: start; flex-direction: column; }
  .signup-card { position: static; }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: center; }
  h1 { max-width: none; }
  .cert-bottom { flex-direction: column; align-items: start; }
  .recipient-name, .mini-name { min-width: 100%; }
  .floating-stamp { position: static; margin-top: 18px; display: inline-block; }
  .hero { padding-top: 30px; }
  .hero-certificate-frame { padding: 8px; border-radius: 18px; }
  .shop-product-card { padding: 18px; }
  .shop-product-media { min-height: 190px; }
}

@media print {
  body::before,
  .topbar,
  .certificate-actions,
  section:not(#certificate),
  footer,
  .no-print { display: none !important; }
  body {
    background: #fff;
    padding: 0;
  }
  #certificate {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #certificate .container {
    width: 100%;
    max-width: none;
  }
  .certificate-print-wrap {
    max-width: 90%;
    margin: 0 auto;
  }
  .certificate-section .section-head {
    margin-bottom: 16px;
  }
  .certificate {
    box-shadow: none;
    border-width: 3px;
  }
}
