/* Claude homepage styles */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, p, ul, ol, li { margin: 0; padding: 0; }
img  { display: block; max-width: 100%; height: auto; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; }

:root {
  
  --navy:         #0D1F3C;
  --navy-mid:     #16305A;
  --blue:         #1A4A8A;
  --accent:       #2563EB;
  --accent-bg:    rgba(37, 99, 235, 0.08);
  --accent-mid:   rgba(37, 99, 235, 0.14);

  
  --bg:           #F5F7FA;
  --bg-2:         #EDF0F5;
  --white:        #FFFFFF;

  
  --t1:           #0D1F3C;
  --t2:           #2D3A4E;
  --t3:           #5A6A7E;
  --t4:           #8FA0B4;

  
  --border:       rgba(13, 31, 60, 0.08);
  --border-2:     rgba(13, 31, 60, 0.14);

  
  --shadow-sm:    0 1px 3px rgba(13,31,60,0.06), 0 4px 12px rgba(13,31,60,0.05);
  --shadow:       0 2px 8px rgba(13,31,60,0.07), 0 12px 32px rgba(13,31,60,0.08);

  
  --focus-ring:   0 0 0 3px rgba(37, 99, 235, 0.40);

  
  --font:         'Instrument Sans', system-ui, -apple-system, sans-serif;

  
  --max-w:        1160px;
  --pad-x:        40px;

  
  --s2:    8px;
  --s3:   12px;
  --s4:   16px;
  --s5:   24px;
  --s6:   32px;
  --s7:   56px;
  --s8:   72px;
  --s9:  104px;
  --s10: 140px;

  
  --r-sm:  6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;

  
  --ease:       220ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   300ms cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slow:  600ms cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: var(--font);
  color: var(--t2);
  background: var(--bg);
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.026em;
  color: var(--t1);
  margin: 0 0 14px;
}

.section-sub {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.80;
  color: var(--t3);
  margin: 0;
  max-width: 560px;
}

.section-header {
  margin-bottom: 40px;
  max-width: 520px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  padding: 13px 24px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition:
    background var(--ease),
    border-color var(--ease),
    color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 4px 16px rgba(37,99,235,0.30);
  transform: translateY(-1px);
}
.btn-primary:active { transform: none; box-shadow: none; }

.btn-outline {
  background: transparent;
  color: var(--t1);
  border-color: var(--border-2);
}
.btn-outline:hover {
  background: var(--bg-2);
  border-color: rgba(13,31,60,0.22);
  color: var(--t1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13,31,60,0.07);
}

.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.70);
  border-color: rgba(255,255,255,0.20);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.90);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  font-weight: 700;
}
.btn-white:hover {
  background: #f0f4f8;
  border-color: #f0f4f8;
  box-shadow: 0 4px 16px rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }
.btn-lg   { padding: 16px 32px; font-size: 14px; }

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--pad-x);
  z-index: 9999;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13,31,60,0.07);
  box-shadow: 0 1px 0 rgba(13,31,60,0.04), 0 4px 24px rgba(13,31,60,0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 68px;
  gap: var(--s5);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo svg { display: block; }
.nav__logo:focus-visible { border-radius: var(--r-md); }

.nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 16px;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--t3);
  transition: color var(--ease);
  padding: 4px 0;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--t1); }

.nav__text-link {
  display: inline-flex;
  align-items: center;
}

.nav__login {
  flex-shrink: 0;
  margin-left: 2px;
}

.nav__cart-link {
  position: relative;
  flex-shrink: 0;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px 8px 12px;
  background: rgba(255,255,255,0.92);
  color: var(--t2);
  border-color: var(--border-2);
}

.nav__cart-link svg {
  width: 17px;
  height: 17px;
  display: block;
}

.nav__cart-link .nav__item-label {
  line-height: 1;
}

.nav__cart-link:hover {
  color: var(--t1);
  border-color: rgba(13,31,60,0.22);
  box-shadow: 0 10px 24px rgba(13,31,60,0.08);
}

.nav__cart-link .nav__cart-count {
  top: -5px;
  right: -6px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
}

.site-nav .btn-outline-white {
  color: var(--t2);
  border-color: var(--border-2);
  background: transparent;
}
.site-nav .btn-outline-white:hover {
  background: var(--bg);
  border-color: rgba(13,31,60,0.22);
  color: var(--t1);
  box-shadow: 0 2px 8px rgba(13,31,60,0.06);
  transform: translateY(-1px);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 4px;
  background: transparent;
  border: none;
  border-radius: var(--r-sm);
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--t2);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  pointer-events: none;
}

.nav__drawer {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid rgba(13,31,60,0.07);
  padding: var(--s4) var(--pad-x) var(--s5);
  gap: 2px;
}
.nav__drawer[aria-hidden="false"] { display: flex; }
.nav__drawer a {
  font-size: 14px;
  font-weight: 500;
  color: var(--t3);
  padding: 11px 0;
  border-bottom: 1px solid rgba(13,31,60,0.06);
  transition: color var(--ease);
}
.nav__drawer a:last-of-type { border-bottom: none; }
.nav__drawer a:hover { color: var(--t1); }
.nav__drawer .btn { margin-top: var(--s3); justify-content: center; }

.hp-hero {
  background: var(--navy);
  padding: 58px 0 0;
  position: relative;
  overflow: hidden;
}

.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.hp-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 130%;
  background: radial-gradient(ellipse at 60% 40%, rgba(37,99,235,0.13) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
}

.hp-hero__inner--text-only {
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
}

.hp-hero__inner--text-only .hp-hero__content {
  width: min(100%, 780px);
}

.hp-hero__header {
  max-width: 780px;
}

.hp-hero__inner--text-only .hp-hero__desc {
  max-width: 52ch;
}

.hp-hero__content { padding-top: 0; }

.hp-hero__tag {
  display: block;
  margin: 0 0 20px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(147,197,253,0.70);
  line-height: 1;
}

.hp-hero__title {
  max-width: 780px;
  font-size: clamp(44px, 4.7vw, 68px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: #fff;
  margin: 0 0 18px;
}

.hp-hero__title-line {
  display: block;
  white-space: nowrap;
}

.hp-hero__rule {
  width: 44px;
  height: 1px;
  background: rgba(37,99,235,0.55);
  margin: 0 0 22px;
}

.hp-hero__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  color: rgba(255,255,255,0.58);
  margin: 0 0 30px;
  max-width: 52ch;
  text-wrap: pretty;
}

.hp-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
}

.hp-hero__note {
  margin: 18px 0 0;
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.02em;
}

.hp-hero__credential {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0 0;
}

.hp-hero__cert-caption {
  text-align: center;
  margin-top: 28px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.20);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.hp-hero__cert-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hp-hero__cert-back2 {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.016);
  border: 1px solid rgba(255,255,255,0.042);
  border-radius: var(--r-xl);
  transform: rotate(5.8deg) translateY(24px) translateX(16px);
  filter: blur(0.5px);
}

.hp-hero__cert-back {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.044);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  transform: rotate(2.6deg) translateY(12px) translateX(8px);
}

.hp-hero__cert {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 0;
  position: relative;
  z-index: 2;
  transform: rotate(-1.5deg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10),
    0 1px 2px rgba(0,0,0,0.12),
    0 4px 8px rgba(0,0,0,0.10),
    0 16px 32px rgba(0,0,0,0.18),
    0 40px 80px rgba(0,0,0,0.30),
    0 80px 140px rgba(0,0,0,0.22),
    0 120px 160px rgba(0,0,0,0.10);
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-hero__cert:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 1px 2px rgba(0,0,0,0.10),
    0 6px 12px rgba(0,0,0,0.10),
    0 20px 40px rgba(0,0,0,0.20),
    0 52px 96px rgba(0,0,0,0.34),
    0 96px 160px rgba(0,0,0,0.24),
    0 140px 180px rgba(0,0,0,0.10);
}

.hp-hero__cert::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255,253,248,0.55) 0%,
    rgba(255,255,255,0) 50%,
    rgba(245,247,252,0.36) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hp-cert-header-band,
.hp-cert-body { position: relative; z-index: 1; }

.hp-cert-header-band {
  background: linear-gradient(118deg, #0B1C38 0%, #122548 55%, #0e2244 100%);
  padding: 14px 28px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hp-cert-header-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -52deg,
      transparent 0px, transparent 11px,
      rgba(255,255,255,0.014) 11px, rgba(255,255,255,0.014) 12px
    );
  pointer-events: none;
}

.hp-cert-header-band::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,255,255,0.16) 25%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0.16) 75%,
    transparent 100%
  );
  pointer-events: none;
}

.hp-cert-header-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(37,99,235,0.26) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hp-cert-logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 136px;
}

.hp-cert-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hp-cert-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(147,197,253,0.92);
  background: rgba(37,99,235,0.18);
  border: 1px solid rgba(147,197,253,0.20);
  border-radius: 4px;
  padding: 4px 10px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.hp-cert-body { padding: 26px 32px 26px; }

.hp-cert-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360' fill='none'%3E%3Cpath d='M-32 170C58 126 146 126 236 170C326 214 414 214 504 170C594 126 682 126 772 170' stroke='%232563eb' stroke-opacity='.072' stroke-width='1.1'/%3E%3Cpath d='M-32 198C58 154 146 154 236 198C326 242 414 242 504 198C594 154 682 154 772 198' stroke='%230d1f3c' stroke-opacity='.055' stroke-width='1'/%3E%3Cpath d='M-32 226C58 182 146 182 236 226C326 270 414 270 504 226C594 182 682 182 772 226' stroke='%232563eb' stroke-opacity='.048' stroke-width='1'/%3E%3Cpath d='M-32 254C58 210 146 210 236 254C326 298 414 298 504 254C594 210 682 210 772 254' stroke='%230d1f3c' stroke-opacity='.04' stroke-width='1'/%3E%3C/svg%3E"),
    radial-gradient(circle, rgba(13,31,60,0.028) 1px, transparent 1px);
  background-repeat: no-repeat, repeat;
  background-size: 96% auto, 20px 20px;
  background-position: center 62%, 0 0;
  pointer-events: none;
  z-index: 0;
}

.hp-cert-body::after {
  content: '';
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(
    to right, transparent,
    rgba(37,99,235,0.14) 20%, rgba(37,99,235,0.14) 80%,
    transparent
  );
  pointer-events: none;
  z-index: 1;
}

.hp-cert-issuer {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t4);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hp-cert-recipient-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t4);
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.hp-cert-recipient {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--t1);
  line-height: 1.08;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,0.9), 0 -1px 0 rgba(0,0,0,0.04);
}

.hp-cert-course {
  font-size: 13px;
  font-weight: 600;
  color: var(--t2);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(13,31,60,0.07);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.hp-cert-course-id {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--t4);
  display: block;
  margin-top: 2px;
}

.hp-cert-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.hp-cert-date-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t4);
  margin-bottom: 3px;
}

.hp-cert-date-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
}

.hp-cert-verify {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hp-cert-qr {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(13,31,60,0.12);
  box-shadow: 0 6px 16px rgba(13,31,60,0.08);
  padding: 6px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-cert-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: crisp-edges;
}

.hp-cert-qr-label {
  font-size: 7px;
  font-weight: 700;
  color: rgba(13,31,60,0.5);
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
}

.hp-cert-linkedin {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(10,102,194,0.04);
  border: 1px solid rgba(10,102,194,0.11);
  border-radius: var(--r-md);
  font-size: 11px;
  font-weight: 600;
  color: #0A66C2;
  position: relative;
  z-index: 1;
}

.hp-trust {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 17px 0 10px;
}

.hp-trust__heading {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t4);
  margin-bottom: 8px;
}

.hp-trust__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hp-trust__logo {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 34px;
  flex: 0 0 auto;
  padding: 0 4px;
}

.hp-trust__logo--google,
.hp-trust__logo--apple {
  height: 24px;
}

.hp-trust__logo--nvidia {
  height: 55px;
}

.hp-trust__logo--oracle,
.hp-trust__logo--microsoft {
  height: 83px;
}

.hp-trust__logo--amazon {
  height: 79px;
}

.hp-trust__logo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hp-trust__logo.is-visible:hover {
  transform: translateY(-2px);
  transition: transform 0.30s ease;
}

.hp-trust__logo img {
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  display: block;
  opacity: 0.7;
  filter: grayscale(1) brightness(0.8);
  transition: opacity 0.30s ease, filter 0.30s ease;
}

.hp-trust__logo:hover img,
.hp-trust__logo.is-visible:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

.skill-pills {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.skill-pills__inner {
  display: flex;
  align-items: center;
  gap: var(--s6);
  padding: 18px 0;
  flex-wrap: wrap;
}

.skill-pills__label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--t4);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: var(--s5);
  border-right: 1px solid var(--border);
  line-height: 30px;
  align-self: center;
}

.skill-pills__row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t3);
  line-height: 1;
  transition:
    background var(--ease),
    border-color var(--ease),
    color var(--ease),
    transform var(--ease);
  cursor: pointer;
}
.skill-pill:hover {
  background: var(--bg-2);
  border-color: var(--border-2);
  color: var(--t2);
  transform: translateY(-1px);
}

.hp-courses {
  background: var(--bg);
  padding: 28px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hp-courses::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 340px;
  background: radial-gradient(ellipse at center top, rgba(37,99,235,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hp-courses__header {
  display: block;
  margin-bottom: 36px;
}

.hp-courses__note {
  font-size: 13.5px;
  color: var(--t3);
  text-align: right;
  max-width: 200px;
  line-height: 1.55;
  align-self: flex-end;
}

.hp-courses__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms ease;
  text-decoration: none;
  color: inherit;
}
.course-card:hover {
  border-color: rgba(37,99,235,0.14);
  box-shadow:
    0 2px 4px rgba(13,31,60,0.03),
    0 10px 32px rgba(37,99,235,0.07),
    0 24px 48px rgba(13,31,60,0.04);
  transform: translateY(-4px);
}

.course-card__image {
  position: relative;
  width: 100%;
  height: 198px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: var(--bg-2);
  flex-shrink: 0;
}
.course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.90) saturate(0.80);
  transition: transform 0.55s ease, filter 0.55s ease;
}
.course-card:hover .course-card__image img {
  transform: scale(1.04);
  filter: brightness(0.95) saturate(0.90);
}
.course-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,31,60,0.28) 0%, transparent 55%);
  pointer-events: none;
}

.course-card__body {
  padding: 21px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card__proof {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}
.course-card__proof-chip {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--t4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 9px;
  line-height: 1;
  white-space: nowrap;
}

.course-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--t1);
  line-height: 1.36;
  margin-bottom: 9px;
}

.course-card__desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--t3);
  line-height: 1.74;
  flex: 1;
  margin-bottom: 14px;
}

.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  gap: 8px;
  margin-top: auto;
}

.course-card__tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border-radius: 4px;
  padding: 3px 8px;
  line-height: 1;
}

.course-card__link-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--t3);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--ease), gap var(--ease);
}
.course-card:hover .course-card__link-label {
  color: var(--accent);
  gap: 6px;
}

.hp-courses__footer {
  margin-top: 40px;
  text-align: center;
}

.hp-how {
  background: var(--white);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hp-how::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50%; height: 60%;
  background: radial-gradient(ellipse at bottom left, rgba(37,99,235,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.hp-how .section-header {
  max-width: 980px;
}

.hp-how .section-sub {
  max-width: 860px;
}

.hp-how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 1025px) {
  .hp-courses {
    padding: 28px 0 64px;
  }

  .hp-courses__footer {
    margin-top: 32px;
  }

  .skill-pills__inner {
    padding: 14px 0;
  }

  .hp-how {
    padding-top: 64px;
  }
}

.how-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition:
    border-color 280ms ease,
    background 280ms ease,
    transform 280ms ease,
    box-shadow 280ms ease;
}
.how-card:hover {
  border-color: rgba(37,99,235,0.16);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.07), 0 2px 6px rgba(13,31,60,0.04);
}

.how-card__num-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1px solid var(--accent-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.how-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--t1);
  line-height: 1.32;
  margin-bottom: 12px;
}

.how-card__text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.76;
  color: var(--t3);
}

.hp-cert-section {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hp-cert-section::before {
  content: '';
  position: absolute;
  left: -5%; top: 10%;
  width: 45%; height: 80%;
  background: radial-gradient(ellipse at left center, rgba(37,99,235,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hp-cert-section__inner {
  display: grid;
  grid-template-columns: minmax(360px, 480px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hp-cert-section__visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hp-cert-section__visual .hp-hero__cert-stack {
  max-width: 480px;
}

.hp-cert-section .label { color: rgba(147,197,253,0.85); }

.hp-cert-section__title {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.026em;
  color: #fff;
  margin: 0 0 18px;
}

.hp-cert-section__body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.82;
  color: rgba(255,255,255,0.54);
  margin: 0 0 24px;
}

.hp-cert-section__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.hp-cert-section__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.68);
  line-height: 1.52;
}
.hp-cert-section__list li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.20);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5.5L4 7.5L8 3' stroke='rgba(255,255,255,0.6)' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}

.hp-cert-section__price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md);
  font-size: 12.5px;
  color: rgba(255,255,255,0.52);
}
.hp-cert-section__price strong {
  color: rgba(255,255,255,0.82);
  font-weight: 700;
}

.cert-visual {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 4px 12px rgba(0,0,0,0.10),
    0 28px 64px rgba(0,0,0,0.28),
    0 48px 80px rgba(0,0,0,0.10);
  position: relative;
  transform: rotate(-1.5deg);
  transition: transform 0.5s var(--ease-out);
}
.cert-visual:hover { transform: rotate(0deg); }
.cert-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.20), transparent);
  border-radius: 16px 16px 0 0;
}

.cert-visual__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.cert-visual__logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.cert-visual__logo span { color: var(--accent); }
.cert-visual__badge {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-mid);
  border-radius: 4px;
  padding: 3px 7px;
}
.cert-visual__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t4);
  margin-bottom: 5px;
}
.cert-visual__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.024em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.cert-visual__course {
  font-size: 12px;
  font-weight: 500;
  color: var(--t3);
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.cert-visual__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cert-visual__date {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--t4);
}
.cert-visual__seal {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(13,31,60,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.cert-visual__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 7px 12px;
  background: rgba(10,102,194,0.06);
  border: 1px solid rgba(10,102,194,0.15);
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #0A66C2;
  letter-spacing: 0.01em;
}

.hp-audience {
  background: var(--bg);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hp-audience::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%; height: 100%;
  background: radial-gradient(ellipse at right center, rgba(37,99,235,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.hp-audience__inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 52px;
  align-items: start;
}

.hp-audience__intro { padding-top: 0; }
.hp-audience__intro .section-title { margin-bottom: 14px; }
.hp-audience__intro .section-sub   { margin-bottom: var(--s5); }
.hp-audience__cta { margin-top: var(--s5); }

.audience-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 180px;
  margin-bottom: var(--s6);
  background: var(--bg-2);
}
.audience-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.97) saturate(0.94);
}
.audience-photo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,31,60,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.who-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.who-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
}
.who-item:hover {
  border-color: rgba(37,99,235,0.16);
  box-shadow: 0 6px 18px rgba(13,31,60,0.06);
  transform: translateX(3px);
}

.who-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.who-item__icon svg { width: 16px; height: 16px; }

.who-item__role {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--t1);
  display: block;
  margin-bottom: 5px;
  line-height: 1;
}
.who-item__desc {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--t3);
  line-height: 1.60;
}

.hp-cta {
  background: var(--blue);
  padding: var(--s10) 0;
  position: relative;
  overflow: hidden;
}
.hp-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,31,60,0.35) 0%, transparent 60%);
  pointer-events: none;
}

.hp-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hp-cta__title {
  font-size: clamp(26px, 3.0vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: #fff;
  margin: 0 0 14px;
}
.hp-cta__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.78;
  color: rgba(255,255,255,0.58);
  margin: 0;
  max-width: 480px;
}

.hp-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.hp-cta__sub {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.32);
  text-align: center;
  letter-spacing: 0.02em;
}

.site-footer {
  background: var(--navy);
  padding: var(--s9) 0 var(--s6);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s7);
  padding-bottom: var(--s7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--s5);
}

.footer__brand-logo {
  display: block;
  margin-bottom: var(--s3);
}
.footer__brand-logo svg { display: block; }

.footer__brand-text {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.70;
  color: rgba(255,255,255,0.38);
  max-width: 280px;
}

.footer__col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: var(--s4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col ul li a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  transition: color var(--ease);
}
.footer__col ul li a:hover { color: rgba(255,255,255,0.80); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.20);
}
.footer__legal {
  display: flex;
  gap: var(--s5);
}
.footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.20);
  transition: color var(--ease);
}
.footer__legal a:hover { color: rgba(255,255,255,0.50); }

.photo-band {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--navy-mid);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: brightness(0.55) saturate(0.60);
}
.photo-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,31,60,0.70) 0%,
    rgba(13,31,60,0.20) 50%,
    rgba(13,31,60,0.50) 100%
  );
  pointer-events: none;
}

.photo-band__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  max-width: calc(var(--max-w) + var(--pad-x) * 2);
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
.photo-band__text {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.58;
  letter-spacing: -0.012em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 16px;
  max-width: 560px;
}
.photo-band__attr {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.60s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.60s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cert-reveal .hp-hero__cert-back2,
.cert-reveal .hp-hero__cert-back,
.cert-reveal .hp-hero__cert,
.cert-reveal .hp-cert-verify,
.cert-reveal .hp-cert-linkedin {
  will-change: transform, opacity, filter;
}

.cert-reveal .hp-hero__cert-back2,
.cert-reveal .hp-hero__cert-back,
.cert-reveal .hp-hero__cert {
  transition:
    transform 1.02s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.72s ease,
    filter 1.02s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 1.02s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: 50% 82%;
}

.cert-reveal .hp-cert-verify,
.cert-reveal .hp-cert-linkedin {
  transition:
    transform 0.92s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.62s ease;
}

.cert-reveal .hp-hero__cert-back2 { transition-delay: 0.02s; }
.cert-reveal .hp-hero__cert-back { transition-delay: 0.08s; }
.cert-reveal .hp-hero__cert { transition-delay: 0.14s; }
.cert-reveal .hp-cert-verify { transition-delay: 0.26s; }
.cert-reveal .hp-cert-linkedin { transition-delay: 0.34s; }

.cert-reveal:not(.is-visible) .hp-hero__cert-back2 {
  opacity: 0;
  filter: blur(10px);
  transform: rotate(8.6deg) translateY(54px) translateX(28px) scale(0.95);
}

.cert-reveal:not(.is-visible) .hp-hero__cert-back {
  opacity: 0;
  filter: blur(6px);
  transform: rotate(4.8deg) translateY(34px) translateX(18px) scale(0.97);
}

.cert-reveal:not(.is-visible) .hp-hero__cert {
  opacity: 0;
  filter: blur(12px);
  transform: rotate(0.8deg) translateY(42px) scale(0.968);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 14px 28px rgba(0,0,0,0.18),
    0 32px 64px rgba(0,0,0,0.16);
}

.cert-reveal:not(.is-visible) .hp-cert-verify {
  opacity: 0;
  transform: translateY(14px) scale(0.86);
}

.cert-reveal:not(.is-visible) .hp-cert-linkedin {
  opacity: 0;
  transform: translateY(12px);
}

.cert-reveal.is-visible .hp-hero__cert-back2 {
  opacity: 1;
  filter: blur(0.5px);
  transform: rotate(5.8deg) translateY(24px) translateX(16px) scale(1);
}

.cert-reveal.is-visible .hp-hero__cert-back {
  opacity: 1;
  filter: blur(0);
  transform: rotate(2.6deg) translateY(12px) translateX(8px) scale(1);
}

.cert-reveal.is-visible .hp-hero__cert {
  opacity: 1;
  filter: blur(0);
  transform: rotate(-1.5deg) translateY(0) scale(1);
}

.cert-reveal.is-visible .hp-cert-verify,
.cert-reveal.is-visible .hp-cert-linkedin {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .hp-trust__logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
    max-width: 320px;
    margin: 0 auto;
  }

  .hp-trust__logo {
    width: auto;
    height: 28px;
    flex: 0 0 auto;
    padding: 0 2px;
  }

  .hp-trust__logo--google,
  .hp-trust__logo--apple {
    height: 20px;
  }

  .hp-trust__logo--nvidia,
  .hp-trust__logo--oracle,
  .hp-trust__logo--microsoft {
    height: 38px;
  }

  .hp-trust__logo--amazon {
    height: 36px;
  }

  .hp-trust__logo img {
    width: auto;
    height: 100%;
    max-width: none;
    max-height: none;
  }
}

@media (max-width: 1024px) {
  :root { --pad-x: 28px; --s10: 104px; }

  
  .hp-hero__inner { grid-template-columns: 1fr; gap: 34px; padding-bottom: 37px; }
  .hp-hero__content { padding-top: 0; }
  .hp-hero__inner--text-only .hp-hero__content,
  .hp-hero__header { width: min(100%, 680px); max-width: 680px; }
  .hp-hero__title { max-width: 680px; font-size: clamp(38px, 5vw, 56px); }
  .hp-hero__desc { max-width: 48ch; font-size: 15px; margin-bottom: 28px; }
  .hp-hero__credential { padding-top: 0; }
  .hp-hero__cert-stack { max-width: 400px; margin: 0 auto; }

  
  .skill-pills__label { display: none; }

  .hp-courses,
  .hp-how,
  .hp-cert-section,
  .hp-audience { padding: 64px 0; }

  .hp-courses { padding: 22px 0 64px; }

  
  .hp-courses__grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .hp-courses__header { grid-template-columns: 1fr; }
  .hp-courses__note { text-align: left; }
  .hp-courses__header { margin-bottom: 30px; }

  
  .hp-how__grid { grid-template-columns: repeat(2, 1fr); }
  .hp-how__grid { margin-top: 28px; }

  
  .photo-band { height: 220px; }

  
  .hp-cert-section__inner { grid-template-columns: 1fr; gap: 34px; }
  .cert-visual { transform: rotate(0deg); max-width: 420px; }

  
  .hp-audience__inner { grid-template-columns: 1fr; gap: 30px; }
  .audience-photo { height: 160px; margin-bottom: var(--s5); }

  
  .hp-cta__inner { grid-template-columns: 1fr; gap: 20px; }
  .hp-cta__actions { flex-direction: row; align-items: flex-start; }

  
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
}

@media (max-width: 1024px) {
  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__cart--mobile {
    display: inline-flex;
    margin-left: auto;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__inner {
    height: 56px;
    gap: 10px;
  }

  .nav__logo img {
    width: 190px;
    height: auto;
  }
}

@media (max-width: 640px) {
  :root { --pad-x: 18px; --s10: 80px; }

  
  .hp-hero { padding: 34px 0 0; }
  .hp-hero__inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 22px; }
  .hp-hero__header,
  .hp-hero__inner--text-only .hp-hero__content { width: 100%; max-width: none; }
  .hp-hero__tag { margin-bottom: 16px; letter-spacing: 0.18em; }
  .hp-hero__title { max-width: none; font-size: clamp(28px, 8.2vw, 36px); line-height: 1.02; margin-bottom: 18px; }
  .hp-hero__title-line { display: inline; white-space: normal; }
  .hp-hero__rule { margin-bottom: 18px; }
  .hp-hero__desc { max-width: 34ch; font-size: 14px; line-height: 1.66; margin-bottom: 24px; }
  .hp-hero__cert-stack { max-width: 340px; margin: 0 auto; }
  .hp-cert-recipient { font-size: 22px; }
  .hp-cert-body { padding: 20px 22px 22px; }
  .hp-cert-header-band { padding: 11px 18px 10px; }
  .hp-cert-logo { width: 124px; }
  .hp-cert-qr { width: 56px; height: 56px; }
  .hp-cert-qr-label { font-size: 6.5px; }
  .hp-hero__actions { flex-direction: column; align-items: stretch; }
  .hp-hero__actions .btn { width: 100%; justify-content: center; }
  .hp-hero__note { margin-top: 16px; }

  
  .hp-trust { padding: 17px 0 12px; }
  .hp-trust__heading { margin-bottom: 12px; }

  
  .skill-pills__label { display: none; }
  .skill-pills__inner { gap: var(--s3); padding: 14px 0; }

  
  .hp-courses__grid { grid-template-columns: 1fr; }
  .hp-courses,
  .hp-how,
  .hp-cert-section,
  .hp-audience { padding: 52px 0; }
  .hp-courses { padding: 18px 0 52px; }
  .hp-courses__header { margin-bottom: 24px; }
  .hp-courses__footer { margin-top: 28px; }

  
  .hp-how__grid { grid-template-columns: 1fr; }
  .hp-how__grid { margin-top: 24px; }

  
  .photo-band { height: 180px; }
  .photo-band__text { font-size: 16px; }

  
  .audience-photo { height: 140px; }

  
  .hp-cta__inner { gap: 24px; }
  .hp-cta__actions { flex-direction: column; width: 100%; }
  .hp-cta__actions .btn { width: 100%; justify-content: center; }

  
  .site-footer {
    padding: 42px 0 16px;
  }

  .site-footer .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    padding-bottom: 18px;
    margin-bottom: 12px;
  }

  .site-footer .footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer .footer__brand-logo {
    margin-bottom: 8px;
  }

  .site-footer .footer__brand-logo img {
    width: 104px;
    height: auto;
    display: block;
  }

  .site-footer .footer__brand-text {
    max-width: 290px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .site-footer .footer__col-title {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .site-footer .footer__col ul {
    gap: 6px;
  }

  .site-footer .footer__col ul li a {
    display: inline-block;
    padding: 2px 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .site-footer .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-footer .footer__copy {
    font-size: 10.5px;
    line-height: 1.45;
  }

  .site-footer .footer__legal {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
  }

  .site-footer .footer__legal a {
    font-size: 10.5px;
    line-height: 1.35;
  }
}

/* Global typography refinement */
.label {
  font-size: 11px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(22px, 2.6vw, 35px);
  line-height: 1.17;
}

.section-sub {
  font-size: 15px;
  line-height: 1.72;
  max-width: 560px;
}

.btn {
  font-size: 14px;
  padding: 13px 22px;
}

.btn-lg {
  font-size: 15px;
  padding: 15px 28px;
}

.skip-link,
.nav__links a {
  font-size: 13px;
}

.site-nav .container {
  padding-left: 18px;
  padding-right: 18px;
}

.nav__inner {
  height: 58px;
  gap: 14px;
}

.nav__links {
  justify-content: flex-end;
  gap: 14px;
  padding-left: 16px;
}

.nav__logo img {
  width: 212px;
  height: auto;
}

.nav__drawer a {
  font-size: 13px;
}

.site-nav .btn {
  font-size: 12px;
  padding: 8px 13px;
}

.hp-hero__tag {
  font-size: 10.5px;
}

.hp-hero__title {
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.03;
}

.hp-hero__desc {
  font-size: 15px;
  line-height: 1.74;
  max-width: 390px;
}

.hp-hero__note,
.hp-hero__cert-caption,
.course-card__link-label,
.hp-cert-linkedin,
.cert-visual__date,
.cert-visual__linkedin,
.photo-band__attr,
.hp-cta__sub {
  font-size: 11.5px;
}

.hp-cert-issuer,
.hp-cert-recipient-label,
.hp-cert-date-label,
.hp-cert-qr-label,
.cert-visual__label,
.footer__col-title {
  font-size: 9.5px;
}

.hp-cert-recipient {
  font-size: 30px;
}

.hp-cert-course {
  font-size: 13.5px;
  line-height: 1.46;
}

.hp-cert-course-id,
.hp-cert-date-val,
.cert-visual__course {
  font-size: 12px;
}

.hp-trust__heading,
.skill-pills__label,
.course-card__tag {
  font-size: 10px;
}

.skill-pill {
  font-size: 12.5px;
  padding: 7px 15px;
}

.hp-courses__note {
  font-size: 13.5px;
  line-height: 1.5;
}

.course-card__proof-chip {
  font-size: 10px;
  padding: 5px 10px;
}

.course-card__title,
.how-card__title {
  font-size: 15.5px;
  line-height: 1.34;
}

.course-card__desc,
.how-card__text {
  font-size: 13.5px;
  line-height: 1.7;
}

.how-card__num-circle {
  width: 32px;
  height: 32px;
  font-size: 11px;
}

.hp-cert-section__title {
  font-size: clamp(22px, 2.6vw, 35px);
  line-height: 1.17;
}

.hp-cert-section__body,
.hp-cta__desc {
  font-size: 15px;
  line-height: 1.7;
}

.hp-cert-section__list li {
  font-size: 14px;
  line-height: 1.56;
}

.hp-cert-section__price {
  font-size: 12.5px;
}

.cert-visual__logo {
  font-size: 15.5px;
}

.cert-visual__badge {
  font-size: 8.5px;
}

.cert-visual__name {
  font-size: 22px;
}

.who-item__role {
  font-size: 14px;
}

.who-item__desc {
  font-size: 13px;
  line-height: 1.56;
}

.hp-cta__title {
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.1;
}

.site-footer {
  padding: 26px 0 18px;
}

.footer__grid {
  gap: 34px;
  padding-bottom: 22px;
  margin-bottom: 12px;
}

.footer__brand-logo {
  margin-bottom: 0;
}

.footer__brand-logo img {
  width: 184px;
  height: auto;
  display: block;
}

.footer__col ul li a,
.footer__legal a,
.footer__copy {
  font-size: 14px;
}

.footer__copy {
  line-height: 1.45;
}

.footer__col-title {
  margin-bottom: 8px;
}

.footer__col ul {
  gap: 6px;
}

.footer__legal {
  gap: 14px;
}

.photo-band__text {
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.48;
}

@media (max-width: 1024px) {
  .section-title,
  .hp-cert-section__title {
    font-size: clamp(21px, 3.5vw, 30px);
  }

  .hp-hero__title {
    font-size: clamp(31px, 5.1vw, 45px);
  }

  .footer__brand-logo img {
    width: 184px;
  }
}

@media (max-width: 640px) {
  .btn {
    font-size: 13px;
  }

  .btn-lg {
    font-size: 14px;
  }

  .section-title,
  .hp-cert-section__title {
    font-size: clamp(23px, 6.2vw, 30px);
    line-height: 1.18;
  }

  .section-sub,
  .course-card__desc,
  .how-card__text,
  .hp-cert-section__body,
  .hp-cta__desc {
    font-size: 13px;
  }

  .hp-hero__title {
    font-size: clamp(28px, 7.8vw, 38px);
    line-height: 1.05;
  }

  .hp-hero__desc {
    font-size: 14px;
    max-width: none;
    margin-bottom: 28px;
  }

  .site-nav .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav__inner {
    height: 56px;
    gap: 10px;
  }

  .nav__logo img {
    width: 184px;
  }

  .nav__hamburger {
    padding: 5px 2px;
  }

  .nav__hamburger span {
    width: 20px;
  }

  .nav__drawer a {
    font-size: 13px;
  }

  .site-nav .btn {
    font-size: 12px;
    padding: 8px 12px;
  }

  .site-footer {
    padding: 12px 0 12px;
  }

  .site-footer .footer__grid {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 10px 18px;
    padding-bottom: 12px;
    margin-bottom: 8px;
  }

  .site-footer .footer__brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .site-footer .footer__brand-logo {
    margin-bottom: 0;
  }

  .site-footer .footer__brand-logo img {
    width: 156px;
    margin: 0 auto;
  }

  .site-footer .footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer .footer__col-title {
    margin-bottom: 7px;
    font-size: 11px;
    text-align: center;
  }

  .site-footer .footer__col ul {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 5px 14px;
  }

  .site-footer .footer__col ul li a {
    font-size: 12px;
    line-height: 1.26;
    padding: 1px 0;
  }

  .site-footer .footer__col[aria-label="Platform"] ul li:nth-child(2) {
    order: 3;
  }

  .site-footer .footer__col[aria-label="Platform"] ul li:nth-child(3) {
    order: 2;
  }

  .site-footer .footer__bottom {
    align-items: center;
    text-align: center;
    gap: 7px;
  }

  .site-footer .footer__copy {
    width: 100%;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
  }

  .site-footer .footer__legal {
    justify-content: center;
    width: 100%;
    gap: 6px 14px;
  }

.site-footer .footer__legal a {
    font-size: 11px;
    line-height: 1.3;
  }
}

/* Shared shell sync: keep marketing-shell pages aligned with the all-courses header. */
@media (min-width: 1025px) {
  .site-nav .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    gap: 14px;
  }

  .nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .nav__logo img {
    width: 212px;
    height: auto;
  }

  .nav__links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 12px;
  }

  .nav__links a {
    padding: 0;
    text-decoration: none;
    white-space: nowrap;
    color: var(--ch-shell-text-soft, #5a6a7e);
    font-size: 15px;
    font-weight: 500;
    transition: color 180ms ease;
  }

  .nav__links a:hover {
    color: var(--ch-shell-navy, #0d1f3c);
  }

  .nav__text-link {
    display: inline-flex;
    align-items: center;
  }

  .nav__item {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .nav__item--has-submenu {
    padding: 10px 0;
    margin: -10px 0;
  }

  .nav__text-link .nav__item-label,
  .nav__cart-link .nav__item-label {
    line-height: 1;
  }

  .nav__text-link--current:not(.nav__text-link--courses) {
    color: var(--ch-shell-navy, #0d1f3c);
    font-weight: 600;
  }

  .nav__text-link--has-submenu {
    gap: 8px;
  }

  .nav__text-link--courses {
    color: var(--ch-shell-navy, #0d1f3c);
    font-weight: 600;
    transition: color 180ms ease;
  }

  .nav__text-link--courses:hover,
  .nav__text-link--courses:focus-visible,
  .nav__text-link--courses.nav__text-link--current {
    color: var(--ch-shell-navy, #0d1f3c);
  }

  .nav__submenu-caret {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transform-origin: center;
    opacity: 0.58;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav__item--has-submenu:hover .nav__submenu-caret,
  .nav__item--has-submenu:focus-within .nav__submenu-caret {
    transform: rotate(45deg) translate(1px, 0);
    opacity: 0.92;
  }

  .nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    padding-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav__item--has-submenu:hover .nav__submenu,
  .nav__item--has-submenu:focus-within .nav__submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__submenu-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    width: 100%;
    padding: 0 16px 0 19px;
    border: 1px solid rgba(13, 31, 60, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ch-shell-text, #2d3a4e);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    box-shadow: 0 18px 38px rgba(13, 31, 60, 0.12);
  }

  .nav__item--has-submenu .nav__text-link--current,
  .nav__item--has-submenu:hover > .nav__text-link,
  .nav__item--has-submenu:focus-within > .nav__text-link {
    color: var(--ch-shell-navy, #0d1f3c);
  }

  .nav__submenu-link:hover,
  .nav__submenu-link:focus-visible {
    color: var(--ch-shell-navy, #0d1f3c);
    border-color: rgba(37, 99, 235, 0.16);
    background: #fff;
  }

  .nav__login {
    flex-shrink: 0;
    margin-left: 2px;
  }

  .nav__cart-link {
    position: relative;
    flex-shrink: 0;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ch-shell-text, #2d3a4e);
  }

  .nav__cart-link svg {
    width: 17px;
    height: 17px;
    display: block;
  }

  .nav__cart-link:hover {
    color: var(--ch-shell-navy, #0d1f3c);
    border-color: rgba(13, 31, 60, 0.22);
    box-shadow: 0 10px 24px rgba(13, 31, 60, 0.08);
  }

  .site-nav .btn {
    font: 600 15px/1 var(--ch-shell-font, 'Instrument Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    padding: 8px 14px;
  }
}

/* EILM-style certificate preview redesign */
.hp-hero__cert-stack {
  position: relative;
  width: min(100%, 612px);
  max-width: 612px;
  padding: 20px 0 34px 18px;
  perspective: 1800px;
}

.hp-hero__cert-back2,
.hp-hero__cert-back {
  position: absolute;
  background: linear-gradient(180deg, #172945 0%, #0d182b 100%);
  border: 1px solid rgba(214, 223, 235, 0.08);
  border-radius: 18px;
  box-shadow: none;
}

.hp-hero__cert-back2 {
  inset: 56px 4px 0 66px;
  opacity: 0.34;
  transform: rotate(7.4deg);
}

.hp-hero__cert-back {
  inset: 38px 8px 10px 38px;
  opacity: 0.72;
  transform: rotate(4.2deg);
}

.hp-hero__cert {
  position: relative;
  background: linear-gradient(180deg, #162742 0%, #0d182c 100%);
  border: 1px solid rgba(223, 229, 238, 0.12);
  border-radius: 18px;
  padding: 22px;
  overflow: visible;
  transform: rotate(-2.8deg);
  box-shadow: 0 26px 62px rgba(6, 12, 22, 0.28);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-hero__cert::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  pointer-events: none;
  z-index: 0;
}

.hp-hero__cert::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 42%);
  pointer-events: none;
  z-index: 0;
}

.hp-hero__cert:hover {
  transform: rotate(-2.4deg) translateY(-2px);
  box-shadow: 0 28px 68px rgba(6, 12, 22, 0.3);
}

.hp-cert-paper {
  position: relative;
  min-height: 364px;
  background: linear-gradient(180deg, #fcfbf7 0%, #f7f3eb 100%);
  border: 1px solid rgba(104, 112, 122, 0.34);
  border-radius: 2px;
  padding: 28px 32px 30px;
  box-shadow: 0 16px 30px rgba(7, 15, 29, 0.16);
  transform: rotate(1.1deg);
  z-index: 1;
}

.hp-cert-paper::before,
.hp-cert-paper::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hp-cert-paper::before {
  inset: 9px;
  border: 1px solid rgba(112, 120, 130, 0.24);
}

.hp-cert-paper::after {
  inset: 17px;
  border: 1px solid rgba(126, 133, 141, 0.12);
}

.hp-cert-header-band,
.hp-cert-body {
  position: relative;
  z-index: 1;
}

.hp-cert-header-band {
  background: none;
  padding: 0 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  overflow: visible;
}

.hp-cert-header-band::before,
.hp-cert-header-band::after,
.hp-cert-header-glow {
  display: none;
}

.hp-cert-organization {
  color: #5b6776;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hp-cert-logo {
  width: 118px;
  margin: 0 auto;
}

.hp-cert-subtitle {
  color: #8d98a5;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hp-cert-body {
  padding: 0 16px 0;
  text-align: center;
}

.hp-cert-body::before,
.hp-cert-body::after {
  display: none;
}

.hp-cert-ornament {
  position: relative;
  width: 100%;
  max-width: 238px;
  height: 16px;
  margin: 0 auto 18px;
  background: radial-gradient(circle, rgba(22, 38, 59, 0.5) 0 1.6px, transparent 2px) center/9px 9px no-repeat;
}

.hp-cert-ornament::before,
.hp-cert-ornament::after {
  content: "";
  position: absolute;
  top: 8px;
  width: calc(50% - 14px);
  height: 1px;
  background: rgba(33, 48, 68, 0.18);
}

.hp-cert-ornament::before {
  left: 0;
}

.hp-cert-ornament::after {
  right: 0;
}

.hp-cert-issuer {
  color: #586270;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hp-cert-recipient-label {
  color: #7e8996;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hp-cert-recipient {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #1a2738;
  margin-bottom: 12px;
  text-shadow: none;
}

.hp-cert-completion {
  max-width: 40ch;
  margin: 0 auto 14px;
  color: #667486;
  font-size: 11px;
  line-height: 1.85;
}

.hp-cert-course {
  max-width: 30ch;
  margin: 0 auto 0;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(24, 39, 58, 0.12);
  color: #223247;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hp-cert-course-id,
.hp-cert-linkedin {
  display: none;
}

.hp-cert-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  margin-top: 20px;
  text-align: left;
}

.hp-cert-meta {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
  align-items: end;
  min-width: 0;
}

.hp-cert-meta-block {
  min-height: 60px;
}

.hp-cert-signature-line {
  width: 100%;
  max-width: 118px;
  border-top: 1px solid rgba(27, 39, 56, 0.34);
  margin-bottom: 8px;
}

.hp-cert-meta-label {
  color: #7d8794;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hp-cert-meta-value {
  color: #203043;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
}

.hp-cert-meta-address {
  display: block;
  margin-top: 6px;
  color: #6f7b89;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.hp-cert-verify {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 92px;
}

.hp-cert-qr {
  width: 86px;
  height: 86px;
  border-radius: 0;
  background: #fff;
  border: 1px solid rgba(33, 48, 68, 0.18);
  box-shadow: none;
  padding: 8px;
}

.hp-cert-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: crisp-edges;
}

.hp-cert-qr-label {
  color: #6d7887;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: center;
}

.hp-cert-qr-ref {
  color: #97a1ad;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: center;
}

.hp-hero__cert-caption {
  margin-top: 18px;
  color: rgba(227, 233, 241, 0.66);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.hp-cert-section {
  background: #0d1729;
  padding: 72px 0 64px;
}

.hp-cert-section::before {
  background:
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.08) 0%, transparent 36%),
    radial-gradient(circle at 78% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 42%);
}

.hp-cert-section__inner {
  grid-template-columns: minmax(420px, 560px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hp-cert-section__visual {
  justify-content: flex-start;
}

.hp-cert-section__visual .hp-hero__cert-stack {
  max-width: 612px;
}

.hp-cert-section .label {
  color: rgba(226, 232, 240, 0.74);
}

.hp-cert-section__title {
  max-width: 14.5ch;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.08;
  text-wrap: balance;
}

.hp-cert-section__body {
  max-width: 54ch;
  color: rgba(236, 240, 246, 0.72);
}

.hp-cert-section__list li {
  color: rgba(247, 249, 252, 0.82);
}

.hp-cert-section__price {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.6);
}

.cert-reveal .hp-cert-linkedin {
  display: none;
}

.cert-reveal:not(.is-visible) .hp-hero__cert-back2 {
  transform: rotate(9deg) translateY(28px) translateX(8px) scale(0.96);
}

.cert-reveal:not(.is-visible) .hp-hero__cert-back {
  transform: rotate(5.4deg) translateY(20px) translateX(5px) scale(0.98);
}

.cert-reveal:not(.is-visible) .hp-hero__cert {
  transform: rotate(-4deg) translateY(28px) scale(0.985);
  box-shadow: 0 18px 40px rgba(7, 15, 29, 0.22);
}

.cert-reveal:not(.is-visible) .hp-cert-paper {
  transform: rotate(1.8deg) translateY(14px);
}

.cert-reveal.is-visible .hp-hero__cert-back2 {
  transform: rotate(7.4deg) translateY(0) translateX(0) scale(1);
}

.cert-reveal.is-visible .hp-hero__cert-back {
  transform: rotate(4.2deg) translateY(0) translateX(0) scale(1);
}

.cert-reveal.is-visible .hp-hero__cert {
  transform: rotate(-2.8deg) translateY(0) scale(1);
}

.cert-reveal.is-visible .hp-cert-paper {
  transform: rotate(1.1deg) translateY(0);
}

@media (max-width: 1100px) {
  .hp-cert-section__inner {
    grid-template-columns: minmax(340px, 500px) minmax(0, 1fr);
    gap: 42px;
  }

  .hp-cert-paper {
    min-height: 340px;
    padding: 24px 26px 28px;
  }

  .hp-cert-recipient {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .hp-cert-section__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hp-cert-section__visual {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hp-hero__cert-stack {
    max-width: 388px;
    padding: 12px 0 22px 12px;
  }

  .hp-hero__cert-back2 {
    inset: 34px 0 0 42px;
    transform: rotate(5.6deg);
  }

  .hp-hero__cert-back {
    inset: 22px 6px 8px 22px;
    transform: rotate(3deg);
  }

  .hp-hero__cert {
    padding: 14px;
    transform: rotate(-1deg);
  }

  .hp-cert-paper {
    min-height: 0;
    padding: 18px 18px 20px;
    transform: none;
  }

  .hp-cert-paper::before {
    inset: 7px;
  }

  .hp-cert-paper::after {
    inset: 13px;
  }

  .hp-cert-header-band {
    padding-bottom: 16px;
    gap: 7px;
  }

  .hp-cert-logo {
    width: 102px;
  }

  .hp-cert-body {
    padding: 0 10px 0;
  }

  .hp-cert-issuer {
    font-size: 10px;
    letter-spacing: 0.24em;
    margin-bottom: 16px;
  }

  .hp-cert-recipient-label,
  .hp-cert-organization,
  .hp-cert-subtitle {
    letter-spacing: 0.18em;
  }

  .hp-cert-recipient {
    font-size: 29px;
    margin-bottom: 10px;
  }

  .hp-cert-completion {
    font-size: 10px;
    line-height: 1.75;
  }

  .hp-cert-course {
    font-size: 12px;
    letter-spacing: 0.13em;
    padding-bottom: 18px;
  }

  .hp-cert-footer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hp-cert-meta {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .hp-cert-meta-block--signature {
    grid-column: 1 / -1;
  }

  .hp-cert-verify {
    align-items: flex-start;
  }

  .hp-cert-qr {
    width: 70px;
    height: 70px;
    padding: 6px;
  }

  .hp-cert-qr-label {
    font-size: 6px;
  }

  .hp-cert-qr-ref {
    font-size: 5.5px;
  }

  .hp-cert-section {
    padding: 46px 0 42px;
  }

  .hp-cert-section__title {
    max-width: none;
    font-size: clamp(26px, 8.4vw, 34px);
    line-height: 1.12;
  }

  .cert-reveal:not(.is-visible) .hp-cert-paper,
  .cert-reveal.is-visible .hp-cert-paper {
    transform: none;
  }
}
