:root {
  --bg: #f7fbff;
  --bg-soft: #eef7ff;
  --card: #ffffff;
  --card-soft: #f8fbff;
  --ink: #1d2939;
  --muted: #667085;
  --label: #8ca0ba;
  --line: #e1edf7;
  --blue: #0876c9;
  --blue-soft: #eef8ff;
  --success: #12b886;
  --success-soft: #e8faf4;
  --shadow: 0 24px 70px rgba(16, 41, 76, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 36%, rgba(8, 118, 201, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #ffffff 100%);
  transition: background 220ms ease, color 220ms ease;
}

body.dark-mode {
  --bg: #07111f;
  --bg-soft: #0d2038;
  --card: #101b2d;
  --card-soft: #122238;
  --ink: #edf6ff;
  --muted: #b5c4d8;
  --label: #91a8c3;
  --line: #243a57;
  --blue-soft: #102a44;
  --success-soft: #0c322b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  background:
    radial-gradient(circle at 50% 26%, rgba(8, 118, 201, 0.18), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #0b1626 48%, #07111f 100%);
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

body.dark-mode .site-header {
  background: #0b1424;
  border-bottom-color: #243a57;
}

.nav-inner {
  min-height: 86px;
  width: min(100% - 56px, 1900px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: clamp(96px, 9vw, 128px);
  height: auto;
  object-fit: contain;
}

body.dark-mode .brand img {
  filter: brightness(1.7) contrast(1.05);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 500;
}

body.dark-mode .site-nav {
  color: #edf6ff;
}

.login-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 18px;
  color: var(--blue);
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

body.dark-mode .login-link {
  color: #75c6ed;
  background: #101b2d;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #ffffff;
}

body.dark-mode .theme-toggle {
  background: #101b2d;
}

.page-shell {
  width: min(100% - 28px, 720px);
  margin: 0 auto;
  padding: 58px 0 54px;
}

.theme-toggle svg,
.share-button svg,
.detail-icon svg,
.status-ribbon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.moon-icon,
body.dark-mode .sun-icon {
  display: none;
}

body.dark-mode .moon-icon {
  display: block;
}

.verification-view {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.success-mark {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
}

.success-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--success);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verification-view h1 {
  margin: 0;
  color: #75c6ed;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

.verified-text {
  max-width: 520px;
  margin: 16px 0 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.details-card {
  width: min(100%, 560px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: var(--shadow);
  padding: 30px;
}

.status-ribbon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid color-mix(in srgb, var(--success) 28%, transparent);
  border-radius: 999px;
  color: #15aa83;
  background: var(--success-soft);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail-item {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--card), var(--card-soft));
  padding: 18px 20px;
  text-align: left;
}

.detail-item.compact {
  min-height: 116px;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.detail-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
}

.detail-icon.success {
  color: var(--success);
  background: var(--success-soft);
}

.detail-item span:not(.detail-icon) {
  display: block;
  color: var(--label);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.detail-item strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
}

.code-value {
  width: 100%;
  border-radius: 6px;
  background: color-mix(in srgb, var(--blue-soft) 75%, var(--card));
  padding: 8px 10px;
  font-size: 15px;
}

.status-value {
  color: #009b72 !important;
}

.share-button {
  width: min(100%, 560px);
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  border-radius: 8px;
  color: #ffffff;
  background: #111c31;
  box-shadow: 0 14px 26px rgba(17, 28, 49, 0.22);
  font-size: 18px;
  font-weight: 800;
}

.share-button.copied {
  background: #111c31;
}

body.dark-mode .share-button {
  background: #0876c9;
}

.secured-directory {
  width: min(100%, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: var(--label);
  margin-top: 32px;
  padding-top: 30px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.secured-directory svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--success);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  color: #ffffff;
  background: #0967dc;
  margin-top: 0;
}

.footer-inner {
  width: min(100% - 40px, 940px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 0 auto;
  padding: 42px 0 36px;
}

.footer-company h2,
.footer-socials h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
}

.footer-company p,
.footer-socials p {
  margin: 0;
  max-width: 330px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.footer-company p::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #ffffff;
  margin-right: 8px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 160ms ease, background 160ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  border-top: 1px solid rgba(7, 45, 95, 0.35);
  width: min(100% - 40px, 940px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 600;
}

.login-page {
  background:
    radial-gradient(circle at 50% 22%, rgba(8, 118, 201, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

.login-shell {
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  padding: 70px 18px;
}

.login-hero {
  width: min(100%, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.login-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: #0a91d2;
  box-shadow: 0 18px 36px rgba(8, 118, 201, 0.24);
}

.login-icon svg,
.input-wrap svg,
.sign-in-button svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-hero h1 {
  margin: 28px 0 10px;
  color: #09182f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 400;
  letter-spacing: 0;
}

.login-hero p {
  margin: 0 0 42px;
  color: #1d2939;
  font-size: 17px;
}

.login-hero p a,
.login-options a {
  color: #0876c9;
  font-weight: 700;
}

.login-card {
  width: min(100%, 520px);
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 40px 46px;
  text-align: left;
}

.login-card label:not(.remember) {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.input-wrap {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d8e5f4;
  border-radius: 8px;
  color: #8aa0ba;
  background: #f8fbff;
  padding: 0 16px;
}

.input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 17px;
}

.input-wrap input::placeholder {
  color: #91a1b7;
}

.password-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #91a1b7;
  background: transparent;
}

.password-toggle svg {
  width: 22px;
  height: 22px;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0 12px;
  color: #1d2939;
  font-size: 16px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.remember input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #0876c9;
}

.sign-in-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 8px;
  color: #ffffff;
  background: #0a91d2;
  box-shadow: 0 14px 26px rgba(8, 118, 201, 0.22);
  font-size: 17px;
  font-weight: 800;
}

body.dark-mode.login-page {
  background:
    radial-gradient(circle at 50% 22%, rgba(8, 118, 201, 0.18), transparent 26%),
    linear-gradient(180deg, #07111f 0%, #0b1626 100%);
}

body.dark-mode .login-hero h1,
body.dark-mode .login-hero p,
body.dark-mode .login-options {
  color: var(--ink);
}

body.dark-mode .input-wrap {
  border-color: var(--line);
  background: #0b1728;
}

@media (max-width: 620px) {
  .nav-inner {
    width: min(100% - 28px, 520px);
    min-height: 74px;
    gap: 18px;
  }

  .page-shell {
    width: min(100% - 18px, 520px);
    padding-top: 34px;
  }

  .brand img {
    width: 112px;
  }

  .verified-text {
    font-size: 16px;
    margin-bottom: 26px;
  }

  .details-card {
    padding: 24px 18px;
  }

  .status-ribbon {
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  .date-grid {
    grid-template-columns: 1fr;
  }

  .detail-item.compact {
    min-height: 90px;
    align-items: center;
    flex-direction: row;
  }

  .share-button {
    min-height: 58px;
    font-size: 16px;
  }

  .secured-directory {
    font-size: 10px;
    line-height: 1.5;
    padding-top: 24px;
  }

  .footer-inner {
    width: min(100% - 32px, 520px);
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 0 28px;
  }

  .footer-company h2,
  .footer-socials h2 {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .footer-bottom {
    width: min(100% - 32px, 520px);
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 0;
  }

  .login-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .login-shell {
    min-height: calc(100vh - 74px);
    padding: 46px 14px;
  }

  .login-card {
    padding: 30px 18px;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
  }
}
