:root {
  color-scheme: dark;
  --bg: #050f1d;
  --bg2: #081a2f;
  --panel: rgba(8, 24, 45, 0.88);
  --panel-strong: rgba(8, 24, 45, 0.96);
  --panel-border: rgba(95, 168, 255, 0.18);
  --text: #edf6ff;
  --muted: #9db3c8;
  --accent: #2fa8ff;
  --accent-strong: #1477c9;
  --chip: rgba(47, 168, 255, 0.12);
  --line: rgba(157, 179, 200, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 168, 255, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(20, 119, 201, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  color: var(--text);
}

body {
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

.shell {
  position: relative;
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.card,
.qr-panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(10, 29, 53, 0.96) 0%, rgba(5, 15, 29, 0.96) 100%);
  box-shadow: var(--shadow);
}

.card::after,
.qr-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(47, 168, 255, 0.08), transparent 35%, transparent 65%, rgba(47, 168, 255, 0.04));
}

.card {
  padding: 36px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  width: min(220px, 100%);
  height: auto;
  display: block;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: start;
  margin-top: 30px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.4rem, 4.3vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.company {
  margin: 16px 0 0;
  color: #d4e7f7;
  font-size: 1.08rem;
  font-weight: 600;
}

.summary {
  margin: 24px 0 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 168, 255, 0.16);
  background: var(--chip);
  color: #dff2ff;
  font-size: 0.88rem;
  font-weight: 600;
}

.profile-side {
  display: grid;
  gap: 16px;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(47, 168, 255, 0.18);
  background: linear-gradient(180deg, rgba(12, 35, 61, 0.96) 0%, rgba(7, 21, 40, 0.96) 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(47, 168, 255, 0.04) 0%, transparent 35%, rgba(5, 15, 29, 0.1) 100%);
}

.portrait-card img {
  display: block;
  width: 100%;
  aspect-ratio: 37 / 41;
  object-fit: cover;
  object-position: center top;
}

.focus-panel {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(47, 168, 255, 0.15);
  background: linear-gradient(180deg, rgba(10, 33, 60, 0.92) 0%, rgba(7, 21, 40, 0.92) 100%);
}

.focus-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.focus-title {
  margin-top: 14px;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
}

.focus-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(47, 168, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 168, 255, 0.44);
  background: rgba(47, 168, 255, 0.12);
  box-shadow: 0 12px 26px rgba(5, 20, 36, 0.32);
}

.button.primary {
  background: linear-gradient(180deg, #2fa8ff 0%, #1377c9 100%);
  border-color: transparent;
  color: white;
}

.button.secondary {
  width: 100%;
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.details div {
  position: relative;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.details dt {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.details dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.details a {
  color: var(--text);
  text-decoration: none;
}

.qr-panel {
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.qr-topline {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qr-copy {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.7;
}

.qr-panel img {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  height: auto;
  justify-self: center;
  border-radius: 22px;
  background: white;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 920px) {
  .shell {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  body {
    padding: 16px 12px;
  }

  .card,
  .qr-panel {
    border-radius: 24px;
  }

  .card {
    padding: 24px;
  }

  .qr-panel {
    padding: 22px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .eyebrow {
    white-space: normal;
  }

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

  .button {
    width: 100%;
  }
}
