:root {
  --brand-emerald: #1e855c;
  --brand-terracotta: #bf3a2b;
  --leaf-green: #2e9e76;
  --mint-breeze: #f0fdf8;
  --charcoal: #171717;
  --stone: #525252;
  --silver: #e5e5e5;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--charcoal);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 14% -8%, rgba(46, 158, 118, 0.18), transparent 34%),
    radial-gradient(circle at 94% 0%, rgba(191, 58, 43, 0.1), transparent 36%),
    linear-gradient(180deg, #f7fbf9 0%, #f9faf9 100%);
}

h1,
h2,
h3,
h4,
.hero-title,
.brand-title-line {
  font-family: 'Sora', 'Manrope', sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  padding: 1rem 0 0.5rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(229, 229, 229, 0.9);
  border-radius: 16px;
  padding: 0.62rem 0.76rem;
}

.brand-lockup {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: clamp(118px, 18vw, 176px);
  height: auto;
  border-radius: 0;
  border: none;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 38px;
  background: rgba(16, 56, 44, 0.2);
}

.brand-title-line {
  display: inline-flex;
  flex-direction: column;
  font-size: 0.98rem;
  line-height: 1.06;
  gap: 0.08rem;
  letter-spacing: 0.01em;
  color: #10382c;
}

.brand-sub {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.18rem;
  color: var(--stone);
}

.main-wrap {
  padding: 0.7rem 0 1.4rem;
}

.hero-card,
.panel-card {
  border: 1px solid rgba(229, 229, 229, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 38px rgba(23, 23, 23, 0.06);
}

.hero-card {
  padding: 1.35rem;
}

.panel-card {
  padding: 1.2rem;
}

.hero-home {
  display: block;
}

.eyebrow {
  margin: 0;
  font-size: 0.83rem;
  font-weight: 600;
  color: #55615e;
  letter-spacing: 0.02em;
}

.hero-title {
  margin: 0.35rem auto 0;
  font-size: clamp(1.5rem, 3.1vw, 2.45rem);
  line-height: 1.12;
  max-width: 22ch;
  text-wrap: balance;
}

.hero-copy {
  margin-top: 0.85rem;
  color: var(--stone);
  max-width: 40ch;
  line-height: 1.52;
  font-size: 1.02rem;
}

.hero-copy-wrap {
  text-align: center;
}

.hero-copy-wrap .hero-copy {
  margin-left: auto;
  margin-right: auto;
}

.search-panel {
  border: 1px solid rgba(229, 229, 229, 0.95);
  border-radius: 16px;
  padding: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfffd 100%);
  width: min(700px, 100%);
  margin: 1.6rem auto 0;
}

.search-form {
  margin: 0 auto;
  max-width: 650px;
}

.form-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
}

.input-id {
  width: 100%;
  border: 1px solid rgba(82, 82, 82, 0.24);
  border-radius: 12px;
  padding: 0.88rem 0.95rem;
  font-size: 1rem;
}

.input-id:focus {
  outline: none;
  border-color: var(--brand-emerald);
  box-shadow: 0 0 0 3px rgba(30, 133, 92, 0.14);
}

.btn-primary,
.btn-outline,
.btn-link {
  display: inline-block;
  text-decoration: none;
  border-radius: 11px;
  padding: 0.78rem 1rem;
  font-weight: 700;
  transition: transform 120ms ease, filter 120ms ease;
}

.btn-primary {
  border: none;
  cursor: pointer;
  background: linear-gradient(145deg, var(--brand-emerald), var(--leaf-green));
  color: white;
}

.btn-outline {
  border: 1px solid rgba(30, 133, 92, 0.35);
  color: #145740;
  background: rgba(240, 253, 248, 0.78);
  font-size: 0.94rem;
}

.btn-link {
  background: rgba(191, 58, 43, 0.1);
  color: #8f2b20;
  border: 1px solid rgba(191, 58, 43, 0.26);
}

.btn-primary:hover,
.btn-outline:hover,
.btn-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.notice {
  margin: 0.85rem 0 0;
  border-radius: 12px;
  border: 1px solid rgba(229, 229, 229, 0.95);
  background: #f7f4f4;
  color: #555;
  padding: 0.78rem 0.88rem;
  line-height: 1.52;
}

.steps-wrap {
  margin-top: 1rem;
}

.steps-wrap h2 {
  margin: 0;
  font-size: 1.05rem;
}

.steps-grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}

.step-card {
  border: 1px solid rgba(229, 229, 229, 0.9);
  border-radius: 14px;
  background: white;
  padding: 0.88rem;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(30, 133, 92, 0.14);
  color: #145740;
  font-weight: 700;
  font-size: 0.78rem;
}

.step-card h3 {
  margin: 0.58rem 0 0;
  font-size: 0.98rem;
}

.step-card p {
  margin: 0.35rem 0 0;
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.5;
}

.verify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 700;
}

.status-verified {
  background: rgba(46, 158, 118, 0.15);
  color: #16684e;
}

.status-error {
  background: rgba(191, 58, 43, 0.15);
  color: #8f2b20;
}

.id-strip {
  margin-top: 0.85rem;
  border: 1px dashed rgba(30, 133, 92, 0.42);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: rgba(240, 253, 248, 0.8);
}

.id-strip span {
  font-size: 0.78rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.id-strip strong {
  font-size: 0.98rem;
}

.meta-grid {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.meta-item {
  border: 1px solid rgba(229, 229, 229, 0.95);
  border-radius: 12px;
  padding: 0.82rem;
  background: white;
}

.meta-label {
  font-size: 0.73rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-value {
  margin-top: 0.22rem;
  font-size: 0.97rem;
  font-weight: 700;
}

.action-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.verify-count {
  margin: 0.95rem 0 0;
  color: var(--stone);
  font-size: 0.9rem;
}

.not-found-hero {
  text-align: left;
}

.status-orb {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(191, 58, 43, 0.15);
  color: #8f2b20;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.searched-id {
  margin: 0.45rem 0 0;
  color: var(--stone);
}

.not-found-form {
  margin-top: 1rem;
}

.footer-wrap {
  margin-top: 0.9rem;
  padding: 0 0 2rem;
}

.footer-surface {
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid rgba(229, 229, 229, 0.92);
  background: linear-gradient(160deg, #11372c 0%, #0f2e25 100%);
  color: rgba(255, 255, 255, 0.95);
}

.footer-head p {
  margin: 0;
  color: rgba(230, 240, 236, 0.88);
  font-size: 0.9rem;
  line-height: 1.48;
  max-width: 38ch;
}

.footer-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-logo {
  width: 106px;
  height: auto;
  object-fit: contain;
}

.footer-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.footer-grid h4 {
  margin: 0;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(205, 230, 220, 0.9);
}

.footer-list {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin: 0.35rem 0;
  font-size: 0.89rem;
  line-height: 1.46;
}

.footer-list a {
  color: #b6f4dd;
  text-decoration: none;
}

@media (min-width: 760px) {
  .hero-card {
    padding: 1.9rem;
  }

  .form-grid {
    grid-template-columns: 1fr auto;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-surface {
    padding: 1.2rem 1.35rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1.6fr;
  }
}

@media (max-width: 759px) {
  .topbar-inner {
    justify-content: center;
    text-align: center;
    padding: 0.7rem;
  }

  .brand-lockup {
    gap: 0.55rem;
  }

  .brand-logo {
    width: min(152px, 50vw);
  }

  .brand-divider {
    height: 32px;
  }

  .brand-title-line {
    font-size: 0.88rem;
  }

  .hero-title {
    font-size: clamp(1.35rem, 7vw, 2rem);
    max-width: 18ch;
  }

  .hero-copy {
    font-size: 0.98rem;
    max-width: 30ch;
  }

  .search-panel {
    margin-top: 1.2rem;
    padding: 0.8rem;
  }
}
