:root {
  --blue: #073d78;
  --blue-dark: #073263;
  --blue-line: #174f92;
  --green: #079747;
  --green-soft: #e9f8ef;
  --text: #151827;
  --muted: #5f6675;
  --border: #e2e6ef;
  --panel: #f8fafc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f5f9;
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: 32px 16px;
}

.page {
  width: 100%;
  max-width: 860px;
}

.passport-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(11, 32, 70, 0.18);
}

.hero {
  position: relative;
  min-height: 390px;
  background:
    radial-gradient(circle at 20% 85%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(135deg, var(--blue), var(--blue-dark));
  overflow: hidden;
  display: flex;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -80px -80px;
  width: 520px;
  height: 260px;
  opacity: 0.22;
  background-image:
    linear-gradient(30deg, transparent 49%, rgba(255,255,255,.3) 50%, transparent 51%),
    linear-gradient(150deg, transparent 49%, rgba(255,255,255,.3) 50%, transparent 51%);
  background-size: 42px 42px;
}

.hero-left {
  z-index: 2;
  width: 52%;
  padding: 44px 34px 120px;
  color: white;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 66px;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 700;
  font-size: 15px;
}

.brand span {
  display: block;
}

.fingerprint {
  width: 58px;
  height: 58px;
  border: 1.5px solid rgba(255,255,255,.85);
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(38px, 7vw, 54px);
  line-height: 1;
}

.hero p {
  margin: 0;
  font-size: 19px;
  color: rgba(255,255,255,.88);
}

.hero-image-wrap {
  position: absolute;
  right: -40px;
  top: -30px;
  width: 58%;
  height: 430px;
  border-bottom-left-radius: 100% 78%;
  overflow: hidden;
  background: #ddd;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-card {
  position: absolute;
  z-index: 3;
  top: 58px;
  right: 38px;
  width: 145px;
  background: white;
  border-radius: 16px;
  padding: 13px 13px 12px;
  text-align: center;
  box-shadow: 0 14px 28px rgba(0,0,0,.13);
}

.qr-card img {
  width: 112px;
  height: 112px;
  display: block;
  margin: 0 auto 8px;
}

.qr-card p {
  margin: 0;
  color: #1c2230;
  font-size: 11px;
  line-height: 1.25;
}

.content-card {
  position: relative;
  z-index: 5;
  margin-top: -64px;
  background: white;
  border-radius: 26px 26px 0 0;
  border-top: 1px solid rgba(255,255,255,.8);
}

.asset-row,
.owner-row {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 28px 34px;
  border-bottom: 1px solid var(--border);
}

.icon-box {
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: #eaf2ff;
  color: #064b9c;
  display: grid;
  place-items: center;
  font-size: 34px;
}

.asset-text,
.owner-info {
  min-width: 0;
  flex: 1;
}

.asset-text span,
.owner-info span,
.emissions-main span,
.facts-grid span {
  display: block;
  color: #0b4f9f;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.4px;
  font-weight: 800;
  margin-bottom: 8px;
}

.asset-text strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  word-break: break-word;
}

.copy-button {
  width: 58px;
  height: 58px;
  border: 1px solid #d8deea;
  border-radius: 16px;
  background: #fbfcff;
  font-size: 27px;
  color: #697282;
  cursor: pointer;
}

.owner-row {
  align-items: flex-start;
}

.owner-info h2 {
  margin: 0 0 16px;
  font-size: 25px;
}

.owner-info p {
  margin: 0;
  color: #202633;
  line-height: 1.45;
}

.verified {
  text-align: center;
  color: #064b9c;
  font-weight: 800;
  font-size: 13px;
  padding-top: 8px;
}

.badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  border: 4px solid #064b9c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.emissions-card {
  margin: 28px 24px 18px;
  padding: 32px;
  border: 1px solid #d8eadf;
  border-radius: 18px;
  background:
    linear-gradient(90deg, #f6fcf8, #fbfffd);
  display: grid;
  grid-template-columns: 135px 1fr 190px;
  gap: 24px;
  align-items: center;
}

.co2-circle {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: #dff5e8;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 31px;
  font-weight: 900;
}

.emissions-main span {
  color: var(--green);
}

.emissions-main h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.emissions-main strong {
  font-size: 51px;
  color: var(--green);
  line-height: 1;
}

.unit {
  font-size: 20px;
  margin-left: 10px;
  color: #242936;
}

.emissions-main p {
  margin: 8px 0 0;
  font-size: 17px;
}

.emissions-side {
  color: #4c5665;
}

.scope-pill {
  display: inline-block;
  background: #dff5e8;
  color: var(--green);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 800;
  margin-bottom: 26px;
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 64px;
  margin-bottom: 8px;
}

.bars span {
  width: 20px;
  background: #8fd7a8;
  border-radius: 5px 5px 0 0;
}

.bars span:nth-child(1) {
  height: 32px;
}

.bars span:nth-child(2) {
  height: 48px;
}

.bars span:nth-child(3) {
  height: 64px;
}

.emissions-side p {
  margin: 0;
  font-size: 13px;
}

.emissions-side strong {
  display: block;
  color: var(--green);
  font-size: 23px;
  margin-top: 4px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2px 24px 22px;
}

.facts-grid article {
  text-align: center;
  padding: 18px 12px;
  border-right: 1px solid var(--border);
}

.facts-grid article:last-child {
  border-right: 0;
}

.facts-grid article div {
  color: #064b9c;
  font-size: 34px;
  margin-bottom: 10px;
}

.facts-grid span {
  font-size: 10px;
  margin-bottom: 10px;
}

.facts-grid strong {
  font-size: 15px;
  line-height: 1.35;
}

.passport-footer {
  margin: 0 24px 24px;
  border-radius: 13px;
  background: #eaf2ff;
  color: #073d78;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.passport-footer div {
  display: flex;
  gap: 12px;
  align-items: center;
}

.passport-footer div:last-child {
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
}

.not-found {
  background: white;
  padding: 36px;
  border-radius: 22px;
  box-shadow: 0 16px 45px rgba(11, 32, 70, 0.12);
}

.known-links a {
  display: inline-block;
  margin-right: 12px;
  color: #064b9c;
}

@media (max-width: 760px) {
  body {
    padding: 0;
    background: white;
  }

  .passport-card {
    border-radius: 0;
  }

  .hero {
    min-height: 430px;
  }

  .hero-left {
    width: 70%;
    padding: 32px 24px 140px;
  }

  .hero-image-wrap {
    width: 72%;
    right: -120px;
  }

  .brand {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 70px;
  }

  .qr-card {
    top: 42px;
    right: 18px;
    width: 124px;
  }

  .qr-card img {
    width: 94px;
    height: 94px;
  }

  .asset-row,
  .owner-row {
    padding: 22px;
  }

  .verified {
    display: none;
  }

  .emissions-card {
    grid-template-columns: 1fr;
    margin: 20px 16px;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts-grid article:nth-child(2) {
    border-right: 0;
  }

  .passport-footer {
    flex-direction: column;
  }

  .passport-footer div:last-child {
    align-items: flex-start;
  }
}