:root {
  --md-bg: #f6f8f1;
  --md-bg-2: #eef6f0;
  --md-surface: #ffffff;
  --md-surface-soft: #f9fbf7;

  --md-ink: #10221d;
  --md-ink-2: #172b25;
  --md-muted: #66756e;
  --md-muted-2: #8a978f;

  --md-green: #247a5a;
  --md-green-dark: #176348;
  --md-green-soft: #e8f5ef;

  --md-navy: #111a33;
  --md-navy-2: #0d2740;
  --md-teal: #0f766e;

  --md-blue-soft: #e9f3ff;
  --md-yellow: #f6bd2f;

  --md-line: #dfe5dc;
  --md-line-dark: rgba(255, 255, 255, 0.12);

  --md-shadow-sm: 0 10px 28px rgba(16, 34, 29, 0.08);
  --md-shadow-md: 0 24px 70px rgba(16, 34, 29, 0.14);
  --md-shadow-lg: 0 34px 90px rgba(16, 34, 29, 0.22);

  --md-radius-sm: 12px;
  --md-radius-md: 18px;
  --md-radius-lg: 28px;
  --md-radius-xl: 36px;

  --md-container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--md-ink);
  background:
    radial-gradient(circle at 4% 10%, rgba(36, 122, 90, 0.12), transparent 31%),
    radial-gradient(circle at 94% 18%, rgba(15, 118, 110, 0.12), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(91, 156, 255, 0.13), transparent 34%),
    linear-gradient(180deg, #f8faf3 0%, #f4f7f0 45%, #f7f8f1 100%);
}

a {
  color: inherit;
}

.md-home {
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ===============================
   NAV
================================ */

.md-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 82px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: rgba(17, 26, 51, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(246, 189, 47, 0.55);
}

.md-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  min-width: 0;
}

.md-brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--md-green), #1b664d);
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(36, 122, 90, 0.38);
}

.md-brand__text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.md-brand__text strong {
  font-size: 19px;
  letter-spacing: -0.03em;
}

.md-brand__text small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.md-nav__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.md-nav__links a,
.md-login-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  font-size: 15px;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.md-nav__links a:hover,
.md-login-link:hover {
  color: white;
  transform: translateY(-1px);
}

.md-nav__right {
  display: flex;
  justify-content: flex-end;
}

.md-user-pill,
.md-login-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.md-user-pill__dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--md-green);
  color: white;
  font-weight: 900;
  font-size: 12px;
}

/* ===============================
   HERO
================================ */

.md-hero {
  padding: 92px 0 78px;
  position: relative;
}

.md-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 620px;
  background:
    linear-gradient(135deg, rgba(17, 26, 51, 0.06), transparent 42%),
    radial-gradient(circle at 70% 20%, rgba(36, 122, 90, 0.10), transparent 32%);
  pointer-events: none;
}

.md-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 1.02fr);
  gap: clamp(44px, 6vw, 78px);
  align-items: center;
}

.md-kicker {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(36, 122, 90, 0.10);
  border: 1px solid rgba(36, 122, 90, 0.18);
  color: var(--md-green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.4;
}

.md-kicker__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.12);
  flex: 0 0 auto;
}

.md-hero h1 {
  margin: 24px 0 20px;
  max-width: 760px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.075em;
  color: var(--md-ink);
}

.md-hero__lead {
  max-width: 640px;
  margin: 0;
  color: var(--md-muted);
  font-size: 18px;
  line-height: 1.75;
}

.md-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.md-btn {
  min-height: 50px;
  padding: 0 21px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.md-btn:hover {
  transform: translateY(-2px);
}

.md-btn--primary {
  background: var(--md-green);
  color: white;
  box-shadow: 0 18px 36px rgba(36, 122, 90, 0.22);
}

.md-btn--primary:hover {
  background: var(--md-green-dark);
}

.md-btn--secondary {
  background: white;
  color: var(--md-ink);
  border-color: var(--md-line);
  box-shadow: var(--md-shadow-sm);
}

.md-proof-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.md-proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--md-line);
  color: var(--md-muted);
  font-weight: 800;
  font-size: 13px;
}

/* ===============================
   HERO VISUAL
================================ */

.md-hero__visual {
  position: relative;
  min-height: 620px;
}

.md-verify-card {
  position: relative;
  z-index: 3;
  width: min(100%, 520px);
  margin-left: auto;
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
    var(--md-surface);
  border: 1px solid rgba(223, 229, 220, 0.9);
  box-shadow: var(--md-shadow-lg);
}

.md-verify-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.md-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--md-green-soft);
  color: var(--md-green-dark);
  font-size: 12px;
  font-weight: 900;
}

.md-verify-card__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--md-muted);
  font-size: 12px;
  font-weight: 900;
}

.md-verify-card__status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
}

.md-verify-card h2 {
  margin: 22px 0 8px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.md-verify-card p {
  margin: 0;
  color: var(--md-muted);
  line-height: 1.6;
}

.md-verify-form {
  margin-top: 22px;
}

.md-verify-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--md-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 900;
}

.md-verify-form__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.md-verify-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border-radius: 14px;
  border: 1px solid var(--md-line);
  background: #fbfcf8;
  color: var(--md-ink);
  font: inherit;
  font-weight: 700;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.md-verify-form input:focus {
  border-color: rgba(36, 122, 90, 0.62);
  background: white;
  box-shadow: 0 0 0 4px rgba(36, 122, 90, 0.10);
}

.md-verify-form button {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 0;
  background: var(--md-green);
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.md-verify-form button:hover {
  background: var(--md-green-dark);
  transform: translateY(-1px);
}

.md-verify-note {
  margin-top: 15px;
  padding: 13px 14px;
  border-radius: 16px;
  background: var(--md-blue-soft);
  color: #365475;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.md-laptop {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 30px;
  bottom: 0;
  padding: 15px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(17, 26, 51, 0.95), rgba(16, 57, 69, 0.92)),
    var(--md-navy);
  box-shadow: var(--md-shadow-lg);
}

.md-laptop__bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
}

.md-laptop__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.md-laptop__screen {
  position: relative;
  min-height: 335px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 15px;
  padding: 15px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 14%, rgba(20, 184, 166, 0.22), transparent 32%),
    linear-gradient(145deg, #111827, #1d2b46);
  overflow: hidden;
}

.md-mini-sidebar {
  padding: 12px 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  align-content: start;
  gap: 12px;
}

.md-mini-logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--md-green);
  font-weight: 900;
}

.md-mini-sidebar div:not(.md-mini-logo) {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.md-mini-main {
  min-width: 0;
}

.md-mini-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 17px;
  border-radius: 18px;
  background: rgba(7, 12, 28, 0.72);
  color: white;
}

.md-mini-header span,
.md-mini-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.md-mini-header strong {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  letter-spacing: -0.03em;
}

.md-mini-header em {
  align-self: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(36, 122, 90, 0.24);
  border: 1px solid rgba(95, 226, 171, 0.22);
  color: #bff4dd;
  font-style: normal;
  font-weight: 900;
  font-size: 13px;
}

.md-mini-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.md-mini-stats div {
  padding: 15px;
  border-radius: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.md-mini-stats strong {
  display: block;
  margin-top: 7px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.md-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.md-mini-list div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.md-mini-list span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2dd4bf;
  flex: 0 0 auto;
}

.md-mini-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.md-floating-cert {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 245px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--md-ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.md-floating-cert__seal {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--md-green-soft);
  color: var(--md-green);
  font-weight: 900;
  font-size: 20px;
}

.md-floating-cert span {
  display: block;
  color: var(--md-muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
}

.md-floating-cert strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

/* ===============================
   SECTIONS
================================ */

.md-section {
  padding: 86px 0;
}

.md-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.md-section-heading h2,
.md-split__copy h2,
.md-credential-copy h2,
.md-final-cta h2 {
  margin: 10px 0 0;
  color: var(--md-ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.md-section-heading p,
.md-split__copy p,
.md-credential-copy p {
  margin: 16px 0 0;
  color: var(--md-muted);
  line-height: 1.75;
  font-size: 17px;
}

.md-section-label {
  display: inline-flex;
  align-items: center;
  color: var(--md-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  font-size: 12px;
}

/* ===============================
   ACCESS CARDS
================================ */

.md-access {
  padding-top: 28px;
}

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

.md-access-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--md-line);
  box-shadow: var(--md-shadow-sm);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}

.md-access-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -56px;
  top: -56px;
  border-radius: 50%;
  background: rgba(36, 122, 90, 0.08);
}

.md-access-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--md-shadow-md);
  border-color: rgba(36, 122, 90, 0.24);
}

.md-access-card--highlight {
  background:
    radial-gradient(circle at 88% 10%, rgba(36, 122, 90, 0.16), transparent 34%),
    white;
}

.md-access-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--md-green-soft);
  color: var(--md-green-dark);
  font-weight: 900;
}

.md-access-card h3 {
  margin: 34px 0 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.md-access-card p {
  margin: 0;
  color: var(--md-muted);
  line-height: 1.6;
}

.md-access-card strong {
  display: inline-flex;
  margin-top: 22px;
  color: var(--md-green-dark);
}

/* ===============================
   WORKFLOW
================================ */

.md-workflow {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.12));
}

.md-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.md-audience-pills {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.md-audience-pills span {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: white;
  border: 1px solid var(--md-line);
  color: var(--md-muted);
  font-weight: 800;
  font-size: 13px;
}

.md-steps {
  display: grid;
  gap: 14px;
}

.md-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--md-line);
  box-shadow: var(--md-shadow-sm);
}

.md-step > span {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--md-ink);
  font-weight: 900;
}

.md-step h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.md-step p {
  margin: 7px 0 0;
  color: var(--md-muted);
  line-height: 1.6;
}

/* ===============================
   CREDENTIALS
================================ */

.md-credential-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.md-certificate-preview {
  min-height: 540px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 15% 10%, rgba(246, 189, 47, 0.18), transparent 30%),
    radial-gradient(circle at 90% 85%, rgba(36, 122, 90, 0.18), transparent 34%),
    linear-gradient(145deg, #10221d, #172b25);
  box-shadow: var(--md-shadow-lg);
}

.md-cert-paper {
  width: min(100%, 390px);
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.90)),
    white;
  border: 1px solid rgba(255, 255, 255, 0.56);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.md-cert-seal {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.42), transparent 34%),
    var(--md-green);
  color: white;
  font-weight: 900;
  font-size: 34px;
  box-shadow: 0 15px 36px rgba(36, 122, 90, 0.28);
}

.md-cert-paper > span {
  display: block;
  color: var(--md-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 900;
}

.md-cert-paper h3 {
  margin: 12px 0 24px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.md-cert-paper p {
  margin: 0;
  color: var(--md-muted);
  font-size: 13px;
  font-weight: 800;
}

.md-cert-paper > strong {
  display: block;
  margin-top: 7px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.md-cert-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 28px 0 22px;
}

.md-cert-meta div {
  padding: 13px;
  border-radius: 16px;
  background: var(--md-surface-soft);
  border: 1px solid var(--md-line);
}

.md-cert-meta span {
  display: block;
  color: var(--md-muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
}

.md-cert-meta strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.md-cert-paper small {
  display: block;
  padding-top: 18px;
  border-top: 1px solid var(--md-line);
  color: var(--md-muted);
  font-weight: 800;
}

.md-feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.md-feature-list div {
  padding: 18px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--md-line);
  box-shadow: var(--md-shadow-sm);
}

.md-feature-list strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.md-feature-list span {
  display: block;
  margin-top: 6px;
  color: var(--md-muted);
  line-height: 1.6;
}

/* ===============================
   AUDIENCES
================================ */

.md-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.md-audience-grid article {
  min-height: 220px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--md-line);
}

.md-audience-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.md-audience-grid p {
  margin: 0;
  color: var(--md-muted);
  line-height: 1.65;
}

/* ===============================
   FINAL CTA
================================ */

.md-final-cta {
  padding: 56px 0 86px;
}

.md-final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.22), transparent 30%),
    linear-gradient(145deg, var(--md-ink), #111a33);
  color: white;
  box-shadow: var(--md-shadow-lg);
}

.md-final-cta h2 {
  max-width: 760px;
  color: white;
}

.md-final-cta .md-section-label {
  color: #a7f3d0;
}

.md-final-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.md-final-cta .md-btn--secondary {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
  box-shadow: none;
}

/* ===============================
   FOOTER
================================ */

.md-footer {
  padding: 24px 0 34px;
  color: var(--md-muted);
}

.md-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--md-line);
}

.md-footer strong {
  display: block;
  color: var(--md-ink);
  letter-spacing: -0.03em;
}

.md-footer span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.md-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.md-footer a {
  text-decoration: none;
  color: var(--md-muted);
  font-weight: 800;
  font-size: 14px;
}

.md-footer a:hover {
  color: var(--md-green-dark);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1080px) {
  .md-nav {
    grid-template-columns: 1fr auto;
  }

  .md-nav__links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 14px;
  }

  .md-hero__grid,
  .md-split,
  .md-credential-grid {
    grid-template-columns: 1fr;
  }

  .md-hero__visual {
    min-height: 680px;
  }

  .md-verify-card {
    margin-left: 0;
  }

  .md-laptop {
    left: 0;
  }

  .md-access-grid,
  .md-audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .md-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .md-container {
    width: min(100% - 28px, var(--md-container));
  }

  .md-nav {
    position: relative;
    min-height: auto;
    padding: 16px 14px;
    gap: 16px;
  }

  .md-brand__text small {
    display: none;
  }

  .md-nav__right {
    display: none;
  }

  .md-nav__links {
    gap: 18px;
    font-size: 14px;
  }

  .md-hero {
    padding: 56px 0 52px;
  }

  .md-hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .md-hero__lead {
    font-size: 16px;
  }

  .md-hero__visual {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .md-verify-card,
  .md-laptop {
    position: relative;
    width: 100%;
    inset: auto;
  }

  .md-verify-form__row {
    grid-template-columns: 1fr;
  }

  .md-verify-form button {
    width: 100%;
  }

  .md-laptop__screen {
    grid-template-columns: 1fr;
  }

  .md-mini-sidebar {
    display: none;
  }

  .md-mini-stats {
    grid-template-columns: 1fr;
  }

  .md-floating-cert {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .md-access-grid,
  .md-audience-grid {
    grid-template-columns: 1fr;
  }

  .md-section {
    padding: 62px 0;
  }

  .md-step {
    grid-template-columns: 44px 1fr;
    padding: 17px;
  }

  .md-step > span {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .md-certificate-preview {
    min-height: auto;
    padding: 18px;
  }

  .md-cert-paper {
    padding: 26px 20px;
  }

  .md-cert-meta {
    grid-template-columns: 1fr;
  }

  .md-footer__inner {
    flex-direction: column;
  }
}

/* ===============================
   HOME HERO BALANCE PATCH
   Makes left message + certificate lookup feel equal
================================ */

.md-hero {
  padding: 72px 0 82px;
}

.md-hero__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.9fr);
  gap: clamp(54px, 7vw, 96px);
  align-items: center;
}

/* Tone down the left side slightly */
.md-hero h1 {
  max-width: 680px;
  font-size: clamp(52px, 5.35vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.md-hero__lead {
  max-width: 600px;
  font-size: 17px;
  line-height: 1.75;
}

/* Center and strengthen the right side */
.md-hero__visual {
  min-height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Wrapper around your included certificate partial */
.home-hero__lookup {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

/* Make the included public certificate box feel intentional in the hero */
.home-hero__lookup > * {
  width: 100%;
  box-shadow: 0 28px 76px rgba(16, 34, 29, 0.18);
}

/* Give the card a little more presence */
.home-hero__lookup .public-access-card,
.home-hero__lookup .certificate-lookup-card,
.home-hero__lookup .access-card {
  border-radius: 16px;
}

/* Slightly reduce left-side chips so they don't compete */
.md-proof-row {
  margin-top: 24px;
}

.md-proof-row span {
  min-height: 30px;
  font-size: 12px;
  padding: 0 11px;
}

/* Better tablet/mobile stacking */
@media (max-width: 1080px) {
  .md-hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .md-hero__content {
    max-width: 760px;
  }

  .md-hero__visual {
    justify-content: flex-start;
  }

  .home-hero__lookup {
    max-width: 640px;
    margin: 0;
  }
}

@media (max-width: 720px) {
  .md-hero {
    padding: 48px 0 58px;
  }

  .md-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .home-hero__lookup {
    max-width: 100%;
  }
}

/* ===============================
   REAL CERTIFICATE SECTION
================================ */

.md-credential-grid--real {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.md-real-cert-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.md-real-cert-frame {
  width: 100%;
  max-width: 560px;
  padding: 16px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 14% 10%, rgba(246, 189, 47, 0.18), transparent 30%),
    radial-gradient(circle at 90% 85%, rgba(36, 122, 90, 0.18), transparent 34%),
    linear-gradient(145deg, #10221d, #172b25);
  box-shadow: 0 34px 90px rgba(16, 34, 29, 0.22);
}

.md-real-cert-toolbar {
  min-height: 48px;
  padding: 0 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: white;
}

.md-real-cert-toolbar span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 900;
}

.md-real-cert-toolbar strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(36, 122, 90, 0.28);
  border: 1px solid rgba(167, 243, 208, 0.22);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.md-real-cert-image-wrap {
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.md-real-cert-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
}

.md-real-cert-footer {
  min-height: 52px;
  padding: 13px 8px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.md-real-cert-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e8f5ef;
  color: #176348;
  font-size: 12px;
  font-weight: 900;
}

.md-credential-copy {
  max-width: 620px;
}

.md-credential-copy h2 {
  max-width: 620px;
}

.md-credential-copy p {
  max-width: 590px;
}

/* responsive */
@media (max-width: 1080px) {
  .md-credential-grid--real {
    grid-template-columns: 1fr;
  }

  .md-real-cert-preview {
    justify-content: flex-start;
  }

  .md-real-cert-frame {
    max-width: 640px;
  }
}

@media (max-width: 720px) {
  .md-real-cert-frame {
    padding: 12px;
    border-radius: 24px;
  }

  .md-real-cert-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 12px;
  }

  .md-real-cert-image-wrap {
    padding: 9px;
    border-radius: 18px;
  }

  .md-real-cert-image {
    border-radius: 10px;
  }

  .md-real-cert-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* ===============================
   CERTIFICATE EVENTS SECTION
================================ */

.md-event-certificates {
  position: relative;
  padding-top: 92px;
  padding-bottom: 92px;
}

.md-event-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
}

.md-event-copy {
  max-width: 650px;
}

.md-event-copy h2 {
  margin: 12px 0 0;
  color: var(--md-ink);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.md-event-copy p {
  margin: 18px 0 0;
  color: var(--md-muted);
  font-size: 17px;
  line-height: 1.75;
}

.md-event-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.md-event-modes div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--md-line);
  box-shadow: var(--md-shadow-sm);
}

.md-event-modes strong {
  display: block;
  color: var(--md-ink);
  font-size: 16px;
  letter-spacing: -0.03em;
}

.md-event-modes span {
  display: block;
  margin-top: 7px;
  color: var(--md-muted);
  font-size: 14px;
  line-height: 1.55;
}

.md-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* right preview panel */

.md-event-panel {
  padding: 18px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 10%, rgba(20, 184, 166, 0.22), transparent 34%),
    linear-gradient(145deg, #10221d, #172b25);
  box-shadow: 0 34px 90px rgba(16, 34, 29, 0.22);
}

.md-event-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(7, 12, 28, 0.72);
  color: white;
}

.md-event-panel__header span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 900;
}

.md-event-panel__header strong {
  display: block;
  margin-top: 5px;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.md-event-panel__header em {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(36, 122, 90, 0.26);
  border: 1px solid rgba(167, 243, 208, 0.22);
  color: #bbf7d0;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.md-event-panel__body {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.md-event-qr-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
}

.md-event-qr-card strong {
  display: block;
  color: var(--md-ink);
  font-size: 18px;
  letter-spacing: -0.035em;
}

.md-event-qr-card p {
  margin: 7px 0 0;
  color: var(--md-muted);
  font-size: 14px;
  line-height: 1.55;
}

.md-event-qr {
  width: 112px;
  height: 112px;
  padding: 9px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--md-line);
  box-shadow: 0 12px 28px rgba(16, 34, 29, 0.08);
}

.md-event-qr span {
  border-radius: 4px;
  background: #10221d;
  opacity: 0.14;
}

.md-event-qr span:nth-child(1),
.md-event-qr span:nth-child(2),
.md-event-qr span:nth-child(3),
.md-event-qr span:nth-child(7),
.md-event-qr span:nth-child(13),
.md-event-qr span:nth-child(15),
.md-event-qr span:nth-child(16),
.md-event-qr span:nth-child(17),
.md-event-qr span:nth-child(6),
.md-event-qr span:nth-child(12),
.md-event-qr span:nth-child(18),
.md-event-qr span:nth-child(30),
.md-event-qr span:nth-child(31),
.md-event-qr span:nth-child(32),
.md-event-qr span:nth-child(34),
.md-event-qr span:nth-child(35),
.md-event-qr span:nth-child(36),
.md-event-qr span:nth-child(21),
.md-event-qr span:nth-child(23),
.md-event-qr span:nth-child(26),
.md-event-qr span:nth-child(28) {
  opacity: 1;
}

.md-event-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.md-event-stats div {
  padding: 15px;
  border-radius: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.md-event-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 900;
}

.md-event-stats strong {
  display: block;
  margin-top: 7px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.md-event-issue-box {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: white;
}

.md-event-issue-box span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 900;
}

.md-event-issue-box strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.md-event-issue-box p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

/* responsive */

@media (max-width: 1080px) {
  .md-event-grid {
    grid-template-columns: 1fr;
  }

  .md-event-copy {
    max-width: 760px;
  }

  .md-event-panel {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .md-event-certificates {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .md-event-modes {
    grid-template-columns: 1fr;
  }

  .md-event-qr-card {
    grid-template-columns: 1fr;
  }

  .md-event-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Optional: tighter homepage copy balance */
.md-hero__content {
  max-width: 660px;
}

.md-hero h1 {
  max-width: 620px;
  font-size: clamp(48px, 5.1vw, 72px);
  line-height: 0.96;
}

.md-hero__lead {
  max-width: 540px;
}

.md-section-heading {
  max-width: 680px;
}

.md-event-copy,
.md-split__copy,
.md-credential-copy {
  max-width: 600px;
}

.md-event-copy h2,
.md-split__copy h2,
.md-credential-copy h2,
.md-section-heading h2,
.md-final-cta h2 {
  max-width: 620px;
}

@media (min-width: 1081px) {
  .md-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 0.92fr);
    gap: clamp(56px, 7vw, 96px);
  }

  .md-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .home-hero__lookup {
    width: 100%;
    max-width: 580px;
  }
}
