:root {
  color-scheme: light;
  --navy: #101c33;
  --navy-soft: #1b2b48;
  --gold: #c49a48;
  --gold-light: #ead7ad;
  --ink: #263248;
  --muted: #68758a;
  --line: #e4e8ef;
  --paper: #f5f6f9;
  --white: #fff;
  font-family: "DM Sans", "Hind Siliguri", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 30%, #fff 0, transparent 57%),
    var(--paper);
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 7px;
  color: var(--white);
  background: var(--navy);
}

.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #9a6b16; outline-offset: 3px; }

.site-header {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  height: 82px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  border-bottom: 1px solid #dfe3e9;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; overflow: hidden; border: 1px solid #e6e2d9; border-radius: 50%; background: var(--white); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { color: var(--navy); font-size: 19px; font-weight: 800; letter-spacing: -.06em; }
.brand-name span { color: var(--gold); }

.language-toggle {
  min-width: 76px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid #d7dce5;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.language-toggle:hover { border-color: var(--gold); }

main { width: min(100% - 32px, 620px); margin: auto; padding-block: 54px 40px; }

.verification-card {
  padding: 42px 44px 30px;
  border: 1px solid #e6e2d9;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 22px 65px #17243b12, 0 3px 12px #17243b08;
}

.seal { display: grid; width: 62px; height: 62px; place-items: center; margin: 0 auto 17px; border: 1px solid #e9ddc3; border-radius: 50%; color: var(--gold); background: #fbf8f0; }
.seal svg { width: 39px; height: 39px; }
.eyebrow { margin: 0; color: #94702f; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
h1 { margin: 12px 0 10px; color: var(--navy); font-size: clamp(27px, 5vw, 35px); font-weight: 700; letter-spacing: -.04em; line-height: 1.2; text-align: center; }
.intro { max-width: 440px; margin: 0 auto 30px; color: var(--muted); font-size: 14px; line-height: 1.75; text-align: center; }

form label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 13px; font-weight: 700; }
.input-row { display: flex; gap: 9px; }
input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-size: 14px;
}
input::placeholder { color: #9aa3b1; }
input:focus { border-color: var(--gold); outline: 3px solid #c49a4826; }
.verify-button {
  display: inline-flex;
  min-width: max-content;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background .18s, transform .18s;
}
.verify-button:hover { transform: translateY(-1px); background: var(--navy-soft); }
.verify-button:disabled { cursor: wait; opacity: .7; transform: none; }
.verify-button svg { width: 17px; height: 17px; }
.input-help { margin: 8px 0 0; color: var(--muted); font-size: 11px; }

.result { margin-top: 21px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; }
.result.valid { border-color: #b7ddc5; background: #f3fbf5; }
.result.revoked, .result.not-found, .result.error { border-color: #eed0ce; background: #fff8f7; }
.result-title { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--navy); font-size: 15px; font-weight: 700; }
.result.valid .result-title { color: #21643b; }
.result.revoked .result-title, .result.not-found .result-title, .result.error .result-title { color: #963b34; }
.result-symbol { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; margin: 0; }
.details div { min-width: 0; }
.details dt { margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.details dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 13px; font-weight: 600; }

.privacy-note { display: flex; gap: 9px; margin: 24px 0 0; padding-top: 17px; border-top: 1px solid #edf0f3; color: var(--muted); font-size: 11px; line-height: 1.65; }
.privacy-note svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; color: #94702f; }
.back-home { margin: 20px 0 0; color: #866522; font-size: 13px; font-weight: 700; text-align: center; }
.back-home a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

footer { padding: 20px 16px 25px; color: var(--muted); font-size: 11px; text-align: center; }

html[lang="bn"] body { font-family: "Hind Siliguri", "DM Sans", sans-serif; }
html[lang="bn"] .eyebrow { letter-spacing: 0; }
html[lang="bn"] .details dt { letter-spacing: 0; }

@media (max-width: 560px) {
  .site-header { width: calc(100% - 36px); height: 70px; }
  main { padding-block: 30px 28px; }
  .verification-card { padding: 31px 21px 23px; border-radius: 14px; }
  .input-row { flex-direction: column; }
  .verify-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
