:root {
  --ink: #071b35;
  --muted: #61758e;
  --blue: #1463ff;
  --cyan: #00c8ff;
  --line: rgba(29, 113, 221, 0.18);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 200, 255, .25), transparent 34%),
    linear-gradient(180deg, #eaf8ff, #f8fcff);
}
a { color: inherit; text-decoration: none; }
.cert-shell { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 48px; }
header { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.brand span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius); color: #06213a; background: linear-gradient(135deg, #dffbff, #9ed4ff); }
.cert-hero {
  margin-top: 34px; padding: clamp(24px, 5vw, 52px); border-radius: var(--radius); color: #fff;
  background: linear-gradient(130deg, #061936, #074b93 58%, #00a7d5);
}
.eyebrow { color: #55e6ff; font-size: 12px; font-weight: 900; text-transform: uppercase; }
h1 { margin: 10px 0 12px; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; }
p { color: var(--muted); line-height: 1.6; }
.cert-hero p { color: #c5e5f8; max-width: 720px; }
.query-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 22px; }
input, button { font: inherit; border-radius: var(--radius); min-height: 46px; }
input { border: 1px solid rgba(255,255,255,.25); padding: 0 14px; outline: 0; }
button { border: 0; padding: 0 18px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); cursor: pointer; }
.certificate-card {
  margin-top: 18px; padding: clamp(20px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: 0 18px 44px rgba(29, 86, 156, .1);
}
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cert-title { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.cert-title h2 { margin: 0; font-size: 32px; }
.badge { display: inline-flex; align-items: center; min-height: 34px; padding: 0 11px; border-radius: var(--radius); color: #075e87; background: #e5fbff; }
.field { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfdff; }
.field span, .field strong { display: block; }
.field span { color: var(--muted); font-size: 13px; }
.field strong { margin-top: 5px; }
.empty { color: var(--muted); }
@media (max-width: 720px) {
  .query-form, .cert-grid, .cert-title { grid-template-columns: 1fr; display: grid; }
}
