:root {
  --bg: #14161c;
  --bg-footer: #0d0f13;
  --panel: #1b1e26;
  --panel-muted: #181b22;
  --border: #272b36;
  --border-card: #2b3040;
  --border-row: #262a36;
  --border-input: #333849;
  --border-underline: #3d4254;
  --border-notify: #4a3d22;

  --text: #e9e6dd;
  --text-nav: #9a9fae;
  --text-muted: #8b90a0;
  --text-faint: #6d7382;
  --text-faintest: #565b69;
  --text-dim-heading: #a7acba;

  --gold: #d9a441;
  --gold-link: #e5c988;

  --green-dot: #4ade80;
  --green-text: #7fd696;
  --green-bg: #1d2b21;
  --green-border: #2f4a37;

  --serif: 'Source Serif 4', serif;
  --sans: 'Libre Franklin', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--sans);
  color: var(--text);
}

a {
  color: var(--gold-link);
  text-decoration: none;
}
a:hover {
  opacity: .85;
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, .4); }
  70%  { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  max-width: 1120px;
  margin: 0 auto;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-accent {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-nav);
}

.nav-link {
  color: var(--text-nav);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-input);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text-faint);
  min-width: 200px;
  cursor: text;
}

.search-input {
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 13.5px;
  outline: none;
  width: 100%;
}
.search-input::placeholder {
  color: var(--text-faint);
}

/* Hero */

.hero {
  padding: 72px 48px 56px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  max-width: 680px;
  color: var(--text);
}

.hero-sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-nav);
  max-width: 560px;
  margin: 0;
}

/* Vendor sections */

.vendor-section {
  padding: 32px 48px 8px;
}
.vendor-section--first {
  padding: 44px 48px 8px;
}
.vendor-section--last {
  padding: 32px 48px 44px;
}

.vendor-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.vendor-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.vendor-count {
  font-size: 12.5px;
  color: var(--text-faint);
}

.cert-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  background: var(--panel-muted);
  overflow: hidden;
}
.cert-list--live {
  background: var(--panel);
}

/* Cert rows */

.cert-row {
  display: grid;
  grid-template-columns: 52px 1fr auto auto auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}
.cert-row + .cert-row {
  border-top: 1px solid var(--border-row);
}
.cert-row--upcoming {
  background: var(--panel-muted);
}

.cert-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 17px;
}
.cert-logo--databricks {
  background: #2b1a17;
  color: #e07a63;
}
.cert-logo--databricks.cert-logo--live {
  background: #ff3621;
  color: #fff;
}
.cert-logo--azure {
  background: #14212e;
  color: #5ba3e0;
}
.cert-logo--aws {
  background: #28200f;
  color: #e0a94f;
}
.cert-logo--java {
  background: #231525;
  color: #c77bd4;
}

.cert-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cert-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
}
.cert-title--muted {
  color: var(--text-dim-heading);
}

.cert-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}
.cert-meta--muted {
  color: var(--text-faint);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green-text);
  border: 1px solid var(--green-border);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--green-dot);
  animation: livePulse 1.6s ease-out infinite;
}

.difficulty-badge {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  justify-self: start;
}
.difficulty-badge--associate {
  background: #2b2415;
  color: var(--gold);
}
.difficulty-badge--professional {
  background: #242836;
  color: var(--text-muted);
}

.guide-link {
  font-size: 13.5px;
  font-weight: 500;
  color: #b8bdca;
  border-bottom: 1px solid var(--border-underline);
  padding-bottom: 1px;
  white-space: nowrap;
}
.guide-link--muted {
  color: var(--text-faintest);
  border-bottom: none;
}

.cta-button {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bg);
  background: var(--gold);
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

.notify-button {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--border-notify);
  padding: 9px 19px;
  border-radius: 999px;
  background: var(--panel);
  white-space: nowrap;
}

/* Signup strip */

.signup-strip {
  margin: 0 48px;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.signup-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.signup-sub {
  font-size: 13.5px;
  color: var(--text-muted);
}

.signup-form {
  display: flex;
  gap: 10px;
  flex: none;
}

.email-input {
  padding: 11px 16px;
  border: 1px solid var(--border-input);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13.5px;
  min-width: 220px;
  outline: none;
}
.email-input::placeholder {
  color: var(--text-faint);
}

.notify-cta {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bg);
  background: var(--gold);
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

/* Footer */

.site-footer {
  background: var(--bg-footer);
  color: var(--text-muted);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  gap: 16px;
  flex-wrap: wrap;
}

.feedback-link {
  color: var(--gold-link);
  font-weight: 500;
  border-bottom: 1px solid var(--border-notify);
  padding-bottom: 1px;
}

/* Responsive */

@media (max-width: 760px) {
  .cert-row {
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "logo info"
      "badge badge"
      "guide guide"
      "cta cta";
    row-gap: 10px;
  }
  .cert-logo { grid-area: logo; }
  .cert-info { grid-area: info; }
  .difficulty-badge { grid-area: badge; }
  .guide-link { grid-area: guide; }
  .cta-button, .notify-button { grid-area: cta; justify-self: start; }

  .hero-title {
    font-size: 36px;
  }

  .site-header, .hero, .vendor-section, .signup-strip, .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .signup-strip {
    margin-left: 24px;
    margin-right: 24px;
  }
}
